c21a9d0c87
added kernconft.tmpl file. Approved by: cognet (mentor)
23 lines
430 B
Makefile
23 lines
430 B
Makefile
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
|
# $FreeBSD$
|
|
|
|
PROG= config
|
|
MAN= config.5 config.8
|
|
SRCS= config.y main.c lang.l mkmakefile.c mkheaders.c \
|
|
mkoptions.c y.tab.h kernconf.c
|
|
|
|
kernconf.c: kernconf.tmpl
|
|
file2c 'char kernconfstr[] = {' ',0};' < ${.CURDIR}/kernconf.tmpl > kernconf.c
|
|
|
|
WARNS?= 6
|
|
CFLAGS+= -I. -I${.CURDIR}
|
|
|
|
DPADD= ${LIBL}
|
|
LDADD= -ll -lsbuf
|
|
|
|
CLEANFILES+= kernconf.c
|
|
|
|
mkmakefile.o: configvers.h
|
|
|
|
.include <bsd.prog.mk>
|