Add new ppc32_linux platform. - - - - - - - - - - - - - - - - - - - - -
[dyninst.git] / common / ppc32_linux / Makefile
1 #
2 # $Id: Makefile,v 1.1 2007/08/01 18:47:28 ssuen 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
27 #MYFLAGS        += -DNO_MDL_PRINT
28 #MYFLAGS        += -DLD_DEBUG
29 #MYFLAGS        += -DATTACH_DETACH_DEBUG
30 #MYFLAGS        += -DPTRACEDEBUG
31 #MYFLAGS        += -DPTRACEDEBUG_EXCESSIVE
32 #MYFLAGS        += -DPTRACEDEBUG_ALWAYS
33 #MYFLAGS        += -DINST_TRAP_DEBUG
34 #MYFLAGS        += -DSIGNAL_DEBUG
35 #MYFLAGS        += -DASTDEBUG
36 #MYFLAGS        += -DINFERIOR_RPC_DEBUG
37
38 CXXFLAGS        += $(MYFLAGS)
39 CFLAGS          += $(MYFLAGS)
40 TFLAGS          += $(MYFLAGS)
41
42 # Tradeoff: adding -g to TFLAGS aids gdb but uses gobs of disk space
43 #TFLAGS         += -g
44
45 SYSLIBS         = -ldl 
46
47 LIBS    += -lgcc
48
49 AS              = /usr/bin/as
50
51
52 # Add preprocessor and special link information for G++
53 G_PTHREAD       = -pthread
54 G_PTHREAD_LD    = -pthread
55
56 # Include the module-specific Makefile, which defines everything about
57 # the module that is common across architectures.
58
59 include ../make.module.tmpl
60
61 # Include the "standard library template".  This defines all the
62 # common targets like "clean", "install", etc.
63
64 include ../../make.library.tmpl