ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/Rmakefile
(Generate patch)

Comparing ray/src/px/Rmakefile (file contents):
Revision 1.44 by greg, Thu Aug 15 13:35:10 1991 UTC vs.
Revision 1.50 by greg, Wed Oct 23 09:33:13 1991 UTC

# Line 3 | Line 3
3   #  Compiles for image processing and display programs
4   #
5  
6 + ARCH = sun
7   OPT = -O
8 < MACH = -DSTRUCTASSIGN -f68881 /usr/lib/libm.il -DIEEE -DBSD
9 < CFLAGS = $(OPT) $(MACH) -I../common
8 > MACH = -DSTRUCTASSIGN -DBSD
9 > CFLAGS = $(OPT) $(MACH) -I../common -L../lib
10  
11 < INSTDIR = /lumen/lumen/ray/bin.sun3
11 > INSTDIR = /usr/local/bin
12  
13   LIBDIR = /usr/local/lib/ray
14  
# Line 16 | Line 17 | PIXAR_LIB=     -L/usr/pixar/host/lib -lpirl -lpicio -lchad
17  
18   PROGS = pfilt ttyimage oki20c paintjet mt160r getinfo psign \
19   greyscale pvalue pcompos colorscale prot ra_pr ra_pr24 \
20 < ra_t8 ra_bn ra_t16 pcomb pinterp ximage xshowtrace pflip ra_tiff
20 > ra_t8 ra_bn ra_t16 pcomb pinterp ximage xshowtrace pflip ra_ppm \
21 > ra_rgbe ra_pict
22  
23   all:    $(PROGS)
24  
# Line 26 | Line 28 | x10:   x10image
28   aed:    aedimage
29          cp aedimage $(INSTDIR)
30  
31 + tiff:   ra_tiff
32 +        cp ra_tiff $(INSTDIR)
33 +
34   sun:
35  
36   install:        $(PROGS) normpat.csh falsecolor.csh
# Line 38 | Line 43 | clean:
43          set nonomatch; rm -f $(PROGS) *.o core
44  
45   pfilt:  pfilt.o pf2.o pf3.o
46 <        cc $(CFLAGS) -o pfilt pfilt.o pf2.o pf3.o ../common/librt.a -lm
46 >        cc $(CFLAGS) -o pfilt pfilt.o pf2.o pf3.o -lrt -lm
47  
48   ttyimage:       ttyimage.o
49 <        cc $(CFLAGS) -o ttyimage ttyimage.o ../common/librt.a -lm
49 >        cc $(CFLAGS) -o ttyimage ttyimage.o -lrt -lm
50  
51   t4027:  t4027.o
52 <        cc $(CFLAGS) -o t4027 t4027.o ../common/librt.a
52 >        cc $(CFLAGS) -o t4027 t4027.o -lrt
53  
54   glimage:        glimage.o
55 <        cc $(CFLAGS) -o glimage glimage.o ../common/librt.a -lgl_s -lm
55 >        cc $(CFLAGS) -o glimage glimage.o -lrt -lgl_s -lm
56  
57   aedimage:       aedimage.o ciq.o cut.o closest.o biq.o
58          cc $(CFLAGS) -o aedimage aedimage.o ciq.o cut.o closest.o \
59 < biq.o ../common/librt.a -lm
59 > biq.o -lrt -lm
60  
61   oki20c: oki20c.o
62 <        cc $(CFLAGS) -o oki20c oki20c.o ../common/librt.a -lm
62 >        cc $(CFLAGS) -o oki20c oki20c.o -lrt -lm
63  
64   paintjet:       paintjet.o
65 <        cc $(CFLAGS) -o paintjet paintjet.o ../common/librt.a -lm
65 >        cc $(CFLAGS) -o paintjet paintjet.o -lrt -lm
66  
67   mt160r: mt160r.o
68 <        cc $(CFLAGS) -o mt160r mt160r.o ../common/librt.a -lm
68 >        cc $(CFLAGS) -o mt160r mt160r.o -lrt -lm
69  
70   getinfo:        getinfo.o
71 <        cc $(CFLAGS) -n -o getinfo getinfo.o ../common/librt.a
71 >        cc $(CFLAGS) -n -o getinfo getinfo.o -lrt
72  
73   greyscale:      greyscale.o
74 <        cc $(CFLAGS) -o greyscale greyscale.o ../common/librt.a -lm
74 >        cc $(CFLAGS) -o greyscale greyscale.o -lrt -lm
75  
76   colorscale:     colorscale.o
77 <        cc $(CFLAGS) -o colorscale colorscale.o ../common/librt.a
77 >        cc $(CFLAGS) -o colorscale colorscale.o -lrt
78  
79   pvalue: pvalue.o
80 <        cc $(CFLAGS) -o pvalue pvalue.o ../common/librt.a -lm
80 >        cc $(CFLAGS) -o pvalue pvalue.o -lrt -lm
81  
82   psum:   psum.o
83 <        cc $(CFLAGS) -o psum psum.o ../common/librt.a
83 >        cc $(CFLAGS) -o psum psum.o -lrt
84  
85   pcompos:        pcompos.o
86 <        cc $(CFLAGS) -o pcompos pcompos.o ../common/librt.a
86 >        cc $(CFLAGS) -o pcompos pcompos.o -lrt
87  
88   psign:  psign.o
89 <        cc $(CFLAGS) -o psign psign.o ../common/librt.a
89 >        cc $(CFLAGS) -o psign psign.o -lrt
90  
91   d48c:   d48c.o
92 <        cc $(CFLAGS) -o d48c d48c.o ../common/librt.a
92 >        cc $(CFLAGS) -o d48c d48c.o -lrt
93  
94   ra_pr:  ra_pr.o ciq.o cut.o closest.o biq.o
95          cc $(CFLAGS) -o ra_pr ra_pr.o ciq.o cut.o closest.o \
96 < biq.o ../common/librt.a -lm
96 > biq.o -lrt -lm
97  
98   ra_pr24:        ra_pr24.o
99 <        cc $(CFLAGS) -o ra_pr24 ra_pr24.o ../common/librt.a -lm
99 >        cc $(CFLAGS) -o ra_pr24 ra_pr24.o -lrt -lm
100  
101 + ra_ppm:         ra_ppm.o
102 +        cc $(CFLAGS) -o ra_ppm ra_ppm.o -lrt -lm
103 +
104   ra_t8:  ra_t8.o ciq.o cut.o closest.o biq.o
105          cc $(CFLAGS) -o ra_t8 ra_t8.o ciq.o cut.o closest.o \
106 < biq.o ../common/librt.a -lm
106 > biq.o -lrt -lm
107  
108   ra_t16: ra_t16.o
109 <        cc $(CFLAGS) -o ra_t16 ra_t16.o ../common/librt.a -lm
109 >        cc $(CFLAGS) -o ra_t16 ra_t16.o -lrt -lm
110  
111   ra_im: ra_im.o
112          cc $(CFLAGS) -n -o ra_im ra_im.o
113  
114   ra_bn: ra_bn.o
115 <        cc $(CFLAGS) -o ra_bn ra_bn.o ../common/librt.a -lm
115 >        cc $(CFLAGS) -o ra_bn ra_bn.o -lrt -lm
116  
117 + ra_rgbe:        ra_rgbe.o
118 +        cc $(CFLAGS) -o ra_rgbe ra_rgbe.o -lrt -lm
119 +
120 + ra_pict:    ra_pict.o
121 +        cc $(CFLAGS) -o ra_pict ra_pict.o -lrt -lm
122 +
123 +
124   x10image:       ximage.o ciq.o cut.o closest.o xraster.o biq.o
125          cc $(CFLAGS) -o x10image ximage.o xraster.o \
126 < ciq.o cut.o closest.o biq.o -lX ../common/librt.a -lm
126 > ciq.o cut.o closest.o biq.o -lX -lrt -lm
127  
128   ximage: x11image.o ciq.o cut.o closest.o x11raster.o biq.o
129          cc $(CFLAGS) -o ximage x11image.o x11raster.o \
130 < ciq.o cut.o closest.o biq.o -lX11 ../common/librt.a -lm
130 > ciq.o cut.o closest.o biq.o -lX11 -lrt -lm
131  
132   prot:           prot.o
133 <        cc $(CFLAGS) -o prot prot.o ../common/librt.a
133 >        cc $(CFLAGS) -o prot prot.o -lrt
134  
135   pflip:          pflip.o
136 <        cc $(CFLAGS) -o pflip pflip.o ../common/librt.a
136 >        cc $(CFLAGS) -o pflip pflip.o -lrt
137  
138   panim:  panim.o client/libclient.a
139          cc $(CFLAGS) -o panim panim.o \
140 < ../common/librt.a client/libclient.a -lrpcsvc -lm
140 > -lrt client/libclient.a -lrpcsvc -lm
141  
142   pcomb:  pcomb.o
143 <        cc $(CFLAGS) -o pcomb pcomb.o ../common/librt.a -lm
143 >        cc $(CFLAGS) -o pcomb pcomb.o -lrt -lm
144  
145   pinterp:        pinterp.o
146 <        cc $(CFLAGS) -o pinterp pinterp.o ../common/librt.a -lm
146 >        cc $(CFLAGS) -o pinterp pinterp.o -lrt -lm
147  
148 < ra_tiff:        ra_tiff.o libtiff/libtiff.a
149 <        cc $(CFLAGS) -o ra_tiff ra_tiff.o ../common/librt.a \
135 < libtiff/libtiff.a -lm
148 > ra_tiff:        ra_tiff.o ../lib/libtiff.a
149 >        cc $(CFLAGS) -o ra_tiff ra_tiff.o -lrt -ltiff -lm
150  
151 < ra_tiff.o:      ra_tiff.c libtiff/tiffio.h libtiff/tiff.h
151 > ra_tiff.o:      ra_tiff.c
152          cc $(CFLAGS) -Ilibtiff -c ra_tiff.c
153  
154 < libtiff/libtiff.a:
155 <        maketiff
154 > ../lib/libtiff.a:
155 >        cd libtiff ; make -f Makefile.$(ARCH) ; \
156 >        mv libtiff.a ../../lib ; make clean
157  
158   ra_pixar:       ra_pixar.o ra_pixar.c
159 <        cc $(CFLAGS) $(PIXAR_INCLUDE) -o $@ ra_pixar.o ../common/librt.a \
159 >        cc $(CFLAGS) $(PIXAR_INCLUDE) -o $@ ra_pixar.o -lrt \
160   $(PIXAR_LIB)
161  
162   ra_pixar.o:     ra_pixar.c
# Line 149 | Line 164 | ra_pixar.o:    ra_pixar.c
164  
165   xshowtrace:     xshowtrace.o x11findwind.o
166          cc $(CFLAGS) -o xshowtrace xshowtrace.o \
167 < x11findwind.o ../common/librt.a -lm -lX11
167 > x11findwind.o -lrt -lm -lX11
168  
169   xshowtrace.o:   ../common/view.h ../common/standard.h \
170   ../common/mat4.h ../common/fvect.h
# Line 179 | Line 194 | aedimage.o ximage.o ra_t8.o ra_pr.o:   pic.h
194   ciq.o cut.o closest.o biq.o:    pic.h ciq.h
195  
196   pinterp.o ximage.o image.o:     ../common/view.h
197 +
198 + ra_pict.o:      pict.h

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines