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.
12 VPATH = $(VPATH) ../../paradynd/src:../../paradyn/h
14 #SRCS = $(SRCS) ../src/association.C \
24 # ../src/internalMetrics.C \
25 # ../src/costmetrics.C \
26 # ../src/metricDefs-critPath.C \
27 # ../src/perfStream-def.C \
28 # ../src/perfStream.C \
35 # ../src/templates0.C \
36 # ../src/templates05.C \
37 # ../src/templates1.C \
38 # ../src/templatesIGEN.C
41 #SRCS += ../src/pvm_support.C \
42 # ../src/host_support.C \
43 # ../src/task_support.C \
44 # ../src/templatesPVM.C
46 OBJS = $(OBJS) pvm_support.obj \
50 CXXFLAGS = $(CXXFLAGS) -DPARADYND_PVM
54 !ifdef USES_SHM_SAMPLING
55 SRCS += ../src/fastInferiorHeap.C ../src/fastInferiorHeapHKs.C \
56 ../src/fastInferiorHeapMgr.C
57 CXXFLAGS += -DSHM_SAMPLING
58 TFLAGS += -DSHM_SAMPLING
59 CFLAGS += -DSHM_SAMPLING
62 IGEN_GEN_SRCS = dyninstRPC.xdr.SRVR.C \
65 IGEN_ISRCS = dyninstRPC.I
68 OBJS = $(OBJS) association.obj \
80 metricDefs-critPath.obj \
91 dyninstRPC.xdr.SRVR.obj \
97 LIBS = ../../../lib/$(PLATFORM)/libpdutil.lib
99 SYSLIBS = oncrpc.lib wsock32.lib imagehlp.lib
101 IFLAGS = $(IFLAGS) -I../$(PLATFORM)
103 all: $(IGEN_GEN_SRCS) $(TARGET)
105 $(TARGET): $(IGEN_GEN_SRCS)
107 dyninstRPC.xdr.SRVR.C: ..\..\paradyn\h\dyninstRPC.I
108 igen -xdr ../../paradyn/h/dyninstRPC.I
110 {..\..\paradyn\h\}.I.C:
111 igen -xdr ../../paradyn/h/dyninstRPC.I
113 {..\..\paradyn\h\}.I.h:
114 igen -xdr ../../paradyn/h/dyninstRPC.I
116 {..\..\dyninstAPI\src\}.C.obj:
117 $(CXX) $(CXXFLAGS) -c $<