2 # Common makefile template for dyninstAPI_RT 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:26:37 wylie Exp $
11 #BUILD_MARK should be (re-)defined in core/make.config.local rather than here!
14 TARGET = libdyninstAPI_RT.dll
20 !ifdef USES_SHM_SAMPLING
21 CFLAGS += -DSHM_SAMPLING
24 #all: $(TARGET) $(TARGET2) $(ALT_TARGET)
28 # override standard link rule; libdyninst is not really a library or a program.
32 OBJS = $(OBJS) RTcommon.obj
34 #$(TARGET): $(OBJS) $(DYNOBJS) $(LIBS)
35 # $(LD) $(LDFLAGS) -out:$(TARGET) $(OBJS) $(LIBS)
38 # override standard install rule; provide a default DEST if not already set
41 DEST = $(TO_CORE)\$(LIBRARY_DEST)
44 UNCOMMON_INSTALL= true
45 install: $(DEST)/$(TARGET)
47 $(DEST)/libdyninstAPI_RT.dll: libdyninstAPI_RT.dll
48 $(CP) libdyninstAPI_RT.dll $(DEST)