Annotation of embedaddon/ntp/ElectricFence/Makefile.am, revision 1.1.1.1
1.1 misho 1: # Harlan Stenn <stenn@whimsy.udel.edu>
2: # Converted the original Makefile (now in Makefile-) to Makefile.am
3: # in July of '00
4:
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
12: LDADD = libefence.a
13:
14: # Un-comment the following if you are running HP/UX.
15: # CFLAGS= -Aa -g -D_HPUX_SOURCE -DPAGE_PROTECTION_VIOLATED_SIGNAL=SIGBUS
16:
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
21:
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
28:
29: check-local:
30: test ! -f eftest || ./eftest
31: test ! -f tstheap || ./tstheap 3072
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>