2 $! OpenVMS configure procedure for libtiff
3 $! (c) Alexey Chupahin 22-NOV-2007
6 $! Permission to use, copy, modify, distribute, and sell this software and
7 $! its documentation for any purpose is hereby granted without fee, provided
8 $! that (i) the above copyright notices and this permission notice appear in
9 $! all copies of the software and related documentation, and (ii) the names of
10 $! Sam Leffler and Silicon Graphics may not be used in any advertising or
11 $! publicity relating to the software without the specific, prior written
12 $! permission of Sam Leffler and Silicon Graphics.
14 $! THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
15 $! EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
16 $! WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
18 $! IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
19 $! ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
20 $! OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
21 $! WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
22 $! LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
28 $WRITE SYS$OUTPUT "Configuring libTIFF library"
30 $! Checking architecture
31 $DECC = F$SEARCH("SYS$SYSTEM:DECC$COMPILER.EXE") .NES. ""
32 $IF (.NOT. DECC) THEN $WRITE SYS$OUTPUT "BAD compiler" GOTO EXIT
33 $ IF F$GETSYI("ARCH_TYPE").EQ.1 THEN CPU = "VAX"
34 $ IF F$GETSYI("ARCH_TYPE").EQ.2 THEN CPU = "Alpha"
35 $ IF F$GETSYI("ARCH_TYPE").EQ.3 THEN CPU = "I64"
36 $ OS = F$GETSYI("VERSION")
37 $WRITE SYS$OUTPUT "Checking architecture ... ", CPU
38 $WRITE SYS$OUTPUT "Checking OS ... OpenVMS ",OS
40 $IF ( (CPU.EQS."Alpha").OR.(CPU.EQS."I64") )
46 $MMS = F$SEARCH("SYS$SYSTEM:MMS.EXE") .NES. ""
48 $IF (MMS .OR. MMK.NES."") THEN GOTO TEST_LIBRARIES
49 $! I cant find any make tool
54 $! Setting as MAKE utility one of MMS or MMK. I prefer MMS.
55 $IF (MMK.NES."") THEN MAKE="MMK"
56 $IF (MMS) THEN MAKE="MMS"
57 $WRITE SYS$OUTPUT "Checking build utility ... ''MAKE'"
61 $IF (P1.EQS."STATIC").OR.(P1.EQS."static") THEN SHARED=0
64 $!"Checking for strcasecmp "
65 $ DEFINE SYS$ERROR _NLA0:
66 $ DEFINE SYS$OUTPUT _NLA0:
67 $ CC/OBJECT=TEST.OBJ/INCLUDE=(ZLIB) SYS$INPUT
73 if (strcasecmp("bla", "Bla")==0) exit(0);
80 $IF (TMP .NE. %X10B90001)
85 $DEFINE SYS$ERROR _NLA0:
86 $DEFINE SYS$OUTPUT _NLA0:
91 $!WRITE SYS$OUTPUT TMP
92 $IF (TMP .NE. %X10000001)
98 $DEFINE SYS$ERROR _NLA0:
99 $DEFINE SYS$OUTPUT _NLA0:
101 $IF ($STATUS .NE. %X00000001)
110 $IF (HAVE_STRCASECMP.EQ.1)
112 $ WRITE SYS$OUTPUT "Checking for strcasecmp ... Yes"
114 $ WRITE SYS$OUTPUT "Checking for strcasecmp ... No"
119 $!"Checking for lfind "
120 $ DEFINE SYS$ERROR _NLA0:
121 $ DEFINE SYS$OUTPUT _NLA0:
122 $ CC/OBJECT=TEST.OBJ/INCLUDE=(ZLIB) SYS$INPUT
127 lfind((const void *)key, (const void *)NULL, (size_t *)NULL,
134 $IF (TMP .NE. %X10B90001)
139 $DEFINE SYS$ERROR _NLA0:
140 $DEFINE SYS$OUTPUT _NLA0:
145 $!WRITE SYS$OUTPUT TMP
146 $IF (TMP .NE. %X10000001)
155 $IF (HAVE_LFIND.EQ.1)
157 $ WRITE SYS$OUTPUT "Checking for lfind ... Yes"
159 $ WRITE SYS$OUTPUT "Checking for lfind ... No"
163 $!"Checking for correct zlib library "
164 $ DEFINE SYS$ERROR _NLA0:
165 $ DEFINE SYS$OUTPUT _NLA0:
166 $ CC/OBJECT=TEST.OBJ/INCLUDE=(ZLIB) SYS$INPUT
172 printf("checking version zlib: %s\n",zlibVersion());
177 $!WRITE SYS$OUTPUT TMP
178 $IF (TMP .NE. %X10B90001)
183 $DEFINE SYS$ERROR _NLA0:
184 $DEFINE SYS$OUTPUT _NLA0:
185 $LINK/EXE=TEST TEST,ZLIB:LIBZ/LIB
189 $!WRITE SYS$OUTPUT TMP
190 $IF (TMP .NE. %X10000001)
199 $ WRITE SYS$OUTPUT "Checking for correct zlib library ... Yes"
201 $ WRITE SYS$OUTPUT "Checking for correct zlib library ... No"
202 $ WRITE SYS$OUTPUT "This is fatal. Please download and install good library from fafner.dyndns.org/~alexey/libsdl/public.html"
208 $! Checking for JPEG ...
209 $ DEFINE SYS$ERROR _NLA0:
210 $ DEFINE SYS$OUTPUT _NLA0:
211 $ CC/OBJECT=TEST.OBJ/INCLUDE=(JPEG) SYS$INPUT
215 #include <jversion.h>
218 printf("checking version jpeg: %s\n",JVERSION);
219 jpeg_quality_scaling(0);
225 $!WRITE SYS$OUTPUT TMP
226 $IF (TMP .NE. %X10B90001)
228 $ WRITE SYS$OUTPUT "Checking for static jpeg library ... No"
231 $DEFINE SYS$ERROR _NLA0:
232 $DEFINE SYS$OUTPUT _NLA0:
233 $LINK/EXE=TEST TEST,JPEG:LIBJPEG/LIB
237 $!WRITE SYS$OUTPUT TMP
238 $IF (TMP .NE. %X10000001)
246 $ WRITE SYS$OUTPUT "Checking for static jpeg library ... Yes"
247 $ JPEG_LIBRARY_PATH="JPEG:LIBJPEG/LIB"
250 $ WRITE SYS$OUTPUT "Checking for static jpeg library ... No"
253 $!"Checking for SHARED JPEG library "
254 $OPEN/WRITE OUT TEST.OPT
255 $WRITE OUT "SYS$SHARE:LIBJPEG$SHR/SHARE"
256 $WRITE OUT "ZLIB:LIBZ/LIB"
258 $DEFINE SYS$ERROR _NLA0:
259 $DEFINE SYS$OUTPUT _NLA0:
260 $LINK/EXE=TEST TEST,TEST/OPT
264 $!WRITE SYS$OUTPUT TMP
265 $IF (TMP .NE. %X10000001)
271 $IF (HAVE_JPEG_SHARED.EQ.1)
273 $ WRITE SYS$OUTPUT "Checking for shared jpeg library ... Yes"
274 $ JPEG_LIBRARY_PATH="SYS$SHARE:LIBJPEG$SHR/SHARE"
276 $ WRITE SYS$OUTPUT "Checking for shared jpeg library ... No"
279 $ IF ( (HAVE_JPEG_SHARED.EQ.0).AND.(HAVE_JPEG.EQ.0) )
281 $ WRITE SYS$OUTPUT "No JPEG library installed. This is fatal. Please download and install good library from fafner.dyndns.org/~alexey/libsdl/public.html"
287 $! Checking for X11 ...
288 $IF F$TRNLNM("DECW$INCLUDE") .NES. ""
290 $ WRITE SYS$OUTPUT "Checking for X11 ... Yes"
292 $ WRITE SYS$OUTPUT "Checking for X11 ... No"
293 $ WRITE SYS$OUTPUT "This is fatal. Please install X11 software"
297 $!WRITING BUILD FILES
298 $OPEN/WRITE OUT BUILD.COM
299 $ WRITE OUT "$set def [.port]"
301 $ WRITE OUT "$set def [-.libtiff]"
303 $ WRITE OUT "$set def [-.tools]"
305 $ WRITE OUT "$set def [-]"
306 $ WRITE OUT "$cop [.PORT]LIBPORT.OLB [.LIBTIFF]LIBPORT.OLB"
307 $ WRITE OUT "$ CURRENT = F$ENVIRONMENT (""DEFAULT"") "
308 $ WRITE OUT "$TIFF=CURRENT"
309 $ WRITE OUT "$OPEN/WRITE OUTT LIBTIFF$STARTUP.COM"
310 $ WRITE OUT "$TIFF[F$LOCATE(""]"",TIFF),9]:="".LIBTIFF]"""
311 $ WRITE OUT "$WRITE OUTT ""DEFINE TIFF ","'","'","TIFF'"" "
312 $ WRITE OUT "$TIFF=CURRENT"
313 $ WRITE OUT "$TIFF[F$LOCATE(""]"",TIFF),7]:="".TOOLS]"""
314 $ WRITE OUT "$WRITE OUTT ""BMP2TIFF:==$", "'","'","TIFF'BMP2TIFF"""
315 $ WRITE OUT "$WRITE OUTT ""FAX2PS:==$", "'","'","TIFF'FAX2PS"""
316 $ WRITE OUT "$WRITE OUTT ""FAX2TIFF:==$", "'","'","TIFF'FAX2TIFF"""
317 $ WRITE OUT "$WRITE OUTT ""GIF2TIFF:==$", "'","'","TIFF'GIF2TIFF"""
318 $ WRITE OUT "$WRITE OUTT ""PAL2RGB:==$", "'","'","TIFF'PAL2RGB"""
319 $ WRITE OUT "$WRITE OUTT ""PPM2TIFF:==$", "'","'","TIFF'PPM2TIFF"""
320 $ WRITE OUT "$WRITE OUTT ""RAS2TIFF:==$", "'","'","TIFF'RAS2TIFF"""
321 $ WRITE OUT "$WRITE OUTT ""RAW2TIFF:==$", "'","'","TIFF'RAW2TIFF"""
322 $ WRITE OUT "$WRITE OUTT ""RGB2YCBCR:==$", "'","'","TIFF'RGB2YCBCR"""
323 $ WRITE OUT "$WRITE OUTT ""THUMBNAIL:==$", "'","'","TIFF'THUMBNAIL"""
324 $ WRITE OUT "$WRITE OUTT ""TIFF2BW:==$", "'","'","TIFF'TIFF2BW"""
325 $ WRITE OUT "$WRITE OUTT ""TIFF2PDF:==$", "'","'","TIFF'TIFF2PDF"""
326 $ WRITE OUT "$WRITE OUTT ""TIFF2PS:==$", "'","'","TIFF'TIFF2PS"""
327 $ WRITE OUT "$WRITE OUTT ""TIFF2RGBA:==$", "'","'","TIFF'TIFF2RGBA"""
328 $ WRITE OUT "$WRITE OUTT ""TIFFCMP:==$", "'","'","TIFF'TIFFCMP"""
329 $ WRITE OUT "$WRITE OUTT ""TIFFCP:==$", "'","'","TIFF'TIFFCP"""
330 $ WRITE OUT "$WRITE OUTT ""TIFFDITHER:==$", "'","'","TIFF'TIFFDITHER"""
331 $ WRITE OUT "$WRITE OUTT ""TIFFDUMP:==$", "'","'","TIFF'TIFFDUMP"""
332 $ WRITE OUT "$WRITE OUTT ""TIFFINFO:==$", "'","'","TIFF'TIFFINFO"""
333 $ WRITE OUT "$WRITE OUTT ""TIFFMEDIAN:==$", "'","'","TIFF'TIFFMEDIAN"""
334 $ WRITE OUT "$WRITE OUTT ""TIFFCROP:==$", "'","'","TIFF'TIFFCROP"""
335 $ WRITE OUT "$WRITE OUTT ""TIFFSET:==$", "'","'","TIFF'TIFFSET"""
336 $ WRITE OUT "$CLOSE OUTT"
337 $ WRITE OUT "$OPEN/WRITE OUTT [.LIBTIFF]LIBTIFF.OPT"
338 $ WRITE OUT "$WRITE OUTT ""TIFF:TIFF/LIB""
339 $ WRITE OUT "$WRITE OUTT ""TIFF:LIBPORT/LIB""
340 $ WRITE OUT "$WRITE OUTT ""JPEG:LIBJPEG/LIB""
341 $ WRITE OUT "$WRITE OUTT ""ZLIB:LIBZ/LIB""
342 $ WRITE OUT "$CLOSE OUTT"
344 $ WRITE OUT "$WRITE SYS$OUTPUT "" "" "
345 $ WRITE OUT "$WRITE SYS$OUTPUT ""***************************************************************************** "" "
346 $ WRITE OUT "$WRITE SYS$OUTPUT ""LIBTIFF$STARTUP.COM has been created. "" "
347 $ WRITE OUT "$WRITE SYS$OUTPUT ""This file setups all logicals needed. It should be execute before using LibTIFF "" "
348 $ WRITE OUT "$WRITE SYS$OUTPUT ""Nice place to call it - LOGIN.COM "" "
349 $ WRITE OUT "$WRITE SYS$OUTPUT """" "
350 $ WRITE OUT "$WRITE SYS$OUTPUT ""Using the library:"" "
351 $ WRITE OUT "$WRITE SYS$OUTPUT ""CC/INC=TIFF ASCII_TAG.C"" "
352 $ WRITE OUT "$WRITE SYS$OUTPUT ""LINK ASCII_TAG,TIFF:LIBTIFF/OPT"" "
353 $ WRITE OUT "$WRITE SYS$OUTPUT ""***************************************************************************** "" "
356 $! DESCRIP.MMS in [.PORT]
358 $IF HAVE_STRCASECMP.NE.1
360 $ OBJ=OBJ+",strcasecmp.obj"
364 $ OBJ=OBJ+",lfind.obj"
366 $OPEN/WRITE OUT [.PORT]DESCRIP.MMS
367 $WRITE OUT "OBJ=",OBJ
369 $WRITE OUT "LIBPORT.OLB : $(OBJ)"
370 $WRITE OUT " LIB/CREA LIBPORT $(OBJ)"
373 $WRITE OUT "dummy.obj : dummy.c"
374 $WRITE OUT " $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)"
377 $WRITE OUT "strcasecmp.obj : strcasecmp.c"
378 $WRITE OUT " $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)"
381 $WRITE OUT "lfind.obj : lfind.c"
382 $WRITE OUT " $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)"
388 $WRITE SYS$OUTPUT "Creating LIBTIFF$DEF.OPT"
391 $ COPY SYS$INPUT TIFF$DEF.OPT
394 TIFFGetVersion=PROCEDURE,-
395 TIFFCleanup=PROCEDURE,-
396 TIFFClose=PROCEDURE,-
397 TIFFFlush=PROCEDURE,-
398 TIFFFlushData=PROCEDURE,-
399 TIFFGetField=PROCEDURE,-
400 TIFFVGetField=PROCEDURE,-
401 TIFFGetFieldDefaulted=PROCEDURE,-
402 TIFFVGetFieldDefaulted=PROCEDURE,-
403 TIFFGetTagListEntry=PROCEDURE,-
404 TIFFGetTagListCount=PROCEDURE,-
405 TIFFReadDirectory=PROCEDURE,-
406 TIFFScanlineSize=PROCEDURE,-
407 TIFFStripSize=PROCEDURE,-
408 TIFFVStripSize=PROCEDURE,-
409 TIFFRawStripSize=PROCEDURE,-
410 TIFFTileRowSize=PROCEDURE,-
411 TIFFTileSize=PROCEDURE,-
412 TIFFVTileSize=PROCEDURE,-
413 TIFFFileno=PROCEDURE,-
414 TIFFSetFileno=PROCEDURE,-
415 TIFFGetMode=PROCEDURE,-
416 TIFFIsTiled=PROCEDURE,-
417 TIFFIsByteSwapped=PROCEDURE,-
418 TIFFIsBigEndian=PROCEDURE,-
419 TIFFIsMSB2LSB=PROCEDURE,-
420 TIFFIsUpSampled=PROCEDURE,-
421 TIFFCIELabToRGBInit=PROCEDURE,-
422 TIFFCIELabToXYZ=PROCEDURE,-
423 TIFFXYZToRGB=PROCEDURE,-
424 TIFFYCbCrToRGBInit=PROCEDURE,-
425 TIFFYCbCrtoRGB=PROCEDURE,-
426 TIFFCurrentRow=PROCEDURE,-
427 TIFFCurrentDirectory=PROCEDURE,-
428 TIFFCurrentStrip=PROCEDURE,-
429 TIFFCurrentTile=PROCEDURE,-
430 TIFFDataWidth=PROCEDURE,-
431 TIFFReadBufferSetup=PROCEDURE,-
432 TIFFWriteBufferSetup=PROCEDURE,-
433 TIFFSetupStrips=PROCEDURE,-
434 TIFFLastDirectory=PROCEDURE,-
435 TIFFSetDirectory=PROCEDURE,-
436 TIFFSetSubDirectory=PROCEDURE,-
437 TIFFUnlinkDirectory=PROCEDURE,-
438 TIFFSetField=PROCEDURE,-
439 TIFFVSetField=PROCEDURE,-
440 TIFFCheckpointDirectory=PROCEDURE,-
441 TIFFWriteDirectory=PROCEDURE,-
442 TIFFRewriteDirectory=PROCEDURE,-
443 TIFFPrintDirectory=PROCEDURE,-
444 TIFFReadScanline=PROCEDURE,-
445 TIFFWriteScanline=PROCEDURE,-
446 TIFFReadRGBAImage=PROCEDURE,-
447 TIFFReadRGBAImageOriented=PROCEDURE,-
448 TIFFFdOpen=PROCEDURE,-
449 TIFFClientOpen=PROCEDURE,-
450 TIFFFileName=PROCEDURE,-
451 TIFFError=PROCEDURE,-
452 TIFFErrorExt=PROCEDURE,-
453 TIFFWarning=PROCEDURE,-
454 TIFFWarningExt=PROCEDURE,-
455 TIFFSetErrorHandler=PROCEDURE,-
456 TIFFSetErrorHandlerExt=PROCEDURE,-
457 TIFFSetWarningHandler=PROCEDURE,-
458 TIFFSetWarningHandlerExt=PROCEDURE,-
459 TIFFComputeTile=PROCEDURE,-
460 TIFFCheckTile=PROCEDURE,-
461 TIFFNumberOfTiles=PROCEDURE,-
462 TIFFReadTile=PROCEDURE,-
463 TIFFWriteTile=PROCEDURE,-
464 TIFFComputeStrip=PROCEDURE,-
465 TIFFNumberOfStrips=PROCEDURE,-
466 TIFFRGBAImageBegin=PROCEDURE,-
467 TIFFRGBAImageGet=PROCEDURE,-
468 TIFFRGBAImageEnd=PROCEDURE,-
469 TIFFReadEncodedStrip=PROCEDURE,-
470 TIFFReadRawStrip=PROCEDURE,-
471 TIFFReadEncodedTile=PROCEDURE,-
472 TIFFReadRawTile=PROCEDURE,-
473 TIFFReadRGBATile=PROCEDURE,-
474 TIFFReadRGBAStrip=PROCEDURE,-
475 TIFFWriteEncodedStrip=PROCEDURE,-
476 TIFFWriteRawStrip=PROCEDURE,-
477 TIFFWriteEncodedTile=PROCEDURE,-
478 TIFFWriteRawTile=PROCEDURE,-
479 TIFFSetWriteOffset=PROCEDURE,-
480 TIFFSwabDouble=PROCEDURE,-
481 TIFFSwabShort=PROCEDURE,-
482 TIFFSwabLong=PROCEDURE,-
483 TIFFSwabArrayOfShort=PROCEDURE,-
484 TIFFSwabArrayOfLong=PROCEDURE,-
485 TIFFSwabArrayOfDouble=PROCEDURE,-
486 TIFFSwabArrayOfTriples=PROCEDURE,-
487 TIFFReverseBits=PROCEDURE,-
488 TIFFGetBitRevTable=PROCEDURE,-
489 TIFFDefaultStripSize=PROCEDURE,-
490 TIFFDefaultTileSize=PROCEDURE,-
491 TIFFRasterScanlineSize=PROCEDURE,-
492 _TIFFmalloc=PROCEDURE,-
493 _TIFFrealloc=PROCEDURE,-
494 _TIFFfree=PROCEDURE,-
495 _TIFFmemset=PROCEDURE,-
496 _TIFFmemcpy=PROCEDURE,-
497 _TIFFmemcmp=PROCEDURE,-
498 TIFFCreateDirectory=PROCEDURE,-
499 TIFFSetTagExtender=PROCEDURE,-
500 TIFFMergeFieldInfo=PROCEDURE,-
501 TIFFFindFieldInfo=PROCEDURE,-
502 TIFFFindFieldInfoByName=PROCEDURE,-
503 TIFFFieldWithName=PROCEDURE,-
504 TIFFFieldWithTag=PROCEDURE,-
505 TIFFFieldTag=PROCEDURE,-
506 TIFFFieldName=PROCEDURE,-
507 TIFFFieldDataType=PROCEDURE,-
508 TIFFFieldPassCount=PROCEDURE,-
509 TIFFFieldReadCount=PROCEDURE,-
510 TIFFFieldWriteCount=PROCEDURE,-
511 TIFFCurrentDirOffset=PROCEDURE,-
512 TIFFWriteCheck=PROCEDURE,-
513 TIFFRGBAImageOK=PROCEDURE,-
514 TIFFNumberOfDirectories=PROCEDURE,-
515 TIFFSetFileName=PROCEDURE,-
516 TIFFSetClientdata=PROCEDURE,-
517 TIFFSetMode=PROCEDURE,-
518 TIFFClientdata=PROCEDURE,-
519 TIFFGetReadProc=PROCEDURE,-
520 TIFFGetWriteProc=PROCEDURE,-
521 TIFFGetSeekProc=PROCEDURE,-
522 TIFFGetCloseProc=PROCEDURE,-
523 TIFFGetSizeProc=PROCEDURE,-
524 TIFFGetMapFileProc=PROCEDURE,-
525 TIFFGetUnmapFileProc=PROCEDURE,-
526 TIFFIsCODECConfigured=PROCEDURE,-
527 TIFFGetConfiguredCODECs=PROCEDURE,-
528 TIFFFindCODEC=PROCEDURE,-
529 TIFFRegisterCODEC=PROCEDURE,-
530 TIFFUnRegisterCODEC=PROCEDURE,-
531 TIFFFreeDirectory=PROCEDURE,-
532 TIFFReadCustomDirectory=PROCEDURE,-
533 TIFFReadEXIFDirectory=PROCEDURE,-
534 TIFFAccessTagMethods=PROCEDURE,-
535 TIFFGetClientInfo=PROCEDURE,-
536 TIFFSetClientInfo=PROCEDURE,-
537 TIFFReassignTagToIgnore=PROCEDURE-
543 $ COPY SYS$INPUT TIFF$DEF.OPT
545 UNIVERSAL=TIFFGetVersion
546 UNIVERSAL=TIFFCleanup
549 UNIVERSAL=TIFFFlushData
550 UNIVERSAL=TIFFGetField
551 UNIVERSAL=TIFFVGetField
552 UNIVERSAL=TIFFGetFieldDefaulted
553 UNIVERSAL=TIFFVGetFieldDefaulted
554 UNIVERSAL=TIFFGetTagListEntry
555 UNIVERSAL=TIFFGetTagListCount
556 UNIVERSAL=TIFFReadDirectory
557 UNIVERSAL=TIFFScanlineSize
558 UNIVERSAL=TIFFStripSize
559 UNIVERSAL=TIFFVStripSize
560 UNIVERSAL=TIFFRawStripSize
561 UNIVERSAL=TIFFTileRowSize
562 UNIVERSAL=TIFFTileSize
563 UNIVERSAL=TIFFVTileSize
565 UNIVERSAL=TIFFSetFileno
566 UNIVERSAL=TIFFGetMode
567 UNIVERSAL=TIFFIsTiled
568 UNIVERSAL=TIFFIsByteSwapped
569 UNIVERSAL=TIFFIsBigEndian
570 UNIVERSAL=TIFFIsMSB2LSB
571 UNIVERSAL=TIFFIsUpSampled
572 UNIVERSAL=TIFFCIELabToRGBInit
573 UNIVERSAL=TIFFCIELabToXYZ
574 UNIVERSAL=TIFFXYZToRGB
575 UNIVERSAL=TIFFYCbCrToRGBInit
576 UNIVERSAL=TIFFYCbCrtoRGB
577 UNIVERSAL=TIFFCurrentRow
578 UNIVERSAL=TIFFCurrentDirectory
579 UNIVERSAL=TIFFCurrentStrip
580 UNIVERSAL=TIFFCurrentTile
581 UNIVERSAL=TIFFDataWidth
582 UNIVERSAL=TIFFReadBufferSetup
583 UNIVERSAL=TIFFWriteBufferSetup
584 UNIVERSAL=TIFFSetupStrips
585 UNIVERSAL=TIFFLastDirectory
586 UNIVERSAL=TIFFSetDirectory
587 UNIVERSAL=TIFFSetSubDirectory
588 UNIVERSAL=TIFFUnlinkDirectory
589 UNIVERSAL=TIFFSetField
590 UNIVERSAL=TIFFVSetField
591 UNIVERSAL=TIFFCheckpointDirectory
592 UNIVERSAL=TIFFWriteDirectory
593 UNIVERSAL=TIFFRewriteDirectory
594 UNIVERSAL=TIFFPrintDirectory
595 UNIVERSAL=TIFFReadScanline
596 UNIVERSAL=TIFFWriteScanline
597 UNIVERSAL=TIFFReadRGBAImage
598 UNIVERSAL=TIFFReadRGBAImageOriented
600 UNIVERSAL=TIFFClientOpen
601 UNIVERSAL=TIFFFileName
603 UNIVERSAL=TIFFErrorExt
604 UNIVERSAL=TIFFWarning
605 UNIVERSAL=TIFFWarningExt
606 UNIVERSAL=TIFFSetErrorHandler
607 UNIVERSAL=TIFFSetErrorHandlerExt
608 UNIVERSAL=TIFFSetWarningHandler
609 UNIVERSAL=TIFFSetWarningHandlerExt
610 UNIVERSAL=TIFFComputeTile
611 UNIVERSAL=TIFFCheckTile
612 UNIVERSAL=TIFFNumberOfTiles
613 UNIVERSAL=TIFFReadTile
614 UNIVERSAL=TIFFWriteTile
615 UNIVERSAL=TIFFComputeStrip
616 UNIVERSAL=TIFFNumberOfStrips
617 UNIVERSAL=TIFFRGBAImageBegin
618 UNIVERSAL=TIFFRGBAImageGet
619 UNIVERSAL=TIFFRGBAImageEnd
620 UNIVERSAL=TIFFReadEncodedStrip
621 UNIVERSAL=TIFFReadRawStrip
622 UNIVERSAL=TIFFReadEncodedTile
623 UNIVERSAL=TIFFReadRawTile
624 UNIVERSAL=TIFFReadRGBATile
625 UNIVERSAL=TIFFReadRGBAStrip
626 UNIVERSAL=TIFFWriteEncodedStrip
627 UNIVERSAL=TIFFWriteRawStrip
628 UNIVERSAL=TIFFWriteEncodedTile
629 UNIVERSAL=TIFFWriteRawTile
630 UNIVERSAL=TIFFSetWriteOffset
631 UNIVERSAL=TIFFSwabDouble
632 UNIVERSAL=TIFFSwabShort
633 UNIVERSAL=TIFFSwabLong
634 UNIVERSAL=TIFFSwabArrayOfShort
635 UNIVERSAL=TIFFSwabArrayOfLong
636 UNIVERSAL=TIFFSwabArrayOfDouble
637 UNIVERSAL=TIFFSwabArrayOfTriples
638 UNIVERSAL=TIFFReverseBits
639 UNIVERSAL=TIFFGetBitRevTable
640 UNIVERSAL=TIFFDefaultStripSize
641 UNIVERSAL=TIFFDefaultTileSize
642 UNIVERSAL=TIFFRasterScanlineSize
643 UNIVERSAL=_TIFFmalloc
644 UNIVERSAL=_TIFFrealloc
646 UNIVERSAL=_TIFFmemset
647 UNIVERSAL=_TIFFmemcpy
648 UNIVERSAL=_TIFFmemcmp
649 UNIVERSAL=TIFFCreateDirectory
650 UNIVERSAL=TIFFSetTagExtender
651 UNIVERSAL=TIFFMergeFieldInfo
652 UNIVERSAL=TIFFFindFieldInfo
653 UNIVERSAL=TIFFFindFieldInfoByName
654 UNIVERSAL=TIFFFieldWithName
655 UNIVERSAL=TIFFFieldWithTag
656 UNIVERSAL=TIFFFieldTag
657 UNIVERSAL=TIFFFieldName
658 UNIVERSAL=TIFFFieldDataType
659 UNIVERSAL=TIFFFieldPassCount
660 UNIVERSAL=TIFFFieldReadCount
661 UNIVERSAL=TIFFFieldWriteCount
662 UNIVERSAL=TIFFCurrentDirOffset
663 UNIVERSAL=TIFFWriteCheck
664 UNIVERSAL=TIFFRGBAImageOK
665 UNIVERSAL=TIFFNumberOfDirectories
666 UNIVERSAL=TIFFSetFileName
667 UNIVERSAL=TIFFSetClientdata
668 UNIVERSAL=TIFFSetMode
669 UNIVERSAL=TIFFClientdata
670 UNIVERSAL=TIFFGetReadProc
671 UNIVERSAL=TIFFGetWriteProc
672 UNIVERSAL=TIFFGetSeekProc
673 UNIVERSAL=TIFFGetCloseProc
674 UNIVERSAL=TIFFGetSizeProc
675 UNIVERSAL=TIFFGetMapFileProc
676 UNIVERSAL=TIFFGetUnmapFileProc
677 UNIVERSAL=TIFFIsCODECConfigured
678 UNIVERSAL=TIFFGetConfiguredCODECs
679 UNIVERSAL=TIFFFindCODEC
680 UNIVERSAL=TIFFRegisterCODEC
681 UNIVERSAL=TIFFUnRegisterCODEC
682 UNIVERSAL=TIFFFreeDirectory
683 UNIVERSAL=TIFFReadCustomDirectory
684 UNIVERSAL=TIFFReadEXIFDirectory
685 UNIVERSAL=TIFFAccessTagMethods
686 UNIVERSAL=TIFFGetClientInfo
687 UNIVERSAL=TIFFSetClientInfo
688 UNIVERSAL=TIFFReassignTagToIgnore
693 $! Writing TIFF$SHR.OPT file to build TOOLS
696 $ OPEN/WRITE OUT TIFF$SHR.OPT
697 $ WRITE OUT "[]TIFF/LIB"
698 $ WRITE OUT "[-.PORT]LIBPORT/LIB"
699 $ WRITE OUT JPEG_LIBRARY_PATH
700 $ WRITE OUT "ZLIB:LIBZ/LIB"
705 $! Writing OPT.OPT file to build TOOLS
706 $OPEN/WRITE OUT OPT.OPT
709 $ WRITE OUT "[-.LIBTIFF]TIFF$SHR/SHARE"
710 $ WRITE OUT JPEG_LIBRARY_PATH
712 $ WRITE OUT "[-.LIBTIFF]TIFF/LIB"
713 $ WRITE OUT "[-.PORT]LIBPORT/LIB"
714 $ WRITE OUT JPEG_LIBRARY_PATH
716 $ WRITE OUT "ZLIB:LIBZ/LIB"
720 $COPY SYS$INPUT [.LIBTIFF]DESCRIP.MMS
721 # (c) Alexey Chupahin 22-NOV-2007
722 # OpenVMS 7.3-1, DEC 2000 mod.300
723 # OpenVMS 8.3, HP rx1620
724 # Makefile for DEC C compilers.
727 INCL = /INCLUDE=(JPEG,ZLIB,[])
731 OBJ_SYSDEP_MODULE = tif_vms.obj
769 tif_zip.obj, $(OBJ_SYSDEP_MODULE)
773 $ APP SYS$INPUT [.LIBTIFF]DESCRIP.MMS
774 ALL : tiff.olb, tiff$shr.exe
775 $WRITE SYS$OUTPUT "Done"
777 tiff$shr.exe : tiff.olb
778 LINK/SHARE=TIFF$SHR.EXE TIF_AUX,[-]TIFF$DEF/OPT, [-]TIFF$SHR/OPT
779 COPY TIFF$SHR.EXE SYS$SHARE
780 PURGE SYS$SHARE:TIFF$SHR.EXE
783 $ APP SYS$INPUT [.LIBTIFF]DESCRIP.MMS
785 $WRITE SYS$OUTPUT "Done"
790 $ APP SYS$INPUT [.LIBTIFF]DESCRIP.MMS
793 lib/crea tiff.olb $(OBJ)
795 #tif_config.h : tif_config.h-vms
796 # copy tif_config.h-vms tif_config.h
798 #tiffconf.h : tiffconf.h-vms
799 # copy tiffconf.h-vms tiffconf.h
801 tif_aux.obj : tif_aux.c
802 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
804 tif_close.obj : tif_close.c
805 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
807 tif_codec.obj : tif_codec.c
808 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
810 tif_color.obj : tif_color.c
811 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
813 tif_compress.obj : tif_compress.c
814 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
816 tif_dir.obj : tif_dir.c
817 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
819 tif_dirinfo.obj : tif_dirinfo.c
820 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
822 tif_dirread.obj : tif_dirread.c
823 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
825 tif_dirwrite.obj : tif_dirwrite.c
826 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
828 tif_dumpmode.obj : tif_dumpmode.c
829 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
831 tif_error.obj : tif_error.c
832 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
834 tif_extension.obj : tif_extension.c
835 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
837 tif_fax3.obj : tif_fax3.c
838 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
840 tif_fax3sm.obj : tif_fax3sm.c
841 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
843 tif_flush.obj : tif_flush.c
844 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
846 tif_getimage.obj : tif_getimage.c
847 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
849 tif_jbig.obj : tif_jbig.c
850 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
852 tif_jpeg.obj : tif_jpeg.c
853 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
855 tif_luv.obj : tif_luv.c
856 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
858 tif_lzw.obj : tif_lzw.c
859 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
861 tif_next.obj : tif_next.c
862 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
864 tif_ojpeg.obj : tif_ojpeg.c
865 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
867 tif_open.obj : tif_open.c
868 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
870 tif_packbits.obj : tif_packbits.c
871 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
873 tif_pixarlog.obj : tif_pixarlog.c
874 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
876 tif_predict.obj : tif_predict.c
877 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
879 tif_print.obj : tif_print.c
880 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
882 tif_read.obj : tif_read.c
883 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
885 tif_strip.obj : tif_strip.c
886 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
888 tif_swab.obj : tif_swab.c
889 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
891 tif_thunder.obj : tif_thunder.c
892 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
894 tif_tile.obj : tif_tile.c
895 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
897 tif_unix.obj : tif_unix.c
898 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
900 tif_version.obj : tif_version.c
901 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
903 tif_warning.obj : tif_warning.c
904 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
906 tif_write.obj : tif_write.c
907 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
909 tif_zip.obj : tif_zip.c
910 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
919 $COPY SYS$INPUT [.TOOLS]DESCRIP.MMS
920 # (c) Alexey Chupahin 22-NOV-2007
921 # OpenVMS 7.3-1, DEC 2000 mod.300
922 # OpenVMS 8.3, HP rx1620
924 INCL = /INCL=([],[-.LIBTIFF])
958 bmp2tiff.obj : bmp2tiff.c
959 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
961 bmp2tiff.exe : bmp2tiff.obj
962 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
964 fax2ps.obj : fax2ps.c
965 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
967 fax2ps.exe : fax2ps.obj
968 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
970 fax2tiff.obj : fax2tiff.c
971 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
973 fax2tiff.exe : fax2tiff.obj
974 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
976 gif2tiff.obj : gif2tiff.c
977 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
979 gif2tiff.exe : gif2tiff.obj
980 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
982 pal2rgb.obj : pal2rgb.c
983 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
985 pal2rgb.exe : pal2rgb.obj
986 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
988 ppm2tiff.obj : ppm2tiff.c
989 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
991 ppm2tiff.exe : ppm2tiff.obj
992 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
994 ras2tiff.obj : ras2tiff.c
995 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
997 ras2tiff.exe : ras2tiff.obj
998 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
1000 raw2tiff.obj : raw2tiff.c
1001 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
1003 raw2tiff.exe : raw2tiff.obj
1004 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
1006 rgb2ycbcr.obj : rgb2ycbcr.c
1007 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
1009 rgb2ycbcr.exe : rgb2ycbcr.obj
1010 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
1012 sgi2tiff.obj : sgi2tiff.c
1013 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
1015 sgi2tiff.exe : sgi2tiff.obj
1016 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
1019 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
1021 sgisv.exe : sgisv.obj
1022 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
1024 thumbnail.obj : thumbnail.c
1025 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
1027 thumbnail.exe : thumbnail.obj
1028 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
1030 tiff2bw.obj : tiff2bw.c
1031 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
1033 tiff2bw.exe : tiff2bw.obj
1034 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
1036 tiff2pdf.obj : tiff2pdf.c
1037 $(CC) $(CFLAGS) /NOWARN $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
1039 tiff2pdf.exe : tiff2pdf.obj
1040 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
1042 tiff2ps.obj : tiff2ps.c
1043 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
1045 tiff2ps.exe : tiff2ps.obj
1046 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
1048 tiff2rgba.obj : tiff2rgba.c
1049 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
1051 tiff2rgba.exe : tiff2rgba.obj
1052 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
1054 tiffcmp.obj : tiffcmp.c
1055 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
1057 tiffcmp.exe : tiffcmp.obj
1058 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
1060 tiffcp.obj : tiffcp.c
1061 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
1063 tiffcp.exe : tiffcp.obj
1064 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
1066 tiffcrop.obj : tiffcrop.c
1067 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
1069 tiffcrop.exe : tiffcrop.obj
1070 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
1072 tiffdither.obj : tiffdither.c
1073 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
1075 tiffdither.exe : tiffdither.obj
1076 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
1078 tiffdump.obj : tiffdump.c
1079 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
1081 tiffdump.exe : tiffdump.obj
1082 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
1084 tiffgt.obj : tiffgt.c
1085 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
1087 tiffgt.exe : tiffgt.obj
1088 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
1090 tiffinfo.obj : tiffinfo.c
1091 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
1093 tiffinfo.exe : tiffinfo.obj
1094 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
1096 tiffmedian.obj : tiffmedian.c
1097 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
1099 tiffmedian.exe : tiffmedian.obj
1100 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
1102 tiffset.obj : tiffset.c
1103 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
1105 tiffset.exe : tiffset.obj
1106 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
1108 tiffsplit.obj : tiffsplit.c
1109 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
1111 tiffsplit.exe : tiffsplit.obj
1112 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
1115 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
1117 ycbcr.exe : ycbcr.obj
1118 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
1129 $!copiing and patching TIFF_CONF.H, TIF_CONFIG.H
1131 $CURRENT = F$ENVIRONMENT (""DEFAULT"")
1132 $CURRENT[F$LOCATE("]",CURRENT),9]:=".LIBTIFF]"
1133 $WRITE SYS$OUTPUT "Creating TIFFCONF.H and TIF_CONFIG.H"
1134 $COPY SYS$INPUT 'CURRENT'TIFFCONF.H
1136 Configuration defines for installed libtiff.
1137 This file maintained for backward compatibility. Do not use definitions
1138 from this file in your programs.
1144 /* Define to 1 if the system has the type `int16'. */
1145 //#define HAVE_INT16
1147 /* Define to 1 if the system has the type `int32'. */
1148 //#define HAVE_INT32
1150 /* Define to 1 if the system has the type `int8'. */
1153 /* The size of a `int', as computed by sizeof. */
1154 #define SIZEOF_INT 4
1156 /* The size of a `long', as computed by sizeof. */
1157 #define SIZEOF_LONG 4
1159 /* Compatibility stuff. */
1161 /* Define as 0 or 1 according to the floating point format suported by the
1165 #define HAVE_IEEEFP 1
1168 #define HAVE_GETOPT 1
1170 /* Set the native cpu bit order (FILLORDER_LSB2MSB or FILLORDER_MSB2LSB) */
1171 #define HOST_FILLORDER FILLORDER_LSB2MSB
1173 /* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian
1175 #define HOST_BIGENDIAN 0
1177 /* Support CCITT Group 3 & 4 algorithms */
1178 #define CCITT_SUPPORT 1
1180 /* Support LogLuv high dynamic range encoding */
1181 #define LOGLUV_SUPPORT 1
1183 /* Support LZW algorithm */
1184 #define LZW_SUPPORT 1
1186 /* Support NeXT 2-bit RLE algorithm */
1187 #define NEXT_SUPPORT 1
1189 /* Support Old JPEG compresson (read contrib/ojpeg/README first! Compilation
1190 fails with unpatched IJG JPEG library) */
1192 /* Support Macintosh PackBits algorithm */
1193 #define PACKBITS_SUPPORT 1
1195 /* Support Pixar log-format algorithm (requires Zlib) */
1196 #define PIXARLOG_SUPPORT 1
1198 /* Support ThunderScan 4-bit RLE algorithm */
1199 #define THUNDER_SUPPORT 1
1201 /* Support Deflate compression */
1202 /* #undef ZIP_SUPPORT */
1204 /* Support strip chopping (whether or not to convert single-strip uncompressed
1205 images to mutiple strips of ~8Kb to reduce memory usage) */
1206 #define STRIPCHOP_DEFAULT TIFF_STRIPCHOP
1208 /* Enable SubIFD tag (330) support */
1209 #define SUBIFD_SUPPORT 1
1211 /* Treat extra sample as alpha (default enabled). The RGBA interface will
1212 treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many
1213 packages produce RGBA files but don't mark the alpha properly. */
1214 #define DEFAULT_EXTRASAMPLE_AS_ALPHA 1
1216 /* Pick up YCbCr subsampling info from the JPEG data stream to support files
1217 lacking the tag (default enabled). */
1218 #define CHECK_JPEG_YCBCR_SUBSAMPLING 1
1221 * Feature support definitions.
1222 * XXX: These macros are obsoleted. Don't use them in your apps!
1223 * Macros stays here for backward compatibility and should be always defined.
1225 #define COLORIMETRY_SUPPORT
1226 #define YCBCR_SUPPORT
1227 #define CMYK_SUPPORT
1229 #define PHOTOSHOP_SUPPORT
1230 #define IPTC_SUPPORT
1232 #endif /* _TIFFCONF_ */
1235 $COPY SYS$INPUT 'CURRENT'TIF_CONFIG.H
1236 /* Define to 1 if you have the <assert.h> header file. */
1239 # define HAVE_GETOPT 1
1242 #define HAVE_ASSERT_H 1
1244 /* Define to 1 if you have the <fcntl.h> header file. */
1245 #define HAVE_FCNTL_H 1
1247 /* Define as 0 or 1 according to the floating point format suported by the
1251 #define HAVE_IEEEFP 1
1254 #define HAVE_UNISTD_H 1
1256 #define HAVE_STRING_H 1
1257 /* Define to 1 if you have the <sys/types.h> header file. */
1258 #define HAVE_SYS_TYPES_H 1
1260 /* Define to 1 if you have the <io.h> header file. */
1261 //#define HAVE_IO_H 1
1263 /* Define to 1 if you have the <search.h> header file. */
1264 //#define HAVE_SEARCH_H 1
1266 /* The size of a `int', as computed by sizeof. */
1267 #define SIZEOF_INT 4
1269 /* The size of a `long', as computed by sizeof. */
1270 #define SIZEOF_LONG 4
1272 /* Set the native cpu bit order */
1273 #define HOST_FILLORDER FILLORDER_LSB2MSB
1275 /* Define to 1 if your processor stores words with the most significant byte
1276 first (like Motorola and SPARC, unlike Intel and VAX). */
1277 /* #undef WORDS_BIGENDIAN */
1279 /* Define to `__inline__' or `__inline' if that's what the C compiler
1280 calls it, or to nothing if 'inline' is not supported under any name. */
1284 # define inline __inline
1289 /* Support CCITT Group 3 & 4 algorithms */
1290 #define CCITT_SUPPORT 1
1292 /* Pick up YCbCr subsampling info from the JPEG data stream to support files
1293 lacking the tag (default enabled). */
1294 #define CHECK_JPEG_YCBCR_SUBSAMPLING 1
1295 /* Support C++ stream API (requires C++ compiler) */
1296 #define CXX_SUPPORT 1
1298 /* Treat extra sample as alpha (default enabled). The RGBA interface will
1299 treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many
1300 packages produce RGBA files but don't mark the alpha properly. */
1301 #define DEFAULT_EXTRASAMPLE_AS_ALPHA 1
1304 #define HOST_BIGENDIAN 0
1305 #define JPEG_SUPPORT 1
1306 #define LOGLUV_SUPPORT 1
1307 /* Support LZW algorithm */
1308 #define LZW_SUPPORT 1
1310 /* Support Microsoft Document Imaging format */
1311 #define MDI_SUPPORT 1
1313 /* Support NeXT 2-bit RLE algorithm */
1314 #define NEXT_SUPPORT 1
1315 #define OJPEG_SUPPORT 1
1317 /* Name of package */
1318 #define PACKAGE "tiff"
1321 /* Define to the address where bug reports for this package should be sent. */
1322 #define PACKAGE_BUGREPORT "tiff@lists.maptools.org"
1324 /* Define to the full name of this package. */
1325 #define PACKAGE_NAME "LibTIFF Software"
1327 /* Define to the full name and version of this package. */
1328 #define PACKAGE_STRING "LibTIFF Software 3.9.0beta for VMS"
1330 /* Define to the one symbol short name of this package. */
1331 #define PACKAGE_TARNAME "tiff"
1333 $PURGE 'CURRENT'TIFFCONF.H
1334 $PURGE 'CURRENT'TIF_CONFIG.H
1335 $OPEN/APPEND OUT 'CURRENT'TIF_CONFIG.H
1338 $ WRITE OUT "#define HAVE_SEARCH_H 1"
1340 $ WRITE OUT "#undef HAVE_SEARCH_H"
1345 $WRITE SYS$OUTPUT " "
1346 $WRITE SYS$OUTPUT " "
1347 $WRITE SYS$OUTPUT "Now you can type @BUILD "
1350 $DEFINE SYS$ERROR _NLA0:
1351 $DEFINE SYS$OUTPUT _NLA0: