Major rewrite of process stop/continue decision mechanism:
[dyninst.git] / stackwalk / x86_64_cnl / 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 STATIC_COMPS = true
13
14 include ../../make.config 
15
16 TARGET = libstackwalk.a
17
18 LDFLAGS     += $(LIBDIR) -lcommon
19
20 SRCS =  ../src/linux-swk.C \
21         ../src/linuxbsd-x86-swk.C \
22         ../src/x86-swk.C \
23         ../src/symtab-swk.C \
24         ../src/dbginfo-stepper.C \
25         ../src/x86-wanderer.C \
26         ../src/analysis_stepper.C \
27         ../src/linuxbsd-swk.C \
28         ../src/linux-x86-swk.C \
29         ../../common/src/Elf_X.C
30
31 # Include the module-specific Makefile, which defines everything about
32 # the module that is common across architectures.
33
34 include ../make.module.tmpl
35
36 # Include the "standard library template".  This defines all the
37 # common targets like "clean", "install", etc.
38
39 include ../../make.library.tmpl
40
41 # Now make any necessary architecture specific changes to variables:
42
43
44 ifdef LIBELF_INC
45 MYFLAGS += -I$(LIBELF_INC)
46 endif
47 ifdef LIBDWARF_INC
48 MYFLAGS += -I$(LIBDWARF_INC)
49 endif
50
51 ifdef LIBELF_LIB
52 LDFLAGS += -L$(LIBELF_LIB) -lelf
53 endif
54 ifdef LIBDWARF_LIB
55 LDFLAGS += -L$(LIBDWARF_LIB) -ldwarf
56 endif
57
58 CFLAGS  += -fno-omit-frame-pointer -Dcap_sw_catchfaults $(MYFLAGS)
59 CXXFLAGS  += -fno-omit-frame-pointer -Dcap_sw_catchfaults $(MYFLAGS)
60 AS              = as
61 VPATH += ../../common/src