2 # $Id: Makefile,v 1.10 2008/05/27 20:44:56 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 # VG(12/02/01) Using -g here seems a bad idea since it is passed from
34 # make.confing any way and it is actually configurable there via
37 CFLAGS += -DNO_MDL_PRINT -I/usr/local/stow/bind-8.2.2.p5/include/ $(MYFLAGS)
38 #CFLAGS += -DNO_MDL_PRINT -O0 -I/usr/local/stow/bind-8.2.2.p5/include/
39 CXXFLAGS += -DNO_MDL_PRINT -DUSES_ELF32_ONLY -I/usr/local/stow/bind-8.2.2.p5/include/ -DUSES_DWARF_DEBUG -I$(LIBDWARF_INC) $(MYFLAGS)
41 #CXXFLAGS += -DNO_MDL_PRINT -O0 -DUSES_ELF32_ONLY -I/usr/local/stow/bind-8.2.2.p5/include/
42 TFLAGS += -DUSES_ELF32_ONLY
44 # Tradeoff: adding -g to TFLAGS aids gdb but uses gobs of disk space
47 LIBS += -L$(LIBDWARF_LIB) -L$(LIBELF_LIB)
55 SYSLIBS = -lsocket -lnsl -ldl -lrt
57 # Add preprocessor and special link information for G++
59 G_PTHREAD_LD = -pthreads
61 # Include the module-specific Makefile, which defines everything about
62 # the module that is common across architectures.
64 include ../make.module.tmpl
66 # Include the "standard library template". This defines all the
67 # common targets like "clean", "install", etc.
69 include ../../make.library.tmpl