Man page for igen.
[dyninst.git] / igen / tests / Makefile
1
2 include ../../make.config
3
4 .SUFFIXES: .c .I .C .o
5
6 C_OBJS3 = test3.o client3.o test3.CLNT.o 
7 S_OBJS3 = test3.o server3.o test3.SRVR.o 
8 OBJS4   = test4.o client4.o server4.o 
9 C_OBJSPVM       = testPVM.o clientPVM.o testPVM.CLNT.o 
10 S_OBJSPVM       = testPVM.o serverPVM.o testPVM.SRVR.o 
11 S_OBJSXDR       = xdr_link.o server_xdr.o xdr_link.SRVR.o
12 XDRC_PVM        = xdr_link.o xdrc_pvm.o xdr_link.CLNT.o 
13 C_OBJS1 = test1.o client1.o test1.CLNT.o 
14 S_OBJS1 = test1.o server1.o test1.SRVR.o 
15 OBJS2   = test2.o client2.o server2.o 
16
17 SRCS    = client1.C \
18           client2.C \
19           client3.C \
20           client4.C \
21           server1.C \
22           server2.C \
23           server3.C \
24           server4.C \
25           clientPVM.C \
26           serverPVM.C \
27           xdrc_pvm.C \
28           server_xdr.C
29            
30 EXTRA_CFLAGS = $(CFLAGS) -I./util/h
31
32 all:  client3 server3 program4 clientPVM serverPVM xdrc_pvm server_xdr \
33       client1 server1 program2
34
35 all_igen: test1_igen test2_igen test3_igen test4_igen testPVM_igen xdr_link_igen
36
37 all_pure: client3_pure server3_pure program4_pure clientPVM_pure \
38           serverPVM_pure server_xdr_pure xdrc_pvm_pure
39
40 xdrc_pvm_pure: $(XDRC_PVM)
41         purify -g++ -collector=/usr/sup/purify/collect2 $(CC) -o xdrc_pvm \
42                  $(XDRC_PVM) $(LIBDIR) -lutil -lpvm3 
43
44 server_xdr_pure: $(S_OBJSXDR)
45         purify -g++ -collector=/usr/sup/purify/collect2 $(CC) -o server_xdr \
46                  $(S_OBJSXDR) $(LIBDIR) -lutil
47
48 client3_pure: $(C_OBJS3) 
49         purify -g++ -collector=/usr/sup/purify/collect2 $(CC) -o client3 \
50                  $(C_OBJS3) $(LIBDIR) -lutil
51
52 server3_pure: $(S_OBJS3) 
53         purify -g++ -collector=/usr/sup/purify/collect2 $(CC) -o server3  \
54                  $(S_OBJS3) $(LIBDIR) -lutil
55
56 client1_pure: $(C_OBJS3) 
57         purify -g++ -collector=/usr/sup/purify/collect2 $(CC) -o client1 \
58                  $(C_OBJS1) $(LIBDIR) -lutil
59
60 server1_pure: $(S_OBJS3) 
61         purify -g++ -collector=/usr/sup/purify/collect2 $(CC) -o server1  \
62                  $(S_OBJS1) $(LIBDIR) -lutil
63
64 program2_pure: $(OBJS4) 
65         purify -g++ -collector=/usr/sup/purify/collect2 $(CC) -o program2 \
66                   $(OBJS2) $(LIBDIR) -lthread -lutil
67
68 program4_pure: $(OBJS4) 
69         purify -g++ -collector=/usr/sup/purify/collect2 $(CC) -o program4 \
70                   $(OBJS4) $(LIBDIR) -lthread -lutil
71
72 clientPVM_pure: $(C_OBJSPVM) 
73         purify -g++ -collector=/usr/sup/purify/collect2 $(CC) -o clientPVM \
74                     $(C_OBJSPVM) $(LIBDIR) -lutil -lpvm3 
75
76 serverPVM_pure: $(S_OBJSPVM) 
77         purify -g++ -collector=/usr/sup/purify/collect2 $(CC) -o serverPVM \
78                  $(S_OBJSPVM) $(LIBDIR) -lutil -lpvm3 
79
80
81 client3: $(C_OBJS3) 
82         $(CC) $(CFLAGS) -o client3 $(C_OBJS3) $(LIBDIR) -lutil
83
84 server3: $(S_OBJS3) 
85         $(CC) $(CFLAGS) -o server3 $(S_OBJS3) $(LIBDIR) -lutil
86
87 client1: $(C_OBJS1) 
88         $(CC) $(CFLAGS) -o client1 $(C_OBJS1) $(LIBDIR) -lutil
89
90 server1: $(S_OBJS1) 
91         $(CC) $(CFLAGS) -o server1 $(S_OBJS1) $(LIBDIR) -lutil
92
93 program2: $(OBJS2) 
94         $(CC) $(CFLAGS) -o program2 $(OBJS2) $(LIBDIR) -lthread -lutil
95
96 program4: $(OBJS4) 
97         $(CC) $(CFLAGS) -o program4 $(OBJS4) $(LIBDIR) -lthread -lutil
98
99 clientPVM: $(C_OBJSPVM) 
100         $(CC) $(CFLAGS) -o clientPVM $(C_OBJSPVM) $(LIBDIR) -lutil -lpvm3 
101
102 serverPVM: $(S_OBJSPVM) 
103         $(CC) $(CFLAGS) -o serverPVM $(S_OBJSPVM) $(LIBDIR) -lutil -lpvm3 
104
105 server_xdr: $(S_OBJSXDR) 
106         $(CC) $(CFLAGS) -o server_xdr $(S_OBJSXDR) $(LIBDIR) -lutil
107
108 xdrc_pvm: $(XDRC_PVM)
109         $(CC) $(CFLAGS) -o xdrc_pvm $(XDRC_PVM) $(LIBDIR) -lutil -lpvm3 
110
111 clean: 
112         rm *.o *.CLNT.C *.SRVR.C *.h client3 server3 program4 test3.C \
113               test4.C xdrc_pvm server_xdr clientPVM serverPVM \
114               xdr_link.C  testPVM.C *pure* client1 server1 program2 \
115               test1.C test2.C
116
117 test1_igen: test1.I
118         ../$(PLATFORM)/igen -xdr $<
119
120 test2_igen: test2.I
121         ../$(PLATFORM)/igen -thread $<
122
123 test3_igen: test3.I
124         ../$(PLATFORM)/igen -xdr $<
125
126 test4_igen: test4.I
127         ../$(PLATFORM)/igen -thread $<
128
129 testPVM_igen: testPVM.I
130         ../$(PLATFORM)/igen -pvm $<
131
132 xdr_link_igen: xdr_link.I
133         ../$(PLATFORM)/igen -xdr $<
134
135 test2.C: test2.I ../$(PLATFORM)/igen
136         ../$(PLATFORM)/igen -thread $<
137
138 test1.C: test1.I ../$(PLATFORM)/igen
139         ../$(PLATFORM)/igen -xdr $<
140
141 test1.h: test1.I ../$(PLATFORM)/igen
142         ../$(PLATFORM)/igen -xdr $<
143
144 test3.C: test3.I ../$(PLATFORM)/igen
145         ../$(PLATFORM)/igen -xdr $<
146
147 test4.C: test4.I ../$(PLATFORM)/igen
148         ../$(PLATFORM)/igen -thread $<
149
150 testPVM.C: testPVM.I ../$(PLATFORM)/igen
151         ../$(PLATFORM)/igen -pvm $<
152
153 xdr_link.C: xdr_link.I ../$(PLATFORM)/igen
154         ../$(PLATFORM)/igen -xdr $<
155
156 depend: $(SRCS)
157         makedepend $(SRCS) $(CFLAGS)
158
159 # DO NOT DELETE THIS LINE -- make depend depends on it.
160
161 client1.o: /usr/include/unistd.h /usr/include/assert.h test1.h
162 client1.o: ../../util/h/rpcUtil.h /usr/include/rpc/types.h
163 client1.o: /usr/include/malloc.h /usr/include/sys/types.h
164 client1.o: /usr/include/sys/stdtypes.h /usr/include/sys/sysmacros.h
165 client1.o: /usr/include/sys/time.h /usr/include/sys/time.h
166 client1.o: /usr/include/rpc/xdr.h /usr/include/sys/socket.h
167 client1.o: /usr/include/netinet/in.h /usr/include/netdb.h
168 client1.o: /usr/include/sys/file.h /usr/include/sys/fcntlcom.h
169 client1.o: /usr/include/sys/stat.h
170 client2.o: /usr/include/unistd.h /usr/include/assert.h test2.h
171 client2.o: ../../util/h/rpcUtil.h /usr/include/rpc/types.h
172 client2.o: /usr/include/malloc.h /usr/include/sys/types.h
173 client2.o: /usr/include/sys/stdtypes.h /usr/include/sys/sysmacros.h
174 client2.o: /usr/include/sys/time.h /usr/include/sys/time.h
175 client2.o: /usr/include/rpc/xdr.h /usr/include/sys/socket.h
176 client2.o: /usr/include/netinet/in.h /usr/include/netdb.h
177 client2.o: /usr/include/sys/file.h /usr/include/sys/fcntlcom.h
178 client2.o: /usr/include/sys/stat.h
179 client3.o: /usr/include/rpc/xdr.h /usr/include/rpc/types.h
180 client3.o: /usr/include/malloc.h /usr/include/sys/types.h
181 client3.o: /usr/include/sys/stdtypes.h /usr/include/sys/sysmacros.h
182 client3.o: /usr/include/sys/time.h /usr/include/sys/time.h
183 client3.o: /usr/include/unistd.h /usr/include/assert.h test3.CLNT.h test3.h
184 client3.o: ../../util/h/rpcUtil.h /usr/include/sys/socket.h
185 client3.o: /usr/include/netinet/in.h /usr/include/netdb.h
186 client3.o: /usr/include/sys/file.h /usr/include/sys/fcntlcom.h
187 client3.o: /usr/include/sys/stat.h /usr/include/string.h
188 client4.o: /usr/include/rpc/xdr.h /usr/include/rpc/types.h
189 client4.o: /usr/include/malloc.h /usr/include/sys/types.h
190 client4.o: /usr/include/sys/stdtypes.h /usr/include/sys/sysmacros.h
191 client4.o: /usr/include/sys/time.h /usr/include/sys/time.h
192 client4.o: /usr/include/unistd.h /usr/include/assert.h test4.CLNT.h test4.h
193 client4.o: ../../util/h/rpcUtil.h /usr/include/sys/socket.h
194 client4.o: /usr/include/netinet/in.h /usr/include/netdb.h
195 client4.o: /usr/include/sys/file.h /usr/include/sys/fcntlcom.h
196 client4.o: /usr/include/sys/stat.h
197 server1.o: /usr/include/stdio.h /usr/include/stdlib.h
198 server1.o: /usr/include/sys/stdtypes.h test1.h ../../util/h/rpcUtil.h
199 server1.o: /usr/include/rpc/types.h /usr/include/malloc.h
200 server1.o: /usr/include/sys/types.h /usr/include/sys/sysmacros.h
201 server1.o: /usr/include/sys/time.h /usr/include/sys/time.h
202 server1.o: /usr/include/rpc/xdr.h /usr/include/sys/socket.h
203 server1.o: /usr/include/netinet/in.h /usr/include/netdb.h
204 server1.o: /usr/include/unistd.h /usr/include/sys/file.h
205 server1.o: /usr/include/sys/fcntlcom.h /usr/include/sys/stat.h
206 server2.o: /usr/include/stdio.h /usr/include/stdlib.h
207 server2.o: /usr/include/sys/stdtypes.h test2.h ../../util/h/rpcUtil.h
208 server2.o: /usr/include/rpc/types.h /usr/include/malloc.h
209 server2.o: /usr/include/sys/types.h /usr/include/sys/sysmacros.h
210 server2.o: /usr/include/sys/time.h /usr/include/sys/time.h
211 server2.o: /usr/include/rpc/xdr.h /usr/include/sys/socket.h
212 server2.o: /usr/include/netinet/in.h /usr/include/netdb.h
213 server2.o: /usr/include/unistd.h /usr/include/sys/file.h
214 server2.o: /usr/include/sys/fcntlcom.h /usr/include/sys/stat.h
215 server3.o: /usr/include/stdio.h /usr/include/stdlib.h
216 server3.o: /usr/include/sys/stdtypes.h test3.SRVR.h test3.h
217 server3.o: ../../util/h/rpcUtil.h /usr/include/rpc/types.h
218 server3.o: /usr/include/malloc.h /usr/include/sys/types.h
219 server3.o: /usr/include/sys/sysmacros.h /usr/include/sys/time.h
220 server3.o: /usr/include/sys/time.h /usr/include/rpc/xdr.h
221 server3.o: /usr/include/sys/socket.h /usr/include/netinet/in.h
222 server3.o: /usr/include/netdb.h /usr/include/unistd.h /usr/include/sys/file.h
223 server3.o: /usr/include/sys/fcntlcom.h /usr/include/sys/stat.h
224 server3.o: /usr/include/string.h
225 server4.o: /usr/include/stdio.h /usr/include/stdlib.h
226 server4.o: /usr/include/sys/stdtypes.h test4.SRVR.h test4.h
227 server4.o: ../../util/h/rpcUtil.h /usr/include/rpc/types.h
228 server4.o: /usr/include/malloc.h /usr/include/sys/types.h
229 server4.o: /usr/include/sys/sysmacros.h /usr/include/sys/time.h
230 server4.o: /usr/include/sys/time.h /usr/include/rpc/xdr.h
231 server4.o: /usr/include/sys/socket.h /usr/include/netinet/in.h
232 server4.o: /usr/include/netdb.h /usr/include/unistd.h /usr/include/sys/file.h
233 server4.o: /usr/include/sys/fcntlcom.h /usr/include/sys/stat.h
234 clientPVM.o: /usr/include/rpc/xdr.h /usr/include/rpc/types.h
235 clientPVM.o: /usr/include/malloc.h /usr/include/sys/types.h
236 clientPVM.o: /usr/include/sys/stdtypes.h /usr/include/sys/sysmacros.h
237 clientPVM.o: /usr/include/sys/time.h /usr/include/sys/time.h
238 clientPVM.o: /usr/include/unistd.h /usr/include/assert.h testPVM.CLNT.h
239 clientPVM.o: testPVM.h ../../util/h/rpcUtil.h /usr/include/sys/socket.h
240 clientPVM.o: /usr/include/netinet/in.h /usr/include/netdb.h
241 clientPVM.o: /usr/include/sys/file.h /usr/include/sys/fcntlcom.h
242 clientPVM.o: /usr/include/sys/stat.h ../../util/h/rpcUtilPVM.h
243 clientPVM.o: /paradyn/packages/pvm3-dyn/include/pvm3.h
244 serverPVM.o: /usr/include/stdio.h /usr/include/stdlib.h
245 serverPVM.o: /usr/include/sys/stdtypes.h testPVM.SRVR.h testPVM.h
246 serverPVM.o: ../../util/h/rpcUtil.h /usr/include/rpc/types.h
247 serverPVM.o: /usr/include/malloc.h /usr/include/sys/types.h
248 serverPVM.o: /usr/include/sys/sysmacros.h /usr/include/sys/time.h
249 serverPVM.o: /usr/include/sys/time.h /usr/include/rpc/xdr.h
250 serverPVM.o: /usr/include/sys/socket.h /usr/include/netinet/in.h
251 serverPVM.o: /usr/include/netdb.h /usr/include/unistd.h
252 serverPVM.o: /usr/include/sys/file.h /usr/include/sys/fcntlcom.h
253 serverPVM.o: /usr/include/sys/stat.h ../../util/h/rpcUtilPVM.h
254 serverPVM.o: /paradyn/packages/pvm3-dyn/include/pvm3.h
255 xdrc_pvm.o: /usr/include/stdio.h xdr_link.CLNT.h xdr_link.h
256 xdrc_pvm.o: ../../util/h/rpcUtil.h /usr/include/rpc/types.h
257 xdrc_pvm.o: /usr/include/malloc.h /usr/include/sys/types.h
258 xdrc_pvm.o: /usr/include/sys/stdtypes.h /usr/include/sys/sysmacros.h
259 xdrc_pvm.o: /usr/include/sys/time.h /usr/include/sys/time.h
260 xdrc_pvm.o: /usr/include/rpc/xdr.h /usr/include/sys/socket.h
261 xdrc_pvm.o: /usr/include/netinet/in.h /usr/include/netdb.h
262 xdrc_pvm.o: /usr/include/unistd.h /usr/include/sys/file.h
263 xdrc_pvm.o: /usr/include/sys/fcntlcom.h /usr/include/sys/stat.h
264 xdrc_pvm.o: ../../util/h/list.h /usr/include/stdlib.h
265 xdrc_pvm.o: /paradyn/packages/pvm3-dyn/include/pvm3.h /usr/include/string.h
266 xdrc_pvm.o: /usr/include/assert.h
267 server_xdr.o: /usr/include/stdio.h /usr/include/stdlib.h
268 server_xdr.o: /usr/include/sys/stdtypes.h xdr_link.SRVR.h xdr_link.h
269 server_xdr.o: ../../util/h/rpcUtil.h /usr/include/rpc/types.h
270 server_xdr.o: /usr/include/malloc.h /usr/include/sys/types.h
271 server_xdr.o: /usr/include/sys/sysmacros.h /usr/include/sys/time.h
272 server_xdr.o: /usr/include/sys/time.h /usr/include/rpc/xdr.h
273 server_xdr.o: /usr/include/sys/socket.h /usr/include/netinet/in.h
274 server_xdr.o: /usr/include/netdb.h /usr/include/unistd.h
275 server_xdr.o: /usr/include/sys/file.h /usr/include/sys/fcntlcom.h
276 server_xdr.o: /usr/include/sys/stat.h ../../util/h/list.h
277 server_xdr.o: /usr/include/signal.h /usr/include/sys/signal.h
278 server_xdr.o: /usr/include/vm/faultcode.h