Divided the templates files, to avoid problems compiling on HP.
[dyninst.git] / paradynd / make.module.tmpl
1
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.
5 #
6 # make.module.tmpl,v
7 # Revision 1.5  1995/05/30  22:16:30  krisna
8 # moved arch-os specific sources to appropriate directory
9 #
10 # Revision 1.4  1995/05/18  10:46:08  markc
11 # Added new source files
12 #
13 # Revision 1.3  1995/03/11  06:03:52  krisna
14 # libutil name change
15 #
16 # Revision 1.2  1995/02/16  08:26:31  markc
17 # New support for templates
18 #
19 # Revision 1.1  1995/01/30  18:10:31  jcargill
20 # Major build system reorganization
21 #
22 #
23
24 TARGET        = paradynd
25
26 VPATH        += ../../paradynd/src:../../paradyn/h
27
28 SRCS         += ../src/association.C \
29                 ../src/ast.C \
30                 ../src/comm.C \
31                 ../src/context.C \
32                 ../src/debugger.C \
33                 ../src/dynrpc.C \
34                 ../src/init.C \
35                 ../src/inst.C \
36                 ../src/main.C \
37                 ../src/metric.C \
38                 ../src/internalMetrics.C \
39                 ../src/costmetrics.C \
40                 ../src/metricDefs-critPath.C \
41                 ../src/perfStream-def.C \
42                 ../src/perfStream.C \
43                 ../src/primitives.C \
44                 ../src/process.C \
45                 ../src/resource.C \
46                 ../src/stats.C \
47                 ../src/symtab.C \
48                 ../src/util.C \
49                 ../src/mdl.C \
50                 ../src/templates0.C \
51                 ../src/templates1.C \
52                 ../src/templatesIGEN.C
53
54
55 ifdef USES_PVM
56 SRCS         += ../src/pvm_support.C \
57                 ../src/host_support.C \
58                 ../src/task_support.C \
59                 ../src/templatesPVM.C
60
61 CXXFLAGS     += -DPARADYND_PVM
62 LIBS         += -lpvm3
63
64 endif
65
66 IGEN_GEN_SRCS = dyninstRPC.xdr.SRVR.C \
67                 dyninstRPC.xdr.C
68
69 IGEN_ISRCS    = dyninstRPC.I
70
71 LIBS            += -lpdutil
72 SYSLIBS         += -liberty
73
74 IFLAGS       += -I../$(PLATFORM) -I../src
75 # CXXFLAGS     += $(USEFULWARNINGS) 
76
77 all:    $(TARGET)
78
79 templates0.o: ../src/templates0.C
80         $(CXX) $(TFLAGS) -c ../src/templates0.C
81
82 templates1.o: ../src/templates1.C
83         $(CXX) $(TFLAGS) -c ../src/templates1.C
84
85 templatesIGEN.o: ../src/templatesIGEN.C
86         $(CXX) $(TFLAGS) -c ../src/templatesIGEN.C