2 # $Id: Makefile,v 1.13 2008/05/27 20:44:57 giri Exp $
5 # Define any symbols needed to invoke configuration changes in make.config
10 NO_IMPLICIT_TEMPLATES = true
12 # Include standard make configuration stuff that applies to everything
13 # in the paradyn tree.
15 include ../../make.config
17 # Now make any necessary architecture specific changes to variables:
19 SRCS = ../src/Object-elf.C \
21 ../src/Archive-elf.C \
25 ../src/emitElfStatic.C \
26 ../src/emitElfStatic-stub.C \
28 ../src/addrtranslate.C \
29 ../src/addrtranslate-sysv.C \
30 ../src/addrtranslate-solaris.C \
31 ../src/relocationEntry-elf-sparc.C
33 CFLAGS += -DNO_MDL_PRINT -I/usr/local/stow/bind-8.2.2.p5/include/ $(MYFLAGS)
34 CXXFLAGS += -DNO_MDL_PRINT -DUSES_ELF32_ONLY -DUSES_DWARF_DEBUG -I/usr/local/stow/bind-8.2.2.p5/include/ -DUSES_DWARF_DEBUG -I$(LIBDWARF_INC) $(MYFLAGS)
35 TFLAGS += -DUSES_ELF32_ONLY
37 LDFLAGS += -L$(LIBELF_LIB) -L$(LIBDWARF_LIB)
45 SYSLIBS = -lsocket -lnsl -ldl -lrt
47 # Add preprocessor and special link information for G++
49 G_PTHREAD_LD = -pthreads
51 # Include the module-specific Makefile, which defines everything about
52 # the module that is common across architectures.
54 include ../make.module.tmpl
56 # Include the "standard library template". This defines all the
57 # common targets like "clean", "install", etc.
59 include ../../make.library.tmpl