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