ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/Rmakefile
Revision: 2.10
Committed: Tue Nov 3 16:52:22 1992 UTC (31 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.9: +1 -1 lines
Log Message:
changes in pfilt for 32-bit PC port

File Contents

# Content
1 # Compiles for image processing and display programs
2 # SCCSid "$SunId$ LBL"
3 #
4
5 ARCH = sun
6 OPT = -O
7 MACH = -DBSD
8 SPECIAL = aed tiff
9 CFLAGS = $(OPT) $(MACH) -I../common -L../lib
10 CC = cc
11
12 INSTDIR = /usr/local/bin
13
14 LIBDIR = /usr/local/lib/ray
15
16 PIXAR_INCLUDE= -I/usr/pixar/include
17 PIXAR_LIB= -L/usr/pixar/host/lib -lpirl -lpicio -lchad -lpixar -lm
18
19 PROGS = pfilt ttyimage oki20c oki20 paintjet mt160r getinfo psign \
20 greyscale pvalue pcompos colorscale protate ra_pr ra_pr24 \
21 ra_t8 ra_bn ra_t16 pcomb pinterp ximage xshowtrace pflip ra_ppm \
22 ra_rgbe ra_pict ra_ps
23
24 all: $(PROGS) $(SPECIAL)
25
26 x10: x10image
27 cp x10image $(INSTDIR)
28
29 aed: aedimage
30 cp aedimage $(INSTDIR)
31
32 sgi: glimage
33 cp glimage $(INSTDIR)
34
35 tiff: ra_tiff
36 cp ra_tiff $(INSTDIR)
37
38 sun:
39
40 install: $(PROGS) $(SPECIAL) normpat.csh falsecolor.csh
41 cp $(PROGS) $(INSTDIR)
42 cp normpat.csh $(INSTDIR)/normpat
43 cp falsecolor.csh $(INSTDIR)/falsecolor
44 chmod 755 $(INSTDIR)/normpat $(INSTDIR)/falsecolor
45
46 clean:
47 set nonomatch; rm -f x10image aedimage glimage ra_tiff \
48 $(PROGS) *.o core
49
50 pfilt: pfilt.o pf2.o pf3.o
51 $(CC) $(CFLAGS) -o pfilt pfilt.o pf2.o pf3.o -lrt -lm
52
53 ttyimage: ttyimage.o
54 $(CC) $(CFLAGS) -o ttyimage ttyimage.o -lrt -lm
55
56 t4027: t4027.o
57 $(CC) $(CFLAGS) -o t4027 t4027.o -lrt
58
59 glimage: glimage.o
60 $(CC) $(CFLAGS) -o glimage glimage.o -lrt -lgl_s -lm
61
62 aedimage: aedimage.o ciq.o cut.o closest.o biq.o
63 $(CC) $(CFLAGS) -o aedimage aedimage.o ciq.o cut.o closest.o \
64 biq.o -lrt -lm
65
66 oki20c: oki20c.o
67 $(CC) $(CFLAGS) -o oki20c oki20c.o -lrt -lm
68
69 oki20: oki20.o
70 $(CC) $(CFLAGS) -o oki20 oki20.o -lrt -lm
71
72 paintjet: paintjet.o
73 $(CC) $(CFLAGS) -o paintjet paintjet.o -lrt -lm
74
75 mt160r: mt160r.o
76 $(CC) $(CFLAGS) -o mt160r mt160r.o -lrt -lm
77
78 getinfo: getinfo.o
79 $(CC) $(CFLAGS) -n -o getinfo getinfo.o -lrt
80
81 greyscale: greyscale.o
82 $(CC) $(CFLAGS) -o greyscale greyscale.o -lrt -lm
83
84 colorscale: colorscale.o
85 $(CC) $(CFLAGS) -o colorscale colorscale.o -lrt
86
87 pvalue: pvalue.o
88 $(CC) $(CFLAGS) -o pvalue pvalue.o -lrt -lm
89
90 psum: psum.o
91 $(CC) $(CFLAGS) -o psum psum.o -lrt
92
93 pcompos: pcompos.o
94 $(CC) $(CFLAGS) -o pcompos pcompos.o -lrt
95
96 psign: psign.o
97 $(CC) $(CFLAGS) -o psign psign.o -lrt
98
99 d48c: d48c.o
100 $(CC) $(CFLAGS) -o d48c d48c.o -lrt
101
102 ra_pr: ra_pr.o ciq.o cut.o closest.o biq.o
103 $(CC) $(CFLAGS) -o ra_pr ra_pr.o ciq.o cut.o closest.o \
104 biq.o -lrt -lm
105
106 ra_pr24: ra_pr24.o
107 $(CC) $(CFLAGS) -o ra_pr24 ra_pr24.o -lrt -lm
108
109 ra_ps: ra_ps.o
110 $(CC) $(CFLAGS) -o ra_ps ra_ps.o -lrt -lm
111
112 ra_ppm: ra_ppm.o
113 $(CC) $(CFLAGS) -o ra_ppm ra_ppm.o -lrt -lm
114
115 ra_t8: ra_t8.o clrtab.o
116 $(CC) $(CFLAGS) -o ra_t8 ra_t8.o clrtab.o -lrt -lm
117
118 ra_t16: ra_t16.o
119 $(CC) $(CFLAGS) -o ra_t16 ra_t16.o -lrt -lm
120
121 ra_im: ra_im.o
122 $(CC) $(CFLAGS) -n -o ra_im ra_im.o
123
124 ra_bn: ra_bn.o
125 $(CC) $(CFLAGS) -o ra_bn ra_bn.o -lrt -lm
126
127 ra_rgbe: ra_rgbe.o
128 $(CC) $(CFLAGS) -o ra_rgbe ra_rgbe.o -lrt -lm
129
130 ra_pict: ra_pict.o
131 $(CC) $(CFLAGS) -o ra_pict ra_pict.o -lrt -lm
132
133
134 x10image: ximage.o ciq.o cut.o closest.o xraster.o biq.o
135 $(CC) $(CFLAGS) -o x10image ximage.o xraster.o \
136 ciq.o cut.o closest.o biq.o -lX -lrt -lm
137
138 ximage: x11image.o x11raster.o clrtab.o
139 $(CC) $(CFLAGS) -o ximage x11image.o x11raster.o \
140 clrtab.o -lX11 -lrt -lm
141
142 protate: protate.o
143 $(CC) $(CFLAGS) -o protate protate.o -lrt
144
145 pextrem: pextrem.o
146 $(CC) $(CFLAGS) -o pextrem pextrem.o -lrt
147
148 pflip: pflip.o
149 $(CC) $(CFLAGS) -o pflip pflip.o -lrt
150
151 panim: panim.o client/libclient.a
152 $(CC) $(CFLAGS) -o panim panim.o \
153 -lrt client/libclient.a -lrpcsvc -lm
154
155 pcomb: pcomb.o
156 $(CC) $(CFLAGS) -o pcomb pcomb.o -lrt -lm
157
158 pinterp: pinterp.o
159 $(CC) $(CFLAGS) -o pinterp pinterp.o -lrt -lm
160
161 ra_tiff: ra_tiff.o ../lib/libtiff.a
162 $(CC) $(CFLAGS) -o ra_tiff ra_tiff.o -lrt -ltiff -lm
163
164 psign.o: psign.c ../common/font.h
165 $(CC) $(CFLAGS) -DDEFPATH=\":$(LIBDIR)\" -c psign.c
166
167 ra_tiff.o: ra_tiff.c
168 $(CC) $(CFLAGS) -Ilibtiff -c ra_tiff.c
169
170 ../lib/libtiff.a:
171 cd libtiff ; make -f Makefile.$(ARCH) ; \
172 mv libtiff.a ../../lib ; make clean
173
174 ra_pixar: ra_pixar.o ra_pixar.c
175 $(CC) $(CFLAGS) $(PIXAR_INCLUDE) -o $@ ra_pixar.o -lrt \
176 $(PIXAR_LIB)
177
178 ra_pixar.o: ra_pixar.c
179 $(CC) $(CFLAGS) $(PIXAR_INCLUDE) -c ra_pixar.c
180
181 xshowtrace: xshowtrace.o x11findwind.o
182 $(CC) $(CFLAGS) -o xshowtrace xshowtrace.o \
183 x11findwind.o -lrt -lm -lX11
184
185 pcomb.o: ../common/calcomp.h
186
187 panim.o: client/scan.h ../common/color.h ../common/random.h
188
189 pf2.o bnoise.o ra_ps.o ra_t16.o: ../common/random.h
190
191 pfilt.o pf2.o ttyimage.o t4027.o mt160r.o psum.o psign.o protate.o pextrem.o \
192 ra_pr24.o d48c.o aedimage.o pcompos.o color.o resolu.o colrops.o pflip.o \
193 greyscale.o ra_t8.o glimage.o ra_bn.o ra_t16.o ra_tiff.o ra_pict.o \
194 ra_ps.o ra_pr.o pvalue.o pcomb.o pinterp.o ximage.o: ../common/color.h
195
196 pvalue.o protate.o biq.o ciq.o pinterp.o ximage.o psign.o xshowtrace.o \
197 pfilt.o image.o: ../common/standard.h ../common/mat4.h ../common/fvect.h
198
199 ximage.o xraster.o: xraster.h
200
201 x11image.o x11raster.o: x11raster.h
202
203 ra_t8.o: ../common/targa.h
204
205 aedimage.o ximage.o ra_t8.o ra_pr.o: pic.h
206
207 ciq.o cut.o closest.o biq.o: pic.h ciq.h
208
209 pinterp.o ximage.o x11showtrace.o image.o: ../common/view.h
210
211 ra_pict.o: pict.h
212
213 mt160r.o oki20c.o paintjet.o pcomb.o pcompos.o pfilt.o pflip.o \
214 pinterp.o protate.o pvalue.o ra_bn.o ra_pict.o ra_pixar.o \
215 ra_ppm.o ra_pr.o ra_pr24.o ra_rgbe.o ra_t16.o ra_t8.o glimage.o \
216 ra_tiff.o ttyimage.o ximage.o x11image.o: ../common/resolu.h
217
218 pfilt.o psign.o: ../common/paths.h