ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/Rmakefile
Revision: 1.47
Committed: Fri Aug 16 13:40:12 1991 UTC (32 years, 8 months ago) by greg
Branch: MAIN
Changes since 1.46: +9 -5 lines
Log Message:
made installation of ra_tiff automatic

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