aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gperf
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2000-03-25 07:50:02 +0000
committerKris Kennaway <kris@FreeBSD.org>2000-03-25 07:50:02 +0000
commit99fee5f91c4886eb29237f25004942ea2288580f (patch)
tree8012d33494ee593cc94a288caeb6efb5abbd5b01 /gnu/usr.bin/gperf
parent101ba6a1282a3372061de162d05a9a122a578ee2 (diff)
downloadsrc-99fee5f91c4886eb29237f25004942ea2288580f.tar.gz
src-99fee5f91c4886eb29237f25004942ea2288580f.zip
Notes
Diffstat (limited to 'gnu/usr.bin/gperf')
-rw-r--r--gnu/usr.bin/gperf/Makefile14
-rw-r--r--gnu/usr.bin/gperf/config.h21
-rw-r--r--gnu/usr.bin/gperf/doc/Makefile2
3 files changed, 31 insertions, 6 deletions
diff --git a/gnu/usr.bin/gperf/Makefile b/gnu/usr.bin/gperf/Makefile
index d0e17301cbb3..50a119788138 100644
--- a/gnu/usr.bin/gperf/Makefile
+++ b/gnu/usr.bin/gperf/Makefile
@@ -1,16 +1,20 @@
# $FreeBSD$
-.PATH: ${.CURDIR}/../../../contrib/gperf
-.PATH: ${.CURDIR}/../../../contrib/gperf/src
+GPROFDIR= ${.CURDIR}/../../../contrib/gperf
SUBDIR= doc
PROG= gperf
MAN1= gperf.1
-CFLAGS+= -D_HAVE_PARAM_H -DLO_CAL -DGATHER_STATISTICS #-DRLIMIT_STACK
+CXXFLAGS+= -I${GPROFDIR}/lib -I${.CURDIR}
-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
+SRCS= bool-array.cc gen-perf.cc hash-table.cc iterator.cc key-list.cc \
+ list-node.cc main.cc new.cc options.cc read-line.cc trace.cc \
+ vectors.cc version.cc
+SRCS+= hash.cc getopt.c getopt1.c
.include <bsd.prog.mk>
+.PATH: ${GPROFDIR}/src
+.PATH: ${GPROFDIR}/lib
+.PATH: ${GPROFDIR}/doc
diff --git a/gnu/usr.bin/gperf/config.h b/gnu/usr.bin/gperf/config.h
new file mode 100644
index 000000000000..464005e3fa58
--- /dev/null
+++ b/gnu/usr.bin/gperf/config.h
@@ -0,0 +1,21 @@
+/* $FreeBSD$ */
+/* config.h. Generated automatically by configure. */
+/* config.h.in. Generated automatically from configure.in by autoheader. */
+
+/* Define if the C++ compiler supports "throw ()" declarations. */
+#define HAVE_THROW_DECL 1
+
+/* Define if you have the getrlimit function. */
+#define HAVE_GETRLIMIT 1
+
+/* Define if you have the setrlimit function. */
+#define HAVE_SETRLIMIT 1
+
+/* Define if you have the <sys/resource.h> header file. */
+#define HAVE_SYS_RESOURCE_H 1
+
+/* Define if you have the <sys/time.h> header file. */
+#define HAVE_SYS_TIME_H 1
+
+/* Define if you have the <unistd.h> header file. */
+#define HAVE_UNISTD_H 1
diff --git a/gnu/usr.bin/gperf/doc/Makefile b/gnu/usr.bin/gperf/doc/Makefile
index eac57053eb0d..1c0ec790e597 100644
--- a/gnu/usr.bin/gperf/doc/Makefile
+++ b/gnu/usr.bin/gperf/doc/Makefile
@@ -4,6 +4,6 @@ INFO = gperf
INFOSECTION= "Programming & development tools."
INFOENTRY_gperf= "* Gperf: (gperf). The GNU perfect hash function generator."
-SRCDIR= ${.CURDIR}/../../../../contrib/gperf
+SRCDIR= ${.CURDIR}/../../../../contrib/gperf/doc
.include <bsd.info.mk>