Use a generic error message for gettid failure
[dyninst.git] / stackwalk / ppc64_bgq_ion / Makefile
1 #
2 # $Id: Makefile,v 1.1 2008/06/30 19:40:37 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 # Now make any necessary architecture specific changes to variables:
15
16 LDFLAGS     += $(LIBDIR) -lcommon -ldl
17 CXXFLAGS    += -I/bgsys/drivers/ppcfloor/arch/include
18
19 SRCS =         ../src/ppc-swk.C \
20                ../src/symtab-swk.C \
21                                         ../src/linuxbsd-swk.C \
22                                         ../src/bluegeneq-swk.C
23
24 #STATIC_COMPS = true
25
26 ifdef LIBELF_INC
27 MYFLAGS += -I$(LIBELF_INC)
28 endif
29
30 LIBS   +=
31 CFLAGS  += $(MYFLAGS)
32 CXXFLAGS += $(MYFLAGS)
33 AS             = as
34
35 ifdef LIBELF_INC
36 MYFLAGS += -I$(LIBELF_INC)
37 endif
38 ifdef LIBELF_LIB
39 LDFLAGS += -L$(LIBELF_LIB) -lelf
40 else
41 LDFLAGS += -lelf
42 endif
43
44 # Include the module-specific Makefile, which defines everything about
45 # the module that is common across architectures.
46
47 include ../make.module.tmpl
48
49 # Include the "standard library template".  This defines all the
50 # common targets like "clean", "install", etc.
51
52 include ../../make.library.tmpl
53
54 # Now make any necessary architecture specific changes to variables:
55 VPATH += ../../common/src