2006-03-28 21:46:39 +00:00
|
|
|
PROGS = conf
|
|
|
|
|
2009-02-22 14:05:13 +00:00
|
|
|
OUTDIR = scripts/kconfig
|
2006-03-28 21:46:39 +00:00
|
|
|
|
2009-03-24 09:28:26 +00:00
|
|
|
top_srcdir = ../..
|
|
|
|
|
2011-07-31 11:18:48 +00:00
|
|
|
VPATH = $(top_srcdir)/$(OUTDIR)
|
2009-03-24 09:28:26 +00:00
|
|
|
|
2011-07-31 11:02:37 +00:00
|
|
|
include $(top_srcdir)/debian/build/Makefile.inc
|
2009-03-24 09:28:26 +00:00
|
|
|
|
|
|
|
CFLAGS += -I$(VPATH)
|
2006-03-28 21:46:39 +00:00
|
|
|
|
|
|
|
conf: conf.o zconf.tab.o
|
|
|
|
|
|
|
|
zconf.tab.c: zconf.hash.c lex.zconf.c
|
|
|
|
|
|
|
|
%.c: %.c_shipped
|
2009-02-22 13:31:45 +00:00
|
|
|
ln -sf $< $@
|
2006-03-28 21:46:39 +00:00
|
|
|
|
|
|
|
%.h: %.h_shipped
|
2009-02-22 13:31:45 +00:00
|
|
|
ln -sf $< $@
|
2009-03-24 09:34:28 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f zconf.tab.c zconf.hash.c lex.zconf.c
|