2 # Common makefile template for the dyninstAPI library. This file is not
3 # intended to be a useful Makefile in isolation; instead, it should be
4 # included from within an architecture-specific Makefile.
6 # $Id: make.module.tmpl,v 1.1 2008/06/30 19:40:26 legendre Exp $
9 SUITE_NAME = Stackwalker
12 CFLAGS += $(USEFULWARNINGS) $(DEFINES)
13 CXXFLAGS += $(USEFULWARNINGS) $(DEFINES)
17 TARGET = libstackwalk.a
19 TARGET = libstackwalk.so
29 ifeq (solaris,$(findstring solaris,$(PLATFORM)))
36 PUBLIC_H = basetypes.h \
45 SRCS += ../src/frame.C \
46 ../src/framestepper.C \
54 IFLAGS += -I../$(PLATFORM) -I../src -I../h
56 # All that, and we finally get a target...
57 all: $(TARGET) $(EXTRA_LIBS)