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.27 by greg, Wed Jul 24 16:46:25 1996 UTC vs.
Revision 2.43 by gwlarson, Mon Oct 26 17:39:53 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 18 | Line 18 | 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 psign \
21 < greyscale pvalue pcompos colorscale protate ra_pr ra_pr24 ra_avs \
21 > pvalue pcompos protate ra_pr ra_pr24 ra_avs ra_tiff normtiff ra_hexbit \
22   ra_t8 ra_bn ra_t16 pcomb pinterp ximage xshowtrace pflip ra_ppm \
23 < ra_rgbe ra_pict ra_ps pextrem ra_gif ra_xyze macbethcal
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  
# Line 46 | Line 45 | pdfblur.csh pmblur.csh xyzimage.csh
45          cp pdfblur.csh $(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
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 85 | Line 93 | 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 97 | 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 139 | Line 147 | ra_rgbe:       ra_rgbe.o
147   ra_pict:    ra_pict.o
148          $(CC) $(CFLAGS) -o ra_pict ra_pict.o -lrt $(MLIB)
149  
150 + ra_hexbit:      ra_hexbit.o
151 +        $(CC) $(CFLAGS) -o ra_hexbit ra_hexbit.o -lrt
152  
153   x10image:       ximage.o ciq.o cut.o closest.o xraster.o biq.o
154          $(CC) $(CFLAGS) -o x10image ximage.o xraster.o \
# Line 149 | Line 159 | ximage:        x11image.o x11raster.o clrtab.o
159   clrtab.o -lX11 -lrt $(MLIB)
160  
161   protate:                protate.o
162 <        $(CC) $(CFLAGS) -o protate protate.o -lrt
162 >        $(CC) $(CFLAGS) -o protate protate.o -lrt -lm
163  
164   pextrem:        pextrem.o
165 <        $(CC) $(CFLAGS) -o pextrem pextrem.o -lrt
165 >        $(CC) $(CFLAGS) -o pextrem pextrem.o -lrt -lm
166  
167   pflip:          pflip.o
168 <        $(CC) $(CFLAGS) -o pflip pflip.o -lrt
168 >        $(CC) $(CFLAGS) -o pflip pflip.o -lrt -lm
169  
170   panim:  panim.o client/libclient.a
171          $(CC) $(CFLAGS) -o panim panim.o \
# Line 173 | Line 183 | ra_xyze:       ra_xyze.o
183   ra_tiff:        ra_tiff.o ../lib/libtiff.a
184          $(CC) $(CFLAGS) -o ra_tiff ra_tiff.o -lrt -ltiff $(MLIB)
185  
186 < ra_tiff.o:      ra_tiff.c
187 <        $(CC) $(CFLAGS) -Ilibtiff -c ra_tiff.c
186 > ../common/tiff.h ../common/tiffio.h:    ../lib/libtiff.a
187 >        @touch ../common/tiff.h ../common/tiffio.h
188  
189 < ../lib/libtiff.a:
190 <        cd libtiff ; make -f Makefile.$(ARCH) ; \
181 <        mv libtiff.a ../../lib ; make clean
189 > normtiff:       normtiff.o tmaptiff.o ../lib/libtiff.a
190 >        $(CC) $(CFLAGS) -o normtiff normtiff.o tmaptiff.o -lrt -ltiff $(MLIB)
191  
192 + ../lib/libtiff.a:       tiff/config.local
193 +        cd tiff ; ./configure -quiet -noninteractive -with-CC=$(CC) \
194 +                "-with-ENVOPTS=$(OPT)" ; \
195 +        cd libtiff ; make install
196 +
197   ra_pixar:       ra_pixar.o ra_pixar.c
198          $(CC) $(CFLAGS) $(PIXAR_INCLUDE) -o $@ ra_pixar.o -lrt \
199   $(PIXAR_LIB)
# Line 191 | Line 205 | xshowtrace:    xshowtrace.o x11findwind.o
205          $(CC) $(CFLAGS) -o xshowtrace xshowtrace.o \
206   x11findwind.o -lrt $(MLIB) -lX11
207  
208 < macbethcal:     macbethcal.o pmapgen.o mx3.o
209 <        $(CC) $(CFLAGS) -o macbethcal macbethcal.o pmapgen.o mx3.o -lrt $(MLIB)
208 > macbethcal:     macbethcal.o pmapgen.o mx3.o warp3d.o
209 >        $(CC) $(CFLAGS) -o macbethcal macbethcal.o pmapgen.o mx3.o warp3d.o \
210 > -lrt $(MLIB)
211  
212  
213   macbethcal.o:   pmap.h ../common/color.h ../common/resolu.h
214  
215 + macbethcal.o pcond2.o pcwarp.o warp3d.o:        warp3d.h ../common/lookup.h
216 +
217   pmapgen.o:      mx3.h pmap.h
218  
219   nclrtab.o:      neuclrtab.o
# Line 211 | Line 228 | panim.o:       client/scan.h ../common/color.h ../common/ran
228   pf2.o bnoise.o ra_ps.o ra_t16.o:        ../common/random.h
229  
230   neuclrtab.o clrtab.o pfilt.o pf2.o pf3.o ttyimage.o t4027.o mt160r.o \
231 < psum.o psign.o protate.o \
231 > psum.o psign.o protate.o ra_hexbit.o \
232   pextrem.o ra_pr24.o d48c.o aedimage.o pcompos.o color.o resolu.o colrops.o \
233   pflip.o greyscale.o ra_t8.o glimage.o ra_bn.o ra_t16.o ra_tiff.o ra_pict.o \
234   ra_ps.o ra_pr.o pvalue.o pcomb.o pinterp.o ximage.o:    ../common/color.h
# Line 224 | Line 241 | ximage.o xraster.o:    xraster.h
241  
242   x11image.o x11raster.o: x11raster.h
243  
244 + x11image.o:     ../common/tonemap.h ../common/color.h
245 +
246   ra_t8.o:        ../common/targa.h
247  
248 + ra_tiff.o normtiff.o tmaptiff.o:        ../common/tiff.h ../common/tiffio.h
249 +
250   aedimage.o ximage.o ra_t8.o ra_pr.o:    pic.h
251  
252   ciq.o cut.o closest.o biq.o:    pic.h ciq.h
# Line 235 | Line 256 | pinterp.o ximage.o x11showtrace.o image.o:     ../common/v
256   ra_pict.o:      pict.h
257  
258   mt160r.o oki20c.o paintjet.o pcomb.o pcompos.o pfilt.o pflip.o \
259 < pinterp.o protate.o pvalue.o ra_bn.o ra_pict.o ra_pixar.o \
259 > pinterp.o protate.o pvalue.o ra_bn.o ra_pict.o ra_pixar.o ra_hexbit.o \
260   ra_ppm.o ra_pr.o ra_pr24.o ra_rgbe.o ra_t16.o ra_t8.o glimage.o \
261   ra_tiff.o ttyimage.o ximage.o x11image.o:       ../common/resolu.h
262  
263   pfilt.o:        ../common/paths.h ../common/view.h
264  
265   psign.o:        ../common/font.h
266 +
267 + pcond.o pcond2.o pcond3.o pcond4.o:     pcond.h ../common/standard.h \
268 + ../common/mat4.h ../common/fvect.h \
269 + ../common/color.h ../common/view.h ../common/resolu.h
270 +
271 + normtiff.o:     ../common/color.h ../common/tonemap.h ../common/resolu.h
272 +
273 + tmaptiff.o:     ../common/tmprivat.h ../common/color.h ../common/tonemap.h

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines