ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/Rmakefile
Revision: 1.42
Committed: Thu Jul 18 11:19:19 1991 UTC (32 years, 9 months ago) by greg
Branch: MAIN
Changes since 1.41: +1 -1 lines
Log Message:
*** empty log message ***

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.30 MACH = -DSTRUCTASSIGN -f68881 /usr/lib/libm.il -DIEEE -DBSD
9 greg 1.40 CFLAGS = $(OPT) $(MACH) -I../common
10 greg 1.1
11 greg 1.30 INSTDIR = /lumen/lumen/ray/bin.sun3
12 greg 1.1
13 greg 1.30 LIBDIR = /lumen/lumen/ray/lib
14 greg 1.28
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.29 PROGS = pfilt ttyimage oki20c paintjet mt160r getinfo psign \
19 greg 1.31 greyscale pvalue pcompos colorscale prot ra_pr ra_pr24 \
20 greg 1.34 ra_t8 ra_bn ra_t16 pcomb pinterp ximage xshowtrace pflip
21 greg 1.1
22     all: $(PROGS)
23 greg 1.29
24 greg 1.34 x10: x10image
25     cp x10image $(INSTDIR)
26 greg 1.29
27     aed: aedimage
28     cp aedimage $(INSTDIR)
29    
30     sun:
31 greg 1.1
32 greg 1.38 install: $(PROGS) normpat.csh falsecolor.csh
33 greg 1.1 cp $(PROGS) $(INSTDIR)
34 greg 1.25 cp normpat.csh $(INSTDIR)/normpat
35 greg 1.38 cp falsecolor.csh $(INSTDIR)/falsecolor
36     chmod 755 $(INSTDIR)/normpat $(INSTDIR)/falsecolor
37 greg 1.1
38 greg 1.28 clean:
39 greg 1.42 set nonomatch; rm -f $(PROGS) aedimage x10image *.o core
40 greg 1.28
41 greg 1.40 pfilt: pfilt.o pf2.o pf3.o
42     cc $(CFLAGS) -o pfilt pfilt.o pf2.o pf3.o ../common/librt.a -lm
43 greg 1.1
44 greg 1.40 ttyimage: ttyimage.o
45     cc $(CFLAGS) -o ttyimage ttyimage.o ../common/librt.a -lm
46 greg 1.1
47 greg 1.40 t4027: t4027.o
48     cc $(CFLAGS) -o t4027 t4027.o ../common/librt.a
49 greg 1.1
50 greg 1.40 glimage: glimage.o
51     cc $(CFLAGS) -o glimage glimage.o ../common/librt.a -lgl_s -lm
52 greg 1.16
53 greg 1.40 aedimage: aedimage.o ciq.o cut.o closest.o biq.o
54     cc $(CFLAGS) -o aedimage aedimage.o ciq.o cut.o closest.o \
55     biq.o ../common/librt.a -lm
56 greg 1.1
57 greg 1.40 oki20c: oki20c.o
58     cc $(CFLAGS) -o oki20c oki20c.o ../common/librt.a -lm
59 greg 1.7
60 greg 1.40 paintjet: paintjet.o
61     cc $(CFLAGS) -o paintjet paintjet.o ../common/librt.a -lm
62 greg 1.1
63 greg 1.40 mt160r: mt160r.o
64     cc $(CFLAGS) -o mt160r mt160r.o ../common/librt.a -lm
65 greg 1.1
66 greg 1.40 getinfo: getinfo.o
67     cc $(CFLAGS) -n -o getinfo getinfo.o ../common/librt.a
68 greg 1.1
69 greg 1.40 greyscale: greyscale.o
70     cc $(CFLAGS) -o greyscale greyscale.o ../common/librt.a -lm
71 greg 1.1
72 greg 1.40 colorscale: colorscale.o
73     cc $(CFLAGS) -o colorscale colorscale.o ../common/librt.a
74 greg 1.1
75 greg 1.40 pvalue: pvalue.o
76     cc $(CFLAGS) -o pvalue pvalue.o ../common/librt.a -lm
77 greg 1.1
78 greg 1.40 psum: psum.o
79     cc $(CFLAGS) -o psum psum.o ../common/librt.a
80 greg 1.1
81 greg 1.40 pcompos: pcompos.o
82     cc $(CFLAGS) -o pcompos pcompos.o ../common/librt.a
83 greg 1.1
84 greg 1.40 psign: psign.o
85     cc $(CFLAGS) -o psign psign.o ../common/librt.a
86 greg 1.1
87 greg 1.40 d48c: d48c.o
88     cc $(CFLAGS) -o d48c d48c.o ../common/librt.a
89 greg 1.1
90 greg 1.40 ra_pr: ra_pr.o ciq.o cut.o closest.o biq.o
91 greg 1.1 cc $(CFLAGS) -o ra_pr ra_pr.o ciq.o cut.o closest.o \
92 greg 1.40 biq.o ../common/librt.a -lm
93 greg 1.1
94 greg 1.40 ra_pr24: ra_pr24.o
95     cc $(CFLAGS) -o ra_pr24 ra_pr24.o ../common/librt.a -lm
96 greg 1.19
97 greg 1.40 ra_t8: ra_t8.o ciq.o cut.o closest.o biq.o
98 greg 1.1 cc $(CFLAGS) -o ra_t8 ra_t8.o ciq.o cut.o closest.o \
99 greg 1.40 biq.o ../common/librt.a -lm
100 greg 1.1
101 greg 1.40 ra_t16: ra_t16.o
102     cc $(CFLAGS) -o ra_t16 ra_t16.o ../common/librt.a -lm
103 greg 1.1
104     ra_im: ra_im.o
105     cc $(CFLAGS) -n -o ra_im ra_im.o
106    
107 greg 1.40 ra_bn: ra_bn.o
108     cc $(CFLAGS) -o ra_bn ra_bn.o ../common/librt.a -lm
109 greg 1.1
110 greg 1.40 x10image: ximage.o ciq.o cut.o closest.o xraster.o biq.o
111     cc $(CFLAGS) -o x10image ximage.o xraster.o \
112     ciq.o cut.o closest.o biq.o -lX ../common/librt.a -lm
113 greg 1.1
114 greg 1.40 ximage: x11image.o ciq.o cut.o closest.o x11raster.o biq.o
115     cc $(CFLAGS) -o ximage x11image.o x11raster.o \
116     ciq.o cut.o closest.o biq.o -lX11 ../common/librt.a -lm
117 greg 1.17
118 greg 1.40 prot: prot.o
119     cc $(CFLAGS) -o prot prot.o ../common/librt.a
120 greg 1.1
121 greg 1.40 pflip: pflip.o
122     cc $(CFLAGS) -o pflip pflip.o ../common/librt.a
123 greg 1.26
124 greg 1.40 panim: panim.o client/libclient.a
125     cc $(CFLAGS) -o panim panim.o \
126     ../common/librt.a client/libclient.a -lrpcsvc -lm
127 greg 1.1
128 greg 1.41 pcomb: pcomb.o
129     cc $(CFLAGS) -o pcomb pcomb.o ../common/librt.a -lm
130 greg 1.1
131 greg 1.40 pinterp: pinterp.o
132     cc $(CFLAGS) -o pinterp pinterp.o ../common/librt.a -lm
133 greg 1.10
134 greg 1.40 ra_pixar: ra_pixar.o ra_pixar.c
135     cc $(CFLAGS) $(PIXAR_INCLUDE) -o $@ ra_pixar.o ../common/librt.a \
136 greg 1.4 $(PIXAR_LIB)
137    
138     ra_pixar.o: ra_pixar.c
139     cc $(CFLAGS) $(PIXAR_INCLUDE) -c ra_pixar.c
140 greg 1.1
141 greg 1.40 xshowtrace: xshowtrace.o x11findwind.o
142     cc $(CFLAGS) -o xshowtrace xshowtrace.o \
143     x11findwind.o ../common/librt.a -lm -lX11
144 greg 1.28
145 greg 1.40 xshowtrace.o: ../common/view.h ../common/standard.h \
146     ../common/mat4.h ../common/fvect.h
147 greg 1.18
148 greg 1.41 pcomb.o: ../common/calcomp.h
149 greg 1.18
150 greg 1.40 panim.o: client/scan.h ../common/color.h ../common/random.h
151 greg 1.24
152 greg 1.40 pf2.o bnoise.o ra_t16.o: ../common/random.h
153 greg 1.1
154 greg 1.19 pfilt.o pf2.o ttyimage.o t4027.o mt160r.o psum.o psign.o prot.o ra_pr24.o \
155 greg 1.26 d48c.o aedimage.o pcompos.o color.o resolu.o colrops.o pflip.o \
156 greg 1.40 greyscale.o ra_t8.o glimage.o ra_bn.o ra_t16.o \
157     ra_pr.o pvalue.o pcomb.o pinterp.o ximage.o: ../common/color.h
158 greg 1.1
159 greg 1.40 prot.o biq.o ciq.o pinterp.o ximage.o \
160     image.o: ../common/standard.h ../common/mat4.h ../common/fvect.h
161 greg 1.1
162 greg 1.17 ximage.o x11raster.o: xraster.h
163    
164     x11image.o x11raster.o: x11raster.h
165 greg 1.1
166 greg 1.40 ra_t8.o: ../common/targa.h
167 greg 1.1
168     aedimage.o ximage.o ra_t8.o ra_pr.o: pic.h
169    
170     ciq.o cut.o closest.o biq.o: pic.h ciq.h
171    
172 greg 1.40 pinterp.o ximage.o image.o: ../common/view.h