Makefile (458452f4a9b61228cf48a4232a19c8d7d686c11b) Makefile (838a2e55e6a4e9e8a10451ed2ef0f7a08dabdb04)
1# ===========================================================================
2# Kernel configuration targets
3# These targets are used from top-level makefile
4
5PHONY += oldconfig xconfig gconfig menuconfig config silentoldconfig update-po-config \
6 localmodconfig localyesconfig
7
8ifdef KBUILD_KCONFIG
9Kconfig := $(KBUILD_KCONFIG)
10else
1# ===========================================================================
2# Kernel configuration targets
3# These targets are used from top-level makefile
4
5PHONY += oldconfig xconfig gconfig menuconfig config silentoldconfig update-po-config \
6 localmodconfig localyesconfig
7
8ifdef KBUILD_KCONFIG
9Kconfig := $(KBUILD_KCONFIG)
10else
11Kconfig := arch/$(SRCARCH)/Kconfig
11Kconfig := Kconfig
12endif
13
14xconfig: $(obj)/qconf
15 $< $(Kconfig)
16
17gconfig: $(obj)/gconf
18 $< $(Kconfig)
19

--- 248 unchanged lines hidden (view full) ---

268 fi; \
269 if [ ! -x $$dir/bin/moc -a -x /usr/bin/moc ]; then \
270 echo "*"; \
271 echo "* Unable to find $$dir/bin/moc, using /usr/bin/moc instead."; \
272 echo "*"; \
273 moc="/usr/bin/moc"; \
274 fi; \
275 else \
12endif
13
14xconfig: $(obj)/qconf
15 $< $(Kconfig)
16
17gconfig: $(obj)/gconf
18 $< $(Kconfig)
19

--- 248 unchanged lines hidden (view full) ---

268 fi; \
269 if [ ! -x $$dir/bin/moc -a -x /usr/bin/moc ]; then \
270 echo "*"; \
271 echo "* Unable to find $$dir/bin/moc, using /usr/bin/moc instead."; \
272 echo "*"; \
273 moc="/usr/bin/moc"; \
274 fi; \
275 else \
276 cflags="\$$(shell pkg-config QtCore QtGui Qt3Support --cflags)"; \
277 libs="\$$(shell pkg-config QtCore QtGui Qt3Support --libs)"; \
278 binpath="\$$(shell pkg-config QtCore --variable=prefix)"; \
279 moc="$$binpath/bin/moc"; \
276 headerpath="\$$(shell qmake -query QT_INSTALL_HEADERS)"; \
277 libpath="\$$(shell qmake -query QT_INSTALL_LIBS)"; \
278 binpath="\$$(shell qmake -query QT_INSTALL_BINS)"; \
279 cflags="-I$$headerpath -I$$headerpath/QtCore -I$$headerpath/QtGui -I$$headerpath/Qt3Support -DQT3_SUPPORT"; \
280 libs="-L$$libpath -Wl,-rpath,$$libpath -lQtCore -lQtGui -lQt3Support"; \
281 moc="$$binpath/moc"; \
280 fi; \
281 echo "KC_QT_CFLAGS=$$cflags" > $@; \
282 echo "KC_QT_LIBS=$$libs" >> $@; \
283 echo "KC_QT_MOC=$$moc" >> $@
284endif
285
286$(obj)/gconf.o: $(obj)/.tmp_gtkcheck
287

--- 67 unchanged lines hidden ---
282 fi; \
283 echo "KC_QT_CFLAGS=$$cflags" > $@; \
284 echo "KC_QT_LIBS=$$libs" >> $@; \
285 echo "KC_QT_MOC=$$moc" >> $@
286endif
287
288$(obj)/gconf.o: $(obj)/.tmp_gtkcheck
289

--- 67 unchanged lines hidden ---