ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/Rmakefile
Revision: 2.66
Committed: Tue Jun 24 02:01:20 2008 UTC (15 years, 10 months ago) by greg
Branch: MAIN
CVS Tags: rad4R0
Changes since 2.65: +3 -4 lines
Log Message:
Removed mention of defunct tifftypes.h

File Contents

# User Rev Content
1 greg 2.66 # RCSid: $Id: Rmakefile,v 2.65 2007/11/21 17:52:05 greg Exp $
2 greg 2.45 #
3 gregl 2.34 # Compiles for image processing and display programs
4 greg 1.1 #
5    
6 greg 1.47 ARCH = sun
7 greg 1.8 OPT = -O
8 greg 1.53 MACH = -DBSD
9 greg 2.54 SPECIAL =
10 greg 2.45 CFLAGS = -I../common -L../lib $(OPT) $(MACH)
11 greg 2.4 CC = cc
12 greg 2.16 MLIB = -lm
13 greg 1.1
14 greg 1.50 INSTDIR = /usr/local/bin
15 greg 1.1
16 greg 1.43 LIBDIR = /usr/local/lib/ray
17 greg 1.28
18 greg 2.54 PROGS = pfilt ttyimage psign ra_tiff normtiff \
19     pvalue pcompos protate ra_hexbit ra_bmp \
20     ra_t8 ra_t16 pcomb pinterp pflip ra_ppm ximage xshowtrace \
21 greg 2.32 ra_rgbe ra_pict ra_ps pextrem ra_gif ra_xyze macbethcal pcond pcwarp
22 greg 1.1
23 gwlarson 2.42 all: $(PROGS) $(SPECIAL)
24 greg 1.29
25 gwlarson 2.39 ogl:
26    
27 greg 1.29 sun:
28 greg 1.1
29 greg 2.24 install: $(PROGS) $(SPECIAL) normpat.csh falsecolor.csh \
30 greg 2.64 pdfblur.csh pmblur.csh pmdblur.csh xyzimage.csh pgblur.csh ra_pfm.csh \
31     pbilat.csh
32 greg 1.1 cp $(PROGS) $(INSTDIR)
33 greg 1.25 cp normpat.csh $(INSTDIR)/normpat
34 greg 1.38 cp falsecolor.csh $(INSTDIR)/falsecolor
35 greg 2.20 cp pdfblur.csh $(INSTDIR)/pdfblur
36 greg 2.24 cp pmblur.csh $(INSTDIR)/pmblur
37 greg 2.57 cp pmdblur.csh $(INSTDIR)/pmdblur
38 greg 2.25 cp xyzimage.csh $(INSTDIR)/xyzimage
39 gwlarson 2.37 cp phisto.csh $(INSTDIR)/phisto
40 greg 2.45 cp pdelta.csh $(INSTDIR)/pdelta
41 greg 2.49 cp pgblur.csh $(INSTDIR)/pgblur
42 greg 2.56 cp ra_pfm.csh $(INSTDIR)/ra_pfm
43 greg 2.62 cp ran2tiff.csh $(INSTDIR)/ran2tiff
44 greg 2.64 cp pbilat.csh $(INSTDIR)/pbilat
45 greg 2.62 cd $(INSTDIR) ; chmod 755 normpat falsecolor pdfblur pmblur \
46 greg 2.64 pmdblur xyzimage phisto pdelta pgblur ra_pfm ran2tiff pbilat
47 greg 1.1
48 greg 1.28 clean:
49 greg 2.65 rm -f $(PROGS) $(SPECIAL) *.o core x11findwind.c
50 greg 2.55 cd tiff; make distclean
51 greg 1.28
52 greg 1.40 pfilt: pfilt.o pf2.o pf3.o
53 schorsch 2.63 $(CC) $(CFLAGS) -o pfilt pfilt.o pf2.o pf3.o -lrtrad $(MLIB)
54 greg 1.1
55 greg 2.32 pcond: pcond.o pcond2.o pcond3.o pcond4.o warp3d.o
56     $(CC) $(CFLAGS) -o pcond pcond.o pcond2.o pcond3.o pcond4.o warp3d.o \
57 schorsch 2.63 -lrtrad $(MLIB)
58 greg 2.29
59 greg 2.32 pcwarp: pcwarp.o warp3d.o
60 schorsch 2.63 $(CC) $(CFLAGS) -o pcwarp pcwarp.o warp3d.o -lrtrad $(MLIB)
61 greg 2.32
62 greg 1.40 ttyimage: ttyimage.o
63 schorsch 2.63 $(CC) $(CFLAGS) -o ttyimage ttyimage.o -lrtrad $(MLIB)
64 greg 1.1
65 greg 1.40 pvalue: pvalue.o
66 schorsch 2.63 $(CC) $(CFLAGS) -o pvalue pvalue.o -lrtrad $(MLIB)
67 greg 1.1
68 greg 1.40 pcompos: pcompos.o
69 schorsch 2.63 $(CC) $(CFLAGS) -o pcompos pcompos.o -lrtrad $(MLIB)
70 greg 1.1
71 greg 1.40 psign: psign.o
72 schorsch 2.63 $(CC) $(CFLAGS) -o psign psign.o -lrtrad $(MLIB)
73 greg 1.1
74 greg 2.19 ra_gif: ra_gif.o clrtab.o neuclrtab.o
75 schorsch 2.63 $(CC) $(CFLAGS) -o ra_gif ra_gif.o clrtab.o neuclrtab.o -lrtrad $(MLIB)
76 greg 1.1
77 greg 2.5 ra_ps: ra_ps.o
78 schorsch 2.63 $(CC) $(CFLAGS) -o ra_ps ra_ps.o -lrtrad $(MLIB)
79 greg 2.5
80 greg 1.46 ra_ppm: ra_ppm.o
81 schorsch 2.63 $(CC) $(CFLAGS) -o ra_ppm ra_ppm.o -lrtrad $(MLIB)
82 greg 1.19
83 greg 2.51 ra_bmp: ra_bmp.o
84 schorsch 2.63 $(CC) $(CFLAGS) -o ra_bmp ra_bmp.o -lrtrad $(MLIB)
85 greg 2.51
86 greg 2.19 ra_t8: ra_t8.o clrtab.o neuclrtab.o
87 schorsch 2.63 $(CC) $(CFLAGS) -o ra_t8 ra_t8.o clrtab.o neuclrtab.o -lrtrad $(MLIB)
88 greg 1.1
89 greg 1.40 ra_t16: ra_t16.o
90 schorsch 2.63 $(CC) $(CFLAGS) -o ra_t16 ra_t16.o -lrtrad $(MLIB)
91 greg 1.1
92 greg 1.49 ra_rgbe: ra_rgbe.o
93 schorsch 2.63 $(CC) $(CFLAGS) -o ra_rgbe ra_rgbe.o -lrtrad $(MLIB)
94 greg 1.1
95 greg 1.50 ra_pict: ra_pict.o
96 schorsch 2.63 $(CC) $(CFLAGS) -o ra_pict ra_pict.o -lrtrad $(MLIB)
97 greg 1.50
98 gwlarson 2.40 ra_hexbit: ra_hexbit.o
99 schorsch 2.63 $(CC) $(CFLAGS) -o ra_hexbit ra_hexbit.o -lrtrad $(MLIB)
100 greg 1.50
101 greg 2.9 ximage: x11image.o x11raster.o clrtab.o
102 greg 2.4 $(CC) $(CFLAGS) -o ximage x11image.o x11raster.o \
103 schorsch 2.63 clrtab.o -lrtrad -lX11 $(MLIB)
104 greg 1.17
105 greg 1.56 protate: protate.o
106 schorsch 2.63 $(CC) $(CFLAGS) -o protate protate.o -lrtrad $(MLIB)
107 greg 1.1
108 greg 2.6 pextrem: pextrem.o
109 schorsch 2.63 $(CC) $(CFLAGS) -o pextrem pextrem.o -lrtrad $(MLIB)
110 greg 2.6
111 greg 1.40 pflip: pflip.o
112 schorsch 2.63 $(CC) $(CFLAGS) -o pflip pflip.o -lrtrad $(MLIB)
113 greg 1.26
114 greg 1.41 pcomb: pcomb.o
115 schorsch 2.63 $(CC) $(CFLAGS) -o pcomb pcomb.o -lrtrad $(MLIB)
116 greg 1.1
117 greg 1.40 pinterp: pinterp.o
118 schorsch 2.63 $(CC) $(CFLAGS) -o pinterp pinterp.o -lrtrad $(MLIB)
119 greg 2.22
120     ra_xyze: ra_xyze.o
121 schorsch 2.63 $(CC) $(CFLAGS) -o ra_xyze ra_xyze.o -lrtrad $(MLIB)
122 greg 1.44
123 greg 1.48 ra_tiff: ra_tiff.o ../lib/libtiff.a
124 schorsch 2.63 $(CC) $(CFLAGS) -o ra_tiff ra_tiff.o -lrtrad -ltiff $(MLIB)
125 greg 1.44
126 gwlarson 2.43 ../common/tiff.h ../common/tiffio.h: ../lib/libtiff.a
127 greg 2.45 @chmod u+w ../common/tiff.h ../common/tiffio.h
128 gwlarson 2.43 @touch ../common/tiff.h ../common/tiffio.h
129 gregl 2.36
130 greg 2.45 normtiff: normtiff.o ../lib/libtiff.a
131 schorsch 2.63 $(CC) $(CFLAGS) -o normtiff normtiff.o -lrtrad -ltiff $(MLIB)
132 gwlarson 2.43
133 greg 2.58 ../lib/libtiff.a:
134 greg 2.60 cd tiff ; ./configure -C -quiet -with-CC=$(CC) \
135 greg 2.58 "--libdir=`pwd`/../../lib" "--includedir=`pwd`/../../common" \
136     --enable-static --disable-shared --disable-cxx \
137     --enable-logluv --disable-jpeg \
138     --disable-zlib --disable-pixarlog \
139 gwlarson 2.42 "-with-ENVOPTS=$(OPT)" ; \
140 greg 2.58 cd port ; make all ; \
141     cd ../libtiff ; make install
142 greg 1.44
143 greg 1.40 xshowtrace: xshowtrace.o x11findwind.o
144 greg 2.4 $(CC) $(CFLAGS) -o xshowtrace xshowtrace.o \
145 schorsch 2.63 x11findwind.o -lrtrad -lX11 $(MLIB)
146 greg 2.21
147 greg 2.32 macbethcal: macbethcal.o pmapgen.o mx3.o warp3d.o
148     $(CC) $(CFLAGS) -o macbethcal macbethcal.o pmapgen.o mx3.o warp3d.o \
149 schorsch 2.63 -lrtrad $(MLIB)
150 greg 2.21
151    
152 greg 2.23 macbethcal.o: pmap.h ../common/color.h ../common/resolu.h
153 greg 2.32
154     macbethcal.o pcond2.o pcwarp.o warp3d.o: warp3d.h ../common/lookup.h
155 greg 2.21
156     pmapgen.o: mx3.h pmap.h
157 greg 1.28
158 greg 2.19 nclrtab.o: neuclrtab.o
159     ln neuclrtab.c nclrtab.c
160     $(CC) $(CFLAGS) -DCOMPAT_MODE -c nclrtab.c
161     rm -f nclrtab.c
162    
163 greg 1.41 pcomb.o: ../common/calcomp.h
164 greg 1.18
165 greg 2.54 pf2.o ra_ps.o ra_t16.o: ../common/random.h
166 greg 1.1
167 greg 2.54 neuclrtab.o clrtab.o pfilt.o pf2.o pf3.o ttyimage.o \
168     psign.o protate.o ra_hexbit.o pextrem.o pcompos.o \
169     pflip.o ra_t8.o ra_t16.o ra_tiff.o ra_pict.o \
170     ra_ps.o pvalue.o pcomb.o pinterp.o: ../common/color.h
171 greg 1.1
172 greg 2.55 neuclrtab.o pvalue.o protate.o pinterp.o psign.o \
173 greg 2.19 xshowtrace.o clrtab.o pcomb.o pfilt.o pf3.o image.o: ../common/standard.h \
174 greg 2.47 ../common/rtmisc.h ../common/rtio.h \
175     ../common/rtmath.h ../common/mat4.h ../common/fvect.h \
176 greg 2.66 ../common/rterror.h
177 greg 1.1
178 greg 1.17 x11image.o x11raster.o: x11raster.h
179 greg 1.1
180 greg 2.33 x11image.o: ../common/tonemap.h ../common/color.h
181    
182 greg 1.40 ra_t8.o: ../common/targa.h
183 gregl 2.34
184 greg 2.45 ra_tiff.o normtiff.o: ../common/tiff.h ../common/tiffio.h
185 greg 1.1
186 greg 2.54 ra_t8.o: pic.h
187 greg 1.1
188 greg 2.54 pcomb.o pfilt.o pinterp.o x11image.o x11showtrace.o \
189 greg 2.45 image.o: ../common/view.h ../common/resolu.h
190 greg 1.50
191     ra_pict.o: pict.h
192 greg 1.55
193 greg 2.54 pcompos.o pfilt.o pflip.o \
194     pinterp.o protate.o pvalue.o ra_pict.o ra_hexbit.o \
195     ra_ppm.o ra_rgbe.o ra_t16.o ra_t8.o \
196 greg 2.45 ra_tiff.o ttyimage.o: ../common/resolu.h
197 greg 2.7
198 greg 2.45 pfilt.o: ../common/paths.h
199 greg 2.18
200     psign.o: ../common/font.h
201 greg 2.29
202     pcond.o pcond2.o pcond3.o pcond4.o: pcond.h ../common/standard.h \
203 greg 2.47 ../common/rtmisc.h ../common/rtio.h \
204     ../common/rtmath.h ../common/mat4.h ../common/fvect.h \
205 greg 2.66 ../common/rterror.h ../common/color.h ../common/view.h ../common/resolu.h
206 gwlarson 2.43
207     normtiff.o: ../common/color.h ../common/tonemap.h ../common/resolu.h
208    
209 greg 2.52 ra_bmp.o: ../common/bmpfile.h ../common/color.h \
210     ../common/tonemap.h ../common/resolu.h
211 greg 2.51
212 greg 2.45 x11findwind.c: ../common/x11findwind.c
213     cp ../common/x11findwind.c .