ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/Rmakefile
Revision: 1.28
Committed: Wed Mar 6 10:14:01 1991 UTC (33 years, 2 months ago) by greg
Branch: MAIN
Changes since 1.27: +11 -3 lines
Log Message:
Makefile normalization

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.14 MACH = -DBSD -DSTRUCTASSIGN -f68881 /usr/lib/f68881.il -DIEEE
9 greg 1.8 CFLAGS = $(OPT) $(MACH)
10 greg 1.1
11 greg 1.28 INSTDIR = ../../bin
12 greg 1.1
13 greg 1.28 LIBDIR = /usr/local/lib/ray
14    
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.7 PROGS = pfilt ttyimage aedimage oki20c paintjet mt160r getinfo psign \
21 greg 1.19 greyscale pvalue pcompos colorscale ra_pr ra_pr24 ximage prot \
22 greg 1.26 ra_t8 ra_bn ra_t16 pcomb pinterp x11image xshowtrace pflip
23 greg 1.1
24     all: $(PROGS)
25    
26 greg 1.28 install: $(PROGS) normpat.csh
27 greg 1.1 cp $(PROGS) $(INSTDIR)
28 greg 1.25 cp normpat.csh $(INSTDIR)/normpat
29     chmod 755 $(INSTDIR)/normpat
30 greg 1.1
31 greg 1.28 clean:
32     rm -f $(PROGS) *.o core
33    
34 greg 1.23 pfilt: pfilt.o pf2.o pf3.o resolu.o color.o header.o lamps.o \
35     rexpr.o fropen.o spec_rgb.o
36     cc $(CFLAGS) -o pfilt pfilt.o pf2.o pf3.o resolu.o color.o \
37     header.o lamps.o rexpr.o fropen.o spec_rgb.o -lm
38 greg 1.1
39 greg 1.21 ttyimage: ttyimage.o resolu.o color.o colrops.o header.o
40     cc $(CFLAGS) -o ttyimage ttyimage.o resolu.o color.o colrops.o \
41     header.o -lm
42 greg 1.1
43 greg 1.18 t4027: t4027.o color.o resolu.o
44     cc $(CFLAGS) -o t4027 t4027.o color.o resolu.o
45 greg 1.1
46 greg 1.21 glimage: glimage.o color.o colrops.o resolu.o header.o
47     cc $(CFLAGS) -o glimage glimage.o color.o colrops.o resolu.o \
48     header.o -lgl_s -lm
49 greg 1.16
50 greg 1.21 aedimage: aedimage.o color.o colrops.o resolu.o ciq.o cut.o closest.o \
51     ealloc.o biq.o header.o
52     cc $(CFLAGS) -o aedimage aedimage.o color.o colrops.o resolu.o \
53     ciq.o cut.o closest.o ealloc.o biq.o header.o -lm
54 greg 1.1
55 greg 1.21 oki20c: oki20c.o color.o colrops.o resolu.o header.o
56     cc $(CFLAGS) -o oki20c oki20c.o color.o colrops.o resolu.o header.o -lm
57 greg 1.7
58 greg 1.21 paintjet: paintjet.o color.o colrops.o resolu.o header.o
59     cc $(CFLAGS) -o paintjet paintjet.o color.o colrops.o resolu.o \
60     header.o -lm
61 greg 1.1
62 greg 1.21 mt160r: mt160r.o color.o colrops.o resolu.o header.o
63     cc $(CFLAGS) -o mt160r mt160r.o color.o colrops.o resolu.o header.o -lm
64 greg 1.1
65     getinfo: getinfo.o header.o
66     cc $(CFLAGS) -n -o getinfo getinfo.o header.o
67    
68 greg 1.18 greyscale: greyscale.o color.o resolu.o
69     cc $(CFLAGS) -o greyscale greyscale.o color.o resolu.o -lm
70 greg 1.1
71 greg 1.18 colorscale: colorscale.o color.o resolu.o
72     cc $(CFLAGS) -o colorscale colorscale.o color.o resolu.o
73 greg 1.1
74 greg 1.18 pvalue: pvalue.o color.o resolu.o header.o
75     cc $(CFLAGS) -o pvalue pvalue.o color.o resolu.o header.o
76 greg 1.1
77 greg 1.18 psum: psum.o color.o resolu.o header.o
78     cc $(CFLAGS) -o psum psum.o color.o resolu.o header.o
79 greg 1.1
80 greg 1.18 pcompos: pcompos.o color.o resolu.o header.o
81     cc $(CFLAGS) -o pcompos pcompos.o color.o resolu.o header.o
82 greg 1.1
83 greg 1.23 psign: psign.o color.o resolu.o fropen.o
84     cc $(CFLAGS) -o psign psign.o color.o resolu.o fropen.o
85 greg 1.1
86 greg 1.18 d48c: d48c.o color.o resolu.o
87     cc $(CFLAGS) -o d48c d48c.o color.o resolu.o
88 greg 1.1
89 greg 1.21 ra_pr: ra_pr.o ciq.o cut.o closest.o color.o colrops.o resolu.o ealloc.o \
90     header.o biq.o
91 greg 1.1 cc $(CFLAGS) -o ra_pr ra_pr.o ciq.o cut.o closest.o \
92 greg 1.21 color.o colrops.o resolu.o ealloc.o header.o biq.o -lm
93 greg 1.1
94 greg 1.21 ra_pr24: ra_pr24.o color.o colrops.o resolu.o header.o
95 greg 1.20 cc $(CFLAGS) -o ra_pr24 ra_pr24.o color.o colrops.o resolu.o \
96     header.o -lm
97 greg 1.19
98 greg 1.21 ra_t8: ra_t8.o ciq.o cut.o closest.o color.o colrops.o resolu.o \
99     ealloc.o header.o biq.o
100 greg 1.1 cc $(CFLAGS) -o ra_t8 ra_t8.o ciq.o cut.o closest.o \
101 greg 1.21 color.o colrops.o resolu.o ealloc.o header.o biq.o -lm
102 greg 1.1
103 greg 1.21 ra_t16: ra_t16.o color.o colrops.o resolu.o ealloc.o header.o
104     cc $(CFLAGS) -o ra_t16 ra_t16.o color.o colrops.o \
105     resolu.o ealloc.o header.o -lm
106 greg 1.1
107     ra_im: ra_im.o
108     cc $(CFLAGS) -n -o ra_im ra_im.o
109    
110 greg 1.21 ra_bn: ra_bn.o color.o colrops.o resolu.o header.o
111     cc $(CFLAGS) -o ra_bn ra_bn.o color.o colrops.o resolu.o header.o -lm
112 greg 1.1
113 greg 1.21 ximage: ximage.o color.o colrops.o resolu.o ciq.o cut.o closest.o ealloc.o \
114 greg 1.1 xraster.o header.o biq.o image.o fvect.o
115 greg 1.21 cc $(CFLAGS) -o ximage ximage.o color.o colrops.o resolu.o xraster.o \
116 greg 1.1 header.o ciq.o cut.o closest.o ealloc.o biq.o image.o fvect.o -lX -lm
117    
118 greg 1.21 x11image: x11image.o color.o colrops.o resolu.o ciq.o cut.o closest.o \
119     ealloc.o x11raster.o header.o biq.o image.o fvect.o
120     cc $(CFLAGS) -o x11image x11image.o color.o colrops.o resolu.o \
121     x11raster.o header.o ciq.o cut.o closest.o ealloc.o biq.o image.o \
122     fvect.o -lX11 -lm
123 greg 1.17
124 greg 1.18 prot: prot.o color.o resolu.o header.o
125     cc $(CFLAGS) -o prot prot.o color.o resolu.o header.o
126 greg 1.1
127 greg 1.26 pflip: pflip.o color.o resolu.o header.o
128     cc $(CFLAGS) -o pflip pflip.o color.o resolu.o header.o
129    
130 greg 1.21 panim: panim.o color.o colrops.o resolu.o header.o client/libclient.a
131     cc $(CFLAGS) -o panim panim.o color.o colrops.o resolu.o header.o \
132 greg 1.18 client/libclient.a -lrpcsvc -lm
133 greg 1.1
134 greg 1.18 pcomb: pcomb.o calexpr.o calfunc.o caldefn.o color.o resolu.o \
135 greg 1.1 header.o ealloc.o savestr.o
136     cc $(CFLAGS) -o pcomb pcomb.o calexpr.o calfunc.o caldefn.o \
137 greg 1.18 color.o resolu.o header.o ealloc.o savestr.o -lm
138 greg 1.1
139 greg 1.18 pinterp: pinterp.o image.o header.o color.o resolu.o fvect.o mat4.o
140 greg 1.11 cc $(CFLAGS) -o pinterp pinterp.o image.o header.o mat4.o \
141 greg 1.18 fvect.o color.o resolu.o -lm
142 greg 1.10
143 greg 1.18 ra_pixar: ra_pixar.o ra_pixar.c color.o resolu.o header.o
144     cc $(CFLAGS) $(PIXAR_INCLUDE) -o $@ ra_pixar.o color.o resolu.o header.o \
145 greg 1.4 $(PIXAR_LIB)
146    
147 greg 1.1 calexpr.o: calexpr.c
148     cc $(CFLAGS) $(CALDEFS) -c calexpr.c
149    
150     calfunc.o: calfunc.c
151     cc $(CFLAGS) $(CALDEFS) -c calfunc.c
152    
153     caldefn.o: caldefn.c
154     cc $(CFLAGS) $(CALDEFS) -c caldefn.c
155 greg 1.4
156     ra_pixar.o: ra_pixar.c
157     cc $(CFLAGS) $(PIXAR_INCLUDE) -c ra_pixar.c
158 greg 1.1
159 greg 1.18 xshowtrace: xshowtrace.o image.o resolu.o header.o fvect.o
160     cc $(CFLAGS) -o xshowtrace xshowtrace.o image.o resolu.o header.o \
161     fvect.o -lm -lX11
162 greg 1.28
163     fropen.o: fropen.c
164     cc $(CFLAGS) -DDEFPATH=\":$(LIBDIR)\" -c fropen.c
165 greg 1.18
166 greg 1.24 xshowtrace.o: view.h standard.h mat4.h fvect.h
167 greg 1.18
168 greg 1.24 mat4.o: mat4.h fvect.h
169    
170 greg 1.1 pcomb.o calexpr.o calfunc.o caldefn.o: calcomp.h
171    
172 greg 1.18 panim.o: client/scan.h color.h random.h
173 greg 1.1
174     pf2.o bnoise.o: random.h
175    
176 greg 1.3 ra_t16.o: random.h
177    
178 greg 1.19 pfilt.o pf2.o ttyimage.o t4027.o mt160r.o psum.o psign.o prot.o ra_pr24.o \
179 greg 1.26 d48c.o aedimage.o pcompos.o color.o resolu.o colrops.o pflip.o \
180 greg 1.20 greyscale.o ra_t8.o glimage.o \
181 greg 1.12 ra_bn.o ra_t16.o ra_pr.o pvalue.o pcomb.o pinterp.o ximage.o: color.h
182 greg 1.1
183 greg 1.27 prot.o biq.o ciq.o pinterp.o \
184 greg 1.26 ximage.o image.o: standard.h mat4.h fvect.h
185 greg 1.1
186 greg 1.17 ximage.o x11raster.o: xraster.h
187    
188     x11image.o x11raster.o: x11raster.h
189 greg 1.1
190     ra_t8.o: targa.h
191    
192     fvect.o: fvect.h
193    
194     aedimage.o ximage.o ra_t8.o ra_pr.o: pic.h
195    
196     ciq.o cut.o closest.o biq.o: pic.h ciq.h
197    
198 greg 1.10 pinterp.o ximage.o image.o: view.h