# # $Id: Makefile,v 1.1 2008/06/30 19:40:35 legendre Exp $ # # Define any symbols needed to invoke configuration changes in make.config NO_IMPLICIT_TEMPLATES = true # Include standard make configuration stuff that applies to everything # in the paradyn tree. include ../../make.config # Include the module-specific Makefile, which defines everything about # the module that is common across architectures. # Now make any necessary architecture specific changes to variables: include ../make.module.tmpl LDFLAGS += $(LIBDIR) -lcommon -ldl SRCS += ../src/linux-swk.C \ ../src/linuxbsd-x86-swk.C \ ../src/x86-swk.C \ ../src/symtab-swk.C \ ../src/dbginfo-stepper.C \ ../src/x86-wanderer.C \ ../src/linuxbsd-swk.C \ ../src/linux-x86-swk.C \ ../src/analysis_stepper.C #USE_PARSE_API = true ifdef USE_PARSE_API SRCS += ../src/analysis_stepper.C \ ../src/callchecker-IAPI.C else SRCS += ../src/callchecker.C endif ifdef USE_PARSE_API MYFLAGS += -I../../parseAPI/h -I../../dataflowAPI/h LDFLAGS += -L../../parseAPI/$(PLATFORM) -lparseAPI endif MYFLAGS += -I../../symtabAPI/h LDFLAGS += -L../../symtabAPI/$(PLATFORM) -lsymtabAPI LIBS += CFLAGS += -fno-omit-frame-pointer -Dcap_sw_catchfaults -fno-inline $(MYFLAGS) CXXFLAGS += -fno-omit-frame-pointer -Dcap_sw_catchfaults -fno-inline $(MYFLAGS) AS = as # Include the "standard library template". This defines all the # common targets like "clean", "install", etc. include ../../make.library.tmpl # Now make any necessary architecture specific changes to variables: VPATH += ../../common/src libstackwalk.a: $(OBJS) ar rv libstackwalk.a $^