summaryrefslogtreecommitdiffstats
path: root/usr.sbin/config/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/config/Makefile')
-rw-r--r--usr.sbin/config/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/usr.sbin/config/Makefile b/usr.sbin/config/Makefile
new file mode 100644
index 0000000..6faf847
--- /dev/null
+++ b/usr.sbin/config/Makefile
@@ -0,0 +1,21 @@
+# @(#)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
+
+CFLAGS+= -I. -I${.CURDIR}
+
+DPADD= ${LIBL} ${LIBSBUF}
+LDADD= -ll -lsbuf
+
+CLEANFILES+= kernconf.c
+
+mkmakefile.o: configvers.h
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud