Makefile (681e4a5e13c1c8315694eb4f44e0cdd84c9082d2) Makefile (48485949b4d44a24c81caf9ab4dc32005f3aa67e)
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

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

255 echo "*"; \
256 echo "* Unable to find $$dir/bin/moc, using /usr/bin/moc instead."; \
257 echo "*"; \
258 moc="/usr/bin/moc"; \
259 fi; \
260 else \
261 cflags="\$$(shell pkg-config QtCore QtGui Qt3Support --cflags)"; \
262 libs="\$$(shell pkg-config QtCore QtGui Qt3Support --libs)"; \
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

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

255 echo "*"; \
256 echo "* Unable to find $$dir/bin/moc, using /usr/bin/moc instead."; \
257 echo "*"; \
258 moc="/usr/bin/moc"; \
259 fi; \
260 else \
261 cflags="\$$(shell pkg-config QtCore QtGui Qt3Support --cflags)"; \
262 libs="\$$(shell pkg-config QtCore QtGui Qt3Support --libs)"; \
263 binpath="\$$(shell pkg-config QtCore --variable=prefix)"; \
264 moc="$$binpath/bin/moc"; \
263 moc="\$$(shell pkg-config QtCore --variable=moc_location)"; \
264 [ -n "$$moc" ] || moc="\$$(shell pkg-config QtCore --variable=prefix)/bin/moc"; \
265 fi; \
266 echo "KC_QT_CFLAGS=$$cflags" > $@; \
267 echo "KC_QT_LIBS=$$libs" >> $@; \
268 echo "KC_QT_MOC=$$moc" >> $@
269endif
270
271$(obj)/gconf.o: $(obj)/.tmp_gtkcheck
272

--- 36 unchanged lines hidden ---
265 fi; \
266 echo "KC_QT_CFLAGS=$$cflags" > $@; \
267 echo "KC_QT_LIBS=$$libs" >> $@; \
268 echo "KC_QT_MOC=$$moc" >> $@
269endif
270
271$(obj)/gconf.o: $(obj)/.tmp_gtkcheck
272

--- 36 unchanged lines hidden ---