Work in progress on getting Stackwalker and Dyninst on FreeBSD.
[dyninst.git] / stackwalk / i386-unknown-freebsd7.2 / 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 include ../../make.config 
13
14 LDFLAGS     += $(LIBDIR) -lcommon
15
16 SRCS =  ../src/freebsd-swk.C \
17         ../src/x86-swk.C \
18         ../src/symtab-swk.C \
19         ../src/dbginfo-stepper.C \
20         ../src/x86-wanderer.C \
21         ../src/analysis_stepper.C \
22         ../src/linuxbsd-swk.C \
23         ../src/linuxbsd-x86-swk.C
24
25 # Include the module-specific Makefile, which defines everything about
26 # the module that is common across architectures.
27
28 include ../make.module.tmpl
29
30 # Include the "standard library template".  This defines all the
31 # common targets like "clean", "install", etc.
32
33 include ../../make.library.tmpl
34
35 # Now make any necessary architecture specific changes to variables:
36
37 ifdef LIBELF_INC
38 MYFLAGS += -I$(LIBELF_INC)
39 endif
40 ifdef LIBDWARF_INC
41 MYFLAGS += -I$(LIBDWARF_INC)
42 endif
43
44 ifdef LIBELF_LIB
45 LDFLAGS += -L$(LIBELF_LIB) -lelf
46 endif
47 ifdef LIBDWARF_LIB
48 LDFLAGS += -L$(LIBDWARF_LIB) -ldwarf
49 endif
50
51 MYFLAGS         += -I../../parseAPI/h -I../../symtabAPI/h -I../../symEval/h
52 CFLAGS  += -fno-omit-frame-pointer -Dcap_sw_catchfaults $(MYFLAGS)
53 CXXFLAGS  += -fno-omit-frame-pointer -Dcap_sw_catchfaults $(MYFLAGS)
54 AS              = as