Build fixes for static linked Dyninst components (compute node linux), when linking...
[dyninst.git] / stackwalk / ppc32_bgl_compute / 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 NO_IMPLICIT_TEMPLATES = true
8 USES_DWARF_DEBUG = true
9 USES_LIBELF = true
10
11 STATIC_COMPS = true;
12
13 # Include standard make configuration stuff that applies to everything
14 # in the paradyn tree.
15 include ../../make.config 
16
17 ifdef LIBELF_INC
18 CXXFLAGS += -I$(LIBELF_INC)
19 endif
20
21 ifdef LIBELF_LIB
22 LIBS += -L$(LIBELF_LIB)
23 endif
24 LIBS += -lelf
25
26 # Now make any necessary architecture specific changes to variables:
27 MYFLAGS         += -I../../common/src -I../../common/h
28 CXXFLAGS        += $(MYFLAGS)
29 CXXFLAGS    += -I/bgsys/drivers/ppcfloor/arch/include
30
31 CFLAGS          += $(MYFLAGS)
32 TFLAGS          += $(MYFLAGS)
33
34 SRCS = ../src/ppc-swk.C \
35                  ../src/bg_firstparty.C \
36                  ../src/firstparty.C \
37                  dyn_regs.C \
38                  addrtranslate.C \
39                  addrtranslate-static.C \
40                  bluegeneKludges.C \
41                  string-regex.C
42
43 # Include the module-specific Makefile, which defines everything about
44 # the module that is common across architectures.
45
46 include ../make.module.tmpl
47
48 # Include the "standard library template".  This defines all the
49 # common targets like "clean", "install", etc.
50
51 include ../../make.library.tmpl
52
53 # Now make any necessary architecture specific changes to variables:
54 VPATH += ../../common/src