author | kergoth <kergoth> | 2002-11-05 20:49:36 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2002-11-05 20:49:36 (UTC) |
commit | f8d2e3ed6d926e267bb5891f7e17ac094907a944 (patch) (unidiff) | |
tree | 27cf0206b89b42e8577106a321478cac1ff77c68 | |
parent | 59320e9eca887102cd841d0f1787b74fe4a11700 (diff) | |
download | opie-f8d2e3ed6d926e267bb5891f7e17ac094907a944.zip opie-f8d2e3ed6d926e267bb5891f7e17ac094907a944.tar.gz opie-f8d2e3ed6d926e267bb5891f7e17ac094907a944.tar.bz2 |
Add libkconfig.so to the makefile dependencies for qconf, should ensure it gets built
-rw-r--r-- | scripts/kconfig/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index b60db9f..7553311 100644 --- a/scripts/kconfig/Makefile +++ b/scripts/kconfig/Makefile | |||
@@ -97,33 +97,33 @@ mconf.o: mconf.c $(lkc_deps) | |||
97 | qconf.moc: qconf.h | 97 | qconf.moc: qconf.h |
98 | qconf.o: qconf.cc qconf.moc images.c $(lkc_deps) | 98 | qconf.o: qconf.cc qconf.moc images.c $(lkc_deps) |
99 | 99 | ||
100 | mconf: $(mconf_OBJ) | 100 | mconf: $(mconf_OBJ) |
101 | $(CC) $(LDFLAGS) $^ -o $@ | 101 | $(CC) $(LDFLAGS) $^ -o $@ |
102 | 102 | ||
103 | conf: $(conf_OBJ) | 103 | conf: $(conf_OBJ) |
104 | $(CC) $(LDFLAGS) $^ -o $@ | 104 | $(CC) $(LDFLAGS) $^ -o $@ |
105 | 105 | ||
106 | ifeq ($(MOC),) | 106 | ifeq ($(MOC),) |
107 | qconf: | 107 | qconf: |
108 | @echo Unable to find the QT installation. Please make sure that the | 108 | @echo Unable to find the QT installation. Please make sure that the |
109 | @echo QT development package is correctly installed and the HOSTQTDIR | 109 | @echo QT development package is correctly installed and the HOSTQTDIR |
110 | @echo environment variable is set to the correct location. | 110 | @echo environment variable is set to the correct location. |
111 | @false | 111 | @false |
112 | else | 112 | else |
113 | qconf: $(qconf_OBJ) | 113 | qconf: $(qconf_OBJ) libkconfig.so |
114 | $(CXX) $(LXXFLAGS) $^ -lqt -o $@ | 114 | $(CXX) $(LXXFLAGS) $^ -lqt -o $@ |
115 | endif | 115 | endif |
116 | 116 | ||
117 | lkcc: $(lkcc_OBJ) | 117 | lkcc: $(lkcc_OBJ) |
118 | $(CC) $(LDFLAGS) $^ -o $@ | 118 | $(CC) $(LDFLAGS) $^ -o $@ |
119 | 119 | ||
120 | libkconfig.so: $(parse_OBJ) | 120 | libkconfig.so: $(parse_OBJ) |
121 | $(CC) -shared $^ -o $@ | 121 | $(CC) -shared $^ -o $@ |
122 | 122 | ||
123 | lkc_defs.h: lkc_proto.h | 123 | lkc_defs.h: lkc_proto.h |
124 | sed < $< > $@ 's/P(\([^,]*\),.*/#define \1 (\*\1_p)/' | 124 | sed < $< > $@ 's/P(\([^,]*\),.*/#define \1 (\*\1_p)/' |
125 | 125 | ||
126 | clean: | 126 | clean: |
127 | rm -f $(OBJ) lkcc conf qconf mconf *.moc lex.* *.tab.? *.output | 127 | rm -f $(OBJ) lkcc conf qconf mconf *.moc lex.* *.tab.? *.output |
128 | 128 | ||
129 | tgz: | 129 | tgz: |