ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/Rmakefile
Revision: 1.50
Committed: Wed Oct 23 09:33:13 1991 UTC (32 years, 6 months ago) by greg
Branch: MAIN
Changes since 1.49: +9 -3 lines
Log Message:
added ra_pict program

File Contents

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