4 |
|
# Compiles for pixel file plotters. |
5 |
|
# |
6 |
|
|
7 |
< |
CFLAGS = -O -f68881 /usr/lib/f68881.il |
7 |
> |
OPT = -O |
8 |
> |
MACH = -f68881 /usr/lib/f68881.il -DIEEE |
9 |
> |
CFLAGS = $(OPT) $(MACH) |
10 |
|
|
11 |
|
INSTDIR = /usr/local/ray |
12 |
|
|
13 |
< |
CALDEFS = -DIEEE -DFUNCTION -DVARIABLE -DRCONST -DBIGLIB |
13 |
> |
CALDEFS = -DFUNCTION -DVARIABLE -DRCONST -DBIGLIB |
14 |
|
|
15 |
< |
PROGS = pfilt ttyimage aedimage oki20c mt160r getinfo psign \ |
15 |
> |
PIXAR_INCLUDE= -I/usr/pixar/include |
16 |
> |
PIXAR_LIB= -L/usr/pixar/host/lib -lpirl -lpicio -lchad -lpixar -lm |
17 |
> |
|
18 |
> |
PROGS = pfilt ttyimage aedimage oki20c paintjet mt160r getinfo psign \ |
19 |
|
greyscale pvalue pcompos colorscale ra_pr ximage prot \ |
20 |
< |
panim ra_t8 ra_bn ra_t16 pcomb |
20 |
> |
panim ra_t8 ra_bn ra_t16 pcomb pinterp |
21 |
|
|
22 |
|
all: $(PROGS) |
23 |
|
|
33 |
|
t4027: t4027.o color.o |
34 |
|
cc $(CFLAGS) -o t4027 t4027.o color.o |
35 |
|
|
36 |
< |
aedimage: aedimage.o color.o ciq.o cut.o closest.o ealloc.o biq.o |
36 |
> |
aedimage: aedimage.o color.o ciq.o cut.o closest.o ealloc.o biq.o header.o |
37 |
|
cc $(CFLAGS) -o aedimage aedimage.o color.o ciq.o cut.o \ |
38 |
< |
closest.o ealloc.o biq.o -lm |
38 |
> |
closest.o ealloc.o biq.o header.o -lm |
39 |
|
|
40 |
|
oki20c: oki20c.o color.o header.o |
41 |
|
cc $(CFLAGS) -o oki20c oki20c.o color.o header.o |
42 |
|
|
43 |
+ |
paintjet: paintjet.o color.o header.o |
44 |
+ |
cc $(CFLAGS) -o paintjet paintjet.o color.o header.o |
45 |
+ |
|
46 |
|
mt160r: mt160r.o color.o |
47 |
|
cc $(CFLAGS) -o mt160r mt160r.o color.o |
48 |
|
|
84 |
|
ra_im: ra_im.o |
85 |
|
cc $(CFLAGS) -n -o ra_im ra_im.o |
86 |
|
|
87 |
< |
ra_bn: ra_bn.o |
87 |
> |
ra_bn: ra_bn.o color.o header.o |
88 |
|
cc $(CFLAGS) -o ra_bn ra_bn.o color.o header.o -lm |
89 |
|
|
90 |
|
ximage: ximage.o color.o ciq.o cut.o closest.o ealloc.o \ |
104 |
|
cc $(CFLAGS) -o pcomb pcomb.o calexpr.o calfunc.o caldefn.o \ |
105 |
|
color.o header.o ealloc.o savestr.o -lm |
106 |
|
|
107 |
+ |
pinterp: pinterp.o image.o header.o color.o fvect.o |
108 |
+ |
cc $(CFLAGS) -o pinterp pinterp.o image.o header.o fvect.o color.o -lm |
109 |
+ |
|
110 |
+ |
ra_pixar: ra_pixar.o ra_pixar.c color.o header.o |
111 |
+ |
cc $(CFLAGS) $(PIXAR_INCLUDE) -o $@ ra_pixar.o color.o header.o \ |
112 |
+ |
$(PIXAR_LIB) |
113 |
+ |
|
114 |
|
calexpr.o: calexpr.c |
115 |
|
cc $(CFLAGS) $(CALDEFS) -c calexpr.c |
116 |
|
|
120 |
|
caldefn.o: caldefn.c |
121 |
|
cc $(CFLAGS) $(CALDEFS) -c caldefn.c |
122 |
|
|
123 |
+ |
ra_pixar.o: ra_pixar.c |
124 |
+ |
cc $(CFLAGS) $(PIXAR_INCLUDE) -c ra_pixar.c |
125 |
+ |
|
126 |
|
pcomb.o calexpr.o calfunc.o caldefn.o: calcomp.h |
127 |
|
|
128 |
|
panim.o: scan.h clntrpc.h color.h random.h |
129 |
|
|
130 |
|
pf2.o bnoise.o: random.h |
131 |
|
|
132 |
+ |
ra_t16.o: random.h |
133 |
+ |
|
134 |
|
pfilt.o pf2.o ttyimage.o t4027.o mt160r.o psum.o psign.o prot.o \ |
135 |
|
d48c.o aedimage.o pcompos.o color.o greyscale.o ra_t8.o \ |
136 |
< |
ra_pr.o pvalue.o image.o pcomb.o: color.h |
136 |
> |
ra_bn.o ra_t16.o ra_pr.o pvalue.o pcomb.o pinterp.o: color.h |
137 |
|
|
138 |
< |
ximage.o image.o: standard.h fvect.h |
138 |
> |
pinterp.o ximage.o image.o: standard.h fvect.h |
139 |
|
|
140 |
|
ximage.o: xraster.h |
141 |
|
|
147 |
|
|
148 |
|
ciq.o cut.o closest.o biq.o: pic.h ciq.h |
149 |
|
|
150 |
< |
ximage.o image.o: view.h |
150 |
> |
pinterp.o ximage.o image.o: view.h |