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/linux-x86-swk.C \
26 ../src/dbginfo-stepper.C \
30 MYFLAGS += -I$(LIBELF_INC)
33 MYFLAGS += -I$(LIBDWARF_INC)
37 LDFLAGS += -L$(LIBELF_LIB) -lelf
40 LDFLAGS += -L$(LIBDWARF_LIB) -ldwarf
44 CFLAGS += -fno-omit-frame-pointer -Dcap_sw_catchfaults -fno-inline $(MYFLAGS)
45 CXXFLAGS += -fno-omit-frame-pointer -Dcap_sw_catchfaults -fno-inline $(MYFLAGS)
48 # Include the "standard library template". This defines all the
49 # common targets like "clean", "install", etc.
51 include ../../make.library.tmpl
53 # Now make any necessary architecture specific changes to variables:
54 VPATH += ../../common/src
56 libstackwalk.a: $(OBJS)
57 ar rv libstackwalk.a $^