summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/Makefile
diff options
context:
space:
mode:
authorHakan Olsson <ho@cvs.openbsd.org>2004-06-23 01:17:30 +0000
committerHakan Olsson <ho@cvs.openbsd.org>2004-06-23 01:17:30 +0000
commit20b1cd76105c5ba9e8ea908da563e5dd765324b0 (patch)
tree17d2c82efdec859126bcfe7f07861d2bfdcc2536 /sbin/isakmpd/Makefile
parent9fa801572fce218d8737cfd99fe4b3efe8801cc8 (diff)
Make compiling with Boehm's gc possible again.
Diffstat (limited to 'sbin/isakmpd/Makefile')
-rw-r--r--sbin/isakmpd/Makefile28
1 files changed, 3 insertions, 25 deletions
diff --git a/sbin/isakmpd/Makefile b/sbin/isakmpd/Makefile
index b57f1d312c1..f3e7d1136c7 100644
--- a/sbin/isakmpd/Makefile
+++ b/sbin/isakmpd/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.54 2004/06/21 23:28:18 ho Exp $
+# $OpenBSD: Makefile,v 1.55 2004/06/23 01:17:29 ho Exp $
# $EOM: Makefile,v 1.78 2000/10/15 21:33:42 niklas Exp $
#
@@ -96,31 +96,9 @@ CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes \
# If you like to use Boehm's garbage collector (/usr/ports/devel/boehm-gc).
#LDADD+= -L/usr/local/lib -lgc
#DPADD+= /usr/local/lib/libgc.a
-
+#CFLAGS+= -DUSE_BOEHM_GC
# You can also use Boehm's garbage collector as a means to find leaks.
-# XXX The defines below are GCC-specific. I think it is OK to require
-# XXX GCC if you are debugging isakmpd in this way.
-#LDADD+= -L/usr/local/lib -lleak
-#DPADD+= /usr/local/lib/libleak.a
-#CFLAGS+= -D'malloc(x)=({ \
-# void *GC_debug_malloc (size_t, char *, int); \
-# GC_debug_malloc ((x), __FILE__, __LINE__); \
-# })' \
-# -D'realloc(x,y)=({ \
-# void *GC_debug_realloc (void *, size_t, char *, int); \
-# GC_debug_realloc ((x), (y), __FILE__, __LINE__); \
-# })' \
-# -D'free(x)=({ \
-# void GC_debug_free (void *); \
-# GC_debug_free (x); \
-# })' \
-# -D'calloc(x,y)=malloc((x) * (y))' \
-# -D'strdup(x)=({ \
-# char *strcpy (char *, const char *); \
-# const char *_x_ = (x); \
-# char *_y_ = malloc (strlen (_x_) + 1); \
-# strcpy (_y_, _x_); \
-# })'
+# # setenv GC_FIND_LEAK
SUBDIR= apps