11da177e4SLinus Torvalds# =========================================================================== 21da177e4SLinus Torvalds# Kernel configuration targets 31da177e4SLinus Torvalds# These targets are used from top-level makefile 41da177e4SLinus Torvalds 503fa25daSSteven RostedtPHONY += oldconfig xconfig gconfig menuconfig config silentoldconfig update-po-config \ 6281c9dadSSteven Rostedt localmodconfig localyesconfig 71da177e4SLinus Torvalds 861bee204SAl Viroifdef KBUILD_KCONFIG 961bee204SAl ViroKconfig := $(KBUILD_KCONFIG) 1061bee204SAl Viroelse 11838a2e55SArnaud LacombeKconfig := Kconfig 1261bee204SAl Viroendif 13e703f75dSSam Ravnborg 141da177e4SLinus Torvaldsxconfig: $(obj)/qconf 15e703f75dSSam Ravnborg $< $(Kconfig) 161da177e4SLinus Torvalds 171da177e4SLinus Torvaldsgconfig: $(obj)/gconf 18e703f75dSSam Ravnborg $< $(Kconfig) 191da177e4SLinus Torvalds 201da177e4SLinus Torvaldsmenuconfig: $(obj)/mconf 21e703f75dSSam Ravnborg $< $(Kconfig) 221da177e4SLinus Torvalds 231da177e4SLinus Torvaldsconfig: $(obj)/conf 244062f1a4SSam Ravnborg $< --oldaskconfig $(Kconfig) 251da177e4SLinus Torvalds 26692d97c3Snir.tzachar@gmail.comnconfig: $(obj)/nconf 27692d97c3Snir.tzachar@gmail.com $< $(Kconfig) 28692d97c3Snir.tzachar@gmail.com 291da177e4SLinus Torvaldsoldconfig: $(obj)/conf 304062f1a4SSam Ravnborg $< --$@ $(Kconfig) 311da177e4SLinus Torvalds 321da177e4SLinus Torvaldssilentoldconfig: $(obj)/conf 3332197c7fSMichal Marek $(Q)mkdir -p include/generated 344062f1a4SSam Ravnborg $< --$@ $(Kconfig) 351da177e4SLinus Torvalds 3603fa25daSSteven Rostedtlocalmodconfig: $(obj)/streamline_config.pl $(obj)/conf 3717263bafSSteven Rostedt $(Q)mkdir -p include/generated 38*22d550aeSArnaud Lacombe $(Q)perl $< --$@ $(srctree) $(Kconfig) > .tmp.config 39a7c02602SSteven Rostedt $(Q)if [ -f .config ]; then \ 40a7c02602SSteven Rostedt cmp -s .tmp.config .config || \ 4103fa25daSSteven Rostedt (mv -f .config .config.old.1; \ 4203fa25daSSteven Rostedt mv -f .tmp.config .config; \ 434062f1a4SSam Ravnborg $(obj)/conf --silentoldconfig $(Kconfig); \ 44a7c02602SSteven Rostedt mv -f .config.old.1 .config.old) \ 45a7c02602SSteven Rostedt else \ 46a7c02602SSteven Rostedt mv -f .tmp.config .config; \ 474062f1a4SSam Ravnborg $(obj)/conf --silentoldconfig $(Kconfig); \ 48a7c02602SSteven Rostedt fi 4903fa25daSSteven Rostedt $(Q)rm -f .tmp.config 5003fa25daSSteven Rostedt 5148586218SSteven Rostedtlocalyesconfig: $(obj)/streamline_config.pl $(obj)/conf 5217263bafSSteven Rostedt $(Q)mkdir -p include/generated 53*22d550aeSArnaud Lacombe $(Q)perl $< --$@ $(srctree) $(Kconfig) > .tmp.config 54281c9dadSSteven Rostedt $(Q)sed -i s/=m/=y/ .tmp.config 55a7c02602SSteven Rostedt $(Q)if [ -f .config ]; then \ 56a7c02602SSteven Rostedt cmp -s .tmp.config .config || \ 57281c9dadSSteven Rostedt (mv -f .config .config.old.1; \ 58281c9dadSSteven Rostedt mv -f .tmp.config .config; \ 594062f1a4SSam Ravnborg $(obj)/conf --silentoldconfig $(Kconfig); \ 60a7c02602SSteven Rostedt mv -f .config.old.1 .config.old) \ 61a7c02602SSteven Rostedt else \ 62a7c02602SSteven Rostedt mv -f .tmp.config .config; \ 634062f1a4SSam Ravnborg $(obj)/conf --silentoldconfig $(Kconfig); \ 64a7c02602SSteven Rostedt fi 65281c9dadSSteven Rostedt $(Q)rm -f .tmp.config 66281c9dadSSteven Rostedt 671020026fSEGRY Gabor# Create new linux.pot file 68b70e325cSSam Ravnborg# Adjust charset to UTF-8 in .po file to accept UTF-8 in Kconfig files 69b70e325cSSam Ravnborg# The symlink is used to repair a deficiency in arch/um 7046d26319SEGRY Gaborupdate-po-config: $(obj)/kxgettext $(obj)/gconf.glade.h 711020026fSEGRY Gabor $(Q)echo " GEN config" 721020026fSEGRY Gabor $(Q)xgettext --default-domain=linux \ 733b9fa093SArnaldo Carvalho de Melo --add-comments --keyword=_ --keyword=N_ \ 74b70e325cSSam Ravnborg --from-code=UTF-8 \ 75a24a1b8eSPeter Foley --files-from=$(srctree)/scripts/kconfig/POTFILES.in \ 76a24a1b8eSPeter Foley --directory=$(srctree) --directory=$(objtree) \ 77b70e325cSSam Ravnborg --output $(obj)/config.pot 78b70e325cSSam Ravnborg $(Q)sed -i s/CHARSET/UTF-8/ $(obj)/config.pot 79bdc69ca4SPeter Foley $(Q)ln -fs Kconfig.x86 arch/um/Kconfig 80a24a1b8eSPeter Foley $(Q)(for i in `ls $(srctree)/arch/*/Kconfig`; \ 81720d6c29SEgry Gabor do \ 821020026fSEGRY Gabor echo " GEN $$i"; \ 834217516eSSam Ravnborg $(obj)/kxgettext $$i \ 841020026fSEGRY Gabor >> $(obj)/config.pot; \ 851020026fSEGRY Gabor done ) 861020026fSEGRY Gabor $(Q)msguniq --sort-by-file --to-code=UTF-8 $(obj)/config.pot \ 87b70e325cSSam Ravnborg --output $(obj)/linux.pot 88bdc69ca4SPeter Foley $(Q)rm -f $(srctree)/arch/um/Kconfig 89b70e325cSSam Ravnborg $(Q)rm -f $(obj)/config.pot 903b9fa093SArnaldo Carvalho de Melo 910748cb3eSSam RavnborgPHONY += allnoconfig allyesconfig allmodconfig alldefconfig randconfig 921da177e4SLinus Torvalds 930748cb3eSSam Ravnborgallnoconfig allyesconfig allmodconfig alldefconfig randconfig: $(obj)/conf 944062f1a4SSam Ravnborg $< --$@ $(Kconfig) 951da177e4SLinus Torvalds 967cf3d73bSSam RavnborgPHONY += listnewconfig oldnoconfig savedefconfig defconfig 971da177e4SLinus Torvalds 98861b4ea4SSam Ravnborglistnewconfig oldnoconfig: $(obj)/conf 994062f1a4SSam Ravnborg $< --$@ $(Kconfig) 1001da177e4SLinus Torvalds 1017cf3d73bSSam Ravnborgsavedefconfig: $(obj)/conf 1027cf3d73bSSam Ravnborg $< --$@=defconfig $(Kconfig) 1037cf3d73bSSam Ravnborg 1041da177e4SLinus Torvaldsdefconfig: $(obj)/conf 1051da177e4SLinus Torvaldsifeq ($(KBUILD_DEFCONFIG),) 1064062f1a4SSam Ravnborg $< --defconfig $(Kconfig) 1071da177e4SLinus Torvaldselse 1082266cfd5SSam Ravnborg @echo "*** Default configuration is based on '$(KBUILD_DEFCONFIG)'" 1094062f1a4SSam Ravnborg $(Q)$< --defconfig=arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG) $(Kconfig) 1101da177e4SLinus Torvaldsendif 1111da177e4SLinus Torvalds 1121da177e4SLinus Torvalds%_defconfig: $(obj)/conf 1134062f1a4SSam Ravnborg $(Q)$< --defconfig=arch/$(SRCARCH)/configs/$@ $(Kconfig) 1141da177e4SLinus Torvalds 1151da177e4SLinus Torvalds# Help text used by make help 1161da177e4SLinus Torvaldshelp: 1171da177e4SLinus Torvalds @echo ' config - Update current config utilising a line-oriented program' 118692d97c3Snir.tzachar@gmail.com @echo ' nconfig - Update current config utilising a ncurses menu based program' 1191da177e4SLinus Torvalds @echo ' menuconfig - Update current config utilising a menu based program' 1201da177e4SLinus Torvalds @echo ' xconfig - Update current config utilising a QT based front-end' 1211da177e4SLinus Torvalds @echo ' gconfig - Update current config utilising a GTK based front-end' 1221da177e4SLinus Torvalds @echo ' oldconfig - Update current config utilising a provided .config as base' 12303fa25daSSteven Rostedt @echo ' localmodconfig - Update current config disabling modules not loaded' 124281c9dadSSteven Rostedt @echo ' localyesconfig - Update current config converting local mods to core' 125590a5857SMarkus Heidelberg @echo ' silentoldconfig - Same as oldconfig, but quietly, additionally update deps' 1260748cb3eSSam Ravnborg @echo ' defconfig - New config with default from ARCH supplied defconfig' 1277cf3d73bSSam Ravnborg @echo ' savedefconfig - Save current config as ./defconfig (minimal config)' 128e11f0496SJesper Juhl @echo ' allnoconfig - New config where all options are answered with no' 1290748cb3eSSam Ravnborg @echo ' allyesconfig - New config where all options are accepted with yes' 1300748cb3eSSam Ravnborg @echo ' allmodconfig - New config selecting modules when possible' 1310748cb3eSSam Ravnborg @echo ' alldefconfig - New config with all symbols set to default' 1320748cb3eSSam Ravnborg @echo ' randconfig - New config with random answer to all options' 133861b4ea4SSam Ravnborg @echo ' listnewconfig - List new options' 134ef61ca88SSam Ravnborg @echo ' oldnoconfig - Same as silentoldconfig but set new symbols to n (unset)' 1351da177e4SLinus Torvalds 1362982de69SSam Ravnborg# lxdialog stuff 1372982de69SSam Ravnborgcheck-lxdialog := $(srctree)/$(src)/lxdialog/check-lxdialog.sh 1382982de69SSam Ravnborg 139e9e40e14SRob Landley# Use recursively expanded variables so we do not call gcc unless 1402982de69SSam Ravnborg# we really need to do so. (Do not call gcc as part of make mrproper) 1419ba95682SArnaud LacombeHOST_EXTRACFLAGS += $(shell $(CONFIG_SHELL) $(check-lxdialog) -ccflags) \ 1429ba95682SArnaud Lacombe -DLOCALE 1432982de69SSam Ravnborg 1441da177e4SLinus Torvalds# =========================================================================== 1451da177e4SLinus Torvalds# Shared Makefile for the various kconfig executables: 1461da177e4SLinus Torvalds# conf: Used for defconfig, oldconfig and related targets 147692d97c3Snir.tzachar@gmail.com# nconf: Used for the nconfig target. 148692d97c3Snir.tzachar@gmail.com# Utilizes ncurses 1496f26e5e4SMarkus Heidelberg# mconf: Used for the menuconfig target 1501da177e4SLinus Torvalds# Utilizes the lxdialog package 1511da177e4SLinus Torvalds# qconf: Used for the xconfig target 1521da177e4SLinus Torvalds# Based on QT which needs to be installed to compile it 1531da177e4SLinus Torvalds# gconf: Used for the gconfig target 1541da177e4SLinus Torvalds# Based on GTK which needs to be installed to compile it 1551da177e4SLinus Torvalds# object files used by all kconfig flavours 1561da177e4SLinus Torvalds 1572982de69SSam Ravnborglxdialog := lxdialog/checklist.o lxdialog/util.o lxdialog/inputbox.o 1582982de69SSam Ravnborglxdialog += lxdialog/textbox.o lxdialog/yesno.o lxdialog/menubox.o 1592982de69SSam Ravnborg 1601da177e4SLinus Torvaldsconf-objs := conf.o zconf.tab.o 1612982de69SSam Ravnborgmconf-objs := mconf.o zconf.tab.o $(lxdialog) 162692d97c3Snir.tzachar@gmail.comnconf-objs := nconf.o zconf.tab.o nconf.gui.o 1633b9fa093SArnaldo Carvalho de Melokxgettext-objs := kxgettext.o zconf.tab.o 164f1943049SPeter Foleyqconf-cxxobjs := qconf.o 1655a6f8d2bSArnaud Lacombeqconf-objs := zconf.tab.o 1665a6f8d2bSArnaud Lacombegconf-objs := gconf.o zconf.tab.o 1671da177e4SLinus Torvalds 168d02ab886SPeter Foleyhostprogs-y := conf 169c29121b7SSam Ravnborg 170692d97c3Snir.tzachar@gmail.comifeq ($(MAKECMDGOALS),nconfig) 171692d97c3Snir.tzachar@gmail.com hostprogs-y += nconf 172692d97c3Snir.tzachar@gmail.comendif 173692d97c3Snir.tzachar@gmail.com 174c29121b7SSam Ravnborgifeq ($(MAKECMDGOALS),menuconfig) 175c29121b7SSam Ravnborg hostprogs-y += mconf 176c29121b7SSam Ravnborgendif 177c29121b7SSam Ravnborg 1781f594715SPeter Foleyifeq ($(MAKECMDGOALS),update-po-config) 1791f594715SPeter Foley hostprogs-y += kxgettext 1801f594715SPeter Foleyendif 1811f594715SPeter Foley 1821da177e4SLinus Torvaldsifeq ($(MAKECMDGOALS),xconfig) 1831da177e4SLinus Torvalds qconf-target := 1 1841da177e4SLinus Torvaldsendif 1851da177e4SLinus Torvaldsifeq ($(MAKECMDGOALS),gconfig) 1861da177e4SLinus Torvalds gconf-target := 1 1871da177e4SLinus Torvaldsendif 1881da177e4SLinus Torvalds 1891da177e4SLinus Torvalds 1901da177e4SLinus Torvaldsifeq ($(qconf-target),1) 191f1943049SPeter Foley hostprogs-y += qconf 1921da177e4SLinus Torvaldsendif 1931da177e4SLinus Torvalds 1941da177e4SLinus Torvaldsifeq ($(gconf-target),1) 195d02ab886SPeter Foley hostprogs-y += gconf 1961da177e4SLinus Torvaldsendif 1971da177e4SLinus Torvalds 1985a6f8d2bSArnaud Lacombeclean-files := qconf.moc .tmp_qtcheck .tmp_gtkcheck 1992f76b358SArnaud Lacombeclean-files += zconf.tab.c zconf.lex.c zconf.hash.c gconf.glade.h 200692d97c3Snir.tzachar@gmail.comclean-files += mconf qconf gconf nconf 2011020026fSEGRY Gaborclean-files += config.pot linux.pot 2021da177e4SLinus Torvalds 2036e588f6dSSam Ravnborg# Check that we have the required ncurses stuff installed for lxdialog (menuconfig) 2046e588f6dSSam RavnborgPHONY += $(obj)/dochecklxdialog 2056e588f6dSSam Ravnborg$(addprefix $(obj)/,$(lxdialog)): $(obj)/dochecklxdialog 2066e588f6dSSam Ravnborg$(obj)/dochecklxdialog: 2077080e47bSArnaud Lacombe $(Q)$(CONFIG_SHELL) $(check-lxdialog) -check $(HOSTCC) $(HOST_EXTRACFLAGS) $(HOSTLOADLIBES_mconf) 2086e588f6dSSam Ravnborg 2096e588f6dSSam Ravnborgalways := dochecklxdialog 2106e588f6dSSam Ravnborg 211aa1e5ef5SSam Ravnborg# Add environment specific flags 212aa1e5ef5SSam RavnborgHOST_EXTRACFLAGS += $(shell $(CONFIG_SHELL) $(srctree)/$(src)/check.sh $(HOSTCC) $(HOSTCFLAGS)) 21370a6a0cbSYuri Vasilevski 2141da177e4SLinus Torvalds# generated files seem to need this to find local include files 2152f76b358SArnaud LacombeHOSTCFLAGS_zconf.lex.o := -I$(src) 2161da177e4SLinus TorvaldsHOSTCFLAGS_zconf.tab.o := -I$(src) 2171da177e4SLinus Torvalds 218378dbb2cSArnaud LacombeLEX_PREFIX_zconf := zconf 219378dbb2cSArnaud LacombeYACC_PREFIX_zconf := zconf 220378dbb2cSArnaud Lacombe 2215a6f8d2bSArnaud LacombeHOSTLOADLIBES_qconf = $(KC_QT_LIBS) 2225a6f8d2bSArnaud LacombeHOSTCXXFLAGS_qconf.o = $(KC_QT_CFLAGS) 2231da177e4SLinus Torvalds 2245a6f8d2bSArnaud LacombeHOSTLOADLIBES_gconf = `pkg-config --libs gtk+-2.0 gmodule-2.0 libglade-2.0` 22537193147SAdrian BunkHOSTCFLAGS_gconf.o = `pkg-config --cflags gtk+-2.0 gmodule-2.0 libglade-2.0` \ 2261ea3ad4eSArnaud Lacombe -Wno-missing-prototypes 2271da177e4SLinus Torvalds 2287080e47bSArnaud LacombeHOSTLOADLIBES_mconf = $(shell $(CONFIG_SHELL) $(check-lxdialog) -ldflags $(HOSTCC)) 2297080e47bSArnaud Lacombe 230692d97c3Snir.tzachar@gmail.comHOSTLOADLIBES_nconf = -lmenu -lpanel -lncurses 2311da177e4SLinus Torvalds$(obj)/qconf.o: $(obj)/.tmp_qtcheck 2321da177e4SLinus Torvalds 2331da177e4SLinus Torvaldsifeq ($(qconf-target),1) 234b3a5225fSRoman Zippel$(obj)/.tmp_qtcheck: $(src)/Makefile 2351da177e4SLinus Torvalds-include $(obj)/.tmp_qtcheck 2361da177e4SLinus Torvalds 2371da177e4SLinus Torvalds# QT needs some extra effort... 2381da177e4SLinus Torvalds$(obj)/.tmp_qtcheck: 239b3a5225fSRoman Zippel @set -e; echo " CHECK qt"; dir=""; pkg=""; \ 240133c5f7cSAlexander Stein if ! pkg-config --exists QtCore 2> /dev/null; then \ 241133c5f7cSAlexander Stein echo "* Unable to find the QT4 tool qmake. Trying to use QT3"; \ 242b3a5225fSRoman Zippel pkg-config --exists qt 2> /dev/null && pkg=qt; \ 243b3a5225fSRoman Zippel pkg-config --exists qt-mt 2> /dev/null && pkg=qt-mt; \ 244b3a5225fSRoman Zippel if [ -n "$$pkg" ]; then \ 245b3a5225fSRoman Zippel cflags="\$$(shell pkg-config $$pkg --cflags)"; \ 246b3a5225fSRoman Zippel libs="\$$(shell pkg-config $$pkg --libs)"; \ 247b3a5225fSRoman Zippel moc="\$$(shell pkg-config $$pkg --variable=prefix)/bin/moc"; \ 248b3a5225fSRoman Zippel dir="$$(pkg-config $$pkg --variable=prefix)"; \ 249b3a5225fSRoman Zippel else \ 250b3a5225fSRoman Zippel for d in $$QTDIR /usr/share/qt* /usr/lib/qt*; do \ 251b3a5225fSRoman Zippel if [ -f $$d/include/qconfig.h ]; then dir=$$d; break; fi; \ 2521da177e4SLinus Torvalds done; \ 253b3a5225fSRoman Zippel if [ -z "$$dir" ]; then \ 2541da177e4SLinus Torvalds echo "*"; \ 255133c5f7cSAlexander Stein echo "* Unable to find any QT installation. Please make sure that"; \ 256133c5f7cSAlexander Stein echo "* the QT4 or QT3 development package is correctly installed and"; \ 257133c5f7cSAlexander Stein echo "* either qmake can be found or install pkg-config or set"; \ 258133c5f7cSAlexander Stein echo "* the QTDIR environment variable to the correct location."; \ 2591da177e4SLinus Torvalds echo "*"; \ 2601da177e4SLinus Torvalds false; \ 2611da177e4SLinus Torvalds fi; \ 262b3a5225fSRoman Zippel libpath=$$dir/lib; lib=qt; osdir=""; \ 2631da177e4SLinus Torvalds $(HOSTCXX) -print-multi-os-directory > /dev/null 2>&1 && \ 264b3a5225fSRoman Zippel osdir=x$$($(HOSTCXX) -print-multi-os-directory); \ 265b3a5225fSRoman Zippel test -d $$libpath/$$osdir && libpath=$$libpath/$$osdir; \ 266b3a5225fSRoman Zippel test -f $$libpath/libqt-mt.so && lib=qt-mt; \ 267b3a5225fSRoman Zippel cflags="-I$$dir/include"; \ 268b3a5225fSRoman Zippel libs="-L$$libpath -Wl,-rpath,$$libpath -l$$lib"; \ 269b3a5225fSRoman Zippel moc="$$dir/bin/moc"; \ 270ab919c06SSam Ravnborg fi; \ 271b3a5225fSRoman Zippel if [ ! -x $$dir/bin/moc -a -x /usr/bin/moc ]; then \ 2721da177e4SLinus Torvalds echo "*"; \ 273b3a5225fSRoman Zippel echo "* Unable to find $$dir/bin/moc, using /usr/bin/moc instead."; \ 2741da177e4SLinus Torvalds echo "*"; \ 275b3a5225fSRoman Zippel moc="/usr/bin/moc"; \ 276b3a5225fSRoman Zippel fi; \ 277133c5f7cSAlexander Stein else \ 278458452f4SMichal Marek cflags="\$$(shell pkg-config QtCore QtGui Qt3Support --cflags)"; \ 279458452f4SMichal Marek libs="\$$(shell pkg-config QtCore QtGui Qt3Support --libs)"; \ 28020f4ad8aSAlexander Stein binpath="\$$(shell pkg-config QtCore --variable=prefix)"; \ 28120f4ad8aSAlexander Stein moc="$$binpath/bin/moc"; \ 282133c5f7cSAlexander Stein fi; \ 283b3a5225fSRoman Zippel echo "KC_QT_CFLAGS=$$cflags" > $@; \ 284b3a5225fSRoman Zippel echo "KC_QT_LIBS=$$libs" >> $@; \ 285b3a5225fSRoman Zippel echo "KC_QT_MOC=$$moc" >> $@ 2861da177e4SLinus Torvaldsendif 2871da177e4SLinus Torvalds 2881da177e4SLinus Torvalds$(obj)/gconf.o: $(obj)/.tmp_gtkcheck 2891da177e4SLinus Torvalds 2901da177e4SLinus Torvaldsifeq ($(gconf-target),1) 2911da177e4SLinus Torvalds-include $(obj)/.tmp_gtkcheck 2921da177e4SLinus Torvalds 2931da177e4SLinus Torvalds# GTK needs some extra effort, too... 2941da177e4SLinus Torvalds$(obj)/.tmp_gtkcheck: 29537193147SAdrian Bunk @if `pkg-config --exists gtk+-2.0 gmodule-2.0 libglade-2.0`; then \ 29637193147SAdrian Bunk if `pkg-config --atleast-version=2.0.0 gtk+-2.0`; then \ 2971da177e4SLinus Torvalds touch $@; \ 2981da177e4SLinus Torvalds else \ 2991da177e4SLinus Torvalds echo "*"; \ 3001da177e4SLinus Torvalds echo "* GTK+ is present but version >= 2.0.0 is required."; \ 3011da177e4SLinus Torvalds echo "*"; \ 3021da177e4SLinus Torvalds false; \ 3031da177e4SLinus Torvalds fi \ 3041da177e4SLinus Torvalds else \ 3051da177e4SLinus Torvalds echo "*"; \ 3061da177e4SLinus Torvalds echo "* Unable to find the GTK+ installation. Please make sure that"; \ 3071da177e4SLinus Torvalds echo "* the GTK+ 2.0 development package is correctly installed..."; \ 3081da177e4SLinus Torvalds echo "* You need gtk+-2.0, glib-2.0 and libglade-2.0."; \ 3091da177e4SLinus Torvalds echo "*"; \ 3101da177e4SLinus Torvalds false; \ 3111da177e4SLinus Torvalds fi 3121da177e4SLinus Torvaldsendif 3131da177e4SLinus Torvalds 3142f76b358SArnaud Lacombe$(obj)/zconf.tab.o: $(obj)/zconf.lex.c $(obj)/zconf.hash.c 3151da177e4SLinus Torvalds 3165a6f8d2bSArnaud Lacombe$(obj)/qconf.o: $(obj)/qconf.moc 3171da177e4SLinus Torvalds 3181da177e4SLinus Torvalds$(obj)/%.moc: $(src)/%.h 319b3a5225fSRoman Zippel $(KC_QT_MOC) -i $< -o $@ 3201da177e4SLinus Torvalds 32146d26319SEGRY Gabor# Extract gconf menu items for I18N support 32246d26319SEGRY Gabor$(obj)/gconf.glade.h: $(obj)/gconf.glade 3232d80eb0fSPeter Foley $(Q)intltool-extract --type=gettext/glade --srcdir=$(srctree) \ 324a24a1b8eSPeter Foley $(obj)/gconf.glade 3251da177e4SLinus Torvalds 326