# Platform specific fixes
#
# FreeBSD
-ifeq ($(shell uname -s),FreeBSD)
-export CFLAGS+=-I/usr/local/include
-export LDFLAGS+=-L/usr/local/lib -lintl
-endif
+export CFLAGS+=-DKBUILD_NO_NLS
conf-objs := conf.o zconf.tab.o
mconf-objs := mconf.o zconf.tab.o
clean-files := lkc_defs.h qconf.moc .tmp_qtcheck \
.tmp_gtkcheck zconf.tab.c lex.zconf.c zconf.hash.c
-all: conf mconf lxdialog
+all: conf mconf lxdialog/lxdialog
-.PHONY: lxdialog
-lxdialog:
+lxdialog/lxdialog:
$(MAKE) -C lxdialog
conf: $(conf-objs)
-mconf: $(mconf-objs)
+mconf: $(mconf-objs)
clean:
rm -f *.o $(clean-files) conf mconf
$(MAKE) -C lxdialog clean
-zconf.tab.o: lex.zconf.c zconf.hash.c
+zconf.tab.o: lex.zconf.c zconf.hash.c confdata.c
kconfig_load.o: lkc_defs.h