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 2.17 by greg, Wed Mar 30 14:25:08 1994 UTC vs.
Revision 2.36 by gregl, Fri Aug 29 15:35:28 1997 UTC

# Line 1 | Line 1
1 < #  Compiles for image processing and display programs
2 < # SCCSid "$SunId$ LBL"
1 > # Compiles for image processing and display programs
2 > # SCCSid "$SunId$ SGI"
3   #
4  
5   ARCH = sun
6   OPT = -O
7   MACH = -DBSD
8 < SPECIAL = aed tiff
8 > SPECIAL = aed
9   CFLAGS = $(OPT) $(MACH) -I../common -L../lib
10   CC = cc
11   MLIB = -lm
# Line 17 | Line 17 | LIBDIR = /usr/local/lib/ray
17   PIXAR_INCLUDE=  -I/usr/pixar/include
18   PIXAR_LIB=      -L/usr/pixar/host/lib -lpirl -lpicio -lchad -lpixar $(MLIB)
19  
20 < PROGS = pfilt ttyimage oki20c oki20 paintjet mt160r getinfo psign \
21 < greyscale pvalue pcompos colorscale protate ra_pr ra_pr24 ra_avs \
20 > PROGS = pfilt ttyimage oki20c oki20 paintjet mt160r psign \
21 > pvalue pcompos protate ra_pr ra_pr24 ra_avs \
22   ra_t8 ra_bn ra_t16 pcomb pinterp ximage xshowtrace pflip ra_ppm \
23 < ra_rgbe ra_pict ra_ps pextrem ra_gif
23 > ra_rgbe ra_pict ra_ps pextrem ra_gif ra_xyze macbethcal pcond pcwarp
24  
25   all:    $(PROGS) $(SPECIAL)
26  
# Line 33 | Line 33 | aed:   aedimage
33   sgi:    glimage
34          cp glimage $(INSTDIR)
35  
36 tiff:   ra_tiff
37        cp ra_tiff $(INSTDIR)
38
36   sun:
37  
38 < install:        $(PROGS) $(SPECIAL) normpat.csh falsecolor.csh
38 > install:        $(PROGS) $(SPECIAL) normpat.csh falsecolor.csh \
39 > pdfblur.csh pmblur.csh xyzimage.csh
40          cp $(PROGS) $(INSTDIR)
41          cp normpat.csh $(INSTDIR)/normpat
42          cp falsecolor.csh $(INSTDIR)/falsecolor
43 <        chmod 755 $(INSTDIR)/normpat $(INSTDIR)/falsecolor
43 >        cp pdfblur.csh $(INSTDIR)/pdfblur
44 >        cp pmblur.csh $(INSTDIR)/pmblur
45 >        cp xyzimage.csh $(INSTDIR)/xyzimage
46 >        chmod 755 $(INSTDIR)/normpat $(INSTDIR)/falsecolor \
47 > $(INSTDIR)/pdfblur $(INSTDIR)/pmblur $(INSTDIR)/xyzimage
48  
49   clean:
50          set nonomatch; rm -f x10image aedimage glimage ra_tiff \
# Line 51 | Line 53 | $(PROGS) *.o core
53   pfilt:  pfilt.o pf2.o pf3.o
54          $(CC) $(CFLAGS) -o pfilt pfilt.o pf2.o pf3.o -lrt $(MLIB)
55  
56 + pcond:  pcond.o pcond2.o pcond3.o pcond4.o warp3d.o
57 +        $(CC) $(CFLAGS) -o pcond pcond.o pcond2.o pcond3.o pcond4.o warp3d.o \
58 + -lrt $(MLIB)
59 +
60 + pcwarp: pcwarp.o warp3d.o
61 +        $(CC) $(CFLAGS) -o pcwarp pcwarp.o warp3d.o -lrt $(MLIB)
62 +
63   ttyimage:       ttyimage.o
64          $(CC) $(CFLAGS) -o ttyimage ttyimage.o -lrt $(MLIB)
65  
# Line 76 | Line 85 | paintjet:      paintjet.o
85   mt160r: mt160r.o
86          $(CC) $(CFLAGS) -o mt160r mt160r.o -lrt $(MLIB)
87  
79 getinfo:        getinfo.o
80        $(CC) $(CFLAGS) -o getinfo getinfo.o -lrt
81
88   greyscale:      greyscale.o
89          $(CC) $(CFLAGS) -o greyscale greyscale.o -lrt $(MLIB)
90  
91   colorscale:     colorscale.o
92 <        $(CC) $(CFLAGS) -o colorscale colorscale.o -lrt
92 >        $(CC) $(CFLAGS) -o colorscale colorscale.o -lrt -lm
93  
94   pvalue: pvalue.o
95          $(CC) $(CFLAGS) -o pvalue pvalue.o -lrt $(MLIB)
# Line 95 | Line 101 | pcompos:       pcompos.o
101          $(CC) $(CFLAGS) -o pcompos pcompos.o -lrt
102  
103   psign:  psign.o
104 <        $(CC) $(CFLAGS) -o psign psign.o -lrt
104 >        $(CC) $(CFLAGS) -o psign psign.o -lrt -lm
105  
106   d48c:   d48c.o
107          $(CC) $(CFLAGS) -o d48c d48c.o -lrt
108  
109 < ra_gif: ra_gif.o clrtab.o
110 <        $(CC) $(CFLAGS) -o ra_gif ra_gif.o clrtab.o -lrt $(MLIB)
109 > ra_gif: ra_gif.o clrtab.o neuclrtab.o
110 >        $(CC) $(CFLAGS) -o ra_gif ra_gif.o clrtab.o neuclrtab.o -lrt $(MLIB)
111  
112   ra_pr:  ra_pr.o ciq.o cut.o closest.o biq.o
113          $(CC) $(CFLAGS) -o ra_pr ra_pr.o ciq.o cut.o closest.o \
# Line 119 | Line 125 | ra_ps: ra_ps.o
125   ra_ppm:         ra_ppm.o
126          $(CC) $(CFLAGS) -o ra_ppm ra_ppm.o -lrt $(MLIB)
127  
128 < ra_t8:  ra_t8.o clrtab.o
129 <        $(CC) $(CFLAGS) -o ra_t8 ra_t8.o clrtab.o -lrt $(MLIB)
128 > ra_t8:  ra_t8.o clrtab.o neuclrtab.o
129 >        $(CC) $(CFLAGS) -o ra_t8 ra_t8.o clrtab.o neuclrtab.o -lrt $(MLIB)
130  
131   ra_t16: ra_t16.o
132          $(CC) $(CFLAGS) -o ra_t16 ra_t16.o -lrt $(MLIB)
# Line 147 | Line 153 | ximage:        x11image.o x11raster.o clrtab.o
153   clrtab.o -lX11 -lrt $(MLIB)
154  
155   protate:                protate.o
156 <        $(CC) $(CFLAGS) -o protate protate.o -lrt
156 >        $(CC) $(CFLAGS) -o protate protate.o -lrt -lm
157  
158   pextrem:        pextrem.o
159 <        $(CC) $(CFLAGS) -o pextrem pextrem.o -lrt
159 >        $(CC) $(CFLAGS) -o pextrem pextrem.o -lrt -lm
160  
161   pflip:          pflip.o
162 <        $(CC) $(CFLAGS) -o pflip pflip.o -lrt
162 >        $(CC) $(CFLAGS) -o pflip pflip.o -lrt -lm
163  
164   panim:  panim.o client/libclient.a
165          $(CC) $(CFLAGS) -o panim panim.o \
# Line 165 | Line 171 | pcomb: pcomb.o
171   pinterp:        pinterp.o
172          $(CC) $(CFLAGS) -o pinterp pinterp.o -lrt $(MLIB)
173  
174 + ra_xyze:        ra_xyze.o
175 +        $(CC) $(CFLAGS) -o ra_xyze ra_xyze.o -lrt $(MLIB)
176 +
177   ra_tiff:        ra_tiff.o ../lib/libtiff.a
178          $(CC) $(CFLAGS) -o ra_tiff ra_tiff.o -lrt -ltiff $(MLIB)
179  
180 < psign.o:        psign.c ../common/font.h
172 <        $(CC) $(CFLAGS) -DDEFPATH=\":$(LIBDIR)\" -c psign.c
180 > ../common/tiff.h:       ../lib/libtiff.a
181  
182 < ra_tiff.o:      ra_tiff.c
183 <        $(CC) $(CFLAGS) -Ilibtiff -c ra_tiff.c
182 > ../lib/libtiff.a:       tiff/config.local
183 >        cd tiff ; ./configure -quiet -noninteractive ; \
184 >        cd libtiff ; make install ;
185 > #       cd .. ; make distclean
186  
177 ../lib/libtiff.a:
178        cd libtiff ; make -f Makefile.$(ARCH) ; \
179        mv libtiff.a ../../lib ; make clean
180
187   ra_pixar:       ra_pixar.o ra_pixar.c
188          $(CC) $(CFLAGS) $(PIXAR_INCLUDE) -o $@ ra_pixar.o -lrt \
189   $(PIXAR_LIB)
# Line 189 | Line 195 | xshowtrace:    xshowtrace.o x11findwind.o
195          $(CC) $(CFLAGS) -o xshowtrace xshowtrace.o \
196   x11findwind.o -lrt $(MLIB) -lX11
197  
198 + macbethcal:     macbethcal.o pmapgen.o mx3.o warp3d.o
199 +        $(CC) $(CFLAGS) -o macbethcal macbethcal.o pmapgen.o mx3.o warp3d.o \
200 + -lrt $(MLIB)
201 +
202 +
203 + macbethcal.o:   pmap.h ../common/color.h ../common/resolu.h
204 +
205 + macbethcal.o pcond2.o pcwarp.o warp3d.o:        warp3d.h ../common/lookup.h
206 +
207 + pmapgen.o:      mx3.h pmap.h
208 +
209 + nclrtab.o:      neuclrtab.o
210 +        ln neuclrtab.c nclrtab.c
211 +        $(CC) $(CFLAGS) -DCOMPAT_MODE -c nclrtab.c
212 +        rm -f nclrtab.c
213 +
214   pcomb.o:        ../common/calcomp.h
215  
216   panim.o:        client/scan.h ../common/color.h ../common/random.h
217  
218   pf2.o bnoise.o ra_ps.o ra_t16.o:        ../common/random.h
219  
220 < pfilt.o pf2.o pf3.o ttyimage.o t4027.o mt160r.o psum.o psign.o protate.o \
220 > neuclrtab.o clrtab.o pfilt.o pf2.o pf3.o ttyimage.o t4027.o mt160r.o \
221 > psum.o psign.o protate.o \
222   pextrem.o ra_pr24.o d48c.o aedimage.o pcompos.o color.o resolu.o colrops.o \
223   pflip.o greyscale.o ra_t8.o glimage.o ra_bn.o ra_t16.o ra_tiff.o ra_pict.o \
224   ra_ps.o ra_pr.o pvalue.o pcomb.o pinterp.o ximage.o:    ../common/color.h
225  
226 < pvalue.o protate.o biq.o ciq.o pinterp.o ximage.o psign.o xshowtrace.o \
227 < pcomb.o pfilt.o pf3.o image.o:  ../common/standard.h \
226 > neuclrtab.o pvalue.o protate.o biq.o ciq.o pinterp.o ximage.o psign.o \
227 > xshowtrace.o clrtab.o pcomb.o pfilt.o pf3.o image.o:    ../common/standard.h \
228   ../common/mat4.h ../common/fvect.h
229  
230   ximage.o xraster.o:     xraster.h
231  
232   x11image.o x11raster.o: x11raster.h
233  
234 + x11image.o:     ../common/tonemap.h ../common/color.h
235 +
236   ra_t8.o:        ../common/targa.h
237  
238 + ra_tiff.o:      ../common/tiff.h
239 +
240   aedimage.o ximage.o ra_t8.o ra_pr.o:    pic.h
241  
242   ciq.o cut.o closest.o biq.o:    pic.h ciq.h
# Line 223 | Line 250 | pinterp.o protate.o pvalue.o ra_bn.o ra_pict.o ra_pixa
250   ra_ppm.o ra_pr.o ra_pr24.o ra_rgbe.o ra_t16.o ra_t8.o glimage.o \
251   ra_tiff.o ttyimage.o ximage.o x11image.o:       ../common/resolu.h
252  
253 < pfilt.o psign.o:        ../common/paths.h
253 > pfilt.o:        ../common/paths.h ../common/view.h
254 >
255 > psign.o:        ../common/font.h
256 >
257 > pcond.o pcond2.o pcond3.o pcond4.o:     pcond.h ../common/standard.h \
258 > ../common/mat4.h ../common/fvect.h \
259 > ../common/color.h ../common/view.h ../common/resolu.h

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines