Removed -lresolv for all architectures, and added it back for Sunos
[dyninst.git] / paradyn / make.module.tmpl
1
2 # Common makefile template for paradyn.  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 # $Log: make.module.tmpl,v $
7 # Revision 1.7  1995/03/15 19:16:15  jcargill
8 # Removed -lresolv for all architectures, and added it back for Sunos
9 # and Solaris; libresolv.a causes trouble for hppa.
10 #
11 # Revision 1.6  1995/03/11  06:02:54  krisna
12 # libthread, libutil name change
13 #
14 # Revision 1.5  1995/02/27  18:32:30  tamches
15 # Changes to reflect the new TCthread.
16 #
17 # Revision 1.4  1995/02/26  02:14:39  newhall
18 # added source file DMphase.C
19 #
20 # Revision 1.3  1995/02/16  08:03:56  markc
21 # Added rule for templates file.
22 #
23 # Revision 1.2  1995/01/31  15:16:56  jcargill
24 # Fixed minor glitch: CC++ instead of CXX
25 #
26 # Revision 1.1  1995/01/30  18:10:07  jcargill
27 # Major build system reorganization
28 #
29 #
30
31 TARGET        = paradyn
32
33 VPATH        += ../h:$(wildcard ../src/*thread):\
34                 ../src/pdMain:../src/met:../../visi/h:
35
36 SRCS         += ../src/DMthread/DMpublic.C \
37                 ../src/DMthread/DMappContext.C \
38                 ../src/DMthread/DMmain.C \
39                 ../src/DMthread/DMresource.C \
40                 ../src/DMthread/DMabstractions.C \
41                 ../src/DMthread/DMphase.C \
42                 ../src/pdMain/main.C \
43                 ../src/PCthread/PCauto.C \
44                 ../src/PCthread/PCpublic.C \
45                 ../src/PCthread/PCevalTest.C \
46                 ../src/PCthread/PCmetric.C \
47                 ../src/PCthread/PCrules.C \
48                 ../src/PCthread/PCshg.C \
49                 ../src/PCthread/PCwhen.C \
50                 ../src/PCthread/PCwhere.C \
51                 ../src/PCthread/PCwhy.C \
52                 ../src/PCthread/PCmain.C \
53                 ../src/VMthread/VMmain.C \
54                 ../src/VISIthread/VISIthreadmain.C \
55                 ../src/VISIthread/VISIthreadpublic.C \
56                 ../src/UIthread/paradyn.tcl.C \
57                 ../src/UIthread/tclTunable.C \
58                 ../src/UIthread/Status.C \
59                 ../src/UIthread/uimpd.tcl.C \
60                 ../src/UIthread/UImain.C \
61                 ../src/UIthread/UIpublic.C \
62                 ../src/UIthread/UIwhere.C \
63                 ../src/UIthread/dagCompute.C \
64                 ../src/UIthread/dag.C \
65                 ../src/TCthread/TCmain.C \
66                 ../src/TCthread/tunableConst.C \
67                 ../src/met/metMain.C \
68                 metParser.C \
69                 metScanner.C \
70                 ../src/met/metClass.C \
71                 ../src/templates.C 
72
73 IGEN_GEN_SRCS = dataManager.thread.C \
74                 dataManager.thread.CLNT.C \
75                 dataManager.thread.SRVR.C \
76                 performanceConsultant.thread.C \
77                 performanceConsultant.thread.CLNT.C \
78                 performanceConsultant.thread.SRVR.C \
79                 dyninstRPC.xdr.C \
80                 dyninstRPC.xdr.CLNT.C \
81                 visi.xdr.CLNT.C \
82                 visi.xdr.C \
83                 VISIthread.thread.C \
84                 VISIthread.thread.SRVR.C \
85                 VISIthread.thread.CLNT.C \
86                 UI.thread.C \
87                 UI.thread.CLNT.C \
88                 UI.thread.SRVR.C \
89                 VM.thread.C \
90                 VM.thread.SRVR.C \
91                 VM.thread.CLNT.C 
92
93         
94
95 IGEN_ISRCS    = dataManager.I \
96                 performanceConsultant.I \
97                 dyninstRPC.I \
98                 visi.I \
99                 VISIthread.I \
100                 UI.I \
101                 VM.I
102
103 LIBDIR       += -L/usr/psup/lib
104
105 LIBS         += -lpdutil -lpdthread
106 SYSLIBS      += -ltk -ltcl -lX11 -lm -lfl
107
108 all:    $(TARGET) metTester
109
110 metTester: metParser.o metTester.o metScanner.o metTemplates.o metClass.o
111         $(CXX) $(LIBDIR) -o metTester metTemplates.o metParser.o metTester.o \
112         metScanner.o metClass.o -lfl
113
114 templates.o: ../src/templates.C
115         $(CXX) $(TFLAGS) -c ../src/templates.C