diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1999-04-20 12:22:19 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1999-04-20 12:22:19 +0000 |
commit | 591150a7e3c5f1b66b2b893003130e19de7d3e0b (patch) | |
tree | 9b16d91b5f78e2d0dd78f0549529d3b00f6978b5 /sbin | |
parent | 1cced2d72cf8c8374897ccecf1c37873ba2e6cd7 (diff) |
Merge with EOM 1.50
author: niklas
Heh forgot to comment out the boehm-gc defines
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/isakmpd/Makefile | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/sbin/isakmpd/Makefile b/sbin/isakmpd/Makefile index f26a9402dd0..1b70ba32f48 100644 --- a/sbin/isakmpd/Makefile +++ b/sbin/isakmpd/Makefile @@ -1,5 +1,5 @@ -# $OpenBSD: Makefile,v 1.14 1999/04/20 11:33:15 niklas Exp $ -# $EOM: Makefile,v 1.49 1999/04/20 09:24:28 niklas Exp $ +# $OpenBSD: Makefile,v 1.15 1999/04/20 12:22:18 niklas Exp $ +# $EOM: Makefile,v 1.50 1999/04/20 12:22:46 niklas Exp $ # # Copyright (c) 1998, 1999 Niklas Hallqvist. All rights reserved. @@ -89,27 +89,27 @@ DEBUG= -g # 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_); \ - })' +#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_); \ +# })' .if !make(install) SUBDIR= regress |