summaryrefslogtreecommitdiff
path: root/libexec/bootpd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/bootpd/Makefile')
-rw-r--r--libexec/bootpd/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/libexec/bootpd/Makefile b/libexec/bootpd/Makefile
new file mode 100644
index 000000000000..00d9d6fcfce7
--- /dev/null
+++ b/libexec/bootpd/Makefile
@@ -0,0 +1,20 @@
+# The next few lines may be uncommented and changed to alter the default
+# filenames bootpd uses for its configuration and dump files.
+#CONFFILE=-DCONFIG_FILE=\"/usr/etc/bootptab\"
+#DUMPFILE=-DDUMP_FILE=\"/usr/etc/bootpd.dump\"
+#FILESPECS=${CONFFILE} ${DUMPFILE}
+
+# Remove the -DVEND_CMU if you don't wish to support the "CMU vendor format"
+# in addition to the RFC1048 format.
+
+PROG= bootpd
+CFLAGS+=-DSYSLOG -DDEBUG -DVEND_CMU -DPRIVATE=static ${FILESPECS} -traditional
+SRCS= bootpd.c readfile.c hash.c version.c
+MAN5= bootptab.5
+MAN8= bootpd.8
+CLEANFILES+=version.c version
+
+version.c:
+ sh ${.CURDIR}/newvers.sh ${.CURDIR}/Version.c
+
+.include <bsd.prog.mk>