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.44 by gwlarson, Thu Nov 12 09:44:07 1998 UTC vs.
Revision 2.51 by greg, Fri Mar 26 03:11:50 2004 UTC

# Line 1 | Line 1
1 + # RCSid: $Id$
2 + #
3   # Compiles for image processing and display programs
2 # SCCSid "$SunId$ SGI"
4   #
5  
6   ARCH = sun
7   OPT = -O
8   MACH = -DBSD
9   SPECIAL = aed
10 < CFLAGS = $(OPT) $(MACH) -I../common -L../lib
10 > CFLAGS = -I../common -L../lib $(OPT) $(MACH)
11   CC = cc
12   MLIB = -lm
13  
# Line 17 | Line 18 | LIBDIR = /usr/local/lib/ray
18   PIXAR_INCLUDE=  -I/usr/pixar/include
19   PIXAR_LIB=      -L/usr/pixar/host/lib -lpirl -lpicio -lchad -lpixar $(MLIB)
20  
21 < PROGS = pfilt ttyimage oki20c oki20 paintjet mt160r psign \
22 < pvalue pcompos protate ra_pr ra_pr24 ra_avs ra_tiff normtiff ra_hexbit \
23 < ra_t8 ra_bn ra_t16 pcomb pinterp ximage xshowtrace pflip ra_ppm \
21 > PROGS = pfilt ttyimage oki20c oki20 psign ra_tiff normtiff \
22 > pvalue pcompos protate ra_pr ra_pr24 ra_avs ra_hexbit ra_bmp \
23 > ra_t8 ra_bn ra_t16 pcomb pinterp pflip ra_ppm ximage xshowtrace \
24   ra_rgbe ra_pict ra_ps pextrem ra_gif ra_xyze macbethcal pcond pcwarp
25  
26   all:    $(PROGS) $(SPECIAL)
# Line 38 | Line 39 | ogl:
39   sun:
40  
41   install:        $(PROGS) $(SPECIAL) normpat.csh falsecolor.csh \
42 < pdfblur.csh pmblur.csh xyzimage.csh
42 > pdfblur.csh pmblur.csh xyzimage.csh pgblur.csh
43          cp $(PROGS) $(INSTDIR)
44          cp normpat.csh $(INSTDIR)/normpat
45          cp falsecolor.csh $(INSTDIR)/falsecolor
# Line 46 | Line 47 | pdfblur.csh pmblur.csh xyzimage.csh
47          cp pmblur.csh $(INSTDIR)/pmblur
48          cp xyzimage.csh $(INSTDIR)/xyzimage
49          cp phisto.csh $(INSTDIR)/phisto
50 <        chmod 755 $(INSTDIR)/normpat $(INSTDIR)/falsecolor \
51 < $(INSTDIR)/pdfblur $(INSTDIR)/pmblur $(INSTDIR)/xyzimage $(INSTDIR)/phisto
50 >        cp pdelta.csh $(INSTDIR)/pdelta
51 >        cp pgblur.csh $(INSTDIR)/pgblur
52 >        cd $(INSTDIR) ; chmod 755 normpat falsecolor pdfblur \
53 >                pmblur xyzimage phisto pdelta pgblur
54  
55   clean:
56          set nonomatch; rm -f x10image aedimage glimage \
57 < $(PROGS) *.o core
58 <        cd tiff; make distclean
57 > $(PROGS) $(SPECIAL) *.o core
58 >        -cd tiff; make distclean
59  
60   pfilt:  pfilt.o pf2.o pf3.o
61          $(CC) $(CFLAGS) -o pfilt pfilt.o pf2.o pf3.o -lrt $(MLIB)
# Line 129 | Line 132 | ra_ps: ra_ps.o
132   ra_ppm:         ra_ppm.o
133          $(CC) $(CFLAGS) -o ra_ppm ra_ppm.o -lrt $(MLIB)
134  
135 + ra_bmp:         ra_bmp.o
136 +        $(CC) $(CFLAGS) -o ra_bmp ra_bmp.o -lrt $(MLIB)
137 +
138   ra_t8:  ra_t8.o clrtab.o neuclrtab.o
139          $(CC) $(CFLAGS) -o ra_t8 ra_t8.o clrtab.o neuclrtab.o -lrt $(MLIB)
140  
# Line 148 | Line 154 | ra_pict:    ra_pict.o
154          $(CC) $(CFLAGS) -o ra_pict ra_pict.o -lrt $(MLIB)
155  
156   ra_hexbit:      ra_hexbit.o
157 <        $(CC) $(CFLAGS) -o ra_hexbit ra_hexbit.o -lrt
157 >        $(CC) $(CFLAGS) -o ra_hexbit ra_hexbit.o -lrt $(MLIB)
158  
159   x10image:       ximage.o ciq.o cut.o closest.o xraster.o biq.o
160          $(CC) $(CFLAGS) -o x10image ximage.o xraster.o \
# Line 156 | Line 162 | ciq.o cut.o closest.o biq.o -lX -lrt $(MLIB)
162  
163   ximage: x11image.o x11raster.o clrtab.o
164          $(CC) $(CFLAGS) -o ximage x11image.o x11raster.o \
165 < clrtab.o -lX11 -lrt $(MLIB)
165 > clrtab.o -lrt -lX11 $(MLIB)
166  
167   protate:                protate.o
168          $(CC) $(CFLAGS) -o protate protate.o -lrt $(MLIB)
# Line 184 | Line 190 | ra_tiff:       ra_tiff.o ../lib/libtiff.a
190          $(CC) $(CFLAGS) -o ra_tiff ra_tiff.o -lrt -ltiff $(MLIB)
191  
192   ../common/tiff.h ../common/tiffio.h:    ../lib/libtiff.a
193 +        @chmod u+w ../common/tiff.h ../common/tiffio.h
194          @touch ../common/tiff.h ../common/tiffio.h
195  
196 < normtiff:       normtiff.o tmaptiff.o ../lib/libtiff.a
197 <        $(CC) $(CFLAGS) -o normtiff normtiff.o tmaptiff.o -lrt -ltiff $(MLIB)
196 > normtiff:       normtiff.o ../lib/libtiff.a
197 >        $(CC) $(CFLAGS) -o normtiff normtiff.o -lrt -ltiff $(MLIB)
198  
199   ../lib/libtiff.a:       tiff/config.local
200 <        cd tiff ; ./configure -quiet -noninteractive -with-CC=$(CC) \
200 >        cd tiff ; sh configure -quiet -noninteractive -with-CC=$(CC) \
201                  "-with-ENVOPTS=$(OPT)" ; \
202          cd libtiff ; make install
203  
# Line 203 | Line 210 | ra_pixar.o:    ra_pixar.c
210  
211   xshowtrace:     xshowtrace.o x11findwind.o
212          $(CC) $(CFLAGS) -o xshowtrace xshowtrace.o \
213 < x11findwind.o -lrt $(MLIB) -lX11
213 > x11findwind.o -lrt -lX11 $(MLIB)
214  
215   macbethcal:     macbethcal.o pmapgen.o mx3.o warp3d.o
216          $(CC) $(CFLAGS) -o macbethcal macbethcal.o pmapgen.o mx3.o warp3d.o \
# Line 228 | Line 235 | panim.o:       client/scan.h ../common/color.h ../common/ran
235   pf2.o bnoise.o ra_ps.o ra_t16.o:        ../common/random.h
236  
237   neuclrtab.o clrtab.o pfilt.o pf2.o pf3.o ttyimage.o t4027.o mt160r.o \
238 < psum.o psign.o protate.o ra_hexbit.o \
238 > psum.o psign.o protate.o ra_hexbit.o ra_bmp.o \
239   pextrem.o ra_pr24.o d48c.o aedimage.o pcompos.o color.o resolu.o colrops.o \
240   pflip.o greyscale.o ra_t8.o glimage.o ra_bn.o ra_t16.o ra_tiff.o ra_pict.o \
241   ra_ps.o ra_pr.o pvalue.o pcomb.o pinterp.o ximage.o:    ../common/color.h
242  
243   neuclrtab.o pvalue.o protate.o biq.o ciq.o pinterp.o ximage.o psign.o \
244   xshowtrace.o clrtab.o pcomb.o pfilt.o pf3.o image.o:    ../common/standard.h \
245 < ../common/mat4.h ../common/fvect.h
245 > ../common/rtmisc.h ../common/rtio.h \
246 > ../common/rtmath.h ../common/mat4.h ../common/fvect.h \
247 > ../common/rterror.h
248  
249   ximage.o xraster.o:     xraster.h
250  
# Line 245 | Line 254 | x11image.o:    ../common/tonemap.h ../common/color.h
254  
255   ra_t8.o:        ../common/targa.h
256  
257 < ra_tiff.o normtiff.o tmaptiff.o:        ../common/tiff.h ../common/tiffio.h
257 > ra_tiff.o normtiff.o:   ../common/tiff.h ../common/tiffio.h
258  
259   aedimage.o ximage.o ra_t8.o ra_pr.o:    pic.h
260  
261   ciq.o cut.o closest.o biq.o:    pic.h ciq.h
262  
263 < pinterp.o ximage.o x11showtrace.o image.o:      ../common/view.h
263 > pcomb.o pfilt.o pinterp.o ximage.o x11image.o x11showtrace.o \
264 > image.o:        ../common/view.h ../common/resolu.h
265  
266   ra_pict.o:      pict.h
267  
268 < mt160r.o oki20c.o paintjet.o pcomb.o pcompos.o pfilt.o pflip.o \
268 > mt160r.o oki20c.o paintjet.o pcompos.o pfilt.o pflip.o ra_bmp.o \
269   pinterp.o protate.o pvalue.o ra_bn.o ra_pict.o ra_pixar.o ra_hexbit.o \
270   ra_ppm.o ra_pr.o ra_pr24.o ra_rgbe.o ra_t16.o ra_t8.o glimage.o \
271 < ra_tiff.o ttyimage.o ximage.o x11image.o:       ../common/resolu.h
271 > ra_tiff.o ttyimage.o:   ../common/resolu.h
272  
273 < pfilt.o:        ../common/paths.h ../common/view.h
273 > pfilt.o:        ../common/paths.h
274  
275   psign.o:        ../common/font.h
276  
277   pcond.o pcond2.o pcond3.o pcond4.o:     pcond.h ../common/standard.h \
278 < ../common/mat4.h ../common/fvect.h \
278 > ../common/rtmisc.h ../common/rtio.h \
279 > ../common/rtmath.h ../common/mat4.h ../common/fvect.h \
280 > ../common/rterror.h \
281   ../common/color.h ../common/view.h ../common/resolu.h
282  
283   normtiff.o:     ../common/color.h ../common/tonemap.h ../common/resolu.h
284  
285 < tmaptiff.o:     ../common/tmprivat.h ../common/color.h ../common/tonemap.h
285 > ra_bmp.o:       ../common/bmpfile.h
286 >
287 > x11findwind.c:  ../common/x11findwind.c
288 >        cp ../common/x11findwind.c .

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines