removed compiler warning; added a member which removes (erase) an element
[dyninst.git] / paradynd / i386-unknown-linux2.4 / Makefile
1 #
2 # $Id: Makefile,v 1.7 2001/02/20 21:45:36 gurari Exp $
3 #
4
5 # Define any symbols needed to invoke configuration changes in make.config
6
7 USES_LIBERTY = true
8 USES_SHM_SAMPLING = true
9 USES_PVM = true
10 NO_IMPLICIT_TEMPLATES = true
11 #DEBUG_FLAG = -ggdb
12
13 #If libhrtime is not installed on your computer and you have no interest
14 #  in using it, then comment out the following line (with a #), remove
15 #  the DEPENDS file in this directory, and recompile with make.
16 #If you have libhrtime, but it can't be found, the libhrtime path can 
17 #  be adjusted in ../../make.config.  You'll need to remake DEPENDS if
18 #  this path is adjusted.
19 USES_LIBHRTIME = true
20
21
22 # Include standard make configuration stuff that applies to everything
23 # in the paradyn tree.
24
25 include ../../make.config 
26
27 # Now make any necessary architecture specific changes to variables:
28
29 VPATH        += ../../rtinst/h:../../rtinst/src
30
31 SRCS =          ../../dyninstAPI/src/linux.C \
32                 ../../dyninstAPI/src/linuxDL.C \
33                 ../src/init-linux.C \
34                 ../../dyninstAPI/src/inst-linux.C \
35                 ../../dyninstAPI/src/inst-x86.C \
36                 ../../dyninstAPI/src/arch-x86.C \
37                 ../../dyninstAPI/src/Object-elf.C \
38                 ../../dyninstAPI/src/func-reloc.C \
39                 ../../dyninstAPI/src/LocalAlteration.C \
40                 ../../dyninstAPI/src/LocalAlteration-x86.C \
41                 ../../dyninstAPI/src/FunctionExpansionRecord.C \
42                 ../../dyninstAPI/src/unix.C  \
43                 ../../rtinst/src/RThwtimer-linux.c
44
45 MYFLAGS         += -I/usr/include/libelf
46 MYFLAGS         += -DNO_MDL_PRINT
47
48 SYSLIBS  = -ldl -lelf
49 #SYSLIBS = -lelf -lsocket -lnsl
50
51 AS              = /usr/bin/as
52
53 #MYFLAGS                += -DPDYN_DEBUG
54 #MYFLAGS                += -DATTACH_DETACH_DEBUG -DINFERIOR_RPC_DEBUG
55 #MYFLAGS                += -DPTRACEDEBUG
56 #MYFLAGS                += -DPTRACEDEBUG_EXCESSIVE
57 #MYFLAGS                += -DSIGNAL_DEBUG
58 #MYFLAGS                += -DINST_TRAP_DEBUG
59 #MYFLAGS                += -DLD_DEBUG
60 #MYFLAGS                += -DSAMPLEVALUE_DEBUG
61 #MYFLAGS                += -DAGGREGATE_DEBUG
62
63 CFLAGS          += $(MYFLAGS)
64 CXXFLAGS        += $(MYFLAGS)
65 TFLAGS          += $(MYFLAGS)
66
67 ifdef USES_LIBHRTIME
68 LIBS    += $(HRTIME_LIB)
69 endif
70
71 # no support for elf64_XXX() functions
72 CFLAGS          += -DUSES_ELF32_ONLY
73 CXXFLAGS        += -DUSES_ELF32_ONLY
74 TFLAGS          += -DUSES_ELF32_ONLY
75
76 # Include the module-specific Makefile, which defines everything about
77 # the module that is common across architectures.
78
79 include ../make.module.tmpl
80
81 # Include the "standard program template".  This defines all the
82 # common targets like "clean", "install", etc.
83
84 include ../../make.program.tmpl