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 # $Id: nmake.module.tmpl,v 1.3 1998/04/01 02:33:05 wylie Exp $
10 TARGET = libdyninstRT.dll
16 SRCS = $(SRCS) ../src/RTend.c
18 !ifdef USES_SHM_SAMPLING
19 CFLAGS += -DSHM_SAMPLING
25 # override standard link rule; libdyninst is not really a library or a program.
29 OBJS = $(OBJS) RTinst.obj RTend.obj
31 #$(TARGET): $(OBJS) $(DYNOBJS) $(LIBS)
32 # $(LD) $(LDFLAGS) -out:$(TARGET) $(OBJS) $(LIBS)
35 # override standard install rule; provide a default DEST if not already set
38 DEST = $(TO_CORE)\$(LIBRARY_DEST)
41 UNCOMMON_INSTALL= true
42 install: $(DEST)/$(TARGET)
44 $(DEST)/libdyninstRT.dll: libdyninstRT.dll
45 $(CP) libdyninstRT.dll $(DEST)