2 # $Id: Makefile,v 1.9 2002/04/05 17:13:02 gaburici Exp $
5 # Define any symbols needed to invoke configuration changes in make.config
7 #USES_SHM_SAMPLING = true
8 DEBUG_FLAG = -g -gstabs+
9 NO_IMPLICIT_TEMPLATES = true
11 # Include standard make configuration stuff that applies to everything
12 # in the paradyn tree.
14 include ../../make.config
16 # Now make any necessary architecture specific changes to variables:
18 SRCS = ../src/linux.C \
26 ../src/InstrucIter-x86.C \
28 ../src/LocalAlteration.C \
29 ../src/LocalAlteration-x86.C \
30 ../src/FunctionExpansionRecord.C \
31 ../src/addLibraryLinux.C \
32 ../../common/src/linuxKludges.C \
33 ../../common/src/timing-linux.C
36 MYFLAGS += -I/usr/include/libelf
37 #MYFLAGS += -DNO_MDL_PRINT
38 #MYFLAGS += -DLD_DEBUG
39 #MYFLAGS += -DATTACH_DETACH_DEBUG
40 #MYFLAGS += -DPTRACEDEBUG
41 #MYFLAGS += -DPTRACEDEBUG_EXCESSIVE
42 #MYFLAGS += -DPTRACEDEBUG_ALWAYS
43 #MYFLAGS += -DINST_TRAP_DEBUG
44 #MYFLAGS += -DSIGNAL_DEBUG
45 #MYFLAGS += -DASTDEBUG
46 #MYFLAGS += -DINFERIOR_RPC_DEBUG
48 CXXFLAGS += $(MYFLAGS)
52 # Tradeoff: adding -g to TFLAGS aids gdb but uses gobs of disk space
59 # no support for elf64_XXX() functions
60 CXXFLAGS += -DUSES_ELF32_ONLY
61 CFLAGS += -DUSES_ELF32_ONLY
62 TFLAGS += -DUSES_ELF32_ONLY
64 # Include the module-specific Makefile, which defines everything about
65 # the module that is common across architectures.
67 include ../make.module.tmpl
69 # Include the "standard library template". This defines all the
70 # common targets like "clean", "install", etc.
72 include ../../make.library.tmpl