2 # $Id: Makefile,v 1.1 2008/06/30 19:40:35 legendre Exp $
5 # Define any symbols needed to invoke configuration changes in make.config
7 NO_IMPLICIT_TEMPLATES = true
9 # Include standard make configuration stuff that applies to everything
10 # in the paradyn tree.
12 include ../../make.config
14 # Include the module-specific Makefile, which defines everything about
15 # the module that is common across architectures.
17 # Now make any necessary architecture specific changes to variables:
18 include ../make.module.tmpl
20 LDFLAGS += $(LIBDIR) -lcommon -ldl
22 SRCS += ../src/linux-swk.C \
23 ../src/linuxbsd-x86-swk.C \
26 ../src/dbginfo-stepper.C \
27 ../src/x86-wanderer.C \
28 ../src/linuxbsd-swk.C \
29 ../src/linux-x86-swk.C \
30 ../src/analysis_stepper.C
35 SRCS += ../src/analysis_stepper.C \
36 ../src/callchecker-IAPI.C
38 SRCS += ../src/callchecker.C
42 MYFLAGS += -I../../parseAPI/h -I../../dataflowAPI/h
43 LDFLAGS += -L../../parseAPI/$(PLATFORM) -lparseAPI
46 MYFLAGS += -I../../symtabAPI/h
47 LDFLAGS += -L../../symtabAPI/$(PLATFORM) -lsymtabAPI
50 CFLAGS += -fno-omit-frame-pointer -Dcap_sw_catchfaults -fno-inline $(MYFLAGS)
51 CXXFLAGS += -fno-omit-frame-pointer -Dcap_sw_catchfaults -fno-inline $(MYFLAGS)
54 # Include the "standard library template". This defines all the
55 # common targets like "clean", "install", etc.
57 include ../../make.library.tmpl
59 # Now make any necessary architecture specific changes to variables:
60 VPATH += ../../common/src
62 libstackwalk.a: $(OBJS)
63 ar rv libstackwalk.a $^