1
# Harlan Stenn <stenn@whimsy.udel.edu>
2
# Converted the original Makefile (now in Makefile-) to Makefile.am
5
EXTRA_DIST = libefence.3 CHANGES
6
libefence_a_SOURCES = efence.h efence.c page.c print.c
7
check_PROGRAMS = @EF_PROGS@
8
EXTRA_PROGRAMS = eftest tstheap
9
# TESTS = eftest tstheap
10
noinst_LIBRARIES = @EF_LIBS@
11
EXTRA_LIBRARIES = libefence.a
14
# Un-comment the following if you are running HP/UX.
15
# CFLAGS= -Aa -g -D_HPUX_SOURCE -DPAGE_PROTECTION_VIOLATED_SIGNAL=SIGBUS
17
# Un-comment the following if you are running AIX. This makes sure you won't
18
# get the shared-library malloc() rather than the Electric Fence malloc().
19
# COMPILE THE PROGRAMS YOU ARE DEBUGGING WITH THESE FLAGS, TOO.
20
# CFLAGS= -g -bnso -bnodelcsect -bI:/lib/syscalls.exp
22
# Un-comment the following if you are running SunOS 4.X
23
# Note the definition of PAGE_PROTECTION_VIOLATED_SIGNAL. This may vary
24
# depend on what version of Sun hardware you have.
25
# You'll probably have to link the program you are debugging with -Bstatic
26
# as well if using Sun's compiler, -static if using GCC.
27
# CFLAGS= -g -Bstatic -DPAGE_PROTECTION_VIOLATED_SIGNAL=SIGBUS
30
test ! -f eftest || ./eftest
31
test ! -f tstheap || ./tstheap 3072