mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-22 21:31:05 +01:00
e9ac41698b
This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
23 lines
427 B
Makefile
23 lines
427 B
Makefile
SRCDIR:=${.PARSEDIR:tA}
|
|
|
|
PROG_CXX= config
|
|
MAN= config.5 config.8
|
|
SRCS= config.y main.cc lang.l mkmakefile.cc mkheaders.c \
|
|
mkoptions.cc y.tab.h kernconf.c
|
|
|
|
FILE2C?=file2c
|
|
|
|
kernconf.c: kernconf.tmpl
|
|
${FILE2C} 'char kernconfstr[] = {' ',0};' < \
|
|
${SRCDIR}/kernconf.tmpl > kernconf.c
|
|
|
|
CFLAGS+= -I. -I${SRCDIR}
|
|
|
|
NO_WMISSING_VARIABLE_DECLARATIONS=
|
|
|
|
CLEANFILES+= kernconf.c
|
|
|
|
mkmakefile.o: configvers.h
|
|
|
|
.include <bsd.prog.mk>
|