Merge branch 'dyninst_proccontrol' of git.dyninst.org:/pub/dyninst into dyninst_procc...
[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
30 USE_PARSE_API = true
31
32 ifdef USE_PARSE_API
33         SRCS += ../src/analysis_stepper.C \
34                 ../src/callchecker-IAPI.C
35 else
36         SRCS += ../src/callchecker.C
37 endif
38
39
40 # Include the module-specific Makefile, which defines everything about
41 # the module that is common across architectures.
42
43 include ../make.module.tmpl
44
45 # Include the "standard library template".  This defines all the
46 # common targets like "clean", "install", etc.
47
48 include ../../make.library.tmpl
49
50 # Now make any necessary architecture specific changes to variables:
51
52 CFLAGS  += -fno-omit-frame-pointer -Dcap_sw_catchfaults $(MYFLAGS)
53 CXXFLAGS  += -fno-omit-frame-pointer -Dcap_sw_catchfaults $(MYFLAGS)
54 AS              = as
55
56 # Now make any necessary architecture specific changes to variables:
57 VPATH += ../../common/src