2 # Common makefile template for paradynd. This file is not intended to
3 # be a useful Makefile in isolation; instead, it should be included
4 # from within an architecture-specific Makefile.
6 # $Id: nmake.module.tmpl,v 1.5 1998/04/01 02:50:02 wylie Exp $
11 VPATH = $(VPATH) ../../paradynd/src:../../paradyn/h
13 #SRCS = $(SRCS) ../src/association.C \
23 # ../src/internalMetrics.C \
24 # ../src/costmetrics.C \
25 # ../src/metricDefs-critPath.C \
26 # ../src/perfStream-def.C \
27 # ../src/perfStream.C \
34 # ../src/templates0.C \
35 # ../src/templates05.C \
36 # ../src/templates1.C \
37 # ../src/templatesIGEN.C
39 !ifdef INCLUDE_PVM_SUPPORT
40 #SRCS += ../src/pvm_support.C \
41 # ../src/host_support.C \
42 # ../src/task_support.C \
43 # ../src/templatesPVM.C
45 OBJS = $(OBJS) pvm_support.obj \
49 CXXFLAGS = $(CXXFLAGS) -DPARADYND_PVM
53 !ifdef USES_SHM_SAMPLING
54 SRCS += ../src/fastInferiorHeap.C ../src/fastInferiorHeapHKs.C \
55 ../src/fastInferiorHeapMgr.C
56 CXXFLAGS += -DSHM_SAMPLING
57 TFLAGS += -DSHM_SAMPLING
58 CFLAGS += -DSHM_SAMPLING
61 IGEN_GEN_SRCS = dyninstRPC.xdr.SRVR.C \
64 IGEN_ISRCS = dyninstRPC.I
67 OBJS = $(OBJS) association.obj \
79 metricDefs-critPath.obj \
90 dyninstRPC.xdr.SRVR.obj \
96 LIBS = ../../../lib/$(PLATFORM)/libpdutil.lib
98 SYSLIBS = oncrpc.lib wsock32.lib imagehlp.lib
100 IFLAGS = $(IFLAGS) -I../$(PLATFORM)
102 all: $(IGEN_GEN_SRCS) $(TARGET)
104 $(TARGET): $(IGEN_GEN_SRCS)
106 dyninstRPC.xdr.SRVR.C: ..\..\paradyn\h\dyninstRPC.I
107 igen -xdr ../../paradyn/h/dyninstRPC.I
109 {..\..\paradyn\h\}.I.C:
110 igen -xdr ../../paradyn/h/dyninstRPC.I
112 {..\..\paradyn\h\}.I.h:
113 igen -xdr ../../paradyn/h/dyninstRPC.I
115 {..\..\dyninstAPI\src\}.C.obj:
116 $(CXX) $(CXXFLAGS) -c $<