]>
Commit | Line | Data |
---|---|---|
80ed523f VZ |
1 | $! $Id: configure.com,v 1.3 2012-07-29 15:45:29 tgl Exp $ |
2 | $! | |
3 | $! OpenVMS configure procedure for libtiff | |
4 | $! (c) Alexey Chupahin 22-NOV-2007 | |
5 | $! elvis_75@mail.ru | |
6 | $! | |
7 | $! Permission to use, copy, modify, distribute, and sell this software and | |
8 | $! its documentation for any purpose is hereby granted without fee, provided | |
9 | $! that (i) the above copyright notices and this permission notice appear in | |
10 | $! all copies of the software and related documentation, and (ii) the names of | |
11 | $! Sam Leffler and Silicon Graphics may not be used in any advertising or | |
12 | $! publicity relating to the software without the specific, prior written | |
13 | $! permission of Sam Leffler and Silicon Graphics. | |
14 | $! | |
15 | $! THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, | |
16 | $! EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY | |
17 | $! WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. | |
18 | $! | |
19 | $! IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR | |
20 | $! ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, | |
21 | $! OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, | |
22 | $! WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF | |
23 | $! LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE | |
24 | $! OF THIS SOFTWARE. | |
25 | $! | |
26 | $! | |
27 | $ SET NOON | |
28 | $WRITE SYS$OUTPUT " " | |
29 | $WRITE SYS$OUTPUT "Configuring libTIFF library" | |
30 | $WRITE SYS$OUTPUT " " | |
31 | $! Checking architecture | |
32 | $DECC = F$SEARCH("SYS$SYSTEM:DECC$COMPILER.EXE") .NES. "" | |
33 | $IF (.NOT. DECC) THEN $WRITE SYS$OUTPUT "BAD compiler" GOTO EXIT | |
34 | $ IF F$GETSYI("ARCH_TYPE").EQ.1 THEN CPU = "VAX" | |
35 | $ IF F$GETSYI("ARCH_TYPE").EQ.2 THEN CPU = "Alpha" | |
36 | $ IF F$GETSYI("ARCH_TYPE").EQ.3 THEN CPU = "I64" | |
37 | $ OS = F$GETSYI("VERSION") | |
38 | $WRITE SYS$OUTPUT "Checking architecture ... ", CPU | |
39 | $WRITE SYS$OUTPUT "Checking OS ... OpenVMS ",OS | |
40 | $SHARED=0 | |
41 | $IF ( (CPU.EQS."Alpha").OR.(CPU.EQS."I64") ) | |
42 | $ THEN | |
43 | $ SHARED=64 | |
44 | $ ELSE | |
45 | $ SHARED=32 | |
46 | $ENDIF | |
47 | $MMS = F$SEARCH("SYS$SYSTEM:MMS.EXE") .NES. "" | |
48 | $MMK = F$TYPE(MMK) | |
49 | $IF (MMS .OR. MMK.NES."") THEN GOTO TEST_LIBRARIES | |
50 | $! I cant find any make tool | |
51 | $GOTO EXIT | |
52 | $! | |
53 | $! | |
54 | $TEST_LIBRARIES: | |
55 | $! Setting as MAKE utility one of MMS or MMK. I prefer MMS. | |
56 | $IF (MMK.NES."") THEN MAKE="MMK" | |
57 | $IF (MMS) THEN MAKE="MMS" | |
58 | $WRITE SYS$OUTPUT "Checking build utility ... ''MAKE'" | |
59 | $WRITE SYS$OUTPUT " " | |
60 | $! | |
61 | $! | |
62 | $IF (P1.EQS."STATIC").OR.(P1.EQS."static") THEN SHARED=0 | |
63 | $! | |
64 | $! | |
65 | $!"Checking for strcasecmp " | |
66 | $ DEFINE SYS$ERROR _NLA0: | |
67 | $ DEFINE SYS$OUTPUT _NLA0: | |
68 | $ CC/OBJECT=TEST.OBJ/INCLUDE=(ZLIB) SYS$INPUT | |
69 | #include <strings.h> | |
70 | #include <stdlib.h> | |
71 | ||
72 | int main() | |
73 | { | |
74 | if (strcasecmp("bla", "Bla")==0) exit(0); | |
75 | else exit(2); | |
76 | } | |
77 | $! | |
78 | $TMP = $STATUS | |
79 | $DEASS SYS$ERROR | |
80 | $DEAS SYS$OUTPUT | |
81 | $IF (TMP .NE. %X10B90001) | |
82 | $ THEN | |
83 | $ HAVE_STRCASECMP=0 | |
84 | $ GOTO NEXT1 | |
85 | $ENDIF | |
86 | $DEFINE SYS$ERROR _NLA0: | |
87 | $DEFINE SYS$OUTPUT _NLA0: | |
88 | $LINK/EXE=TEST TEST | |
89 | $TMP = $STATUS | |
90 | $DEAS SYS$ERROR | |
91 | $DEAS SYS$OUTPUT | |
92 | $!WRITE SYS$OUTPUT TMP | |
93 | $IF (TMP .NE. %X10000001) | |
94 | $ THEN | |
95 | $ HAVE_STRCASECMP=0 | |
96 | $ GOTO NEXT1 | |
97 | $ENDIF | |
98 | $! | |
99 | $DEFINE SYS$ERROR _NLA0: | |
100 | $DEFINE SYS$OUTPUT _NLA0: | |
101 | $RUN TEST | |
102 | $IF ($STATUS .NE. %X00000001) | |
103 | $ THEN | |
104 | $ HAVE_STRCASECMP=0 | |
105 | $ ELSE | |
106 | $ HAVE_STRCASECMP=1 | |
107 | $ENDIF | |
108 | $DEAS SYS$ERROR | |
109 | $DEAS SYS$OUTPUT | |
110 | $NEXT1: | |
111 | $IF (HAVE_STRCASECMP.EQ.1) | |
112 | $ THEN | |
113 | $ WRITE SYS$OUTPUT "Checking for strcasecmp ... Yes" | |
114 | $ ELSE | |
115 | $ WRITE SYS$OUTPUT "Checking for strcasecmp ... No" | |
116 | $ENDIF | |
117 | $! | |
118 | $! | |
119 | ||
120 | $!"Checking for lfind " | |
121 | $ DEFINE SYS$ERROR _NLA0: | |
122 | $ DEFINE SYS$OUTPUT _NLA0: | |
123 | $ CC/OBJECT=TEST.OBJ/INCLUDE=(ZLIB) SYS$INPUT | |
124 | #include <search.h> | |
125 | ||
126 | int main() | |
127 | { | |
128 | lfind((const void *)key, (const void *)NULL, (size_t *)NULL, | |
129 | (size_t) 0, NULL); | |
130 | } | |
131 | $! | |
132 | $TMP = $STATUS | |
133 | $DEASS SYS$ERROR | |
134 | $DEAS SYS$OUTPUT | |
135 | $IF (TMP .NE. %X10B90001) | |
136 | $ THEN | |
137 | $ HAVE_LFIND=0 | |
138 | $ GOTO NEXT2 | |
139 | $ENDIF | |
140 | $DEFINE SYS$ERROR _NLA0: | |
141 | $DEFINE SYS$OUTPUT _NLA0: | |
142 | $LINK/EXE=TEST TEST | |
143 | $TMP = $STATUS | |
144 | $DEAS SYS$ERROR | |
145 | $DEAS SYS$OUTPUT | |
146 | $!WRITE SYS$OUTPUT TMP | |
147 | $IF (TMP .NE. %X10000001) | |
148 | $ THEN | |
149 | $ HAVE_LFIND=0 | |
150 | $ GOTO NEXT2 | |
151 | $ ELSE | |
152 | $ HAVE_LFIND=1 | |
153 | $ENDIF | |
154 | $! | |
155 | $NEXT2: | |
156 | $IF (HAVE_LFIND.EQ.1) | |
157 | $ THEN | |
158 | $ WRITE SYS$OUTPUT "Checking for lfind ... Yes" | |
159 | $ ELSE | |
160 | $ WRITE SYS$OUTPUT "Checking for lfind ... No" | |
161 | $ENDIF | |
162 | $! | |
163 | $! | |
164 | $!"Checking for correct zlib library " | |
165 | $ DEFINE SYS$ERROR _NLA0: | |
166 | $ DEFINE SYS$OUTPUT _NLA0: | |
167 | $ CC/OBJECT=TEST.OBJ/INCLUDE=(ZLIB) SYS$INPUT | |
168 | #include <stdlib.h> | |
169 | #include <stdio.h> | |
170 | #include <zlib.h> | |
171 | int main() | |
172 | { | |
173 | printf("checking version zlib: %s\n",zlibVersion()); | |
174 | } | |
175 | $TMP = $STATUS | |
176 | $DEASS SYS$ERROR | |
177 | $DEAS SYS$OUTPUT | |
178 | $!WRITE SYS$OUTPUT TMP | |
179 | $IF (TMP .NE. %X10B90001) | |
180 | $ THEN | |
181 | $ HAVE_ZLIB=0 | |
182 | $ GOTO EXIT | |
183 | $ENDIF | |
184 | $DEFINE SYS$ERROR _NLA0: | |
185 | $DEFINE SYS$OUTPUT _NLA0: | |
186 | $LINK/EXE=TEST TEST,ZLIB:LIBZ/LIB | |
187 | $TMP = $STATUS | |
188 | $DEAS SYS$ERROR | |
189 | $DEAS SYS$OUTPUT | |
190 | $!WRITE SYS$OUTPUT TMP | |
191 | $IF (TMP .NE. %X10000001) | |
192 | $ THEN | |
193 | $ HAVE_ZLIB=0 | |
194 | $ GOTO EXIT | |
195 | $ ELSE | |
196 | $ HAVE_ZLIB=1 | |
197 | $ENDIF | |
198 | $IF (HAVE_ZLIB.EQ.1) | |
199 | $ THEN | |
200 | $ WRITE SYS$OUTPUT "Checking for correct zlib library ... Yes" | |
201 | $ ELSE | |
202 | $ WRITE SYS$OUTPUT "Checking for correct zlib library ... No" | |
203 | $ WRITE SYS$OUTPUT "This is fatal. Please download and install good library from fafner.dyndns.org/~alexey/libsdl/public.html" | |
204 | $ENDIF | |
205 | $RUN TEST | |
206 | $! | |
207 | ||
208 | $DEL TEST.OBJ;* | |
209 | $! Checking for JPEG ... | |
210 | $ DEFINE SYS$ERROR _NLA0: | |
211 | $ DEFINE SYS$OUTPUT _NLA0: | |
212 | $ CC/OBJECT=TEST.OBJ/INCLUDE=(JPEG) SYS$INPUT | |
213 | #include <stdlib.h> | |
214 | #include <stdio.h> | |
215 | #include <jpeglib.h> | |
216 | #include <jversion.h> | |
217 | int main() | |
218 | { | |
219 | printf("checking version jpeg: %s\n",JVERSION); | |
220 | jpeg_quality_scaling(0); | |
221 | return 0; | |
222 | } | |
223 | $TMP = $STATUS | |
224 | $DEASS SYS$ERROR | |
225 | $DEAS SYS$OUTPUT | |
226 | $!WRITE SYS$OUTPUT TMP | |
227 | $IF (TMP .NE. %X10B90001) | |
228 | $ THEN | |
229 | $ WRITE SYS$OUTPUT "Checking for static jpeg library ... No" | |
230 | $ HAVE_JPEG=0 | |
231 | $ENDIF | |
232 | $DEFINE SYS$ERROR _NLA0: | |
233 | $DEFINE SYS$OUTPUT _NLA0: | |
234 | $LINK/EXE=TEST TEST,JPEG:LIBJPEG/LIB | |
235 | $TMP = $STATUS | |
236 | $DEAS SYS$ERROR | |
237 | $DEAS SYS$OUTPUT | |
238 | $!WRITE SYS$OUTPUT TMP | |
239 | $IF (TMP .NE. %X10000001) | |
240 | $ THEN | |
241 | $ HAVE_JPEG=0 | |
242 | $ ELSE | |
243 | $ HAVE_JPEG=1 | |
244 | $ENDIF | |
245 | $IF (HAVE_JPEG.EQ.1) | |
246 | $ THEN | |
247 | $ WRITE SYS$OUTPUT "Checking for static jpeg library ... Yes" | |
248 | $ JPEG_LIBRARY_PATH="JPEG:LIBJPEG/LIB" | |
249 | $ RUN TEST | |
250 | $ ELSE | |
251 | $ WRITE SYS$OUTPUT "Checking for static jpeg library ... No" | |
252 | $ENDIF | |
253 | $! | |
254 | $!"Checking for SHARED JPEG library " | |
255 | $OPEN/WRITE OUT TEST.OPT | |
256 | $WRITE OUT "SYS$SHARE:LIBJPEG$SHR/SHARE" | |
257 | $WRITE OUT "ZLIB:LIBZ/LIB" | |
258 | $CLOSE OUT | |
259 | $DEFINE SYS$ERROR _NLA0: | |
260 | $DEFINE SYS$OUTPUT _NLA0: | |
261 | $LINK/EXE=TEST TEST,TEST/OPT | |
262 | $TMP = $STATUS | |
263 | $DEAS SYS$ERROR | |
264 | $DEAS SYS$OUTPUT | |
265 | $!WRITE SYS$OUTPUT TMP | |
266 | $IF (TMP .NE. %X10000001) | |
267 | $ THEN | |
268 | $ HAVE_JPEG_SHARED=0 | |
269 | $ ELSE | |
270 | $ HAVE_JPEG_SHARED=1 | |
271 | $ENDIF | |
272 | $IF (HAVE_JPEG_SHARED.EQ.1) | |
273 | $ THEN | |
274 | $ WRITE SYS$OUTPUT "Checking for shared jpeg library ... Yes" | |
275 | $ JPEG_LIBRARY_PATH="SYS$SHARE:LIBJPEG$SHR/SHARE" | |
276 | $ ELSE | |
277 | $ WRITE SYS$OUTPUT "Checking for shared jpeg library ... No" | |
278 | $ENDIF | |
279 | $! | |
280 | $ IF ( (HAVE_JPEG_SHARED.EQ.0).AND.(HAVE_JPEG.EQ.0) ) | |
281 | $ THEN | |
282 | $ WRITE SYS$OUTPUT "No JPEG library installed. This is fatal. Please download and install good library from fafner.dyndns.org/~alexey/libsdl/public.html" | |
283 | $ GOTO EXIT | |
284 | $ ENDIF | |
285 | $! | |
286 | $! | |
287 | $! | |
288 | $! Checking for X11 ... | |
289 | $IF F$TRNLNM("DECW$INCLUDE") .NES. "" | |
290 | $ THEN | |
291 | $ WRITE SYS$OUTPUT "Checking for X11 ... Yes" | |
292 | $ ELSE | |
293 | $ WRITE SYS$OUTPUT "Checking for X11 ... No" | |
294 | $ WRITE SYS$OUTPUT "This is fatal. Please install X11 software" | |
295 | $ GOTO EXIT | |
296 | $ENDIF | |
297 | $! | |
298 | $!WRITING BUILD FILES | |
299 | $OPEN/WRITE OUT BUILD.COM | |
300 | $ WRITE OUT "$set def [.port]" | |
301 | $ WRITE OUT "$",MAKE | |
302 | $ WRITE OUT "$set def [-.libtiff]" | |
303 | $ WRITE OUT "$",MAKE | |
304 | $ WRITE OUT "$set def [-.tools]" | |
305 | $ WRITE OUT "$",MAKE | |
306 | $ WRITE OUT "$set def [-]" | |
307 | $ WRITE OUT "$cop [.PORT]LIBPORT.OLB [.LIBTIFF]LIBPORT.OLB" | |
308 | $ WRITE OUT "$ CURRENT = F$ENVIRONMENT (""DEFAULT"") " | |
309 | $ WRITE OUT "$TIFF=CURRENT" | |
310 | $ WRITE OUT "$OPEN/WRITE OUTT LIBTIFF$STARTUP.COM" | |
311 | $ WRITE OUT "$TIFF[F$LOCATE(""]"",TIFF),9]:="".LIBTIFF]""" | |
312 | $ WRITE OUT "$WRITE OUTT ""DEFINE TIFF ","'","'","TIFF'"" " | |
313 | $ WRITE OUT "$TIFF=CURRENT" | |
314 | $ WRITE OUT "$TIFF[F$LOCATE(""]"",TIFF),7]:="".TOOLS]""" | |
315 | $ WRITE OUT "$WRITE OUTT ""BMP2TIFF:==$", "'","'","TIFF'BMP2TIFF""" | |
316 | $ WRITE OUT "$WRITE OUTT ""FAX2PS:==$", "'","'","TIFF'FAX2PS""" | |
317 | $ WRITE OUT "$WRITE OUTT ""FAX2TIFF:==$", "'","'","TIFF'FAX2TIFF""" | |
318 | $ WRITE OUT "$WRITE OUTT ""GIF2TIFF:==$", "'","'","TIFF'GIF2TIFF""" | |
319 | $ WRITE OUT "$WRITE OUTT ""PAL2RGB:==$", "'","'","TIFF'PAL2RGB""" | |
320 | $ WRITE OUT "$WRITE OUTT ""PPM2TIFF:==$", "'","'","TIFF'PPM2TIFF""" | |
321 | $ WRITE OUT "$WRITE OUTT ""RAS2TIFF:==$", "'","'","TIFF'RAS2TIFF""" | |
322 | $ WRITE OUT "$WRITE OUTT ""RAW2TIFF:==$", "'","'","TIFF'RAW2TIFF""" | |
323 | $ WRITE OUT "$WRITE OUTT ""RGB2YCBCR:==$", "'","'","TIFF'RGB2YCBCR""" | |
324 | $ WRITE OUT "$WRITE OUTT ""THUMBNAIL:==$", "'","'","TIFF'THUMBNAIL""" | |
325 | $ WRITE OUT "$WRITE OUTT ""TIFF2BW:==$", "'","'","TIFF'TIFF2BW""" | |
326 | $ WRITE OUT "$WRITE OUTT ""TIFF2PDF:==$", "'","'","TIFF'TIFF2PDF""" | |
327 | $ WRITE OUT "$WRITE OUTT ""TIFF2PS:==$", "'","'","TIFF'TIFF2PS""" | |
328 | $ WRITE OUT "$WRITE OUTT ""TIFF2RGBA:==$", "'","'","TIFF'TIFF2RGBA""" | |
329 | $ WRITE OUT "$WRITE OUTT ""TIFFCMP:==$", "'","'","TIFF'TIFFCMP""" | |
330 | $ WRITE OUT "$WRITE OUTT ""TIFFCP:==$", "'","'","TIFF'TIFFCP""" | |
331 | $ WRITE OUT "$WRITE OUTT ""TIFFDITHER:==$", "'","'","TIFF'TIFFDITHER""" | |
332 | $ WRITE OUT "$WRITE OUTT ""TIFFDUMP:==$", "'","'","TIFF'TIFFDUMP""" | |
333 | $ WRITE OUT "$WRITE OUTT ""TIFFINFO:==$", "'","'","TIFF'TIFFINFO""" | |
334 | $ WRITE OUT "$WRITE OUTT ""TIFFMEDIAN:==$", "'","'","TIFF'TIFFMEDIAN""" | |
335 | $ WRITE OUT "$WRITE OUTT ""TIFFCROP:==$", "'","'","TIFF'TIFFCROP""" | |
336 | $ WRITE OUT "$WRITE OUTT ""TIFFSET:==$", "'","'","TIFF'TIFFSET""" | |
337 | $ WRITE OUT "$CLOSE OUTT" | |
338 | $ WRITE OUT "$OPEN/WRITE OUTT [.LIBTIFF]LIBTIFF.OPT" | |
339 | $ WRITE OUT "$WRITE OUTT ""TIFF:TIFF/LIB"" | |
340 | $ WRITE OUT "$WRITE OUTT ""TIFF:LIBPORT/LIB"" | |
341 | $ WRITE OUT "$WRITE OUTT ""JPEG:LIBJPEG/LIB"" | |
342 | $ WRITE OUT "$WRITE OUTT ""ZLIB:LIBZ/LIB"" | |
343 | $ WRITE OUT "$CLOSE OUTT" | |
344 | $! | |
345 | $ WRITE OUT "$WRITE SYS$OUTPUT "" "" " | |
346 | $ WRITE OUT "$WRITE SYS$OUTPUT ""***************************************************************************** "" " | |
347 | $ WRITE OUT "$WRITE SYS$OUTPUT ""LIBTIFF$STARTUP.COM has been created. "" " | |
348 | $ WRITE OUT "$WRITE SYS$OUTPUT ""This file setups all logicals needed. It should be execute before using LibTIFF "" " | |
349 | $ WRITE OUT "$WRITE SYS$OUTPUT ""Nice place to call it - LOGIN.COM "" " | |
350 | $ WRITE OUT "$WRITE SYS$OUTPUT """" " | |
351 | $ WRITE OUT "$WRITE SYS$OUTPUT ""Using the library:"" " | |
352 | $ WRITE OUT "$WRITE SYS$OUTPUT ""CC/INC=TIFF ASCII_TAG.C"" " | |
353 | $ WRITE OUT "$WRITE SYS$OUTPUT ""LINK ASCII_TAG,TIFF:LIBTIFF/OPT"" " | |
354 | $ WRITE OUT "$WRITE SYS$OUTPUT ""***************************************************************************** "" " | |
355 | $CLOSE OUT | |
356 | $! | |
357 | $! DESCRIP.MMS in [.PORT] | |
358 | $OBJ="dummy.obj" | |
359 | $IF HAVE_STRCASECMP.NE.1 | |
360 | $ THEN | |
361 | $ OBJ=OBJ+",strcasecmp.obj" | |
362 | $ENDIF | |
363 | $IF HAVE_LFIND.NE.1 | |
364 | $ THEN | |
365 | $ OBJ=OBJ+",lfind.obj" | |
366 | $ENDIF | |
367 | $OPEN/WRITE OUT [.PORT]DESCRIP.MMS | |
368 | $WRITE OUT "OBJ=",OBJ | |
369 | $WRITE OUT "" | |
370 | $WRITE OUT "LIBPORT.OLB : $(OBJ)" | |
371 | $WRITE OUT " LIB/CREA LIBPORT $(OBJ)" | |
372 | $WRITE OUT "" | |
373 | $WRITE OUT "" | |
374 | $WRITE OUT "dummy.obj : dummy.c" | |
375 | $WRITE OUT " $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)" | |
376 | $WRITE OUT "" | |
377 | $WRITE OUT "" | |
378 | $WRITE OUT "strcasecmp.obj : strcasecmp.c" | |
379 | $WRITE OUT " $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)" | |
380 | $WRITE OUT "" | |
381 | $WRITE OUT "" | |
382 | $WRITE OUT "lfind.obj : lfind.c" | |
383 | $WRITE OUT " $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)" | |
384 | $WRITE OUT "" | |
385 | $WRITE OUT "" | |
386 | $CLOSE OUT | |
387 | $! | |
388 | $! | |
389 | $WRITE SYS$OUTPUT "Creating LIBTIFF$DEF.OPT" | |
390 | $IF (SHARED.EQ.64) | |
391 | $ THEN | |
392 | $ COPY SYS$INPUT TIFF$DEF.OPT | |
393 | SYMBOL_VECTOR= (- | |
394 | TIFFOpen=PROCEDURE,- | |
395 | TIFFGetVersion=PROCEDURE,- | |
396 | TIFFCleanup=PROCEDURE,- | |
397 | TIFFClose=PROCEDURE,- | |
398 | TIFFFlush=PROCEDURE,- | |
399 | TIFFFlushData=PROCEDURE,- | |
400 | TIFFGetField=PROCEDURE,- | |
401 | TIFFVGetField=PROCEDURE,- | |
402 | TIFFGetFieldDefaulted=PROCEDURE,- | |
403 | TIFFVGetFieldDefaulted=PROCEDURE,- | |
404 | TIFFGetTagListEntry=PROCEDURE,- | |
405 | TIFFGetTagListCount=PROCEDURE,- | |
406 | TIFFReadDirectory=PROCEDURE,- | |
407 | TIFFScanlineSize=PROCEDURE,- | |
408 | TIFFStripSize=PROCEDURE,- | |
409 | TIFFVStripSize=PROCEDURE,- | |
410 | TIFFRawStripSize=PROCEDURE,- | |
411 | TIFFTileRowSize=PROCEDURE,- | |
412 | TIFFTileSize=PROCEDURE,- | |
413 | TIFFVTileSize=PROCEDURE,- | |
414 | TIFFFileno=PROCEDURE,- | |
415 | TIFFSetFileno=PROCEDURE,- | |
416 | TIFFGetMode=PROCEDURE,- | |
417 | TIFFIsTiled=PROCEDURE,- | |
418 | TIFFIsByteSwapped=PROCEDURE,- | |
419 | TIFFIsBigEndian=PROCEDURE,- | |
420 | TIFFIsMSB2LSB=PROCEDURE,- | |
421 | TIFFIsUpSampled=PROCEDURE,- | |
422 | TIFFCIELabToRGBInit=PROCEDURE,- | |
423 | TIFFCIELabToXYZ=PROCEDURE,- | |
424 | TIFFXYZToRGB=PROCEDURE,- | |
425 | TIFFYCbCrToRGBInit=PROCEDURE,- | |
426 | TIFFYCbCrtoRGB=PROCEDURE,- | |
427 | TIFFCurrentRow=PROCEDURE,- | |
428 | TIFFCurrentDirectory=PROCEDURE,- | |
429 | TIFFCurrentStrip=PROCEDURE,- | |
430 | TIFFCurrentTile=PROCEDURE,- | |
431 | TIFFDataWidth=PROCEDURE,- | |
432 | TIFFReadBufferSetup=PROCEDURE,- | |
433 | TIFFWriteBufferSetup=PROCEDURE,- | |
434 | TIFFSetupStrips=PROCEDURE,- | |
435 | TIFFLastDirectory=PROCEDURE,- | |
436 | TIFFSetDirectory=PROCEDURE,- | |
437 | TIFFSetSubDirectory=PROCEDURE,- | |
438 | TIFFUnlinkDirectory=PROCEDURE,- | |
439 | TIFFSetField=PROCEDURE,- | |
440 | TIFFVSetField=PROCEDURE,- | |
441 | TIFFCheckpointDirectory=PROCEDURE,- | |
442 | TIFFWriteDirectory=PROCEDURE,- | |
443 | TIFFRewriteDirectory=PROCEDURE,- | |
444 | TIFFPrintDirectory=PROCEDURE,- | |
445 | TIFFReadScanline=PROCEDURE,- | |
446 | TIFFWriteScanline=PROCEDURE,- | |
447 | TIFFReadRGBAImage=PROCEDURE,- | |
448 | TIFFReadRGBAImageOriented=PROCEDURE,- | |
449 | TIFFFdOpen=PROCEDURE,- | |
450 | TIFFClientOpen=PROCEDURE,- | |
451 | TIFFFileName=PROCEDURE,- | |
452 | TIFFError=PROCEDURE,- | |
453 | TIFFErrorExt=PROCEDURE,- | |
454 | TIFFWarning=PROCEDURE,- | |
455 | TIFFWarningExt=PROCEDURE,- | |
456 | TIFFSetErrorHandler=PROCEDURE,- | |
457 | TIFFSetErrorHandlerExt=PROCEDURE,- | |
458 | TIFFSetWarningHandler=PROCEDURE,- | |
459 | TIFFSetWarningHandlerExt=PROCEDURE,- | |
460 | TIFFComputeTile=PROCEDURE,- | |
461 | TIFFCheckTile=PROCEDURE,- | |
462 | TIFFNumberOfTiles=PROCEDURE,- | |
463 | TIFFReadTile=PROCEDURE,- | |
464 | TIFFWriteTile=PROCEDURE,- | |
465 | TIFFComputeStrip=PROCEDURE,- | |
466 | TIFFNumberOfStrips=PROCEDURE,- | |
467 | TIFFRGBAImageBegin=PROCEDURE,- | |
468 | TIFFRGBAImageGet=PROCEDURE,- | |
469 | TIFFRGBAImageEnd=PROCEDURE,- | |
470 | TIFFReadEncodedStrip=PROCEDURE,- | |
471 | TIFFReadRawStrip=PROCEDURE,- | |
472 | TIFFReadEncodedTile=PROCEDURE,- | |
473 | TIFFReadRawTile=PROCEDURE,- | |
474 | TIFFReadRGBATile=PROCEDURE,- | |
475 | TIFFReadRGBAStrip=PROCEDURE,- | |
476 | TIFFWriteEncodedStrip=PROCEDURE,- | |
477 | TIFFWriteRawStrip=PROCEDURE,- | |
478 | TIFFWriteEncodedTile=PROCEDURE,- | |
479 | TIFFWriteRawTile=PROCEDURE,- | |
480 | TIFFSetWriteOffset=PROCEDURE,- | |
481 | TIFFSwabDouble=PROCEDURE,- | |
482 | TIFFSwabShort=PROCEDURE,- | |
483 | TIFFSwabLong=PROCEDURE,- | |
484 | TIFFSwabArrayOfShort=PROCEDURE,- | |
485 | TIFFSwabArrayOfLong=PROCEDURE,- | |
486 | TIFFSwabArrayOfDouble=PROCEDURE,- | |
487 | TIFFSwabArrayOfTriples=PROCEDURE,- | |
488 | TIFFReverseBits=PROCEDURE,- | |
489 | TIFFGetBitRevTable=PROCEDURE,- | |
490 | TIFFDefaultStripSize=PROCEDURE,- | |
491 | TIFFDefaultTileSize=PROCEDURE,- | |
492 | TIFFRasterScanlineSize=PROCEDURE,- | |
493 | _TIFFmalloc=PROCEDURE,- | |
494 | _TIFFrealloc=PROCEDURE,- | |
495 | _TIFFfree=PROCEDURE,- | |
496 | _TIFFmemset=PROCEDURE,- | |
497 | _TIFFmemcpy=PROCEDURE,- | |
498 | _TIFFmemcmp=PROCEDURE,- | |
499 | TIFFCreateDirectory=PROCEDURE,- | |
500 | TIFFSetTagExtender=PROCEDURE,- | |
501 | TIFFMergeFieldInfo=PROCEDURE,- | |
502 | TIFFFindFieldInfo=PROCEDURE,- | |
503 | TIFFFindFieldInfoByName=PROCEDURE,- | |
504 | TIFFFieldWithName=PROCEDURE,- | |
505 | TIFFFieldWithTag=PROCEDURE,- | |
506 | TIFFFieldTag=PROCEDURE,- | |
507 | TIFFFieldName=PROCEDURE,- | |
508 | TIFFFieldDataType=PROCEDURE,- | |
509 | TIFFFieldPassCount=PROCEDURE,- | |
510 | TIFFFieldReadCount=PROCEDURE,- | |
511 | TIFFFieldWriteCount=PROCEDURE,- | |
512 | TIFFCurrentDirOffset=PROCEDURE,- | |
513 | TIFFWriteCheck=PROCEDURE,- | |
514 | TIFFRGBAImageOK=PROCEDURE,- | |
515 | TIFFNumberOfDirectories=PROCEDURE,- | |
516 | TIFFSetFileName=PROCEDURE,- | |
517 | TIFFSetClientdata=PROCEDURE,- | |
518 | TIFFSetMode=PROCEDURE,- | |
519 | TIFFClientdata=PROCEDURE,- | |
520 | TIFFGetReadProc=PROCEDURE,- | |
521 | TIFFGetWriteProc=PROCEDURE,- | |
522 | TIFFGetSeekProc=PROCEDURE,- | |
523 | TIFFGetCloseProc=PROCEDURE,- | |
524 | TIFFGetSizeProc=PROCEDURE,- | |
525 | TIFFGetMapFileProc=PROCEDURE,- | |
526 | TIFFGetUnmapFileProc=PROCEDURE,- | |
527 | TIFFIsCODECConfigured=PROCEDURE,- | |
528 | TIFFGetConfiguredCODECs=PROCEDURE,- | |
529 | TIFFFindCODEC=PROCEDURE,- | |
530 | TIFFRegisterCODEC=PROCEDURE,- | |
531 | TIFFUnRegisterCODEC=PROCEDURE,- | |
532 | TIFFFreeDirectory=PROCEDURE,- | |
533 | TIFFReadCustomDirectory=PROCEDURE,- | |
534 | TIFFReadEXIFDirectory=PROCEDURE,- | |
535 | TIFFAccessTagMethods=PROCEDURE,- | |
536 | TIFFGetClientInfo=PROCEDURE,- | |
537 | TIFFSetClientInfo=PROCEDURE,- | |
538 | TIFFReassignTagToIgnore=PROCEDURE- | |
539 | ) | |
540 | ||
541 | $ENDIF | |
542 | $IF (SHARED.EQ.32) | |
543 | $ THEN | |
544 | $ COPY SYS$INPUT TIFF$DEF.OPT | |
545 | UNIVERSAL=TIFFOpen | |
546 | UNIVERSAL=TIFFGetVersion | |
547 | UNIVERSAL=TIFFCleanup | |
548 | UNIVERSAL=TIFFClose | |
549 | UNIVERSAL=TIFFFlush | |
550 | UNIVERSAL=TIFFFlushData | |
551 | UNIVERSAL=TIFFGetField | |
552 | UNIVERSAL=TIFFVGetField | |
553 | UNIVERSAL=TIFFGetFieldDefaulted | |
554 | UNIVERSAL=TIFFVGetFieldDefaulted | |
555 | UNIVERSAL=TIFFGetTagListEntry | |
556 | UNIVERSAL=TIFFGetTagListCount | |
557 | UNIVERSAL=TIFFReadDirectory | |
558 | UNIVERSAL=TIFFScanlineSize | |
559 | UNIVERSAL=TIFFStripSize | |
560 | UNIVERSAL=TIFFVStripSize | |
561 | UNIVERSAL=TIFFRawStripSize | |
562 | UNIVERSAL=TIFFTileRowSize | |
563 | UNIVERSAL=TIFFTileSize | |
564 | UNIVERSAL=TIFFVTileSize | |
565 | UNIVERSAL=TIFFFileno | |
566 | UNIVERSAL=TIFFSetFileno | |
567 | UNIVERSAL=TIFFGetMode | |
568 | UNIVERSAL=TIFFIsTiled | |
569 | UNIVERSAL=TIFFIsByteSwapped | |
570 | UNIVERSAL=TIFFIsBigEndian | |
571 | UNIVERSAL=TIFFIsMSB2LSB | |
572 | UNIVERSAL=TIFFIsUpSampled | |
573 | UNIVERSAL=TIFFCIELabToRGBInit | |
574 | UNIVERSAL=TIFFCIELabToXYZ | |
575 | UNIVERSAL=TIFFXYZToRGB | |
576 | UNIVERSAL=TIFFYCbCrToRGBInit | |
577 | UNIVERSAL=TIFFYCbCrtoRGB | |
578 | UNIVERSAL=TIFFCurrentRow | |
579 | UNIVERSAL=TIFFCurrentDirectory | |
580 | UNIVERSAL=TIFFCurrentStrip | |
581 | UNIVERSAL=TIFFCurrentTile | |
582 | UNIVERSAL=TIFFDataWidth | |
583 | UNIVERSAL=TIFFReadBufferSetup | |
584 | UNIVERSAL=TIFFWriteBufferSetup | |
585 | UNIVERSAL=TIFFSetupStrips | |
586 | UNIVERSAL=TIFFLastDirectory | |
587 | UNIVERSAL=TIFFSetDirectory | |
588 | UNIVERSAL=TIFFSetSubDirectory | |
589 | UNIVERSAL=TIFFUnlinkDirectory | |
590 | UNIVERSAL=TIFFSetField | |
591 | UNIVERSAL=TIFFVSetField | |
592 | UNIVERSAL=TIFFCheckpointDirectory | |
593 | UNIVERSAL=TIFFWriteDirectory | |
594 | UNIVERSAL=TIFFRewriteDirectory | |
595 | UNIVERSAL=TIFFPrintDirectory | |
596 | UNIVERSAL=TIFFReadScanline | |
597 | UNIVERSAL=TIFFWriteScanline | |
598 | UNIVERSAL=TIFFReadRGBAImage | |
599 | UNIVERSAL=TIFFReadRGBAImageOriented | |
600 | UNIVERSAL=TIFFFdOpen | |
601 | UNIVERSAL=TIFFClientOpen | |
602 | UNIVERSAL=TIFFFileName | |
603 | UNIVERSAL=TIFFError | |
604 | UNIVERSAL=TIFFErrorExt | |
605 | UNIVERSAL=TIFFWarning | |
606 | UNIVERSAL=TIFFWarningExt | |
607 | UNIVERSAL=TIFFSetErrorHandler | |
608 | UNIVERSAL=TIFFSetErrorHandlerExt | |
609 | UNIVERSAL=TIFFSetWarningHandler | |
610 | UNIVERSAL=TIFFSetWarningHandlerExt | |
611 | UNIVERSAL=TIFFComputeTile | |
612 | UNIVERSAL=TIFFCheckTile | |
613 | UNIVERSAL=TIFFNumberOfTiles | |
614 | UNIVERSAL=TIFFReadTile | |
615 | UNIVERSAL=TIFFWriteTile | |
616 | UNIVERSAL=TIFFComputeStrip | |
617 | UNIVERSAL=TIFFNumberOfStrips | |
618 | UNIVERSAL=TIFFRGBAImageBegin | |
619 | UNIVERSAL=TIFFRGBAImageGet | |
620 | UNIVERSAL=TIFFRGBAImageEnd | |
621 | UNIVERSAL=TIFFReadEncodedStrip | |
622 | UNIVERSAL=TIFFReadRawStrip | |
623 | UNIVERSAL=TIFFReadEncodedTile | |
624 | UNIVERSAL=TIFFReadRawTile | |
625 | UNIVERSAL=TIFFReadRGBATile | |
626 | UNIVERSAL=TIFFReadRGBAStrip | |
627 | UNIVERSAL=TIFFWriteEncodedStrip | |
628 | UNIVERSAL=TIFFWriteRawStrip | |
629 | UNIVERSAL=TIFFWriteEncodedTile | |
630 | UNIVERSAL=TIFFWriteRawTile | |
631 | UNIVERSAL=TIFFSetWriteOffset | |
632 | UNIVERSAL=TIFFSwabDouble | |
633 | UNIVERSAL=TIFFSwabShort | |
634 | UNIVERSAL=TIFFSwabLong | |
635 | UNIVERSAL=TIFFSwabArrayOfShort | |
636 | UNIVERSAL=TIFFSwabArrayOfLong | |
637 | UNIVERSAL=TIFFSwabArrayOfDouble | |
638 | UNIVERSAL=TIFFSwabArrayOfTriples | |
639 | UNIVERSAL=TIFFReverseBits | |
640 | UNIVERSAL=TIFFGetBitRevTable | |
641 | UNIVERSAL=TIFFDefaultStripSize | |
642 | UNIVERSAL=TIFFDefaultTileSize | |
643 | UNIVERSAL=TIFFRasterScanlineSize | |
644 | UNIVERSAL=_TIFFmalloc | |
645 | UNIVERSAL=_TIFFrealloc | |
646 | UNIVERSAL=_TIFFfree | |
647 | UNIVERSAL=_TIFFmemset | |
648 | UNIVERSAL=_TIFFmemcpy | |
649 | UNIVERSAL=_TIFFmemcmp | |
650 | UNIVERSAL=TIFFCreateDirectory | |
651 | UNIVERSAL=TIFFSetTagExtender | |
652 | UNIVERSAL=TIFFMergeFieldInfo | |
653 | UNIVERSAL=TIFFFindFieldInfo | |
654 | UNIVERSAL=TIFFFindFieldInfoByName | |
655 | UNIVERSAL=TIFFFieldWithName | |
656 | UNIVERSAL=TIFFFieldWithTag | |
657 | UNIVERSAL=TIFFFieldTag | |
658 | UNIVERSAL=TIFFFieldName | |
659 | UNIVERSAL=TIFFFieldDataType | |
660 | UNIVERSAL=TIFFFieldPassCount | |
661 | UNIVERSAL=TIFFFieldReadCount | |
662 | UNIVERSAL=TIFFFieldWriteCount | |
663 | UNIVERSAL=TIFFCurrentDirOffset | |
664 | UNIVERSAL=TIFFWriteCheck | |
665 | UNIVERSAL=TIFFRGBAImageOK | |
666 | UNIVERSAL=TIFFNumberOfDirectories | |
667 | UNIVERSAL=TIFFSetFileName | |
668 | UNIVERSAL=TIFFSetClientdata | |
669 | UNIVERSAL=TIFFSetMode | |
670 | UNIVERSAL=TIFFClientdata | |
671 | UNIVERSAL=TIFFGetReadProc | |
672 | UNIVERSAL=TIFFGetWriteProc | |
673 | UNIVERSAL=TIFFGetSeekProc | |
674 | UNIVERSAL=TIFFGetCloseProc | |
675 | UNIVERSAL=TIFFGetSizeProc | |
676 | UNIVERSAL=TIFFGetMapFileProc | |
677 | UNIVERSAL=TIFFGetUnmapFileProc | |
678 | UNIVERSAL=TIFFIsCODECConfigured | |
679 | UNIVERSAL=TIFFGetConfiguredCODECs | |
680 | UNIVERSAL=TIFFFindCODEC | |
681 | UNIVERSAL=TIFFRegisterCODEC | |
682 | UNIVERSAL=TIFFUnRegisterCODEC | |
683 | UNIVERSAL=TIFFFreeDirectory | |
684 | UNIVERSAL=TIFFReadCustomDirectory | |
685 | UNIVERSAL=TIFFReadEXIFDirectory | |
686 | UNIVERSAL=TIFFAccessTagMethods | |
687 | UNIVERSAL=TIFFGetClientInfo | |
688 | UNIVERSAL=TIFFSetClientInfo | |
689 | UNIVERSAL=TIFFReassignTagToIgnore | |
690 | ||
691 | $ENDIF | |
692 | $! | |
693 | $! | |
694 | $! Writing TIFF$SHR.OPT file to build TOOLS | |
695 | $ IF (SHARED.GT.0) | |
696 | $ THEN | |
697 | $ OPEN/WRITE OUT TIFF$SHR.OPT | |
698 | $ WRITE OUT "[]TIFF/LIB" | |
699 | $ WRITE OUT "[-.PORT]LIBPORT/LIB" | |
700 | $ WRITE OUT JPEG_LIBRARY_PATH | |
701 | $ WRITE OUT "ZLIB:LIBZ/LIB" | |
702 | $ CLOSE OUT | |
703 | $ ENDIF | |
704 | $! | |
705 | $! | |
706 | $! Writing OPT.OPT file to build TOOLS | |
707 | $OPEN/WRITE OUT OPT.OPT | |
708 | $ IF (SHARED.GT.0) | |
709 | $ THEN | |
710 | $ WRITE OUT "[-.LIBTIFF]TIFF$SHR/SHARE" | |
711 | $ WRITE OUT JPEG_LIBRARY_PATH | |
712 | $ ELSE | |
713 | $ WRITE OUT "[-.LIBTIFF]TIFF/LIB" | |
714 | $ WRITE OUT "[-.PORT]LIBPORT/LIB" | |
715 | $ WRITE OUT JPEG_LIBRARY_PATH | |
716 | $ ENDIF | |
717 | $ WRITE OUT "ZLIB:LIBZ/LIB" | |
718 | $CLOSE OUT | |
719 | $! | |
720 | $! | |
721 | $COPY SYS$INPUT [.LIBTIFF]DESCRIP.MMS | |
722 | # (c) Alexey Chupahin 22-NOV-2007 | |
723 | # OpenVMS 7.3-1, DEC 2000 mod.300 | |
724 | # OpenVMS 8.3, HP rx1620 | |
725 | # Makefile for DEC C compilers. | |
726 | # | |
727 | ||
728 | INCL = /INCLUDE=(JPEG,ZLIB,[]) | |
729 | ||
730 | CFLAGS = $(INCL) | |
731 | ||
732 | OBJ_SYSDEP_MODULE = tif_vms.obj | |
733 | ||
734 | OBJ = \ | |
735 | tif_aux.obj,\ | |
736 | tif_close.obj,\ | |
737 | tif_codec.obj,\ | |
738 | tif_color.obj,\ | |
739 | tif_compress.obj,\ | |
740 | tif_dir.obj,\ | |
741 | tif_dirinfo.obj,\ | |
742 | tif_dirread.obj,\ | |
743 | tif_dirwrite.obj,\ | |
744 | tif_dumpmode.obj,\ | |
745 | tif_error.obj,\ | |
746 | tif_extension.obj,\ | |
747 | tif_fax3.obj,\ | |
748 | tif_fax3sm.obj,\ | |
749 | tif_flush.obj,\ | |
750 | tif_getimage.obj,\ | |
751 | tif_jbig.obj,\ | |
752 | tif_jpeg.obj,\ | |
753 | tif_luv.obj,\ | |
754 | tif_lzw.obj,\ | |
755 | tif_next.obj,\ | |
756 | tif_ojpeg.obj,\ | |
757 | tif_open.obj,\ | |
758 | tif_packbits.obj,\ | |
759 | tif_pixarlog.obj,\ | |
760 | tif_predict.obj,\ | |
761 | tif_print.obj,\ | |
762 | tif_read.obj,\ | |
763 | tif_strip.obj,\ | |
764 | tif_swab.obj,\ | |
765 | tif_thunder.obj,\ | |
766 | tif_tile.obj,\ | |
767 | tif_version.obj,\ | |
768 | tif_warning.obj,\ | |
769 | tif_write.obj,\ | |
770 | tif_zip.obj, $(OBJ_SYSDEP_MODULE) | |
771 | ||
772 | $IF (SHARED.GT.0) | |
773 | $ THEN | |
774 | $ APP SYS$INPUT [.LIBTIFF]DESCRIP.MMS | |
775 | ALL : tiff.olb, tiff$shr.exe | |
776 | $WRITE SYS$OUTPUT "Done" | |
777 | ||
778 | tiff$shr.exe : tiff.olb | |
779 | LINK/SHARE=TIFF$SHR.EXE TIF_AUX,[-]TIFF$DEF/OPT, [-]TIFF$SHR/OPT | |
780 | COPY TIFF$SHR.EXE SYS$SHARE | |
781 | PURGE SYS$SHARE:TIFF$SHR.EXE | |
782 | ||
783 | $ ELSE | |
784 | $ APP SYS$INPUT [.LIBTIFF]DESCRIP.MMS | |
785 | ALL : tiff.olb | |
786 | $WRITE SYS$OUTPUT "Done" | |
787 | ||
788 | $ENDIF | |
789 | $! | |
790 | $! | |
791 | $ APP SYS$INPUT [.LIBTIFF]DESCRIP.MMS | |
792 | ||
793 | tiff.olb : $(OBJ) | |
794 | lib/crea tiff.olb $(OBJ) | |
795 | ||
796 | #tif_config.h : tif_config.h-vms | |
797 | # copy tif_config.h-vms tif_config.h | |
798 | # | |
799 | #tiffconf.h : tiffconf.h-vms | |
800 | # copy tiffconf.h-vms tiffconf.h | |
801 | ||
802 | tif_aux.obj : tif_aux.c | |
803 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
804 | ||
805 | tif_close.obj : tif_close.c | |
806 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
807 | ||
808 | tif_codec.obj : tif_codec.c | |
809 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
810 | ||
811 | tif_color.obj : tif_color.c | |
812 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
813 | ||
814 | tif_compress.obj : tif_compress.c | |
815 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
816 | ||
817 | tif_dir.obj : tif_dir.c | |
818 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
819 | ||
820 | tif_dirinfo.obj : tif_dirinfo.c | |
821 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
822 | ||
823 | tif_dirread.obj : tif_dirread.c | |
824 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
825 | ||
826 | tif_dirwrite.obj : tif_dirwrite.c | |
827 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
828 | ||
829 | tif_dumpmode.obj : tif_dumpmode.c | |
830 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
831 | ||
832 | tif_error.obj : tif_error.c | |
833 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
834 | ||
835 | tif_extension.obj : tif_extension.c | |
836 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
837 | ||
838 | tif_fax3.obj : tif_fax3.c | |
839 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
840 | ||
841 | tif_fax3sm.obj : tif_fax3sm.c | |
842 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
843 | ||
844 | tif_flush.obj : tif_flush.c | |
845 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
846 | ||
847 | tif_getimage.obj : tif_getimage.c | |
848 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
849 | ||
850 | tif_jbig.obj : tif_jbig.c | |
851 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
852 | ||
853 | tif_jpeg.obj : tif_jpeg.c | |
854 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
855 | ||
856 | tif_luv.obj : tif_luv.c | |
857 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
858 | ||
859 | tif_lzw.obj : tif_lzw.c | |
860 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
861 | ||
862 | tif_next.obj : tif_next.c | |
863 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
864 | ||
865 | tif_ojpeg.obj : tif_ojpeg.c | |
866 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
867 | ||
868 | tif_open.obj : tif_open.c | |
869 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
870 | ||
871 | tif_packbits.obj : tif_packbits.c | |
872 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
873 | ||
874 | tif_pixarlog.obj : tif_pixarlog.c | |
875 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
876 | ||
877 | tif_predict.obj : tif_predict.c | |
878 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
879 | ||
880 | tif_print.obj : tif_print.c | |
881 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
882 | ||
883 | tif_read.obj : tif_read.c | |
884 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
885 | ||
886 | tif_strip.obj : tif_strip.c | |
887 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
888 | ||
889 | tif_swab.obj : tif_swab.c | |
890 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
891 | ||
892 | tif_thunder.obj : tif_thunder.c | |
893 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
894 | ||
895 | tif_tile.obj : tif_tile.c | |
896 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
897 | ||
898 | tif_unix.obj : tif_unix.c | |
899 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
900 | ||
901 | tif_version.obj : tif_version.c | |
902 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
903 | ||
904 | tif_warning.obj : tif_warning.c | |
905 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
906 | ||
907 | tif_write.obj : tif_write.c | |
908 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
909 | ||
910 | tif_zip.obj : tif_zip.c | |
911 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
912 | ||
913 | ||
914 | clean : | |
915 | del *.obj;* | |
916 | del *.olb;* | |
917 | $! | |
918 | $! | |
919 | $! | |
920 | $COPY SYS$INPUT [.TOOLS]DESCRIP.MMS | |
921 | # (c) Alexey Chupahin 22-NOV-2007 | |
922 | # OpenVMS 7.3-1, DEC 2000 mod.300 | |
923 | # OpenVMS 8.3, HP rx1620 | |
924 | ||
925 | INCL = /INCL=([],[-.LIBTIFF]) | |
926 | CFLAGS = $(INCL) | |
927 | LIBS = [-]OPT/OPT | |
928 | ||
929 | OBJ=\ | |
930 | bmp2tiff.exe,\ | |
931 | fax2ps.exe,\ | |
932 | fax2tiff.exe,\ | |
933 | gif2tiff.exe,\ | |
934 | pal2rgb.exe,\ | |
935 | ppm2tiff.exe,\ | |
936 | ras2tiff.exe,\ | |
937 | raw2tiff.exe,\ | |
938 | rgb2ycbcr.exe,\ | |
939 | thumbnail.exe,\ | |
940 | tiff2bw.exe,\ | |
941 | tiff2pdf.exe,\ | |
942 | tiff2ps.exe,\ | |
943 | tiff2rgba.exe,\ | |
944 | tiffcmp.exe,\ | |
945 | tiffcp.exe,\ | |
946 | tiffcrop.exe,\ | |
947 | tiffdither.exe,\ | |
948 | tiffdump.exe,\ | |
949 | tiffinfo.exe,\ | |
950 | tiffmedian.exe,\ | |
951 | tiffset.exe,\ | |
952 | tiffsplit.exe,\ | |
953 | ycbcr.exe | |
954 | ||
955 | ||
956 | all : $(OBJ) | |
957 | $! | |
958 | ||
959 | bmp2tiff.obj : bmp2tiff.c | |
960 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
961 | ||
962 | bmp2tiff.exe : bmp2tiff.obj | |
963 | LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS) | |
964 | ||
965 | fax2ps.obj : fax2ps.c | |
966 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
967 | ||
968 | fax2ps.exe : fax2ps.obj | |
969 | LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS) | |
970 | ||
971 | fax2tiff.obj : fax2tiff.c | |
972 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
973 | ||
974 | fax2tiff.exe : fax2tiff.obj | |
975 | LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS) | |
976 | ||
977 | gif2tiff.obj : gif2tiff.c | |
978 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
979 | ||
980 | gif2tiff.exe : gif2tiff.obj | |
981 | LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS) | |
982 | ||
983 | pal2rgb.obj : pal2rgb.c | |
984 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
985 | ||
986 | pal2rgb.exe : pal2rgb.obj | |
987 | LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS) | |
988 | ||
989 | ppm2tiff.obj : ppm2tiff.c | |
990 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
991 | ||
992 | ppm2tiff.exe : ppm2tiff.obj | |
993 | LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS) | |
994 | ||
995 | ras2tiff.obj : ras2tiff.c | |
996 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
997 | ||
998 | ras2tiff.exe : ras2tiff.obj | |
999 | LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS) | |
1000 | ||
1001 | raw2tiff.obj : raw2tiff.c | |
1002 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
1003 | ||
1004 | raw2tiff.exe : raw2tiff.obj | |
1005 | LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS) | |
1006 | ||
1007 | rgb2ycbcr.obj : rgb2ycbcr.c | |
1008 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
1009 | ||
1010 | rgb2ycbcr.exe : rgb2ycbcr.obj | |
1011 | LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS) | |
1012 | ||
1013 | sgi2tiff.obj : sgi2tiff.c | |
1014 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
1015 | ||
1016 | sgi2tiff.exe : sgi2tiff.obj | |
1017 | LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS) | |
1018 | ||
1019 | sgisv.obj : sgisv.c | |
1020 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
1021 | ||
1022 | sgisv.exe : sgisv.obj | |
1023 | LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS) | |
1024 | ||
1025 | thumbnail.obj : thumbnail.c | |
1026 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
1027 | ||
1028 | thumbnail.exe : thumbnail.obj | |
1029 | LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS) | |
1030 | ||
1031 | tiff2bw.obj : tiff2bw.c | |
1032 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
1033 | ||
1034 | tiff2bw.exe : tiff2bw.obj | |
1035 | LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS) | |
1036 | ||
1037 | tiff2pdf.obj : tiff2pdf.c | |
1038 | $(CC) $(CFLAGS) /NOWARN $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
1039 | ||
1040 | tiff2pdf.exe : tiff2pdf.obj | |
1041 | LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS) | |
1042 | ||
1043 | tiff2ps.obj : tiff2ps.c | |
1044 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
1045 | ||
1046 | tiff2ps.exe : tiff2ps.obj | |
1047 | LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS) | |
1048 | ||
1049 | tiff2rgba.obj : tiff2rgba.c | |
1050 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
1051 | ||
1052 | tiff2rgba.exe : tiff2rgba.obj | |
1053 | LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS) | |
1054 | ||
1055 | tiffcmp.obj : tiffcmp.c | |
1056 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
1057 | ||
1058 | tiffcmp.exe : tiffcmp.obj | |
1059 | LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS) | |
1060 | ||
1061 | tiffcp.obj : tiffcp.c | |
1062 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
1063 | ||
1064 | tiffcp.exe : tiffcp.obj | |
1065 | LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS) | |
1066 | ||
1067 | tiffcrop.obj : tiffcrop.c | |
1068 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
1069 | ||
1070 | tiffcrop.exe : tiffcrop.obj | |
1071 | LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS) | |
1072 | ||
1073 | tiffdither.obj : tiffdither.c | |
1074 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
1075 | ||
1076 | tiffdither.exe : tiffdither.obj | |
1077 | LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS) | |
1078 | ||
1079 | tiffdump.obj : tiffdump.c | |
1080 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
1081 | ||
1082 | tiffdump.exe : tiffdump.obj | |
1083 | LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS) | |
1084 | ||
1085 | tiffgt.obj : tiffgt.c | |
1086 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
1087 | ||
1088 | tiffgt.exe : tiffgt.obj | |
1089 | LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS) | |
1090 | ||
1091 | tiffinfo.obj : tiffinfo.c | |
1092 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
1093 | ||
1094 | tiffinfo.exe : tiffinfo.obj | |
1095 | LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS) | |
1096 | ||
1097 | tiffmedian.obj : tiffmedian.c | |
1098 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
1099 | ||
1100 | tiffmedian.exe : tiffmedian.obj | |
1101 | LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS) | |
1102 | ||
1103 | tiffset.obj : tiffset.c | |
1104 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
1105 | ||
1106 | tiffset.exe : tiffset.obj | |
1107 | LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS) | |
1108 | ||
1109 | tiffsplit.obj : tiffsplit.c | |
1110 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
1111 | ||
1112 | tiffsplit.exe : tiffsplit.obj | |
1113 | LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS) | |
1114 | ||
1115 | ycbcr.obj : ycbcr.c | |
1116 | $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) | |
1117 | ||
1118 | ycbcr.exe : ycbcr.obj | |
1119 | LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS) | |
1120 | ||
1121 | ||
1122 | CLEAN : | |
1123 | DEL ALL.;* | |
1124 | DEL *.OBJ;* | |
1125 | DEL *.EXE;* | |
1126 | ||
1127 | $! | |
1128 | $! | |
1129 | $! | |
1130 | $!copiing and patching TIFF_CONF.H, TIF_CONFIG.H | |
1131 | $! | |
1132 | $CURRENT = F$ENVIRONMENT (""DEFAULT"") | |
1133 | $CURRENT[F$LOCATE("]",CURRENT),9]:=".LIBTIFF]" | |
1134 | $WRITE SYS$OUTPUT "Creating TIFFCONF.H and TIF_CONFIG.H" | |
1135 | $COPY SYS$INPUT 'CURRENT'TIFFCONF.H | |
1136 | /* | |
1137 | Configuration defines for installed libtiff. | |
1138 | This file maintained for backward compatibility. Do not use definitions | |
1139 | from this file in your programs. | |
1140 | */ | |
1141 | ||
1142 | #ifndef _TIFFCONF_ | |
1143 | #define _TIFFCONF_ | |
1144 | ||
1145 | /* Define to 1 if the system has the type `int16'. */ | |
1146 | //#define HAVE_INT16 | |
1147 | ||
1148 | /* Define to 1 if the system has the type `int32'. */ | |
1149 | //#define HAVE_INT32 | |
1150 | ||
1151 | /* Define to 1 if the system has the type `int8'. */ | |
1152 | //#define HAVE_INT8 | |
1153 | ||
1154 | /* The size of a `int', as computed by sizeof. */ | |
1155 | #define SIZEOF_INT 4 | |
1156 | ||
1157 | /* The size of a `long', as computed by sizeof. */ | |
1158 | #define SIZEOF_LONG 4 | |
1159 | ||
1160 | /* Compatibility stuff. */ | |
1161 | ||
1162 | /* Define as 0 or 1 according to the floating point format suported by the | |
1163 | machine */ | |
1164 | ||
1165 | #ifdef __IEEE_FLOAT | |
1166 | #define HAVE_IEEEFP 1 | |
1167 | #endif | |
1168 | ||
1169 | #define HAVE_GETOPT 1 | |
1170 | ||
1171 | /* Set the native cpu bit order (FILLORDER_LSB2MSB or FILLORDER_MSB2LSB) */ | |
1172 | #define HOST_FILLORDER FILLORDER_LSB2MSB | |
1173 | ||
1174 | /* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian | |
1175 | (Intel) */ | |
1176 | #define HOST_BIGENDIAN 0 | |
1177 | ||
1178 | /* Support CCITT Group 3 & 4 algorithms */ | |
1179 | #define CCITT_SUPPORT 1 | |
1180 | ||
1181 | /* Support LogLuv high dynamic range encoding */ | |
1182 | #define LOGLUV_SUPPORT 1 | |
1183 | ||
1184 | /* Support LZW algorithm */ | |
1185 | #define LZW_SUPPORT 1 | |
1186 | ||
1187 | /* Support NeXT 2-bit RLE algorithm */ | |
1188 | #define NEXT_SUPPORT 1 | |
1189 | ||
1190 | /* Support Old JPEG compresson (read contrib/ojpeg/README first! Compilation | |
1191 | fails with unpatched IJG JPEG library) */ | |
1192 | ||
1193 | /* Support Macintosh PackBits algorithm */ | |
1194 | #define PACKBITS_SUPPORT 1 | |
1195 | ||
1196 | /* Support Pixar log-format algorithm (requires Zlib) */ | |
1197 | #define PIXARLOG_SUPPORT 1 | |
1198 | ||
1199 | /* Support ThunderScan 4-bit RLE algorithm */ | |
1200 | #define THUNDER_SUPPORT 1 | |
1201 | ||
1202 | /* Support Deflate compression */ | |
1203 | /* #undef ZIP_SUPPORT */ | |
1204 | ||
1205 | /* Support strip chopping (whether or not to convert single-strip uncompressed | |
1206 | images to mutiple strips of ~8Kb to reduce memory usage) */ | |
1207 | #define STRIPCHOP_DEFAULT TIFF_STRIPCHOP | |
1208 | ||
1209 | /* Enable SubIFD tag (330) support */ | |
1210 | #define SUBIFD_SUPPORT 1 | |
1211 | ||
1212 | /* Treat extra sample as alpha (default enabled). The RGBA interface will | |
1213 | treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many | |
1214 | packages produce RGBA files but don't mark the alpha properly. */ | |
1215 | #define DEFAULT_EXTRASAMPLE_AS_ALPHA 1 | |
1216 | ||
1217 | /* Pick up YCbCr subsampling info from the JPEG data stream to support files | |
1218 | lacking the tag (default enabled). */ | |
1219 | #define CHECK_JPEG_YCBCR_SUBSAMPLING 1 | |
1220 | ||
1221 | /* | |
1222 | * Feature support definitions. | |
1223 | * XXX: These macros are obsoleted. Don't use them in your apps! | |
1224 | * Macros stays here for backward compatibility and should be always defined. | |
1225 | */ | |
1226 | #define COLORIMETRY_SUPPORT | |
1227 | #define YCBCR_SUPPORT | |
1228 | #define CMYK_SUPPORT | |
1229 | #define ICC_SUPPORT | |
1230 | #define PHOTOSHOP_SUPPORT | |
1231 | #define IPTC_SUPPORT | |
1232 | ||
1233 | #endif /* _TIFFCONF_ */ | |
1234 | ||
1235 | ||
1236 | $COPY SYS$INPUT 'CURRENT'TIF_CONFIG.H | |
1237 | /* Define to 1 if you have the <assert.h> header file. */ | |
1238 | ||
1239 | #ifndef HAVE_GETOPT | |
1240 | # define HAVE_GETOPT 1 | |
1241 | #endif | |
1242 | ||
1243 | #define HAVE_ASSERT_H 1 | |
1244 | ||
1245 | /* Define to 1 if you have the <fcntl.h> header file. */ | |
1246 | #define HAVE_FCNTL_H 1 | |
1247 | ||
1248 | /* Define as 0 or 1 according to the floating point format suported by the | |
1249 | machine */ | |
1250 | ||
1251 | #ifdef __IEEE_FLOAT | |
1252 | #define HAVE_IEEEFP 1 | |
1253 | #endif | |
1254 | ||
1255 | #define HAVE_UNISTD_H 1 | |
1256 | ||
1257 | #define HAVE_STRING_H 1 | |
1258 | /* Define to 1 if you have the <sys/types.h> header file. */ | |
1259 | #define HAVE_SYS_TYPES_H 1 | |
1260 | ||
1261 | /* Define to 1 if you have the <io.h> header file. */ | |
1262 | //#define HAVE_IO_H 1 | |
1263 | ||
1264 | /* Define to 1 if you have the <search.h> header file. */ | |
1265 | //#define HAVE_SEARCH_H 1 | |
1266 | ||
1267 | /* The size of a `int', as computed by sizeof. */ | |
1268 | #define SIZEOF_INT 4 | |
1269 | ||
1270 | /* The size of a `long', as computed by sizeof. */ | |
1271 | #define SIZEOF_LONG 4 | |
1272 | ||
1273 | /* Set the native cpu bit order */ | |
1274 | #define HOST_FILLORDER FILLORDER_LSB2MSB | |
1275 | ||
1276 | /* Define to 1 if your processor stores words with the most significant byte | |
1277 | first (like Motorola and SPARC, unlike Intel and VAX). */ | |
1278 | /* #undef WORDS_BIGENDIAN */ | |
1279 | ||
1280 | /* Define to `__inline__' or `__inline' if that's what the C compiler | |
1281 | calls it, or to nothing if 'inline' is not supported under any name. */ | |
1282 | /* | |
1283 | #ifndef __cplusplus | |
1284 | # ifndef inline | |
1285 | # define inline __inline | |
1286 | # endif | |
1287 | #endif | |
1288 | */ | |
1289 | ||
1290 | /* Support CCITT Group 3 & 4 algorithms */ | |
1291 | #define CCITT_SUPPORT 1 | |
1292 | ||
1293 | /* Pick up YCbCr subsampling info from the JPEG data stream to support files | |
1294 | lacking the tag (default enabled). */ | |
1295 | #define CHECK_JPEG_YCBCR_SUBSAMPLING 1 | |
1296 | /* Support C++ stream API (requires C++ compiler) */ | |
1297 | #define CXX_SUPPORT 1 | |
1298 | ||
1299 | /* Treat extra sample as alpha (default enabled). The RGBA interface will | |
1300 | treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many | |
1301 | packages produce RGBA files but don't mark the alpha properly. */ | |
1302 | #define DEFAULT_EXTRASAMPLE_AS_ALPHA 1 | |
1303 | ||
1304 | /* little Endian */ | |
1305 | #define HOST_BIGENDIAN 0 | |
1306 | #define JPEG_SUPPORT 1 | |
1307 | #define LOGLUV_SUPPORT 1 | |
1308 | /* Support LZW algorithm */ | |
1309 | #define LZW_SUPPORT 1 | |
1310 | ||
1311 | /* Support Microsoft Document Imaging format */ | |
1312 | #define MDI_SUPPORT 1 | |
1313 | ||
1314 | /* Support NeXT 2-bit RLE algorithm */ | |
1315 | #define NEXT_SUPPORT 1 | |
1316 | #define OJPEG_SUPPORT 1 | |
1317 | ||
1318 | /* Name of package */ | |
1319 | #define PACKAGE "tiff" | |
1320 | ||
1321 | ||
1322 | /* Define to the address where bug reports for this package should be sent. */ | |
1323 | #define PACKAGE_BUGREPORT "tiff@lists.maptools.org" | |
1324 | ||
1325 | /* Define to the full name of this package. */ | |
1326 | #define PACKAGE_NAME "LibTIFF Software" | |
1327 | ||
1328 | /* Define to the full name and version of this package. */ | |
1329 | #define PACKAGE_STRING "LibTIFF Software 3.9.0beta for VMS" | |
1330 | ||
1331 | /* Define to the one symbol short name of this package. */ | |
1332 | #define PACKAGE_TARNAME "tiff" | |
1333 | ||
1334 | $PURGE 'CURRENT'TIFFCONF.H | |
1335 | $PURGE 'CURRENT'TIF_CONFIG.H | |
1336 | $OPEN/APPEND OUT 'CURRENT'TIF_CONFIG.H | |
1337 | $IF HAVE_LFIND.EQ.1 | |
1338 | $ THEN | |
1339 | $ WRITE OUT "#define HAVE_SEARCH_H 1" | |
1340 | $ ELSE | |
1341 | $ WRITE OUT "#undef HAVE_SEARCH_H" | |
1342 | $ENDIF | |
1343 | $CLOSE OUT | |
1344 | $! | |
1345 | $! | |
1346 | $WRITE SYS$OUTPUT " " | |
1347 | $WRITE SYS$OUTPUT " " | |
1348 | $WRITE SYS$OUTPUT "Now you can type @BUILD " | |
1349 | $! | |
1350 | $EXIT: | |
1351 | $DEFINE SYS$ERROR _NLA0: | |
1352 | $DEFINE SYS$OUTPUT _NLA0: | |
1353 | $DEL TEST.OBJ;* | |
1354 | $DEL TEST.C;* | |
1355 | $DEL TEST.EXE;* | |
1356 | $DEAS SYS$ERROR | |
1357 | $DEAS SYS$OUTPUT |