2 # $Id: Makefile,v 1.18 2004/06/24 22:27:44 legendre Exp $
5 # Define any symbols needed to invoke configuration changes in make.config
8 NO_IMPLICIT_TEMPLATES = true
9 USES_DWARF_DEBUG = true
10 USES_UNWIND_LIB = true
13 # Turns off optimization, and enables debugging.
16 # Include standard make configuration stuff that applies to everything
17 # in the paradyn tree.
18 include ../../make.config
20 # Now make any necessary architecture specific changes to variables:
22 SRCS = ../src/linux.C \
25 ../src/dynamiclinking.C \
34 ../src/LocalAlteration.C \
35 ../src/LocalAlteration-ia64.C \
36 ../src/FunctionExpansionRecord.C \
37 ../src/addLibraryLinux.C \
38 ../src/InstrucIter-ia64.C \
40 ../../common/src/linuxKludges.C \
41 ../../common/src/timing-linux.C \
42 ../src/ia64-template.s \
43 ../src/syscall-linux.C
45 MYFLAGS += -DUSES_DWARF_DEBUG -I$(LIBDWARF_INC) \
46 -I$(LIBUNWIND_INC) -I$(LIBELF_INC) \
49 CXXFLAGS += $(MYFLAGS)
53 # Tradeoff: adding -g to TFLAGS aids gdb but uses gobs of disk space
58 LIBS = -L$(LIBDWARF_LIB) -L$(LIBELF_LIB)
60 LIBS += -Wl,-Bstatic -ldwarf -Wl,-Bdynamic
65 LIBS += -Wl,-Bstatic -lelf -Wl,-Bdynamic
69 LIBS += -L$(LIBUNWIND_LIB) -Wl,-Bstatic -lunwind -Wl,-Bdynamic
73 # Include the module-specific Makefile, which defines everything about
74 # the module that is common across architectures.
76 include ../make.module.tmpl
78 # Include the "standard library template". This defines all the
79 # common targets like "clean", "install", etc.
81 include ../../make.library.tmpl