Fixes for StackwalkerAPI on BlueGene
[dyninst.git] / stackwalk / x86_64-unknown-linux2.4 / Makefile
1 #
2 # $Id: Makefile,v 1.1 2008/06/30 19:40:57 legendre Exp $
3 #
4
5 # Define any symbols needed to invoke configuration changes in make.config
6
7 NO_IMPLICIT_TEMPLATES = true
8
9 # Include standard make configuration stuff that applies to everything
10 # in the paradyn tree.
11
12 include ../../make.config 
13
14 LDFLAGS     += $(LIBDIR) -lcommon
15
16 SRCS =  ../src/linux-swk.C \
17         ../src/linux-x86-swk.C \
18         ../src/x86-swk.C \
19         ../src/symtab-swk.C \
20         ../src/dbginfo-stepper.C \
21         ../src/x86-wanderer.C
22
23
24 # Include the module-specific Makefile, which defines everything about
25 # the module that is common across architectures.
26
27 include ../make.module.tmpl
28
29 # Include the "standard library template".  This defines all the
30 # common targets like "clean", "install", etc.
31
32 include ../../make.library.tmpl
33
34 # Now make any necessary architecture specific changes to variables:
35
36 ifdef LIBELF_INC
37 MYFLAGS += -I$(LIBELF_INC)
38 endif
39 ifdef LIBDWARF_INC
40 MYFLAGS += -I$(LIBDWARF_INC)
41 endif
42
43 ifdef LIBELF_LIB
44 LDFLAGS += -L$(LIBELF_LIB) -lelf
45 endif
46 ifdef LIBDWARF_LIB
47 LDFLAGS += -L$(LIBDWARF_LIB) -ldwarf
48 endif
49
50 LIBS    += 
51 CFLAGS  += -fno-omit-frame-pointer -Dcap_sw_catchfaults $(MYFLAGS)
52 CXXFLAGS  += -fno-omit-frame-pointer -Dcap_sw_catchfaults $(MYFLAGS)
53 AS              = as