ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/Rmakefile
Revision: 1.46
Committed: Fri Aug 16 12:42:13 1991 UTC (32 years, 8 months ago) by greg
Branch: MAIN
Changes since 1.45: +4 -1 lines
Log Message:
added ra_ppm program

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