2 TO_SCRIPTS = ../../scripts
3 USES_DWARF_DEBUG = true
9 ABS_PROGRAM_DEST = `cd $(PROGRAM_DEST); pwd`
11 all: $(PLATFORM)/parseThat
13 $(PLATFORM)/parseThat: $(PLATFORM)/Makefile
14 $(MAKE) -C $(PLATFORM)
16 $(PLATFORM)/Makefile: Makefile.in
17 @if [ -d $(PLATFORM) ]; then \
18 echo "directory $(PLATFORM) exists"; \
23 if [ -d $(ABS_PROGRAM_DEST) ]; then \
24 ../configure --with-dyninst-lib=$(LIBRARY_DEST) --with-dyninst-include=$(INCLUDE_DEST) --prefix=$(ABS_PROGRAM_DEST); \
26 ../configure --with-dyninst-lib=$(LIBRARY_DEST) --with-dyninst-include=$(INCLUDE_DEST); \
30 cd $(PLATFORM); $(MAKE) clean;
36 cd $(PLATFORM); $(MAKE) install;