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