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