test routines for visi library
[dyninst.git] / visi / test / Makefile
1
2 include         ../../make.config
3
4 CFLAGS          +=  -I./util/h -I../sparc-sun-sunos4.1.3
5 CC              = /usr/psup/bin/g++
6 AS              = /bin/as
7
8 VPATH         = ../src
9 LIBRARY       = visilib.a
10
11 SRVROBJ       = server1.o
12
13 CLNTOBJS      = client1.o
14
15 OBJS          = client1.o server1.o xtext.o xtext2.o
16
17 SRCS          = client1.C server1.C xtext.C xtext.C
18
19 PRINT         = pr
20
21 all:    client1 server1 xtext xtext2 
22
23
24
25 server1:        $(SRVROBJ)
26         /usr/sup/purify/purify -g++ -collector=/usr/sup/purify/collect2 $(CC) -static $(CFLAGS) $(LIBDIR) -o server1 $(SRVROBJ) -lm $(LIBDIR) -lutil -lvisi
27
28 client1:        $(CLNTOBJS)
29         /usr/sup/purify/purify -g++ -collector=/usr/sup/purify/collect2 $(CC) -static $(CFLAGS) $(LIBDIR) -o client1 $(CLNTOBJS) -lm $(LIBDIR) -lutil -lvisi
30
31 xtext: xtext.o
32         $(CC) xtext.o -o xtext -lXaw -lXmu -lXt -lX11 -lm $(LIBDIR) -lutil -lvisi
33
34 xtext2: xtext2.o
35         $(CC) xtext2.o -o xtext2 -lXaw -lXmu -lXt -lX11 -lm $(LIBDIR) -lutil -lvisi
36
37
38 clean:  
39         rm -f $(OBJS) server1 client1 xtext xtext2 *pure*
40
41 depend: $(SRCS)
42         @echo "Building dependancies"
43         /usr/sup/X11/bin/makedepend $(SRCS) $(CFLAGS)
44
45 library:        $(LIBRARY)
46
47 tags:           $(HDRS) $(SRCS); @ctags $(HDRS) $(SRCS)
48
49 update:         $(DEST)/$(LIBRARY)
50
51 # DO NOT DELETE THIS LINE -- make depend depends on it.
52
53 client1.o: ../src/visithread.h ../sparc-sun-sunos4.1.3/visi.CLNT.h
54 client1.o: ../sparc-sun-sunos4.1.3/visi.h ../../util/h/rpcUtil.h
55 client1.o: /usr/include/stdio.h /usr/include/strings.h /usr/include/string.h
56 client1.o: /usr/include/sys/stdtypes.h /usr/include/stdlib.h
57 client1.o: /usr/include/errno.h /usr/include/sys/errno.h
58 client1.o: /usr/include/assert.h /usr/include/fcntl.h
59 client1.o: /usr/include/sys/fcntlcom.h /usr/include/sys/stat.h
60 client1.o: /usr/include/sys/types.h /usr/include/sys/sysmacros.h
61 client1.o: /usr/include/memory.h /usr/include/sys/socket.h
62 client1.o: /usr/include/netinet/in.h /usr/include/netdb.h
63 client1.o: /usr/include/sys/time.h /usr/include/sys/time.h
64 client1.o: /usr/include/unistd.h /usr/include/sys/file.h
65 client1.o: /usr/include/rpc/types.h /usr/include/malloc.h
66 client1.o: /usr/include/rpc/xdr.h
67 server1.o: ../src/visualization.h ../src/datagrid.h /usr/include/string.h
68 server1.o: /usr/include/sys/stdtypes.h /usr/include/math.h
69 server1.o: /usr/include/floatingpoint.h /usr/include/sys/ieeefp.h
70 server1.o: /usr/include/values.h ../src/error.h /usr/include/stdio.h
71 server1.o: ../sparc-sun-sunos4.1.3/visi.h ../../util/h/rpcUtil.h
72 server1.o: /usr/include/strings.h /usr/include/stdlib.h /usr/include/errno.h
73 server1.o: /usr/include/sys/errno.h /usr/include/assert.h
74 server1.o: /usr/include/fcntl.h /usr/include/sys/fcntlcom.h
75 server1.o: /usr/include/sys/stat.h /usr/include/sys/types.h
76 server1.o: /usr/include/sys/sysmacros.h /usr/include/memory.h
77 server1.o: /usr/include/sys/socket.h /usr/include/netinet/in.h
78 server1.o: /usr/include/netdb.h /usr/include/sys/time.h
79 server1.o: /usr/include/sys/time.h /usr/include/unistd.h
80 server1.o: /usr/include/sys/file.h /usr/include/rpc/types.h
81 server1.o: /usr/include/malloc.h /usr/include/rpc/xdr.h ../src/mrlist.h
82 server1.o: ../sparc-sun-sunos4.1.3/visi.SRVR.h
83 xtext.o: /usr/include/stdio.h /usr/include/X11/Intrinsic.h
84 xtext.o: /usr/include/X11/Xlib.h /usr/include/sys/types.h
85 xtext.o: /usr/include/sys/stdtypes.h /usr/include/sys/sysmacros.h
86 xtext.o: /usr/include/X11/X.h /usr/include/X11/Xfuncproto.h
87 xtext.o: /usr/include/X11/Xosdefs.h /usr/include/stddef.h
88 xtext.o: /usr/include/X11/Xutil.h /usr/include/X11/Xresource.h
89 xtext.o: /usr/include/string.h /usr/include/X11/Core.h
90 xtext.o: /usr/include/X11/Composite.h /usr/include/X11/Constraint.h
91 xtext.o: /usr/include/X11/Object.h /usr/include/X11/RectObj.h
92 xtext.o: /usr/include/X11/StringDefs.h /usr/include/X11/Xaw/AsciiText.h
93 xtext.o: /usr/include/X11/Xaw/Text.h /usr/include/X11/Xaw/TextSink.h
94 xtext.o: /usr/include/X11/Xaw/TextSrc.h /usr/include/X11/Xaw/AsciiSrc.h
95 xtext.o: /usr/include/X11/Xaw/AsciiSink.h /usr/include/X11/Xaw/Command.h
96 xtext.o: /usr/include/X11/Xaw/Label.h /usr/include/X11/Xaw/Simple.h
97 xtext.o: /usr/include/X11/Xmu/Converters.h /usr/include/X11/Xaw/Paned.h
98 xtext.o: /usr/include/X11/Xaw/Cardinals.h ../src/visualization.h
99 xtext.o: ../src/datagrid.h /usr/include/math.h /usr/include/floatingpoint.h
100 xtext.o: /usr/include/sys/ieeefp.h /usr/include/values.h ../src/error.h
101 xtext.o: ../sparc-sun-sunos4.1.3/visi.h ../../util/h/rpcUtil.h
102 xtext.o: /usr/include/strings.h /usr/include/stdlib.h /usr/include/errno.h
103 xtext.o: /usr/include/sys/errno.h /usr/include/assert.h /usr/include/fcntl.h
104 xtext.o: /usr/include/sys/fcntlcom.h /usr/include/sys/stat.h
105 xtext.o: /usr/include/memory.h /usr/include/sys/socket.h
106 xtext.o: /usr/include/netinet/in.h /usr/include/netdb.h
107 xtext.o: /usr/include/sys/time.h /usr/include/sys/time.h
108 xtext.o: /usr/include/unistd.h /usr/include/sys/file.h
109 xtext.o: /usr/include/rpc/types.h /usr/include/malloc.h
110 xtext.o: /usr/include/rpc/xdr.h ../src/mrlist.h
111 xtext.o: ../sparc-sun-sunos4.1.3/visi.SRVR.h
112 xtext.o: /usr/include/stdio.h /usr/include/X11/Intrinsic.h
113 xtext.o: /usr/include/X11/Xlib.h /usr/include/sys/types.h
114 xtext.o: /usr/include/sys/stdtypes.h /usr/include/sys/sysmacros.h
115 xtext.o: /usr/include/X11/X.h /usr/include/X11/Xfuncproto.h
116 xtext.o: /usr/include/X11/Xosdefs.h /usr/include/stddef.h
117 xtext.o: /usr/include/X11/Xutil.h /usr/include/X11/Xresource.h
118 xtext.o: /usr/include/string.h /usr/include/X11/Core.h
119 xtext.o: /usr/include/X11/Composite.h /usr/include/X11/Constraint.h
120 xtext.o: /usr/include/X11/Object.h /usr/include/X11/RectObj.h
121 xtext.o: /usr/include/X11/StringDefs.h /usr/include/X11/Xaw/AsciiText.h
122 xtext.o: /usr/include/X11/Xaw/Text.h /usr/include/X11/Xaw/TextSink.h
123 xtext.o: /usr/include/X11/Xaw/TextSrc.h /usr/include/X11/Xaw/AsciiSrc.h
124 xtext.o: /usr/include/X11/Xaw/AsciiSink.h /usr/include/X11/Xaw/Command.h
125 xtext.o: /usr/include/X11/Xaw/Label.h /usr/include/X11/Xaw/Simple.h
126 xtext.o: /usr/include/X11/Xmu/Converters.h /usr/include/X11/Xaw/Paned.h
127 xtext.o: /usr/include/X11/Xaw/Cardinals.h ../src/visualization.h
128 xtext.o: ../src/datagrid.h /usr/include/math.h /usr/include/floatingpoint.h
129 xtext.o: /usr/include/sys/ieeefp.h /usr/include/values.h ../src/error.h
130 xtext.o: ../sparc-sun-sunos4.1.3/visi.h ../../util/h/rpcUtil.h
131 xtext.o: /usr/include/strings.h /usr/include/stdlib.h /usr/include/errno.h
132 xtext.o: /usr/include/sys/errno.h /usr/include/assert.h /usr/include/fcntl.h
133 xtext.o: /usr/include/sys/fcntlcom.h /usr/include/sys/stat.h
134 xtext.o: /usr/include/memory.h /usr/include/sys/socket.h
135 xtext.o: /usr/include/netinet/in.h /usr/include/netdb.h
136 xtext.o: /usr/include/sys/time.h /usr/include/sys/time.h
137 xtext.o: /usr/include/unistd.h /usr/include/sys/file.h
138 xtext.o: /usr/include/rpc/types.h /usr/include/malloc.h
139 xtext.o: /usr/include/rpc/xdr.h ../src/mrlist.h
140 xtext.o: ../sparc-sun-sunos4.1.3/visi.SRVR.h