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.1 1995/01/30 18:30:31 jcargill
8 # Major build system reorganization
12 TARGET = libdyninstRT.a
13 ALT_TARGET = DYNINSTstartCode.o DYNINSTendCode.o
15 SRCS += ../src/RTposix.c
17 DYNSRCS = ../src/DYNINSTstartCode.c \
18 ../src/DYNINSTendCode.c
20 LIBS += /usr/lib/libkvm.a
22 all: $(TARGET) $(ALT_TARGET)
24 # override standard install rule; provide a default DEST if not already set
25 UNCOMMON_INSTALL= true
27 DEST = ../../../lib/$(PLATFORM)
30 install: $(DEST)/$(TARGET) $(DEST)/DYNINSTstartCode.o $(DEST)/DYNINSTendCode.o
32 $(DEST)/DYNINSTstartCode.o: DYNINSTstartCode.o
33 cp DYNINSTstartCode.o ../../../lib/$(PLATFORM)
35 $(DEST)/DYNINSTendCode.o: DYNINSTendCode.o
36 cp DYNINSTendCode.o ../../../lib/$(PLATFORM)