summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-03-25 07:50:02 +0000
committerkris <kris@FreeBSD.org>2000-03-25 07:50:02 +0000
commit8b90028c5db77dd9272710ff315dc8455f19e13d (patch)
treee368752831e4a02465e1c99c03c165c62e749205 /gnu
parent95253f7f3301db33845bc937f0e7ed5eff100e0e (diff)
downloadFreeBSD-src-8b90028c5db77dd9272710ff315dc8455f19e13d.zip
FreeBSD-src-8b90028c5db77dd9272710ff315dc8455f19e13d.tar.gz
Update for gperf 2.7
Diffstat (limited to 'gnu')
-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 d0e1730..50a1197 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 0000000..464005e
--- /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 eac5705..1c0ec79 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>
OpenPOWER on IntegriCloud