ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/Rmakefile
Revision: 1.49
Committed: Fri Aug 23 17:37:26 1991 UTC (32 years, 8 months ago) by greg
Branch: MAIN
Changes since 1.48: +5 -1 lines
Log Message:
added ra_rgbe 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 -f68881 /usr/lib/libm.il -DIEEE -DBSD
9 CFLAGS = $(OPT) $(MACH) -I../common -L../lib
10
11 INSTDIR = /lumen/lumen/ray/bin.sun3
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
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 x10image: ximage.o ciq.o cut.o closest.o xraster.o biq.o
121 cc $(CFLAGS) -o x10image ximage.o xraster.o \
122 ciq.o cut.o closest.o biq.o -lX -lrt -lm
123
124 ximage: x11image.o ciq.o cut.o closest.o x11raster.o biq.o
125 cc $(CFLAGS) -o ximage x11image.o x11raster.o \
126 ciq.o cut.o closest.o biq.o -lX11 -lrt -lm
127
128 prot: prot.o
129 cc $(CFLAGS) -o prot prot.o -lrt
130
131 pflip: pflip.o
132 cc $(CFLAGS) -o pflip pflip.o -lrt
133
134 panim: panim.o client/libclient.a
135 cc $(CFLAGS) -o panim panim.o \
136 -lrt client/libclient.a -lrpcsvc -lm
137
138 pcomb: pcomb.o
139 cc $(CFLAGS) -o pcomb pcomb.o -lrt -lm
140
141 pinterp: pinterp.o
142 cc $(CFLAGS) -o pinterp pinterp.o -lrt -lm
143
144 ra_tiff: ra_tiff.o ../lib/libtiff.a
145 cc $(CFLAGS) -o ra_tiff ra_tiff.o -lrt -ltiff -lm
146
147 ra_tiff.o: ra_tiff.c
148 cc $(CFLAGS) -Ilibtiff -c ra_tiff.c
149
150 ../lib/libtiff.a:
151 cd libtiff ; make -f Makefile.$(ARCH) ; \
152 mv libtiff.a ../../lib ; make clean
153
154 ra_pixar: ra_pixar.o ra_pixar.c
155 cc $(CFLAGS) $(PIXAR_INCLUDE) -o $@ ra_pixar.o -lrt \
156 $(PIXAR_LIB)
157
158 ra_pixar.o: ra_pixar.c
159 cc $(CFLAGS) $(PIXAR_INCLUDE) -c ra_pixar.c
160
161 xshowtrace: xshowtrace.o x11findwind.o
162 cc $(CFLAGS) -o xshowtrace xshowtrace.o \
163 x11findwind.o -lrt -lm -lX11
164
165 xshowtrace.o: ../common/view.h ../common/standard.h \
166 ../common/mat4.h ../common/fvect.h
167
168 pcomb.o: ../common/calcomp.h
169
170 panim.o: client/scan.h ../common/color.h ../common/random.h
171
172 pf2.o bnoise.o ra_t16.o: ../common/random.h
173
174 pfilt.o pf2.o ttyimage.o t4027.o mt160r.o psum.o psign.o prot.o ra_pr24.o \
175 d48c.o aedimage.o pcompos.o color.o resolu.o colrops.o pflip.o \
176 greyscale.o ra_t8.o glimage.o ra_bn.o ra_t16.o \
177 ra_pr.o pvalue.o pcomb.o pinterp.o ximage.o: ../common/color.h
178
179 prot.o biq.o ciq.o pinterp.o ximage.o \
180 image.o: ../common/standard.h ../common/mat4.h ../common/fvect.h
181
182 ximage.o xraster.o: xraster.h
183
184 x11image.o x11raster.o: x11raster.h
185
186 ra_t8.o: ../common/targa.h
187
188 aedimage.o ximage.o ra_t8.o ra_pr.o: pic.h
189
190 ciq.o cut.o closest.o biq.o: pic.h ciq.h
191
192 pinterp.o ximage.o image.o: ../common/view.h