1 2SRCDIR:=${.PARSEDIR:tA} 3 4PROG_CXX= config 5MAN= config.5 config.8 6SRCS= config.y main.cc lang.l mkmakefile.cc mkheaders.c \ 7 mkoptions.cc y.tab.h kernconf.c 8 9FILE2C?=file2c 10 11kernconf.c: kernconf.tmpl 12 ${FILE2C} 'char kernconfstr[] = {' ',0};' < \ 13 ${SRCDIR}/kernconf.tmpl > kernconf.c 14 15CFLAGS+= -I. -I${SRCDIR} 16 17NO_WMISSING_VARIABLE_DECLARATIONS= 18 19CLEANFILES+= kernconf.c 20 21mkmakefile.o: configvers.h 22 23.include <bsd.prog.mk> 24