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.20 by greg, Fri Sep 15 15:52:55 1995 UTC vs.
Revision 2.39 by gwlarson, Tue Jun 9 16:46:57 1998 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 ra_tiff \
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)
36 > ogl:
37  
38   sun:
39  
40 < install:        $(PROGS) $(SPECIAL) normpat.csh falsecolor.csh pdfblur.csh
40 > install:        $(PROGS) $(SPECIAL) normpat.csh falsecolor.csh \
41 > pdfblur.csh pmblur.csh xyzimage.csh
42          cp $(PROGS) $(INSTDIR)
43          cp normpat.csh $(INSTDIR)/normpat
44          cp falsecolor.csh $(INSTDIR)/falsecolor
45          cp pdfblur.csh $(INSTDIR)/pdfblur
46 <        chmod 755 $(INSTDIR)/normpat $(INSTDIR)/falsecolor $(INSTDIR)/pdfblur
46 >        cp pmblur.csh $(INSTDIR)/pmblur
47 >        cp xyzimage.csh $(INSTDIR)/xyzimage
48 >        cp phisto.csh $(INSTDIR)/phisto
49 >        chmod 755 $(INSTDIR)/normpat $(INSTDIR)/falsecolor \
50 > $(INSTDIR)/pdfblur $(INSTDIR)/pmblur $(INSTDIR)/xyzimage $(INSTDIR)/phisto
51  
52   clean:
53 <        set nonomatch; rm -f x10image aedimage glimage ra_tiff \
53 >        set nonomatch; rm -f x10image aedimage glimage \
54   $(PROGS) *.o core
55 +        cd tiff; make distclean
56  
57   pfilt:  pfilt.o pf2.o pf3.o
58          $(CC) $(CFLAGS) -o pfilt pfilt.o pf2.o pf3.o -lrt $(MLIB)
59  
60 + pcond:  pcond.o pcond2.o pcond3.o pcond4.o warp3d.o
61 +        $(CC) $(CFLAGS) -o pcond pcond.o pcond2.o pcond3.o pcond4.o warp3d.o \
62 + -lrt $(MLIB)
63 +
64 + pcwarp: pcwarp.o warp3d.o
65 +        $(CC) $(CFLAGS) -o pcwarp pcwarp.o warp3d.o -lrt $(MLIB)
66 +
67   ttyimage:       ttyimage.o
68          $(CC) $(CFLAGS) -o ttyimage ttyimage.o -lrt $(MLIB)
69  
# Line 77 | Line 89 | paintjet:      paintjet.o
89   mt160r: mt160r.o
90          $(CC) $(CFLAGS) -o mt160r mt160r.o -lrt $(MLIB)
91  
80 getinfo:        getinfo.o
81        $(CC) $(CFLAGS) -o getinfo getinfo.o -lrt
82
92   greyscale:      greyscale.o
93          $(CC) $(CFLAGS) -o greyscale greyscale.o -lrt $(MLIB)
94  
95   colorscale:     colorscale.o
96 <        $(CC) $(CFLAGS) -o colorscale colorscale.o -lrt
96 >        $(CC) $(CFLAGS) -o colorscale colorscale.o -lrt -lm
97  
98   pvalue: pvalue.o
99          $(CC) $(CFLAGS) -o pvalue pvalue.o -lrt $(MLIB)
# Line 96 | Line 105 | pcompos:       pcompos.o
105          $(CC) $(CFLAGS) -o pcompos pcompos.o -lrt
106  
107   psign:  psign.o
108 <        $(CC) $(CFLAGS) -o psign psign.o -lrt
108 >        $(CC) $(CFLAGS) -o psign psign.o -lrt -lm
109  
110   d48c:   d48c.o
111          $(CC) $(CFLAGS) -o d48c d48c.o -lrt
# Line 148 | Line 157 | ximage:        x11image.o x11raster.o clrtab.o
157   clrtab.o -lX11 -lrt $(MLIB)
158  
159   protate:                protate.o
160 <        $(CC) $(CFLAGS) -o protate protate.o -lrt
160 >        $(CC) $(CFLAGS) -o protate protate.o -lrt -lm
161  
162   pextrem:        pextrem.o
163 <        $(CC) $(CFLAGS) -o pextrem pextrem.o -lrt
163 >        $(CC) $(CFLAGS) -o pextrem pextrem.o -lrt -lm
164  
165   pflip:          pflip.o
166 <        $(CC) $(CFLAGS) -o pflip pflip.o -lrt
166 >        $(CC) $(CFLAGS) -o pflip pflip.o -lrt -lm
167  
168   panim:  panim.o client/libclient.a
169          $(CC) $(CFLAGS) -o panim panim.o \
# Line 166 | Line 175 | pcomb: pcomb.o
175   pinterp:        pinterp.o
176          $(CC) $(CFLAGS) -o pinterp pinterp.o -lrt $(MLIB)
177  
178 + ra_xyze:        ra_xyze.o
179 +        $(CC) $(CFLAGS) -o ra_xyze ra_xyze.o -lrt $(MLIB)
180 +
181   ra_tiff:        ra_tiff.o ../lib/libtiff.a
182          $(CC) $(CFLAGS) -o ra_tiff ra_tiff.o -lrt -ltiff $(MLIB)
183  
184 < ra_tiff.o:      ra_tiff.c
173 <        $(CC) $(CFLAGS) -Ilibtiff -c ra_tiff.c
184 > ../common/tiff.h:       ../lib/libtiff.a
185  
186 < ../lib/libtiff.a:
187 <        cd libtiff ; make -f Makefile.$(ARCH) ; \
188 <        mv libtiff.a ../../lib ; make clean
186 > ../lib/libtiff.a:       tiff/config.local
187 >        cd tiff ; ./configure -quiet -noninteractive -with-CC=$(CC) ; \
188 >        cd libtiff ; make install
189  
190   ra_pixar:       ra_pixar.o ra_pixar.c
191          $(CC) $(CFLAGS) $(PIXAR_INCLUDE) -o $@ ra_pixar.o -lrt \
# Line 187 | Line 198 | xshowtrace:    xshowtrace.o x11findwind.o
198          $(CC) $(CFLAGS) -o xshowtrace xshowtrace.o \
199   x11findwind.o -lrt $(MLIB) -lX11
200  
201 + macbethcal:     macbethcal.o pmapgen.o mx3.o warp3d.o
202 +        $(CC) $(CFLAGS) -o macbethcal macbethcal.o pmapgen.o mx3.o warp3d.o \
203 + -lrt $(MLIB)
204 +
205 +
206 + macbethcal.o:   pmap.h ../common/color.h ../common/resolu.h
207 +
208 + macbethcal.o pcond2.o pcwarp.o warp3d.o:        warp3d.h ../common/lookup.h
209 +
210 + pmapgen.o:      mx3.h pmap.h
211 +
212   nclrtab.o:      neuclrtab.o
213          ln neuclrtab.c nclrtab.c
214          $(CC) $(CFLAGS) -DCOMPAT_MODE -c nclrtab.c
# Line 212 | Line 234 | ximage.o xraster.o:    xraster.h
234  
235   x11image.o x11raster.o: x11raster.h
236  
237 + x11image.o:     ../common/tonemap.h ../common/color.h
238 +
239   ra_t8.o:        ../common/targa.h
240  
241 + ra_tiff.o:      ../common/tiff.h
242 +
243   aedimage.o ximage.o ra_t8.o ra_pr.o:    pic.h
244  
245   ciq.o cut.o closest.o biq.o:    pic.h ciq.h
# Line 227 | Line 253 | pinterp.o protate.o pvalue.o ra_bn.o ra_pict.o ra_pixa
253   ra_ppm.o ra_pr.o ra_pr24.o ra_rgbe.o ra_t16.o ra_t8.o glimage.o \
254   ra_tiff.o ttyimage.o ximage.o x11image.o:       ../common/resolu.h
255  
256 < pfilt.o:        ../common/paths.h
256 > pfilt.o:        ../common/paths.h ../common/view.h
257  
258   psign.o:        ../common/font.h
259 +
260 + pcond.o pcond2.o pcond3.o pcond4.o:     pcond.h ../common/standard.h \
261 + ../common/mat4.h ../common/fvect.h \
262 + ../common/color.h ../common/view.h ../common/resolu.h

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines