1 |
– |
# |
2 |
– |
# SCCSid "$SunId$ LBL" |
1 |
|
# Compiles for image processing and display programs |
2 |
+ |
# SCCSid "$SunId$ LBL" |
3 |
|
# |
4 |
|
|
5 |
|
ARCH = sun |
6 |
|
OPT = -O |
7 |
< |
MACH = -DSTRUCTASSIGN -DBSD |
7 |
> |
MACH = -DBSD |
8 |
> |
SPECIAL = aed tiff |
9 |
|
CFLAGS = $(OPT) $(MACH) -I../common -L../lib |
10 |
|
|
11 |
|
INSTDIR = /usr/local/bin |
16 |
|
PIXAR_LIB= -L/usr/pixar/host/lib -lpirl -lpicio -lchad -lpixar -lm |
17 |
|
|
18 |
|
PROGS = pfilt ttyimage oki20c paintjet mt160r getinfo psign \ |
19 |
< |
greyscale pvalue pcompos colorscale prot ra_pr ra_pr24 \ |
19 |
> |
greyscale pvalue pcompos colorscale protate ra_pr ra_pr24 \ |
20 |
|
ra_t8 ra_bn ra_t16 pcomb pinterp ximage xshowtrace pflip ra_ppm \ |
21 |
|
ra_rgbe ra_pict |
22 |
|
|
23 |
< |
all: $(PROGS) |
23 |
> |
all: $(PROGS) $(SPECIAL) |
24 |
|
|
25 |
|
x10: x10image |
26 |
|
cp x10image $(INSTDIR) |
28 |
|
aed: aedimage |
29 |
|
cp aedimage $(INSTDIR) |
30 |
|
|
31 |
+ |
sgi: glimage |
32 |
+ |
cp glimage $(INSTDIR) |
33 |
+ |
|
34 |
|
tiff: ra_tiff |
35 |
|
cp ra_tiff $(INSTDIR) |
36 |
|
|
37 |
|
sun: |
38 |
|
|
39 |
< |
install: $(PROGS) normpat.csh falsecolor.csh |
39 |
> |
install: $(PROGS) $(SPECIAL) normpat.csh falsecolor.csh |
40 |
|
cp $(PROGS) $(INSTDIR) |
41 |
|
cp normpat.csh $(INSTDIR)/normpat |
42 |
|
cp falsecolor.csh $(INSTDIR)/falsecolor |
43 |
|
chmod 755 $(INSTDIR)/normpat $(INSTDIR)/falsecolor |
44 |
|
|
45 |
|
clean: |
46 |
< |
set nonomatch; rm -f $(PROGS) *.o core |
46 |
> |
set nonomatch; rm -f x10image aedimage glimage ra_tiff \ |
47 |
> |
$(PROGS) *.o core |
48 |
|
|
49 |
|
pfilt: pfilt.o pf2.o pf3.o |
50 |
|
cc $(CFLAGS) -o pfilt pfilt.o pf2.o pf3.o -lrt -lm |
133 |
|
cc $(CFLAGS) -o ximage x11image.o x11raster.o \ |
134 |
|
ciq.o cut.o closest.o biq.o -lX11 -lrt -lm |
135 |
|
|
136 |
< |
prot: prot.o |
137 |
< |
cc $(CFLAGS) -o prot prot.o -lrt |
136 |
> |
protate: protate.o |
137 |
> |
cc $(CFLAGS) -o protate protate.o -lrt |
138 |
|
|
139 |
|
pflip: pflip.o |
140 |
|
cc $(CFLAGS) -o pflip pflip.o -lrt |
179 |
|
|
180 |
|
pf2.o bnoise.o ra_t16.o: ../common/random.h |
181 |
|
|
182 |
< |
pfilt.o pf2.o ttyimage.o t4027.o mt160r.o psum.o psign.o prot.o ra_pr24.o \ |
183 |
< |
d48c.o aedimage.o pcompos.o color.o resolu.o colrops.o pflip.o \ |
184 |
< |
greyscale.o ra_t8.o glimage.o ra_bn.o ra_t16.o \ |
182 |
> |
pfilt.o pf2.o ttyimage.o t4027.o mt160r.o psum.o psign.o protate.o \ |
183 |
> |
ra_pr24.o d48c.o aedimage.o pcompos.o color.o resolu.o colrops.o pflip.o \ |
184 |
> |
greyscale.o ra_t8.o glimage.o ra_bn.o ra_t16.o ra_tiff.o ra_pict.o \ |
185 |
|
ra_pr.o pvalue.o pcomb.o pinterp.o ximage.o: ../common/color.h |
186 |
|
|
187 |
< |
prot.o biq.o ciq.o pinterp.o ximage.o \ |
187 |
> |
pvalue.o protate.o biq.o ciq.o pinterp.o ximage.o \ |
188 |
|
image.o: ../common/standard.h ../common/mat4.h ../common/fvect.h |
189 |
|
|
190 |
|
ximage.o xraster.o: xraster.h |
200 |
|
pinterp.o ximage.o image.o: ../common/view.h |
201 |
|
|
202 |
|
ra_pict.o: pict.h |
203 |
+ |
|
204 |
+ |
mt160r.o oki20c.o paintjet.o pcomb.o pcompos.o pfilt.o pflip.o \ |
205 |
+ |
pinterp.o protate.o pvalue.o ra_bn.o ra_pict.o ra_pixar.o \ |
206 |
+ |
ra_ppm.o ra_pr.o ra_pr24.o ra_rgbe.o ra_t16.o ra_t8.o glimage.o \ |
207 |
+ |
ra_tiff.o ttyimage.o ximage.o x11image.o: ../common/resolu.h |