Support for wrapping C++ in C
[dyninst.git] / common / x86_64-unknown-linux2.4 / Makefile
1 #
2 # $Id: Makefile,v 1.5 2008/06/11 22:48:25 legendre Exp $
3 #
4
5 # Define any symbols needed to invoke configuration changes in make.config
6
7 #USES_SHM_SAMPLING = true
8 #USES_PAPI = true
9 NO_IMPLICIT_TEMPLATES = true
10 USES_DWARF_DEBUG = true
11 USES_LIBELF = true
12
13 # For debugging.
14 #NO_OPT_FLAG = true
15
16 # Include standard make configuration stuff that applies to everything
17 # in the paradyn tree.
18
19 include ../../make.config 
20
21 # Now make any necessary architecture specific changes to variables:
22
23 SRCS =          ../../common/src/linuxKludges.C \
24                 ../../common/src/timing-linux.C \
25                 ../../common/src/parseauxv.C \
26                 ../../common/src/dthread-unix.C \
27                 ../../common/src/addrtranslate-sysv.C \
28                 ../../common/src/addrtranslate-linux.C
29
30 #MYFLAGS        += -DNO_MDL_PRINT
31 #MYFLAGS        += -DLD_DEBUG
32 #MYFLAGS        += -DATTACH_DETACH_DEBUG
33 #MYFLAGS        += -DPTRACEDEBUG
34 #MYFLAGS        += -DPTRACEDEBUG_EXCESSIVE
35 #MYFLAGS        += -DPTRACEDEBUG_ALWAYS
36 #MYFLAGS        += -DINST_TRAP_DEBUG
37 #MYFLAGS        += -DSIGNAL_DEBUG
38 #MYFLAGS        += -DASTDEBUG
39 #MYFLAGS        += -DINFERIOR_RPC_DEBUG
40
41 CXXFLAGS        += $(MYFLAGS)
42 CFLAGS          += $(MYFLAGS)
43 TFLAGS          += $(MYFLAGS)
44
45 # Tradeoff: adding -g to TFLAGS aids gdb but uses gobs of disk space
46 #TFLAGS         += -g
47
48 LIBS    += -ldl
49
50 AS              = /usr/bin/as
51
52 # Add preprocessor and special link information for G++
53 G_PTHREAD       = -pthread
54
55 # Include the module-specific Makefile, which defines everything about
56 # the module that is common across architectures.
57
58 include ../make.module.tmpl
59
60 # Include the "standard library template".  This defines all the
61 # common targets like "clean", "install", etc.
62
63 include ../../make.library.tmpl