6 |
|
|
7 |
|
OPT = -O |
8 |
|
MACH = -DSTRUCTASSIGN -f68881 /usr/lib/libm.il -DIEEE -DBSD |
9 |
< |
CFLAGS = $(OPT) $(MACH) |
9 |
> |
CFLAGS = $(OPT) $(MACH) -I../common |
10 |
|
|
11 |
|
INSTDIR = /lumen/lumen/ray/bin.sun3 |
12 |
|
|
40 |
|
clean: |
41 |
|
set nonomatch; rm -f $(PROGS) *.o core |
42 |
|
|
43 |
< |
pfilt: pfilt.o pf2.o pf3.o resolu.o color.o header.o lamps.o \ |
44 |
< |
rexpr.o fropen.o spec_rgb.o |
45 |
< |
cc $(CFLAGS) -o pfilt pfilt.o pf2.o pf3.o resolu.o color.o \ |
46 |
< |
header.o lamps.o rexpr.o fropen.o spec_rgb.o -lm |
43 |
> |
pfilt: pfilt.o pf2.o pf3.o |
44 |
> |
cc $(CFLAGS) -o pfilt pfilt.o pf2.o pf3.o ../common/librt.a -lm |
45 |
|
|
46 |
< |
ttyimage: ttyimage.o resolu.o color.o colrops.o header.o |
47 |
< |
cc $(CFLAGS) -o ttyimage ttyimage.o resolu.o color.o colrops.o \ |
50 |
< |
header.o -lm |
46 |
> |
ttyimage: ttyimage.o |
47 |
> |
cc $(CFLAGS) -o ttyimage ttyimage.o ../common/librt.a -lm |
48 |
|
|
49 |
< |
t4027: t4027.o color.o resolu.o |
50 |
< |
cc $(CFLAGS) -o t4027 t4027.o color.o resolu.o |
49 |
> |
t4027: t4027.o |
50 |
> |
cc $(CFLAGS) -o t4027 t4027.o ../common/librt.a |
51 |
|
|
52 |
< |
glimage: glimage.o color.o colrops.o resolu.o header.o |
53 |
< |
cc $(CFLAGS) -o glimage glimage.o color.o colrops.o resolu.o \ |
57 |
< |
header.o -lgl_s -lm |
52 |
> |
glimage: glimage.o |
53 |
> |
cc $(CFLAGS) -o glimage glimage.o ../common/librt.a -lgl_s -lm |
54 |
|
|
55 |
< |
aedimage: aedimage.o color.o colrops.o resolu.o ciq.o cut.o closest.o \ |
56 |
< |
ealloc.o biq.o header.o |
57 |
< |
cc $(CFLAGS) -o aedimage aedimage.o color.o colrops.o resolu.o \ |
62 |
< |
ciq.o cut.o closest.o ealloc.o biq.o header.o -lm |
55 |
> |
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 |
|
|
59 |
< |
oki20c: oki20c.o color.o colrops.o resolu.o header.o |
60 |
< |
cc $(CFLAGS) -o oki20c oki20c.o color.o colrops.o resolu.o header.o -lm |
59 |
> |
oki20c: oki20c.o |
60 |
> |
cc $(CFLAGS) -o oki20c oki20c.o ../common/librt.a -lm |
61 |
|
|
62 |
< |
paintjet: paintjet.o color.o colrops.o resolu.o header.o |
63 |
< |
cc $(CFLAGS) -o paintjet paintjet.o color.o colrops.o resolu.o \ |
69 |
< |
header.o -lm |
62 |
> |
paintjet: paintjet.o |
63 |
> |
cc $(CFLAGS) -o paintjet paintjet.o ../common/librt.a -lm |
64 |
|
|
65 |
< |
mt160r: mt160r.o color.o colrops.o resolu.o header.o |
66 |
< |
cc $(CFLAGS) -o mt160r mt160r.o color.o colrops.o resolu.o header.o -lm |
65 |
> |
mt160r: mt160r.o |
66 |
> |
cc $(CFLAGS) -o mt160r mt160r.o ../common/librt.a -lm |
67 |
|
|
68 |
< |
getinfo: getinfo.o header.o |
69 |
< |
cc $(CFLAGS) -n -o getinfo getinfo.o header.o |
68 |
> |
getinfo: getinfo.o |
69 |
> |
cc $(CFLAGS) -n -o getinfo getinfo.o ../common/librt.a |
70 |
|
|
71 |
< |
greyscale: greyscale.o color.o resolu.o |
72 |
< |
cc $(CFLAGS) -o greyscale greyscale.o color.o resolu.o -lm |
71 |
> |
greyscale: greyscale.o |
72 |
> |
cc $(CFLAGS) -o greyscale greyscale.o ../common/librt.a -lm |
73 |
|
|
74 |
< |
colorscale: colorscale.o color.o resolu.o |
75 |
< |
cc $(CFLAGS) -o colorscale colorscale.o color.o resolu.o |
74 |
> |
colorscale: colorscale.o |
75 |
> |
cc $(CFLAGS) -o colorscale colorscale.o ../common/librt.a |
76 |
|
|
77 |
< |
pvalue: pvalue.o color.o resolu.o header.o |
78 |
< |
cc $(CFLAGS) -o pvalue pvalue.o color.o resolu.o header.o -lm |
77 |
> |
pvalue: pvalue.o |
78 |
> |
cc $(CFLAGS) -o pvalue pvalue.o ../common/librt.a -lm |
79 |
|
|
80 |
< |
psum: psum.o color.o resolu.o header.o |
81 |
< |
cc $(CFLAGS) -o psum psum.o color.o resolu.o header.o |
80 |
> |
psum: psum.o |
81 |
> |
cc $(CFLAGS) -o psum psum.o ../common/librt.a |
82 |
|
|
83 |
< |
pcompos: pcompos.o color.o resolu.o header.o |
84 |
< |
cc $(CFLAGS) -o pcompos pcompos.o color.o resolu.o header.o |
83 |
> |
pcompos: pcompos.o |
84 |
> |
cc $(CFLAGS) -o pcompos pcompos.o ../common/librt.a |
85 |
|
|
86 |
< |
psign: psign.o color.o resolu.o fropen.o header.o |
87 |
< |
cc $(CFLAGS) -o psign psign.o color.o resolu.o fropen.o header.o |
86 |
> |
psign: psign.o |
87 |
> |
cc $(CFLAGS) -o psign psign.o ../common/librt.a |
88 |
|
|
89 |
< |
d48c: d48c.o color.o resolu.o |
90 |
< |
cc $(CFLAGS) -o d48c d48c.o color.o resolu.o |
89 |
> |
d48c: d48c.o |
90 |
> |
cc $(CFLAGS) -o d48c d48c.o ../common/librt.a |
91 |
|
|
92 |
< |
ra_pr: ra_pr.o ciq.o cut.o closest.o color.o colrops.o resolu.o ealloc.o \ |
99 |
< |
header.o biq.o |
92 |
> |
ra_pr: ra_pr.o ciq.o cut.o closest.o biq.o |
93 |
|
cc $(CFLAGS) -o ra_pr ra_pr.o ciq.o cut.o closest.o \ |
94 |
< |
color.o colrops.o resolu.o ealloc.o header.o biq.o -lm |
94 |
> |
biq.o ../common/librt.a -lm |
95 |
|
|
96 |
< |
ra_pr24: ra_pr24.o color.o colrops.o resolu.o header.o |
97 |
< |
cc $(CFLAGS) -o ra_pr24 ra_pr24.o color.o colrops.o resolu.o \ |
105 |
< |
header.o -lm |
96 |
> |
ra_pr24: ra_pr24.o |
97 |
> |
cc $(CFLAGS) -o ra_pr24 ra_pr24.o ../common/librt.a -lm |
98 |
|
|
99 |
< |
ra_t8: ra_t8.o ciq.o cut.o closest.o color.o colrops.o resolu.o \ |
108 |
< |
ealloc.o header.o biq.o |
99 |
> |
ra_t8: ra_t8.o ciq.o cut.o closest.o biq.o |
100 |
|
cc $(CFLAGS) -o ra_t8 ra_t8.o ciq.o cut.o closest.o \ |
101 |
< |
color.o colrops.o resolu.o ealloc.o header.o biq.o -lm |
101 |
> |
biq.o ../common/librt.a -lm |
102 |
|
|
103 |
< |
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 \ |
114 |
< |
resolu.o ealloc.o header.o -lm |
103 |
> |
ra_t16: ra_t16.o |
104 |
> |
cc $(CFLAGS) -o ra_t16 ra_t16.o ../common/librt.a -lm |
105 |
|
|
106 |
|
ra_im: ra_im.o |
107 |
|
cc $(CFLAGS) -n -o ra_im ra_im.o |
108 |
|
|
109 |
< |
ra_bn: ra_bn.o color.o colrops.o resolu.o header.o |
110 |
< |
cc $(CFLAGS) -o ra_bn ra_bn.o color.o colrops.o resolu.o header.o -lm |
109 |
> |
ra_bn: ra_bn.o |
110 |
> |
cc $(CFLAGS) -o ra_bn ra_bn.o ../common/librt.a -lm |
111 |
|
|
112 |
< |
x10image: ximage.o color.o colrops.o resolu.o ciq.o cut.o closest.o \ |
113 |
< |
ealloc.o xraster.o header.o biq.o image.o fvect.o |
114 |
< |
cc $(CFLAGS) -o x10image ximage.o color.o colrops.o resolu.o xraster.o \ |
125 |
< |
header.o ciq.o cut.o closest.o ealloc.o biq.o image.o fvect.o -lX -lm |
112 |
> |
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 |
|
|
116 |
< |
ximage: x11image.o color.o colrops.o resolu.o ciq.o cut.o closest.o \ |
117 |
< |
ealloc.o x11raster.o header.o biq.o image.o fvect.o |
118 |
< |
cc $(CFLAGS) -o ximage x11image.o color.o colrops.o resolu.o \ |
130 |
< |
x11raster.o header.o ciq.o cut.o closest.o ealloc.o biq.o image.o \ |
131 |
< |
fvect.o -lX11 -lm |
116 |
> |
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 |
|
|
120 |
< |
prot: prot.o color.o resolu.o header.o |
121 |
< |
cc $(CFLAGS) -o prot prot.o color.o resolu.o header.o |
120 |
> |
prot: prot.o |
121 |
> |
cc $(CFLAGS) -o prot prot.o ../common/librt.a |
122 |
|
|
123 |
< |
pflip: pflip.o color.o resolu.o header.o |
124 |
< |
cc $(CFLAGS) -o pflip pflip.o color.o resolu.o header.o |
123 |
> |
pflip: pflip.o |
124 |
> |
cc $(CFLAGS) -o pflip pflip.o ../common/librt.a |
125 |
|
|
126 |
< |
panim: panim.o color.o colrops.o resolu.o header.o client/libclient.a |
127 |
< |
cc $(CFLAGS) -o panim panim.o color.o colrops.o resolu.o header.o \ |
128 |
< |
client/libclient.a -lrpcsvc -lm |
126 |
> |
panim: panim.o client/libclient.a |
127 |
> |
cc $(CFLAGS) -o panim panim.o \ |
128 |
> |
../common/librt.a client/libclient.a -lrpcsvc -lm |
129 |
|
|
130 |
< |
pcomb: pcomb.o calexpr.o calfunc.o caldefn.o color.o resolu.o \ |
144 |
< |
header.o ealloc.o savestr.o |
130 |
> |
pcomb: pcomb.o calexpr.o calfunc.o caldefn.o |
131 |
|
cc $(CFLAGS) -o pcomb pcomb.o calexpr.o calfunc.o caldefn.o \ |
132 |
< |
color.o resolu.o header.o ealloc.o savestr.o -lm |
132 |
> |
../common/librt.a -lm |
133 |
|
|
134 |
< |
pinterp: pinterp.o image.o header.o color.o resolu.o fvect.o mat4.o |
135 |
< |
cc $(CFLAGS) -o pinterp pinterp.o image.o header.o mat4.o \ |
150 |
< |
fvect.o color.o resolu.o -lm |
134 |
> |
pinterp: pinterp.o |
135 |
> |
cc $(CFLAGS) -o pinterp pinterp.o ../common/librt.a -lm |
136 |
|
|
137 |
< |
ra_pixar: ra_pixar.o ra_pixar.c color.o resolu.o header.o |
138 |
< |
cc $(CFLAGS) $(PIXAR_INCLUDE) -o $@ ra_pixar.o color.o resolu.o header.o \ |
137 |
> |
ra_pixar: ra_pixar.o ra_pixar.c |
138 |
> |
cc $(CFLAGS) $(PIXAR_INCLUDE) -o $@ ra_pixar.o ../common/librt.a \ |
139 |
|
$(PIXAR_LIB) |
140 |
|
|
141 |
|
calexpr.o: calexpr.c |
150 |
|
ra_pixar.o: ra_pixar.c |
151 |
|
cc $(CFLAGS) $(PIXAR_INCLUDE) -c ra_pixar.c |
152 |
|
|
153 |
< |
xshowtrace: xshowtrace.o image.o resolu.o header.o fvect.o x11findwind.o |
154 |
< |
cc $(CFLAGS) -o xshowtrace xshowtrace.o image.o resolu.o header.o \ |
155 |
< |
fvect.o x11findwind.o -lm -lX11 |
153 |
> |
xshowtrace: xshowtrace.o x11findwind.o |
154 |
> |
cc $(CFLAGS) -o xshowtrace xshowtrace.o \ |
155 |
> |
x11findwind.o ../common/librt.a -lm -lX11 |
156 |
|
|
157 |
< |
fropen.o: fropen.c |
158 |
< |
cc $(CFLAGS) -DDEFPATH=\":$(LIBDIR)\" -c fropen.c |
157 |
> |
xshowtrace.o: ../common/view.h ../common/standard.h \ |
158 |
> |
../common/mat4.h ../common/fvect.h |
159 |
|
|
160 |
< |
xshowtrace.o: view.h standard.h mat4.h fvect.h |
160 |
> |
pcomb.o calexpr.o calfunc.o caldefn.o: ../common/calcomp.h |
161 |
|
|
162 |
< |
mat4.o: mat4.h fvect.h |
162 |
> |
panim.o: client/scan.h ../common/color.h ../common/random.h |
163 |
|
|
164 |
< |
pcomb.o calexpr.o calfunc.o caldefn.o: calcomp.h |
164 |
> |
pf2.o bnoise.o ra_t16.o: ../common/random.h |
165 |
|
|
181 |
– |
panim.o: client/scan.h color.h random.h |
182 |
– |
|
183 |
– |
pf2.o bnoise.o: random.h |
184 |
– |
|
185 |
– |
ra_t16.o: random.h |
186 |
– |
|
166 |
|
pfilt.o pf2.o ttyimage.o t4027.o mt160r.o psum.o psign.o prot.o ra_pr24.o \ |
167 |
|
d48c.o aedimage.o pcompos.o color.o resolu.o colrops.o pflip.o \ |
168 |
< |
greyscale.o ra_t8.o glimage.o \ |
169 |
< |
ra_bn.o ra_t16.o ra_pr.o pvalue.o pcomb.o pinterp.o ximage.o: color.h |
168 |
> |
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 |
|
|
171 |
< |
prot.o biq.o ciq.o pinterp.o \ |
172 |
< |
ximage.o image.o: standard.h mat4.h fvect.h |
171 |
> |
prot.o biq.o ciq.o pinterp.o ximage.o \ |
172 |
> |
image.o: ../common/standard.h ../common/mat4.h ../common/fvect.h |
173 |
|
|
174 |
|
ximage.o x11raster.o: xraster.h |
175 |
|
|
176 |
|
x11image.o x11raster.o: x11raster.h |
177 |
|
|
178 |
< |
ra_t8.o: targa.h |
178 |
> |
ra_t8.o: ../common/targa.h |
179 |
|
|
201 |
– |
fvect.o: fvect.h |
202 |
– |
|
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 |
< |
pinterp.o ximage.o image.o: view.h |
184 |
> |
pinterp.o ximage.o image.o: ../common/view.h |