2 # Common makefile template for rtinst 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 # $Log: make.module.tmpl,v $
7 # Revision 1.2 1995/02/16 09:11:29 markc
8 # Added support for RTfirst.o and RTend.o which mark the beginning and end
11 # Revision 1.1 1995/01/30 18:30:31 jcargill
12 # Major build system reorganization
16 TARGET = libdyninstRT.a
17 ALT_TARGET = DYNINSTstartCode.o DYNINSTendCode.o
19 SRCS += ../src/RTposix.c ../src/RTend.c
21 DYNSRCS = ../src/DYNINSTstartCode.c \
22 ../src/DYNINSTendCode.c
24 LIBS += /usr/lib/libkvm.a
26 all: $(TARGET) $(ALT_TARGET)
28 # override standard install rule; provide a default DEST if not already set
29 UNCOMMON_INSTALL= true
31 DEST = ../../../lib/$(PLATFORM)
34 install: $(DEST)/$(TARGET) $(DEST)/DYNINSTstartCode.o $(DEST)/DYNINSTendCode.o
36 $(DEST)/DYNINSTstartCode.o: DYNINSTstartCode.o
37 cp DYNINSTstartCode.o ../../../lib/$(PLATFORM)
39 $(DEST)/DYNINSTendCode.o: DYNINSTendCode.o
40 cp DYNINSTendCode.o ../../../lib/$(PLATFORM)