ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/Rmakefile
Revision: 1.21
Committed: Sun Oct 21 10:43:48 1990 UTC (33 years, 6 months ago) by greg
Branch: MAIN
Changes since 1.20: +38 -30 lines
Log Message:
broke color.c and colrops.c

File Contents

# User Rev Content
1 greg 1.1 # SCCSid "$SunId$ LBL"
2    
3     #
4     # Compiles for pixel file plotters.
5     #
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     INSTDIR = /usr/local/ray
12    
13 greg 1.8 CALDEFS = -DFUNCTION -DVARIABLE -DRCONST -DBIGLIB
14 greg 1.1
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.7 PROGS = pfilt ttyimage aedimage oki20c paintjet mt160r getinfo psign \
19 greg 1.19 greyscale pvalue pcompos colorscale ra_pr ra_pr24 ximage prot \
20 greg 1.18 ra_t8 ra_bn ra_t16 pcomb pinterp x11image xshowtrace
21 greg 1.1
22     all: $(PROGS)
23    
24     install: $(PROGS)
25     cp $(PROGS) $(INSTDIR)
26    
27 greg 1.18 pfilt: pfilt.o pf2.o pf3.o resolu.o color.o header.o
28     cc $(CFLAGS) -o pfilt pfilt.o pf2.o pf3.o resolu.o color.o header.o -lm
29 greg 1.1
30 greg 1.21 ttyimage: ttyimage.o resolu.o color.o colrops.o header.o
31     cc $(CFLAGS) -o ttyimage ttyimage.o resolu.o color.o colrops.o \
32     header.o -lm
33 greg 1.1
34 greg 1.18 t4027: t4027.o color.o resolu.o
35     cc $(CFLAGS) -o t4027 t4027.o color.o resolu.o
36 greg 1.1
37 greg 1.21 glimage: glimage.o color.o colrops.o resolu.o header.o
38     cc $(CFLAGS) -o glimage glimage.o color.o colrops.o resolu.o \
39     header.o -lgl_s -lm
40 greg 1.16
41 greg 1.21 aedimage: aedimage.o color.o colrops.o resolu.o ciq.o cut.o closest.o \
42     ealloc.o biq.o header.o
43     cc $(CFLAGS) -o aedimage aedimage.o color.o colrops.o resolu.o \
44     ciq.o cut.o closest.o ealloc.o biq.o header.o -lm
45 greg 1.1
46 greg 1.21 oki20c: oki20c.o color.o colrops.o resolu.o header.o
47     cc $(CFLAGS) -o oki20c oki20c.o color.o colrops.o resolu.o header.o -lm
48 greg 1.7
49 greg 1.21 paintjet: paintjet.o color.o colrops.o resolu.o header.o
50     cc $(CFLAGS) -o paintjet paintjet.o color.o colrops.o resolu.o \
51     header.o -lm
52 greg 1.1
53 greg 1.21 mt160r: mt160r.o color.o colrops.o resolu.o header.o
54     cc $(CFLAGS) -o mt160r mt160r.o color.o colrops.o resolu.o header.o -lm
55 greg 1.1
56     getinfo: getinfo.o header.o
57     cc $(CFLAGS) -n -o getinfo getinfo.o header.o
58    
59 greg 1.18 greyscale: greyscale.o color.o resolu.o
60     cc $(CFLAGS) -o greyscale greyscale.o color.o resolu.o -lm
61 greg 1.1
62 greg 1.18 colorscale: colorscale.o color.o resolu.o
63     cc $(CFLAGS) -o colorscale colorscale.o color.o resolu.o
64 greg 1.1
65 greg 1.18 pvalue: pvalue.o color.o resolu.o header.o
66     cc $(CFLAGS) -o pvalue pvalue.o color.o resolu.o header.o
67 greg 1.1
68 greg 1.18 psum: psum.o color.o resolu.o header.o
69     cc $(CFLAGS) -o psum psum.o color.o resolu.o header.o
70 greg 1.1
71 greg 1.18 pcompos: pcompos.o color.o resolu.o header.o
72     cc $(CFLAGS) -o pcompos pcompos.o color.o resolu.o header.o
73 greg 1.1
74 greg 1.18 psign: psign.o color.o resolu.o
75     cc $(CFLAGS) -o psign psign.o color.o resolu.o
76 greg 1.1
77 greg 1.18 d48c: d48c.o color.o resolu.o
78     cc $(CFLAGS) -o d48c d48c.o color.o resolu.o
79 greg 1.1
80 greg 1.21 ra_pr: ra_pr.o ciq.o cut.o closest.o color.o colrops.o resolu.o ealloc.o \
81     header.o biq.o
82 greg 1.1 cc $(CFLAGS) -o ra_pr ra_pr.o ciq.o cut.o closest.o \
83 greg 1.21 color.o colrops.o resolu.o ealloc.o header.o biq.o -lm
84 greg 1.1
85 greg 1.21 ra_pr24: ra_pr24.o color.o colrops.o resolu.o header.o
86 greg 1.20 cc $(CFLAGS) -o ra_pr24 ra_pr24.o color.o colrops.o resolu.o \
87     header.o -lm
88 greg 1.19
89 greg 1.21 ra_t8: ra_t8.o ciq.o cut.o closest.o color.o colrops.o resolu.o \
90     ealloc.o header.o biq.o
91 greg 1.1 cc $(CFLAGS) -o ra_t8 ra_t8.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_t16: ra_t16.o color.o colrops.o resolu.o ealloc.o header.o
95     cc $(CFLAGS) -o ra_t16 ra_t16.o color.o colrops.o \
96     resolu.o ealloc.o header.o -lm
97 greg 1.1
98     ra_im: ra_im.o
99     cc $(CFLAGS) -n -o ra_im ra_im.o
100    
101 greg 1.21 ra_bn: ra_bn.o color.o colrops.o resolu.o header.o
102     cc $(CFLAGS) -o ra_bn ra_bn.o color.o colrops.o resolu.o header.o -lm
103 greg 1.1
104 greg 1.21 ximage: ximage.o color.o colrops.o resolu.o ciq.o cut.o closest.o ealloc.o \
105 greg 1.1 xraster.o header.o biq.o image.o fvect.o
106 greg 1.21 cc $(CFLAGS) -o ximage ximage.o color.o colrops.o resolu.o xraster.o \
107 greg 1.1 header.o ciq.o cut.o closest.o ealloc.o biq.o image.o fvect.o -lX -lm
108    
109 greg 1.21 x11image: x11image.o color.o colrops.o resolu.o ciq.o cut.o closest.o \
110     ealloc.o x11raster.o header.o biq.o image.o fvect.o
111     cc $(CFLAGS) -o x11image x11image.o color.o colrops.o resolu.o \
112     x11raster.o header.o ciq.o cut.o closest.o ealloc.o biq.o image.o \
113     fvect.o -lX11 -lm
114 greg 1.17
115 greg 1.18 prot: prot.o color.o resolu.o header.o
116     cc $(CFLAGS) -o prot prot.o color.o resolu.o header.o
117 greg 1.1
118 greg 1.21 panim: panim.o color.o colrops.o resolu.o header.o client/libclient.a
119     cc $(CFLAGS) -o panim panim.o color.o colrops.o resolu.o header.o \
120 greg 1.18 client/libclient.a -lrpcsvc -lm
121 greg 1.1
122 greg 1.18 pcomb: pcomb.o calexpr.o calfunc.o caldefn.o color.o resolu.o \
123 greg 1.1 header.o ealloc.o savestr.o
124     cc $(CFLAGS) -o pcomb pcomb.o calexpr.o calfunc.o caldefn.o \
125 greg 1.18 color.o resolu.o header.o ealloc.o savestr.o -lm
126 greg 1.1
127 greg 1.18 pinterp: pinterp.o image.o header.o color.o resolu.o fvect.o mat4.o
128 greg 1.11 cc $(CFLAGS) -o pinterp pinterp.o image.o header.o mat4.o \
129 greg 1.18 fvect.o color.o resolu.o -lm
130 greg 1.10
131 greg 1.18 ra_pixar: ra_pixar.o ra_pixar.c color.o resolu.o header.o
132     cc $(CFLAGS) $(PIXAR_INCLUDE) -o $@ ra_pixar.o color.o resolu.o header.o \
133 greg 1.4 $(PIXAR_LIB)
134    
135 greg 1.1 calexpr.o: calexpr.c
136     cc $(CFLAGS) $(CALDEFS) -c calexpr.c
137    
138     calfunc.o: calfunc.c
139     cc $(CFLAGS) $(CALDEFS) -c calfunc.c
140    
141     caldefn.o: caldefn.c
142     cc $(CFLAGS) $(CALDEFS) -c caldefn.c
143 greg 1.4
144     ra_pixar.o: ra_pixar.c
145     cc $(CFLAGS) $(PIXAR_INCLUDE) -c ra_pixar.c
146 greg 1.1
147 greg 1.18 xshowtrace: xshowtrace.o image.o resolu.o header.o fvect.o
148     cc $(CFLAGS) -o xshowtrace xshowtrace.o image.o resolu.o header.o \
149     fvect.o -lm -lX11
150    
151     xshowtrace.o: view.h standard.h fvect.h
152    
153 greg 1.1 pcomb.o calexpr.o calfunc.o caldefn.o: calcomp.h
154    
155 greg 1.18 panim.o: client/scan.h color.h random.h
156 greg 1.1
157     pf2.o bnoise.o: random.h
158    
159 greg 1.3 ra_t16.o: random.h
160    
161 greg 1.19 pfilt.o pf2.o ttyimage.o t4027.o mt160r.o psum.o psign.o prot.o ra_pr24.o \
162 greg 1.20 d48c.o aedimage.o pcompos.o color.o resolu.o colrops.o \
163     greyscale.o ra_t8.o glimage.o \
164 greg 1.12 ra_bn.o ra_t16.o ra_pr.o pvalue.o pcomb.o pinterp.o ximage.o: color.h
165 greg 1.1
166 greg 1.10 pinterp.o ximage.o image.o: standard.h fvect.h
167 greg 1.1
168 greg 1.17 ximage.o x11raster.o: xraster.h
169    
170     x11image.o x11raster.o: x11raster.h
171 greg 1.1
172     ra_t8.o: targa.h
173    
174     fvect.o: fvect.h
175    
176     aedimage.o ximage.o ra_t8.o ra_pr.o: pic.h
177    
178     ciq.o cut.o closest.o biq.o: pic.h ciq.h
179    
180 greg 1.10 pinterp.o ximage.o image.o: view.h