aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/usr.bin/gperf/Makefile16
-rw-r--r--gnu/usr.bin/gperf/doc/Makefile7
2 files changed, 23 insertions, 0 deletions
diff --git a/gnu/usr.bin/gperf/Makefile b/gnu/usr.bin/gperf/Makefile
new file mode 100644
index 000000000000..55c9e84acba0
--- /dev/null
+++ b/gnu/usr.bin/gperf/Makefile
@@ -0,0 +1,16 @@
+# $Id$
+
+.PATH: ${.CURDIR}/../../../contrib/gperf
+.PATH: ${.CURDIR}/../../../contrib/gperf/src
+
+SUBDIR= doc
+
+PROG= gperf
+MAN1= gperf.1
+
+CFLAGS+= -D_HAVE_PARAM_H -DLO_CAL -DGATHER_STATISTICS #-DRLIMIT_STACK
+
+SRCS = options.c iterator.c main.c perfect.c keylist.c listnode.c xmalloc.c \
+ hashtable.c boolarray.c readline.c stderr.c version.c getopt.c
+
+.include <bsd.prog.mk>
diff --git a/gnu/usr.bin/gperf/doc/Makefile b/gnu/usr.bin/gperf/doc/Makefile
new file mode 100644
index 000000000000..2c4633e4ec74
--- /dev/null
+++ b/gnu/usr.bin/gperf/doc/Makefile
@@ -0,0 +1,7 @@
+# $Id$
+
+INFO = gperf
+
+.PATH: ${.CURDIR}/../../../../contrib/gperf
+
+.include <bsd.info.mk>