ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/Rmakefile
Revision: 2.3
Committed: Wed Jun 24 09:17:45 1992 UTC (31 years, 10 months ago) by greg
Branch: MAIN
Changes since 2.2: +5 -5 lines
Log Message:
added code to get GAMMA from environment

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