ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/Rmakefile
Revision: 1.40
Committed: Mon Jul 15 12:33:16 1991 UTC (32 years, 9 months ago) by greg
Branch: MAIN
Changes since 1.39: +77 -100 lines
Log Message:
moved a lot of routines into a common library

File Contents

# User Rev Content
1 greg 1.1 # SCCSid "$SunId$ LBL"
2    
3     #
4 greg 1.28 # Compiles for image processing and display programs
5 greg 1.1 #
6    
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.30 LIBDIR = /lumen/lumen/ray/lib
14 greg 1.28
15 greg 1.8 CALDEFS = -DFUNCTION -DVARIABLE -DRCONST -DBIGLIB
16 greg 1.1
17 greg 1.4 PIXAR_INCLUDE= -I/usr/pixar/include
18     PIXAR_LIB= -L/usr/pixar/host/lib -lpirl -lpicio -lchad -lpixar -lm
19    
20 greg 1.29 PROGS = pfilt ttyimage oki20c paintjet mt160r getinfo psign \
21 greg 1.31 greyscale pvalue pcompos colorscale prot ra_pr ra_pr24 \
22 greg 1.34 ra_t8 ra_bn ra_t16 pcomb pinterp ximage xshowtrace pflip
23 greg 1.1
24     all: $(PROGS)
25 greg 1.29
26 greg 1.34 x10: x10image
27     cp x10image $(INSTDIR)
28 greg 1.29
29     aed: aedimage
30     cp aedimage $(INSTDIR)
31    
32     sun:
33 greg 1.1
34 greg 1.38 install: $(PROGS) normpat.csh falsecolor.csh
35 greg 1.1 cp $(PROGS) $(INSTDIR)
36 greg 1.25 cp normpat.csh $(INSTDIR)/normpat
37 greg 1.38 cp falsecolor.csh $(INSTDIR)/falsecolor
38     chmod 755 $(INSTDIR)/normpat $(INSTDIR)/falsecolor
39 greg 1.1
40 greg 1.28 clean:
41 greg 1.32 set nonomatch; rm -f $(PROGS) *.o core
42 greg 1.28
43 greg 1.40 pfilt: pfilt.o pf2.o pf3.o
44     cc $(CFLAGS) -o pfilt pfilt.o pf2.o pf3.o ../common/librt.a -lm
45 greg 1.1
46 greg 1.40 ttyimage: ttyimage.o
47     cc $(CFLAGS) -o ttyimage ttyimage.o ../common/librt.a -lm
48 greg 1.1
49 greg 1.40 t4027: t4027.o
50     cc $(CFLAGS) -o t4027 t4027.o ../common/librt.a
51 greg 1.1
52 greg 1.40 glimage: glimage.o
53     cc $(CFLAGS) -o glimage glimage.o ../common/librt.a -lgl_s -lm
54 greg 1.16
55 greg 1.40 aedimage: aedimage.o ciq.o cut.o closest.o biq.o
56     cc $(CFLAGS) -o aedimage aedimage.o ciq.o cut.o closest.o \
57     biq.o ../common/librt.a -lm
58 greg 1.1
59 greg 1.40 oki20c: oki20c.o
60     cc $(CFLAGS) -o oki20c oki20c.o ../common/librt.a -lm
61 greg 1.7
62 greg 1.40 paintjet: paintjet.o
63     cc $(CFLAGS) -o paintjet paintjet.o ../common/librt.a -lm
64 greg 1.1
65 greg 1.40 mt160r: mt160r.o
66     cc $(CFLAGS) -o mt160r mt160r.o ../common/librt.a -lm
67 greg 1.1
68 greg 1.40 getinfo: getinfo.o
69     cc $(CFLAGS) -n -o getinfo getinfo.o ../common/librt.a
70 greg 1.1
71 greg 1.40 greyscale: greyscale.o
72     cc $(CFLAGS) -o greyscale greyscale.o ../common/librt.a -lm
73 greg 1.1
74 greg 1.40 colorscale: colorscale.o
75     cc $(CFLAGS) -o colorscale colorscale.o ../common/librt.a
76 greg 1.1
77 greg 1.40 pvalue: pvalue.o
78     cc $(CFLAGS) -o pvalue pvalue.o ../common/librt.a -lm
79 greg 1.1
80 greg 1.40 psum: psum.o
81     cc $(CFLAGS) -o psum psum.o ../common/librt.a
82 greg 1.1
83 greg 1.40 pcompos: pcompos.o
84     cc $(CFLAGS) -o pcompos pcompos.o ../common/librt.a
85 greg 1.1
86 greg 1.40 psign: psign.o
87     cc $(CFLAGS) -o psign psign.o ../common/librt.a
88 greg 1.1
89 greg 1.40 d48c: d48c.o
90     cc $(CFLAGS) -o d48c d48c.o ../common/librt.a
91 greg 1.1
92 greg 1.40 ra_pr: ra_pr.o ciq.o cut.o closest.o biq.o
93 greg 1.1 cc $(CFLAGS) -o ra_pr ra_pr.o ciq.o cut.o closest.o \
94 greg 1.40 biq.o ../common/librt.a -lm
95 greg 1.1
96 greg 1.40 ra_pr24: ra_pr24.o
97     cc $(CFLAGS) -o ra_pr24 ra_pr24.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.40 pcomb: pcomb.o calexpr.o calfunc.o caldefn.o
131 greg 1.1 cc $(CFLAGS) -o pcomb pcomb.o calexpr.o calfunc.o caldefn.o \
132 greg 1.40 ../common/librt.a -lm
133 greg 1.1
134 greg 1.40 pinterp: pinterp.o
135     cc $(CFLAGS) -o pinterp pinterp.o ../common/librt.a -lm
136 greg 1.10
137 greg 1.40 ra_pixar: ra_pixar.o ra_pixar.c
138     cc $(CFLAGS) $(PIXAR_INCLUDE) -o $@ ra_pixar.o ../common/librt.a \
139 greg 1.4 $(PIXAR_LIB)
140    
141 greg 1.1 calexpr.o: calexpr.c
142     cc $(CFLAGS) $(CALDEFS) -c calexpr.c
143    
144     calfunc.o: calfunc.c
145     cc $(CFLAGS) $(CALDEFS) -c calfunc.c
146    
147     caldefn.o: caldefn.c
148     cc $(CFLAGS) $(CALDEFS) -c caldefn.c
149 greg 1.4
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.40 pcomb.o calexpr.o calfunc.o caldefn.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.17 ximage.o x11raster.o: xraster.h
175    
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