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

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