Added instruction iterator
[dyninst.git] / dyninstAPI / i386-unknown-linux2.4 / Makefile
1 #
2 # $Id: Makefile,v 1.9 2002/04/05 17:13:02 gaburici Exp $
3 #
4
5 # Define any symbols needed to invoke configuration changes in make.config
6
7 #USES_SHM_SAMPLING = true
8 DEBUG_FLAG = -g -gstabs+
9 NO_IMPLICIT_TEMPLATES = true
10
11 # Include standard make configuration stuff that applies to everything
12 # in the paradyn tree.
13
14 include ../../make.config 
15
16 # Now make any necessary architecture specific changes to variables:
17
18 SRCS =          ../src/linux.C \
19                 ../src/linuxDL.C \
20                 ../src/inst-linux.C \
21                 ../src/inst-x86.C \
22                 ../src/arch-x86.C \
23                 ../src/Object-elf.C \
24                 ../src/unix.C \
25                 ../src/parseStab.C \
26                 ../src/InstrucIter-x86.C \
27                 ../src/func-reloc.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
34
35
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
47
48 CXXFLAGS         += $(MYFLAGS)
49 CFLAGS           += $(MYFLAGS)
50 TFLAGS           += $(MYFLAGS)
51
52 # Tradeoff: adding -g to TFLAGS aids gdb but uses gobs of disk space
53 #TFLAGS                 += -g
54
55 SYSLIBS = -lelf -ldl
56
57 AS              = /usr/bin/as
58
59 # no support for elf64_XXX() functions
60 CXXFLAGS        += -DUSES_ELF32_ONLY
61 CFLAGS          += -DUSES_ELF32_ONLY
62 TFLAGS          += -DUSES_ELF32_ONLY
63
64 # Include the module-specific Makefile, which defines everything about
65 # the module that is common across architectures.
66
67 include ../make.module.tmpl
68
69 # Include the "standard library template".  This defines all the
70 # common targets like "clean", "install", etc.
71
72 include ../../make.library.tmpl