roentgen b75cab
$! $Id: configure.com,v 1.3 2012-07-29 15:45:29 tgl Exp $
roentgen b75cab
$!
roentgen b75cab
$! OpenVMS configure procedure for libtiff
roentgen b75cab
$! (c) Alexey Chupahin  22-NOV-2007
roentgen b75cab
$! elvis_75@mail.ru
roentgen b75cab
$!
roentgen b75cab
$! Permission to use, copy, modify, distribute, and sell this software and 
roentgen b75cab
$! its documentation for any purpose is hereby granted without fee, provided
roentgen b75cab
$! that (i) the above copyright notices and this permission notice appear in
roentgen b75cab
$! all copies of the software and related documentation, and (ii) the names of
roentgen b75cab
$! Sam Leffler and Silicon Graphics may not be used in any advertising or
roentgen b75cab
$! publicity relating to the software without the specific, prior written
roentgen b75cab
$! permission of Sam Leffler and Silicon Graphics.
roentgen b75cab
$! 
roentgen b75cab
$! THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, 
roentgen b75cab
$! EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY 
roentgen b75cab
$! WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  
roentgen b75cab
$! 
roentgen b75cab
$! IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
roentgen b75cab
$! ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
roentgen b75cab
$! OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
roentgen b75cab
$! WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF 
roentgen b75cab
$! LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 
roentgen b75cab
$! OF THIS SOFTWARE.
roentgen b75cab
$!
roentgen b75cab
$!
roentgen b75cab
$ SET NOON
roentgen b75cab
$WRITE SYS$OUTPUT " "
roentgen b75cab
$WRITE SYS$OUTPUT "Configuring libTIFF library"
roentgen b75cab
$WRITE SYS$OUTPUT " "
roentgen b75cab
$! Checking architecture
roentgen b75cab
$DECC = F$SEARCH("SYS$SYSTEM:DECC$COMPILER.EXE") .NES. ""
roentgen b75cab
$IF (.NOT. DECC) THEN $WRITE SYS$OUTPUT  "BAD compiler" GOTO EXIT
roentgen b75cab
$    IF F$GETSYI("ARCH_TYPE").EQ.1 THEN CPU = "VAX"
roentgen b75cab
$    IF F$GETSYI("ARCH_TYPE").EQ.2 THEN CPU = "Alpha"
roentgen b75cab
$    IF F$GETSYI("ARCH_TYPE").EQ.3 THEN CPU = "I64"
roentgen b75cab
$    OS = F$GETSYI("VERSION")
roentgen b75cab
$WRITE SYS$OUTPUT "Checking architecture	...  ", CPU
roentgen b75cab
$WRITE SYS$OUTPUT "Checking OS          	...  OpenVMS ",OS
roentgen b75cab
$SHARED=0
roentgen b75cab
$IF ( (CPU.EQS."Alpha").OR.(CPU.EQS."I64") )
roentgen b75cab
$  THEN
roentgen b75cab
$       SHARED=64
roentgen b75cab
$  ELSE
roentgen b75cab
$       SHARED=32
roentgen b75cab
$ENDIF
roentgen b75cab
$MMS = F$SEARCH("SYS$SYSTEM:MMS.EXE") .NES. ""
roentgen b75cab
$MMK = F$TYPE(MMK) 
roentgen b75cab
$IF (MMS .OR. MMK.NES."") THEN GOTO TEST_LIBRARIES
roentgen b75cab
$! I cant find any make tool
roentgen b75cab
$GOTO EXIT
roentgen b75cab
$!
roentgen b75cab
$!
roentgen b75cab
$TEST_LIBRARIES:
roentgen b75cab
$!   Setting as MAKE utility one of MMS or MMK. I prefer MMS.
roentgen b75cab
$IF (MMK.NES."") THEN MAKE="MMK"
roentgen b75cab
$IF (MMS) THEN MAKE="MMS"
roentgen b75cab
$WRITE SYS$OUTPUT "Checking build utility	...  ''MAKE'"
roentgen b75cab
$WRITE SYS$OUTPUT " "
roentgen b75cab
$!
roentgen b75cab
$!
roentgen b75cab
$IF (P1.EQS."STATIC").OR.(P1.EQS."static") THEN SHARED=0
roentgen b75cab
$!
roentgen b75cab
$!
roentgen b75cab
$!"Checking for strcasecmp "
roentgen b75cab
$ DEFINE SYS$ERROR _NLA0:
roentgen b75cab
$ DEFINE SYS$OUTPUT _NLA0:
roentgen b75cab
$ CC/OBJECT=TEST.OBJ/INCLUDE=(ZLIB) SYS$INPUT
roentgen b75cab
	#include  <strings.h></strings.h>
roentgen b75cab
	#include  <stdlib.h></stdlib.h>
roentgen b75cab
roentgen b75cab
    int main()
roentgen b75cab
	{
roentgen b75cab
        if (strcasecmp("bla", "Bla")==0) exit(0);
roentgen b75cab
	   else exit(2);
roentgen b75cab
	}
roentgen b75cab
$!
roentgen b75cab
$TMP = $STATUS
roentgen b75cab
$DEASS SYS$ERROR
roentgen b75cab
$DEAS  SYS$OUTPUT
roentgen b75cab
$IF (TMP .NE. %X10B90001)
roentgen b75cab
$  THEN
roentgen b75cab
$       HAVE_STRCASECMP=0
roentgen b75cab
$       GOTO NEXT1
roentgen b75cab
$ENDIF
roentgen b75cab
$DEFINE SYS$ERROR _NLA0:
roentgen b75cab
$DEFINE SYS$OUTPUT _NLA0:
roentgen b75cab
$LINK/EXE=TEST TEST
roentgen b75cab
$TMP = $STATUS
roentgen b75cab
$DEAS  SYS$ERROR
roentgen b75cab
$DEAS  SYS$OUTPUT
roentgen b75cab
$!WRITE SYS$OUTPUT TMP
roentgen b75cab
$IF (TMP .NE. %X10000001)
roentgen b75cab
$  THEN
roentgen b75cab
$       HAVE_STRCASECMP=0
roentgen b75cab
$       GOTO NEXT1
roentgen b75cab
$ENDIF
roentgen b75cab
$!
roentgen b75cab
$DEFINE SYS$ERROR _NLA0:
roentgen b75cab
$DEFINE SYS$OUTPUT _NLA0:
roentgen b75cab
$RUN TEST
roentgen b75cab
$IF ($STATUS .NE. %X00000001)
roentgen b75cab
$  THEN
roentgen b75cab
$	HAVE_STRCASECMP=0
roentgen b75cab
$  ELSE
roentgen b75cab
$	 HAVE_STRCASECMP=1
roentgen b75cab
$ENDIF
roentgen b75cab
$DEAS  SYS$ERROR
roentgen b75cab
$DEAS  SYS$OUTPUT
roentgen b75cab
$NEXT1:
roentgen b75cab
$IF (HAVE_STRCASECMP.EQ.1)
roentgen b75cab
$  THEN
roentgen b75cab
$ 	WRITE SYS$OUTPUT "Checking for strcasecmp ...   Yes"	
roentgen b75cab
$  ELSE
roentgen b75cab
$	WRITE SYS$OUTPUT "Checking for strcasecmp ...   No"
roentgen b75cab
$ENDIF
roentgen b75cab
$!
roentgen b75cab
$!
roentgen b75cab
roentgen b75cab
$!"Checking for lfind "
roentgen b75cab
$ DEFINE SYS$ERROR _NLA0:
roentgen b75cab
$ DEFINE SYS$OUTPUT _NLA0:
roentgen b75cab
$ CC/OBJECT=TEST.OBJ/INCLUDE=(ZLIB) SYS$INPUT
roentgen b75cab
        #include  <search.h></search.h>
roentgen b75cab
roentgen b75cab
    int main()
roentgen b75cab
        {
roentgen b75cab
        lfind((const void *)key, (const void *)NULL, (size_t *)NULL,
roentgen b75cab
           (size_t) 0, NULL);
roentgen b75cab
        }
roentgen b75cab
$!
roentgen b75cab
$TMP = $STATUS
roentgen b75cab
$DEASS SYS$ERROR
roentgen b75cab
$DEAS  SYS$OUTPUT
roentgen b75cab
$IF (TMP .NE. %X10B90001)
roentgen b75cab
$  THEN
roentgen b75cab
$       HAVE_LFIND=0
roentgen b75cab
$       GOTO NEXT2
roentgen b75cab
$ENDIF
roentgen b75cab
$DEFINE SYS$ERROR _NLA0:
roentgen b75cab
$DEFINE SYS$OUTPUT _NLA0:
roentgen b75cab
$LINK/EXE=TEST TEST
roentgen b75cab
$TMP = $STATUS
roentgen b75cab
$DEAS  SYS$ERROR
roentgen b75cab
$DEAS  SYS$OUTPUT
roentgen b75cab
$!WRITE SYS$OUTPUT TMP
roentgen b75cab
$IF (TMP .NE. %X10000001)
roentgen b75cab
$  THEN
roentgen b75cab
$       HAVE_LFIND=0
roentgen b75cab
$       GOTO NEXT2
roentgen b75cab
$  ELSE
roentgen b75cab
$        HAVE_LFIND=1
roentgen b75cab
$ENDIF
roentgen b75cab
$!
roentgen b75cab
$NEXT2:
roentgen b75cab
$IF (HAVE_LFIND.EQ.1)
roentgen b75cab
$  THEN
roentgen b75cab
$       WRITE SYS$OUTPUT "Checking for lfind ...   Yes"
roentgen b75cab
$  ELSE
roentgen b75cab
$       WRITE SYS$OUTPUT "Checking for lfind ...   No"
roentgen b75cab
$ENDIF
roentgen b75cab
$!
roentgen b75cab
$!
roentgen b75cab
$!"Checking for correct zlib library    "
roentgen b75cab
$ DEFINE SYS$ERROR _NLA0:
roentgen b75cab
$ DEFINE SYS$OUTPUT _NLA0:
roentgen b75cab
$ CC/OBJECT=TEST.OBJ/INCLUDE=(ZLIB) SYS$INPUT
roentgen b75cab
      #include <stdlib.h></stdlib.h>
roentgen b75cab
      #include <stdio.h></stdio.h>
roentgen b75cab
      #include <zlib.h></zlib.h>
roentgen b75cab
   int main()
roentgen b75cab
     {
roentgen b75cab
	printf("checking version zlib:  %s\n",zlibVersion());
roentgen b75cab
     }
roentgen b75cab
$TMP = $STATUS
roentgen b75cab
$DEASS SYS$ERROR
roentgen b75cab
$DEAS  SYS$OUTPUT
roentgen b75cab
$!WRITE SYS$OUTPUT TMP
roentgen b75cab
$IF (TMP .NE. %X10B90001) 
roentgen b75cab
$  THEN 
roentgen b75cab
$	HAVE_ZLIB=0
roentgen b75cab
$	GOTO EXIT
roentgen b75cab
$ENDIF
roentgen b75cab
$DEFINE SYS$ERROR _NLA0:
roentgen b75cab
$DEFINE SYS$OUTPUT _NLA0:
roentgen b75cab
$LINK/EXE=TEST TEST,ZLIB:LIBZ/LIB 
roentgen b75cab
$TMP = $STATUS
roentgen b75cab
$DEAS  SYS$ERROR
roentgen b75cab
$DEAS  SYS$OUTPUT
roentgen b75cab
$!WRITE SYS$OUTPUT TMP
roentgen b75cab
$IF (TMP .NE. %X10000001) 
roentgen b75cab
$  THEN 
roentgen b75cab
$	HAVE_ZLIB=0
roentgen b75cab
$       GOTO EXIT
roentgen b75cab
$  ELSE
roentgen b75cab
$	HAVE_ZLIB=1
roentgen b75cab
$ENDIF
roentgen b75cab
$IF (HAVE_ZLIB.EQ.1)
roentgen b75cab
$  THEN
roentgen b75cab
$       WRITE SYS$OUTPUT "Checking for correct zlib library ...   Yes"
roentgen b75cab
$  ELSE
roentgen b75cab
$	WRITE SYS$OUTPUT "Checking for correct zlib library ...   No"
roentgen b75cab
$       WRITE SYS$OUTPUT "This is fatal. Please download and install good library from fafner.dyndns.org/~alexey/libsdl/public.html"
roentgen b75cab
$ENDIF
roentgen b75cab
$RUN TEST
roentgen b75cab
$!
roentgen b75cab
roentgen b75cab
$DEL TEST.OBJ;*
roentgen b75cab
$! Checking for JPEG ...
roentgen b75cab
$ DEFINE SYS$ERROR _NLA0:
roentgen b75cab
$ DEFINE SYS$OUTPUT _NLA0:
roentgen b75cab
$ CC/OBJECT=TEST.OBJ/INCLUDE=(JPEG) SYS$INPUT
roentgen b75cab
      #include <stdlib.h></stdlib.h>
roentgen b75cab
      #include <stdio.h></stdio.h>
roentgen b75cab
      #include <jpeglib.h></jpeglib.h>
roentgen b75cab
      #include <jversion.h>	</jversion.h>
roentgen b75cab
   int main()
roentgen b75cab
     {
roentgen b75cab
	printf("checking version jpeg:  %s\n",JVERSION);
roentgen b75cab
	jpeg_quality_scaling(0);
roentgen b75cab
        return 0;
roentgen b75cab
     }
roentgen b75cab
$TMP = $STATUS
roentgen b75cab
$DEASS SYS$ERROR
roentgen b75cab
$DEAS  SYS$OUTPUT
roentgen b75cab
$!WRITE SYS$OUTPUT TMP
roentgen b75cab
$IF (TMP .NE. %X10B90001)
roentgen b75cab
$  THEN
roentgen b75cab
$       WRITE SYS$OUTPUT "Checking for static jpeg library ...   No"
roentgen b75cab
$	HAVE_JPEG=0
roentgen b75cab
$ENDIF
roentgen b75cab
$DEFINE SYS$ERROR _NLA0:
roentgen b75cab
$DEFINE SYS$OUTPUT _NLA0:
roentgen b75cab
$LINK/EXE=TEST TEST,JPEG:LIBJPEG/LIB
roentgen b75cab
$TMP = $STATUS
roentgen b75cab
$DEAS  SYS$ERROR
roentgen b75cab
$DEAS  SYS$OUTPUT
roentgen b75cab
$!WRITE SYS$OUTPUT TMP
roentgen b75cab
$IF (TMP .NE. %X10000001)
roentgen b75cab
$  THEN
roentgen b75cab
$	HAVE_JPEG=0
roentgen b75cab
$  ELSE
roentgen b75cab
$	HAVE_JPEG=1
roentgen b75cab
$ENDIF
roentgen b75cab
$IF (HAVE_JPEG.EQ.1)
roentgen b75cab
$  THEN
roentgen b75cab
$       WRITE SYS$OUTPUT "Checking for static jpeg library ...   Yes"
roentgen b75cab
$       JPEG_LIBRARY_PATH="JPEG:LIBJPEG/LIB"
roentgen b75cab
$       RUN TEST
roentgen b75cab
$  ELSE
roentgen b75cab
$       WRITE SYS$OUTPUT "Checking for static jpeg library ...   No"
roentgen b75cab
$ENDIF
roentgen b75cab
$!
roentgen b75cab
$!"Checking for SHARED JPEG library    "
roentgen b75cab
$OPEN/WRITE OUT TEST.OPT
roentgen b75cab
$WRITE OUT "SYS$SHARE:LIBJPEG$SHR/SHARE"
roentgen b75cab
$WRITE OUT "ZLIB:LIBZ/LIB"
roentgen b75cab
$CLOSE OUT
roentgen b75cab
$DEFINE SYS$ERROR _NLA0:
roentgen b75cab
$DEFINE SYS$OUTPUT _NLA0:
roentgen b75cab
$LINK/EXE=TEST TEST,TEST/OPT
roentgen b75cab
$TMP = $STATUS
roentgen b75cab
$DEAS  SYS$ERROR
roentgen b75cab
$DEAS  SYS$OUTPUT
roentgen b75cab
$!WRITE SYS$OUTPUT TMP
roentgen b75cab
$IF (TMP .NE. %X10000001)
roentgen b75cab
$  THEN
roentgen b75cab
$       HAVE_JPEG_SHARED=0
roentgen b75cab
$  ELSE
roentgen b75cab
$       HAVE_JPEG_SHARED=1
roentgen b75cab
$ENDIF
roentgen b75cab
$IF (HAVE_JPEG_SHARED.EQ.1)
roentgen b75cab
$  THEN
roentgen b75cab
$       WRITE SYS$OUTPUT "Checking for shared jpeg library ...   Yes"
roentgen b75cab
$       JPEG_LIBRARY_PATH="SYS$SHARE:LIBJPEG$SHR/SHARE"
roentgen b75cab
$  ELSE
roentgen b75cab
$       WRITE SYS$OUTPUT "Checking for shared jpeg library ...   No"
roentgen b75cab
$ENDIF
roentgen b75cab
$!
roentgen b75cab
$ IF ( (HAVE_JPEG_SHARED.EQ.0).AND.(HAVE_JPEG.EQ.0) )
roentgen b75cab
$    THEN
roentgen b75cab
$       WRITE SYS$OUTPUT "No JPEG library installed. This is fatal. Please download and install good library from fafner.dyndns.org/~alexey/libsdl/public.html"
roentgen b75cab
$       GOTO EXIT
roentgen b75cab
$ ENDIF
roentgen b75cab
$!
roentgen b75cab
$!
roentgen b75cab
$!
roentgen b75cab
$! Checking for X11 ...
roentgen b75cab
$IF F$TRNLNM("DECW$INCLUDE") .NES. ""
roentgen b75cab
$  THEN
roentgen b75cab
$	WRITE SYS$OUTPUT "Checking for X11 ...   Yes"
roentgen b75cab
$  ELSE
roentgen b75cab
$	WRITE SYS$OUTPUT "Checking for X11 ...   No"
roentgen b75cab
$	WRITE SYS$OUTPUT "This is fatal. Please install X11 software"
roentgen b75cab
$	GOTO EXIT
roentgen b75cab
$ENDIF
roentgen b75cab
$!
roentgen b75cab
$!WRITING BUILD FILES
roentgen b75cab
$OPEN/WRITE OUT BUILD.COM
roentgen b75cab
$ WRITE OUT "$set def [.port]"
roentgen b75cab
$ WRITE OUT "$",MAKE
roentgen b75cab
$ WRITE OUT "$set def [-.libtiff]"
roentgen b75cab
$ WRITE OUT "$",MAKE
roentgen b75cab
$ WRITE OUT "$set def [-.tools]"
roentgen b75cab
$ WRITE OUT "$",MAKE
roentgen b75cab
$ WRITE OUT "$set def [-]"
roentgen b75cab
$ WRITE OUT "$cop [.PORT]LIBPORT.OLB [.LIBTIFF]LIBPORT.OLB"
roentgen b75cab
$ WRITE OUT "$ CURRENT = F$ENVIRONMENT (""DEFAULT"") "
roentgen b75cab
$ WRITE OUT "$TIFF=CURRENT"
roentgen b75cab
$ WRITE OUT "$OPEN/WRITE OUTT LIBTIFF$STARTUP.COM"
roentgen b75cab
$ WRITE OUT "$TIFF[F$LOCATE(""]"",TIFF),9]:="".LIBTIFF]"""
roentgen b75cab
$ WRITE OUT "$WRITE OUTT ""DEFINE TIFF ","'","'","TIFF'"" "
roentgen b75cab
$ WRITE OUT "$TIFF=CURRENT"
roentgen b75cab
$ WRITE OUT "$TIFF[F$LOCATE(""]"",TIFF),7]:="".TOOLS]"""
roentgen b75cab
$ WRITE OUT "$WRITE OUTT ""BMP2TIFF:==$", "'","'","TIFF'BMP2TIFF"""
roentgen b75cab
$ WRITE OUT "$WRITE OUTT ""FAX2PS:==$", "'","'","TIFF'FAX2PS"""
roentgen b75cab
$ WRITE OUT "$WRITE OUTT ""FAX2TIFF:==$", "'","'","TIFF'FAX2TIFF"""
roentgen b75cab
$ WRITE OUT "$WRITE OUTT ""GIF2TIFF:==$", "'","'","TIFF'GIF2TIFF"""
roentgen b75cab
$ WRITE OUT "$WRITE OUTT ""PAL2RGB:==$", "'","'","TIFF'PAL2RGB"""
roentgen b75cab
$ WRITE OUT "$WRITE OUTT ""PPM2TIFF:==$", "'","'","TIFF'PPM2TIFF"""
roentgen b75cab
$ WRITE OUT "$WRITE OUTT ""RAS2TIFF:==$", "'","'","TIFF'RAS2TIFF"""
roentgen b75cab
$ WRITE OUT "$WRITE OUTT ""RAW2TIFF:==$", "'","'","TIFF'RAW2TIFF"""
roentgen b75cab
$ WRITE OUT "$WRITE OUTT ""RGB2YCBCR:==$", "'","'","TIFF'RGB2YCBCR"""
roentgen b75cab
$ WRITE OUT "$WRITE OUTT ""THUMBNAIL:==$", "'","'","TIFF'THUMBNAIL"""
roentgen b75cab
$ WRITE OUT "$WRITE OUTT ""TIFF2BW:==$", "'","'","TIFF'TIFF2BW"""
roentgen b75cab
$ WRITE OUT "$WRITE OUTT ""TIFF2PDF:==$", "'","'","TIFF'TIFF2PDF"""
roentgen b75cab
$ WRITE OUT "$WRITE OUTT ""TIFF2PS:==$", "'","'","TIFF'TIFF2PS"""
roentgen b75cab
$ WRITE OUT "$WRITE OUTT ""TIFF2RGBA:==$", "'","'","TIFF'TIFF2RGBA"""
roentgen b75cab
$ WRITE OUT "$WRITE OUTT ""TIFFCMP:==$", "'","'","TIFF'TIFFCMP"""
roentgen b75cab
$ WRITE OUT "$WRITE OUTT ""TIFFCP:==$", "'","'","TIFF'TIFFCP"""
roentgen b75cab
$ WRITE OUT "$WRITE OUTT ""TIFFDITHER:==$", "'","'","TIFF'TIFFDITHER"""
roentgen b75cab
$ WRITE OUT "$WRITE OUTT ""TIFFDUMP:==$", "'","'","TIFF'TIFFDUMP"""
roentgen b75cab
$ WRITE OUT "$WRITE OUTT ""TIFFINFO:==$", "'","'","TIFF'TIFFINFO"""
roentgen b75cab
$ WRITE OUT "$WRITE OUTT ""TIFFMEDIAN:==$", "'","'","TIFF'TIFFMEDIAN"""
roentgen b75cab
$ WRITE OUT "$WRITE OUTT ""TIFFCROP:==$", "'","'","TIFF'TIFFCROP"""
roentgen b75cab
$ WRITE OUT "$WRITE OUTT ""TIFFSET:==$", "'","'","TIFF'TIFFSET"""
roentgen b75cab
$ WRITE OUT "$CLOSE OUTT"
roentgen b75cab
$ WRITE OUT "$OPEN/WRITE OUTT [.LIBTIFF]LIBTIFF.OPT"
roentgen b75cab
$ WRITE OUT "$WRITE OUTT ""TIFF:TIFF/LIB""
roentgen b75cab
$ WRITE OUT "$WRITE OUTT ""TIFF:LIBPORT/LIB""
roentgen b75cab
$ WRITE OUT "$WRITE OUTT ""JPEG:LIBJPEG/LIB""
roentgen b75cab
$ WRITE OUT "$WRITE OUTT ""ZLIB:LIBZ/LIB""
roentgen b75cab
$ WRITE OUT "$CLOSE OUTT"
roentgen b75cab
$!
roentgen b75cab
$ WRITE OUT "$WRITE SYS$OUTPUT "" "" "
roentgen b75cab
$ WRITE OUT "$WRITE SYS$OUTPUT ""***************************************************************************** "" "
roentgen b75cab
$ WRITE OUT "$WRITE SYS$OUTPUT ""LIBTIFF$STARTUP.COM has been created. "" "
roentgen b75cab
$ WRITE OUT "$WRITE SYS$OUTPUT ""This file setups all logicals needed. It should be execute before using LibTIFF "" "
roentgen b75cab
$ WRITE OUT "$WRITE SYS$OUTPUT ""Nice place to call it - LOGIN.COM "" "
roentgen b75cab
$ WRITE OUT "$WRITE SYS$OUTPUT """" "
roentgen b75cab
$ WRITE OUT "$WRITE SYS$OUTPUT ""Using the library:"" "
roentgen b75cab
$ WRITE OUT "$WRITE SYS$OUTPUT ""CC/INC=TIFF ASCII_TAG.C"" "
roentgen b75cab
$ WRITE OUT "$WRITE SYS$OUTPUT ""LINK ASCII_TAG,TIFF:LIBTIFF/OPT"" "
roentgen b75cab
$ WRITE OUT "$WRITE SYS$OUTPUT ""***************************************************************************** "" "
roentgen b75cab
$CLOSE OUT
roentgen b75cab
$!
roentgen b75cab
$! DESCRIP.MMS in [.PORT]
roentgen b75cab
$OBJ="dummy.obj"
roentgen b75cab
$IF HAVE_STRCASECMP.NE.1 
roentgen b75cab
$  THEN 
roentgen b75cab
$     OBJ=OBJ+",strcasecmp.obj"
roentgen b75cab
$ENDIF
roentgen b75cab
$IF HAVE_LFIND.NE.1   
roentgen b75cab
$   THEN 
roentgen b75cab
$       OBJ=OBJ+",lfind.obj"
roentgen b75cab
$ENDIF
roentgen b75cab
$OPEN/WRITE OUT [.PORT]DESCRIP.MMS
roentgen b75cab
$WRITE OUT "OBJ=",OBJ
roentgen b75cab
$WRITE OUT ""
roentgen b75cab
$WRITE OUT "LIBPORT.OLB : $(OBJ)"
roentgen b75cab
$WRITE OUT "	LIB/CREA LIBPORT $(OBJ)"
roentgen b75cab
$WRITE OUT ""
roentgen b75cab
$WRITE OUT ""
roentgen b75cab
$WRITE OUT "dummy.obj : dummy.c"
roentgen b75cab
$WRITE OUT "         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)"
roentgen b75cab
$WRITE OUT ""
roentgen b75cab
$WRITE OUT ""
roentgen b75cab
$WRITE OUT "strcasecmp.obj : strcasecmp.c"
roentgen b75cab
$WRITE OUT "         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)"
roentgen b75cab
$WRITE OUT ""
roentgen b75cab
$WRITE OUT ""
roentgen b75cab
$WRITE OUT "lfind.obj : lfind.c"
roentgen b75cab
$WRITE OUT "         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)"
roentgen b75cab
$WRITE OUT ""
roentgen b75cab
$WRITE OUT ""
roentgen b75cab
$CLOSE OUT
roentgen b75cab
$!
roentgen b75cab
$!
roentgen b75cab
$WRITE SYS$OUTPUT "Creating LIBTIFF$DEF.OPT"
roentgen b75cab
$IF (SHARED.EQ.64)
roentgen b75cab
$ THEN
roentgen b75cab
$       COPY SYS$INPUT TIFF$DEF.OPT
roentgen b75cab
SYMBOL_VECTOR= (-
roentgen b75cab
TIFFOpen=PROCEDURE,-
roentgen b75cab
TIFFGetVersion=PROCEDURE,-
roentgen b75cab
TIFFCleanup=PROCEDURE,-
roentgen b75cab
TIFFClose=PROCEDURE,-
roentgen b75cab
TIFFFlush=PROCEDURE,-
roentgen b75cab
TIFFFlushData=PROCEDURE,-
roentgen b75cab
TIFFGetField=PROCEDURE,-
roentgen b75cab
TIFFVGetField=PROCEDURE,-
roentgen b75cab
TIFFGetFieldDefaulted=PROCEDURE,-
roentgen b75cab
TIFFVGetFieldDefaulted=PROCEDURE,-
roentgen b75cab
TIFFGetTagListEntry=PROCEDURE,-
roentgen b75cab
TIFFGetTagListCount=PROCEDURE,-
roentgen b75cab
TIFFReadDirectory=PROCEDURE,-
roentgen b75cab
TIFFScanlineSize=PROCEDURE,-
roentgen b75cab
TIFFStripSize=PROCEDURE,-
roentgen b75cab
TIFFVStripSize=PROCEDURE,-
roentgen b75cab
TIFFRawStripSize=PROCEDURE,-
roentgen b75cab
TIFFTileRowSize=PROCEDURE,-
roentgen b75cab
TIFFTileSize=PROCEDURE,-
roentgen b75cab
TIFFVTileSize=PROCEDURE,-
roentgen b75cab
TIFFFileno=PROCEDURE,-
roentgen b75cab
TIFFSetFileno=PROCEDURE,-
roentgen b75cab
TIFFGetMode=PROCEDURE,-
roentgen b75cab
TIFFIsTiled=PROCEDURE,-
roentgen b75cab
TIFFIsByteSwapped=PROCEDURE,-
roentgen b75cab
TIFFIsBigEndian=PROCEDURE,-
roentgen b75cab
TIFFIsMSB2LSB=PROCEDURE,-
roentgen b75cab
TIFFIsUpSampled=PROCEDURE,-
roentgen b75cab
TIFFCIELabToRGBInit=PROCEDURE,-
roentgen b75cab
TIFFCIELabToXYZ=PROCEDURE,-
roentgen b75cab
TIFFXYZToRGB=PROCEDURE,-
roentgen b75cab
TIFFYCbCrToRGBInit=PROCEDURE,-
roentgen b75cab
TIFFYCbCrtoRGB=PROCEDURE,-
roentgen b75cab
TIFFCurrentRow=PROCEDURE,-
roentgen b75cab
TIFFCurrentDirectory=PROCEDURE,-
roentgen b75cab
TIFFCurrentStrip=PROCEDURE,-
roentgen b75cab
TIFFCurrentTile=PROCEDURE,-
roentgen b75cab
TIFFDataWidth=PROCEDURE,-
roentgen b75cab
TIFFReadBufferSetup=PROCEDURE,-
roentgen b75cab
TIFFWriteBufferSetup=PROCEDURE,-
roentgen b75cab
TIFFSetupStrips=PROCEDURE,-
roentgen b75cab
TIFFLastDirectory=PROCEDURE,-
roentgen b75cab
TIFFSetDirectory=PROCEDURE,-
roentgen b75cab
TIFFSetSubDirectory=PROCEDURE,-
roentgen b75cab
TIFFUnlinkDirectory=PROCEDURE,-
roentgen b75cab
TIFFSetField=PROCEDURE,-
roentgen b75cab
TIFFVSetField=PROCEDURE,-
roentgen b75cab
TIFFCheckpointDirectory=PROCEDURE,-
roentgen b75cab
TIFFWriteDirectory=PROCEDURE,-
roentgen b75cab
TIFFRewriteDirectory=PROCEDURE,-
roentgen b75cab
TIFFPrintDirectory=PROCEDURE,-
roentgen b75cab
TIFFReadScanline=PROCEDURE,-
roentgen b75cab
TIFFWriteScanline=PROCEDURE,-
roentgen b75cab
TIFFReadRGBAImage=PROCEDURE,-
roentgen b75cab
TIFFReadRGBAImageOriented=PROCEDURE,-
roentgen b75cab
TIFFFdOpen=PROCEDURE,-
roentgen b75cab
TIFFClientOpen=PROCEDURE,-
roentgen b75cab
TIFFFileName=PROCEDURE,-
roentgen b75cab
TIFFError=PROCEDURE,-
roentgen b75cab
TIFFErrorExt=PROCEDURE,-
roentgen b75cab
TIFFWarning=PROCEDURE,-
roentgen b75cab
TIFFWarningExt=PROCEDURE,-
roentgen b75cab
TIFFSetErrorHandler=PROCEDURE,-
roentgen b75cab
TIFFSetErrorHandlerExt=PROCEDURE,-
roentgen b75cab
TIFFSetWarningHandler=PROCEDURE,-
roentgen b75cab
TIFFSetWarningHandlerExt=PROCEDURE,-
roentgen b75cab
TIFFComputeTile=PROCEDURE,-
roentgen b75cab
TIFFCheckTile=PROCEDURE,-
roentgen b75cab
TIFFNumberOfTiles=PROCEDURE,-
roentgen b75cab
TIFFReadTile=PROCEDURE,-
roentgen b75cab
TIFFWriteTile=PROCEDURE,-
roentgen b75cab
TIFFComputeStrip=PROCEDURE,-
roentgen b75cab
TIFFNumberOfStrips=PROCEDURE,-
roentgen b75cab
TIFFRGBAImageBegin=PROCEDURE,-
roentgen b75cab
TIFFRGBAImageGet=PROCEDURE,-
roentgen b75cab
TIFFRGBAImageEnd=PROCEDURE,-
roentgen b75cab
TIFFReadEncodedStrip=PROCEDURE,-
roentgen b75cab
TIFFReadRawStrip=PROCEDURE,-
roentgen b75cab
TIFFReadEncodedTile=PROCEDURE,-
roentgen b75cab
TIFFReadRawTile=PROCEDURE,-
roentgen b75cab
TIFFReadRGBATile=PROCEDURE,-
roentgen b75cab
TIFFReadRGBAStrip=PROCEDURE,-
roentgen b75cab
TIFFWriteEncodedStrip=PROCEDURE,-
roentgen b75cab
TIFFWriteRawStrip=PROCEDURE,-
roentgen b75cab
TIFFWriteEncodedTile=PROCEDURE,-
roentgen b75cab
TIFFWriteRawTile=PROCEDURE,-
roentgen b75cab
TIFFSetWriteOffset=PROCEDURE,-
roentgen b75cab
TIFFSwabDouble=PROCEDURE,-
roentgen b75cab
TIFFSwabShort=PROCEDURE,-
roentgen b75cab
TIFFSwabLong=PROCEDURE,-
roentgen b75cab
TIFFSwabArrayOfShort=PROCEDURE,-
roentgen b75cab
TIFFSwabArrayOfLong=PROCEDURE,-
roentgen b75cab
TIFFSwabArrayOfDouble=PROCEDURE,-
roentgen b75cab
TIFFSwabArrayOfTriples=PROCEDURE,-
roentgen b75cab
TIFFReverseBits=PROCEDURE,-
roentgen b75cab
TIFFGetBitRevTable=PROCEDURE,-
roentgen b75cab
TIFFDefaultStripSize=PROCEDURE,-
roentgen b75cab
TIFFDefaultTileSize=PROCEDURE,-
roentgen b75cab
TIFFRasterScanlineSize=PROCEDURE,-
roentgen b75cab
_TIFFmalloc=PROCEDURE,-
roentgen b75cab
_TIFFrealloc=PROCEDURE,-
roentgen b75cab
_TIFFfree=PROCEDURE,-
roentgen b75cab
_TIFFmemset=PROCEDURE,-
roentgen b75cab
_TIFFmemcpy=PROCEDURE,-
roentgen b75cab
_TIFFmemcmp=PROCEDURE,-
roentgen b75cab
TIFFCreateDirectory=PROCEDURE,-
roentgen b75cab
TIFFSetTagExtender=PROCEDURE,-
roentgen b75cab
TIFFMergeFieldInfo=PROCEDURE,-
roentgen b75cab
TIFFFindFieldInfo=PROCEDURE,-
roentgen b75cab
TIFFFindFieldInfoByName=PROCEDURE,-
roentgen b75cab
TIFFFieldWithName=PROCEDURE,-
roentgen b75cab
TIFFFieldWithTag=PROCEDURE,-
roentgen b75cab
TIFFFieldTag=PROCEDURE,-
roentgen b75cab
TIFFFieldName=PROCEDURE,-
roentgen b75cab
TIFFFieldDataType=PROCEDURE,-
roentgen b75cab
TIFFFieldPassCount=PROCEDURE,-
roentgen b75cab
TIFFFieldReadCount=PROCEDURE,-
roentgen b75cab
TIFFFieldWriteCount=PROCEDURE,-
roentgen b75cab
TIFFCurrentDirOffset=PROCEDURE,-
roentgen b75cab
TIFFWriteCheck=PROCEDURE,-
roentgen b75cab
TIFFRGBAImageOK=PROCEDURE,-
roentgen b75cab
TIFFNumberOfDirectories=PROCEDURE,-
roentgen b75cab
TIFFSetFileName=PROCEDURE,-
roentgen b75cab
TIFFSetClientdata=PROCEDURE,-
roentgen b75cab
TIFFSetMode=PROCEDURE,-
roentgen b75cab
TIFFClientdata=PROCEDURE,-
roentgen b75cab
TIFFGetReadProc=PROCEDURE,-
roentgen b75cab
TIFFGetWriteProc=PROCEDURE,-
roentgen b75cab
TIFFGetSeekProc=PROCEDURE,-
roentgen b75cab
TIFFGetCloseProc=PROCEDURE,-
roentgen b75cab
TIFFGetSizeProc=PROCEDURE,-
roentgen b75cab
TIFFGetMapFileProc=PROCEDURE,-
roentgen b75cab
TIFFGetUnmapFileProc=PROCEDURE,-
roentgen b75cab
TIFFIsCODECConfigured=PROCEDURE,-
roentgen b75cab
TIFFGetConfiguredCODECs=PROCEDURE,-
roentgen b75cab
TIFFFindCODEC=PROCEDURE,-
roentgen b75cab
TIFFRegisterCODEC=PROCEDURE,-
roentgen b75cab
TIFFUnRegisterCODEC=PROCEDURE,-
roentgen b75cab
TIFFFreeDirectory=PROCEDURE,-
roentgen b75cab
TIFFReadCustomDirectory=PROCEDURE,-
roentgen b75cab
TIFFReadEXIFDirectory=PROCEDURE,-
roentgen b75cab
TIFFAccessTagMethods=PROCEDURE,-
roentgen b75cab
TIFFGetClientInfo=PROCEDURE,-
roentgen b75cab
TIFFSetClientInfo=PROCEDURE,-
roentgen b75cab
TIFFReassignTagToIgnore=PROCEDURE-
roentgen b75cab
)
roentgen b75cab
roentgen b75cab
$ENDIF
roentgen b75cab
$IF (SHARED.EQ.32)
roentgen b75cab
$ THEN
roentgen b75cab
$       COPY SYS$INPUT TIFF$DEF.OPT
roentgen b75cab
UNIVERSAL=TIFFOpen
roentgen b75cab
UNIVERSAL=TIFFGetVersion
roentgen b75cab
UNIVERSAL=TIFFCleanup
roentgen b75cab
UNIVERSAL=TIFFClose
roentgen b75cab
UNIVERSAL=TIFFFlush
roentgen b75cab
UNIVERSAL=TIFFFlushData
roentgen b75cab
UNIVERSAL=TIFFGetField
roentgen b75cab
UNIVERSAL=TIFFVGetField
roentgen b75cab
UNIVERSAL=TIFFGetFieldDefaulted
roentgen b75cab
UNIVERSAL=TIFFVGetFieldDefaulted
roentgen b75cab
UNIVERSAL=TIFFGetTagListEntry
roentgen b75cab
UNIVERSAL=TIFFGetTagListCount
roentgen b75cab
UNIVERSAL=TIFFReadDirectory
roentgen b75cab
UNIVERSAL=TIFFScanlineSize
roentgen b75cab
UNIVERSAL=TIFFStripSize
roentgen b75cab
UNIVERSAL=TIFFVStripSize
roentgen b75cab
UNIVERSAL=TIFFRawStripSize
roentgen b75cab
UNIVERSAL=TIFFTileRowSize
roentgen b75cab
UNIVERSAL=TIFFTileSize
roentgen b75cab
UNIVERSAL=TIFFVTileSize
roentgen b75cab
UNIVERSAL=TIFFFileno
roentgen b75cab
UNIVERSAL=TIFFSetFileno
roentgen b75cab
UNIVERSAL=TIFFGetMode
roentgen b75cab
UNIVERSAL=TIFFIsTiled
roentgen b75cab
UNIVERSAL=TIFFIsByteSwapped
roentgen b75cab
UNIVERSAL=TIFFIsBigEndian
roentgen b75cab
UNIVERSAL=TIFFIsMSB2LSB
roentgen b75cab
UNIVERSAL=TIFFIsUpSampled
roentgen b75cab
UNIVERSAL=TIFFCIELabToRGBInit
roentgen b75cab
UNIVERSAL=TIFFCIELabToXYZ
roentgen b75cab
UNIVERSAL=TIFFXYZToRGB
roentgen b75cab
UNIVERSAL=TIFFYCbCrToRGBInit
roentgen b75cab
UNIVERSAL=TIFFYCbCrtoRGB
roentgen b75cab
UNIVERSAL=TIFFCurrentRow
roentgen b75cab
UNIVERSAL=TIFFCurrentDirectory
roentgen b75cab
UNIVERSAL=TIFFCurrentStrip
roentgen b75cab
UNIVERSAL=TIFFCurrentTile
roentgen b75cab
UNIVERSAL=TIFFDataWidth
roentgen b75cab
UNIVERSAL=TIFFReadBufferSetup
roentgen b75cab
UNIVERSAL=TIFFWriteBufferSetup
roentgen b75cab
UNIVERSAL=TIFFSetupStrips
roentgen b75cab
UNIVERSAL=TIFFLastDirectory
roentgen b75cab
UNIVERSAL=TIFFSetDirectory
roentgen b75cab
UNIVERSAL=TIFFSetSubDirectory
roentgen b75cab
UNIVERSAL=TIFFUnlinkDirectory
roentgen b75cab
UNIVERSAL=TIFFSetField
roentgen b75cab
UNIVERSAL=TIFFVSetField
roentgen b75cab
UNIVERSAL=TIFFCheckpointDirectory
roentgen b75cab
UNIVERSAL=TIFFWriteDirectory
roentgen b75cab
UNIVERSAL=TIFFRewriteDirectory
roentgen b75cab
UNIVERSAL=TIFFPrintDirectory
roentgen b75cab
UNIVERSAL=TIFFReadScanline
roentgen b75cab
UNIVERSAL=TIFFWriteScanline
roentgen b75cab
UNIVERSAL=TIFFReadRGBAImage
roentgen b75cab
UNIVERSAL=TIFFReadRGBAImageOriented
roentgen b75cab
UNIVERSAL=TIFFFdOpen
roentgen b75cab
UNIVERSAL=TIFFClientOpen
roentgen b75cab
UNIVERSAL=TIFFFileName
roentgen b75cab
UNIVERSAL=TIFFError
roentgen b75cab
UNIVERSAL=TIFFErrorExt
roentgen b75cab
UNIVERSAL=TIFFWarning
roentgen b75cab
UNIVERSAL=TIFFWarningExt
roentgen b75cab
UNIVERSAL=TIFFSetErrorHandler
roentgen b75cab
UNIVERSAL=TIFFSetErrorHandlerExt
roentgen b75cab
UNIVERSAL=TIFFSetWarningHandler
roentgen b75cab
UNIVERSAL=TIFFSetWarningHandlerExt
roentgen b75cab
UNIVERSAL=TIFFComputeTile
roentgen b75cab
UNIVERSAL=TIFFCheckTile
roentgen b75cab
UNIVERSAL=TIFFNumberOfTiles
roentgen b75cab
UNIVERSAL=TIFFReadTile
roentgen b75cab
UNIVERSAL=TIFFWriteTile
roentgen b75cab
UNIVERSAL=TIFFComputeStrip
roentgen b75cab
UNIVERSAL=TIFFNumberOfStrips
roentgen b75cab
UNIVERSAL=TIFFRGBAImageBegin
roentgen b75cab
UNIVERSAL=TIFFRGBAImageGet
roentgen b75cab
UNIVERSAL=TIFFRGBAImageEnd
roentgen b75cab
UNIVERSAL=TIFFReadEncodedStrip
roentgen b75cab
UNIVERSAL=TIFFReadRawStrip
roentgen b75cab
UNIVERSAL=TIFFReadEncodedTile
roentgen b75cab
UNIVERSAL=TIFFReadRawTile
roentgen b75cab
UNIVERSAL=TIFFReadRGBATile
roentgen b75cab
UNIVERSAL=TIFFReadRGBAStrip
roentgen b75cab
UNIVERSAL=TIFFWriteEncodedStrip
roentgen b75cab
UNIVERSAL=TIFFWriteRawStrip
roentgen b75cab
UNIVERSAL=TIFFWriteEncodedTile
roentgen b75cab
UNIVERSAL=TIFFWriteRawTile
roentgen b75cab
UNIVERSAL=TIFFSetWriteOffset
roentgen b75cab
UNIVERSAL=TIFFSwabDouble
roentgen b75cab
UNIVERSAL=TIFFSwabShort
roentgen b75cab
UNIVERSAL=TIFFSwabLong
roentgen b75cab
UNIVERSAL=TIFFSwabArrayOfShort
roentgen b75cab
UNIVERSAL=TIFFSwabArrayOfLong
roentgen b75cab
UNIVERSAL=TIFFSwabArrayOfDouble
roentgen b75cab
UNIVERSAL=TIFFSwabArrayOfTriples
roentgen b75cab
UNIVERSAL=TIFFReverseBits
roentgen b75cab
UNIVERSAL=TIFFGetBitRevTable
roentgen b75cab
UNIVERSAL=TIFFDefaultStripSize
roentgen b75cab
UNIVERSAL=TIFFDefaultTileSize
roentgen b75cab
UNIVERSAL=TIFFRasterScanlineSize
roentgen b75cab
UNIVERSAL=_TIFFmalloc
roentgen b75cab
UNIVERSAL=_TIFFrealloc
roentgen b75cab
UNIVERSAL=_TIFFfree
roentgen b75cab
UNIVERSAL=_TIFFmemset
roentgen b75cab
UNIVERSAL=_TIFFmemcpy
roentgen b75cab
UNIVERSAL=_TIFFmemcmp
roentgen b75cab
UNIVERSAL=TIFFCreateDirectory
roentgen b75cab
UNIVERSAL=TIFFSetTagExtender
roentgen b75cab
UNIVERSAL=TIFFMergeFieldInfo
roentgen b75cab
UNIVERSAL=TIFFFindFieldInfo
roentgen b75cab
UNIVERSAL=TIFFFindFieldInfoByName
roentgen b75cab
UNIVERSAL=TIFFFieldWithName
roentgen b75cab
UNIVERSAL=TIFFFieldWithTag
roentgen b75cab
UNIVERSAL=TIFFFieldTag
roentgen b75cab
UNIVERSAL=TIFFFieldName
roentgen b75cab
UNIVERSAL=TIFFFieldDataType
roentgen b75cab
UNIVERSAL=TIFFFieldPassCount
roentgen b75cab
UNIVERSAL=TIFFFieldReadCount
roentgen b75cab
UNIVERSAL=TIFFFieldWriteCount
roentgen b75cab
UNIVERSAL=TIFFCurrentDirOffset
roentgen b75cab
UNIVERSAL=TIFFWriteCheck
roentgen b75cab
UNIVERSAL=TIFFRGBAImageOK
roentgen b75cab
UNIVERSAL=TIFFNumberOfDirectories
roentgen b75cab
UNIVERSAL=TIFFSetFileName
roentgen b75cab
UNIVERSAL=TIFFSetClientdata
roentgen b75cab
UNIVERSAL=TIFFSetMode
roentgen b75cab
UNIVERSAL=TIFFClientdata
roentgen b75cab
UNIVERSAL=TIFFGetReadProc
roentgen b75cab
UNIVERSAL=TIFFGetWriteProc
roentgen b75cab
UNIVERSAL=TIFFGetSeekProc
roentgen b75cab
UNIVERSAL=TIFFGetCloseProc
roentgen b75cab
UNIVERSAL=TIFFGetSizeProc
roentgen b75cab
UNIVERSAL=TIFFGetMapFileProc
roentgen b75cab
UNIVERSAL=TIFFGetUnmapFileProc
roentgen b75cab
UNIVERSAL=TIFFIsCODECConfigured
roentgen b75cab
UNIVERSAL=TIFFGetConfiguredCODECs
roentgen b75cab
UNIVERSAL=TIFFFindCODEC
roentgen b75cab
UNIVERSAL=TIFFRegisterCODEC
roentgen b75cab
UNIVERSAL=TIFFUnRegisterCODEC
roentgen b75cab
UNIVERSAL=TIFFFreeDirectory
roentgen b75cab
UNIVERSAL=TIFFReadCustomDirectory
roentgen b75cab
UNIVERSAL=TIFFReadEXIFDirectory
roentgen b75cab
UNIVERSAL=TIFFAccessTagMethods
roentgen b75cab
UNIVERSAL=TIFFGetClientInfo
roentgen b75cab
UNIVERSAL=TIFFSetClientInfo
roentgen b75cab
UNIVERSAL=TIFFReassignTagToIgnore
roentgen b75cab
 
roentgen b75cab
$ENDIF
roentgen b75cab
$!
roentgen b75cab
$!
roentgen b75cab
$! Writing TIFF$SHR.OPT file to build TOOLS
roentgen b75cab
$ IF (SHARED.GT.0)
roentgen b75cab
$   THEN
roentgen b75cab
$       OPEN/WRITE OUT TIFF$SHR.OPT
roentgen b75cab
$       WRITE OUT "[]TIFF/LIB"
roentgen b75cab
$       WRITE OUT "[-.PORT]LIBPORT/LIB"
roentgen b75cab
$       WRITE OUT JPEG_LIBRARY_PATH
roentgen b75cab
$       WRITE OUT "ZLIB:LIBZ/LIB"
roentgen b75cab
$       CLOSE OUT
roentgen b75cab
$ ENDIF
roentgen b75cab
$!
roentgen b75cab
$!
roentgen b75cab
$! Writing OPT.OPT file to build TOOLS
roentgen b75cab
$OPEN/WRITE OUT OPT.OPT
roentgen b75cab
$ IF (SHARED.GT.0)
roentgen b75cab
$   THEN
roentgen b75cab
$       WRITE OUT "[-.LIBTIFF]TIFF$SHR/SHARE"
roentgen b75cab
$       WRITE OUT JPEG_LIBRARY_PATH
roentgen b75cab
$   ELSE
roentgen b75cab
$       WRITE OUT "[-.LIBTIFF]TIFF/LIB"
roentgen b75cab
$       WRITE OUT "[-.PORT]LIBPORT/LIB"
roentgen b75cab
$       WRITE OUT JPEG_LIBRARY_PATH
roentgen b75cab
$ ENDIF
roentgen b75cab
$ WRITE OUT "ZLIB:LIBZ/LIB"
roentgen b75cab
$CLOSE OUT
roentgen b75cab
$!
roentgen b75cab
$!
roentgen b75cab
$COPY SYS$INPUT [.LIBTIFF]DESCRIP.MMS
roentgen b75cab
# (c) Alexey Chupahin 22-NOV-2007
roentgen b75cab
# OpenVMS 7.3-1, DEC 2000 mod.300
roentgen b75cab
# OpenVMS 8.3,   HP rx1620
roentgen b75cab
# Makefile for DEC C compilers.
roentgen b75cab
#
roentgen b75cab
roentgen b75cab
INCL    = /INCLUDE=(JPEG,ZLIB,[])
roentgen b75cab
roentgen b75cab
CFLAGS =  $(INCL)
roentgen b75cab
roentgen b75cab
OBJ_SYSDEP_MODULE = tif_vms.obj
roentgen b75cab
roentgen b75cab
OBJ     = \
roentgen b75cab
tif_aux.obj,\
roentgen b75cab
tif_close.obj,\
roentgen b75cab
tif_codec.obj,\
roentgen b75cab
tif_color.obj,\
roentgen b75cab
tif_compress.obj,\
roentgen b75cab
tif_dir.obj,\
roentgen b75cab
tif_dirinfo.obj,\
roentgen b75cab
tif_dirread.obj,\
roentgen b75cab
tif_dirwrite.obj,\
roentgen b75cab
tif_dumpmode.obj,\
roentgen b75cab
tif_error.obj,\
roentgen b75cab
tif_extension.obj,\
roentgen b75cab
tif_fax3.obj,\
roentgen b75cab
tif_fax3sm.obj,\
roentgen b75cab
tif_flush.obj,\
roentgen b75cab
tif_getimage.obj,\
roentgen b75cab
tif_jbig.obj,\
roentgen b75cab
tif_jpeg.obj,\
roentgen b75cab
tif_luv.obj,\
roentgen b75cab
tif_lzw.obj,\
roentgen b75cab
tif_next.obj,\
roentgen b75cab
tif_ojpeg.obj,\
roentgen b75cab
tif_open.obj,\
roentgen b75cab
tif_packbits.obj,\
roentgen b75cab
tif_pixarlog.obj,\
roentgen b75cab
tif_predict.obj,\
roentgen b75cab
tif_print.obj,\
roentgen b75cab
tif_read.obj,\
roentgen b75cab
tif_strip.obj,\
roentgen b75cab
tif_swab.obj,\
roentgen b75cab
tif_thunder.obj,\
roentgen b75cab
tif_tile.obj,\
roentgen b75cab
tif_version.obj,\
roentgen b75cab
tif_warning.obj,\
roentgen b75cab
tif_write.obj,\
roentgen b75cab
tif_zip.obj, $(OBJ_SYSDEP_MODULE)
roentgen b75cab
roentgen b75cab
$IF (SHARED.GT.0)
roentgen b75cab
$ THEN
roentgen b75cab
$       APP SYS$INPUT [.LIBTIFF]DESCRIP.MMS
roentgen b75cab
ALL : tiff.olb, tiff$shr.exe
roentgen b75cab
        $WRITE SYS$OUTPUT "Done"
roentgen b75cab
roentgen b75cab
tiff$shr.exe : tiff.olb
roentgen b75cab
        LINK/SHARE=TIFF$SHR.EXE TIF_AUX,[-]TIFF$DEF/OPT, [-]TIFF$SHR/OPT
roentgen b75cab
        COPY TIFF$SHR.EXE SYS$SHARE
roentgen b75cab
        PURGE SYS$SHARE:TIFF$SHR.EXE
roentgen b75cab
roentgen b75cab
$ ELSE
roentgen b75cab
$       APP SYS$INPUT [.LIBTIFF]DESCRIP.MMS
roentgen b75cab
ALL : tiff.olb
roentgen b75cab
        $WRITE SYS$OUTPUT "Done"
roentgen b75cab
roentgen b75cab
$ENDIF
roentgen b75cab
$!
roentgen b75cab
$!
roentgen b75cab
$ APP SYS$INPUT [.LIBTIFF]DESCRIP.MMS
roentgen b75cab
roentgen b75cab
tiff.olb :  $(OBJ)
roentgen b75cab
        lib/crea tiff.olb $(OBJ)
roentgen b75cab
roentgen b75cab
#tif_config.h : tif_config.h-vms
roentgen b75cab
#        copy tif_config.h-vms tif_config.h
roentgen b75cab
#
roentgen b75cab
#tiffconf.h : tiffconf.h-vms
roentgen b75cab
#        copy tiffconf.h-vms tiffconf.h
roentgen b75cab
roentgen b75cab
tif_aux.obj : tif_aux.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tif_close.obj : tif_close.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tif_codec.obj : tif_codec.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tif_color.obj : tif_color.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tif_compress.obj : tif_compress.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tif_dir.obj : tif_dir.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tif_dirinfo.obj : tif_dirinfo.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tif_dirread.obj : tif_dirread.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tif_dirwrite.obj : tif_dirwrite.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tif_dumpmode.obj : tif_dumpmode.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tif_error.obj : tif_error.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tif_extension.obj : tif_extension.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tif_fax3.obj : tif_fax3.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tif_fax3sm.obj : tif_fax3sm.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tif_flush.obj : tif_flush.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tif_getimage.obj : tif_getimage.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tif_jbig.obj : tif_jbig.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tif_jpeg.obj : tif_jpeg.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tif_luv.obj : tif_luv.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tif_lzw.obj : tif_lzw.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tif_next.obj : tif_next.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tif_ojpeg.obj : tif_ojpeg.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tif_open.obj : tif_open.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tif_packbits.obj : tif_packbits.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tif_pixarlog.obj : tif_pixarlog.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tif_predict.obj : tif_predict.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tif_print.obj : tif_print.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tif_read.obj : tif_read.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tif_strip.obj : tif_strip.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tif_swab.obj : tif_swab.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tif_thunder.obj : tif_thunder.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tif_tile.obj : tif_tile.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tif_unix.obj : tif_unix.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tif_version.obj : tif_version.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tif_warning.obj : tif_warning.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tif_write.obj : tif_write.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tif_zip.obj : tif_zip.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
roentgen b75cab
clean :
roentgen b75cab
        del *.obj;*
roentgen b75cab
        del *.olb;*
roentgen b75cab
$!
roentgen b75cab
$!
roentgen b75cab
$!
roentgen b75cab
$COPY SYS$INPUT [.TOOLS]DESCRIP.MMS
roentgen b75cab
# (c) Alexey Chupahin 22-NOV-2007
roentgen b75cab
# OpenVMS 7.3-1, DEC 2000 mod.300
roentgen b75cab
# OpenVMS 8.3,   HP rx1620
roentgen b75cab
 
roentgen b75cab
INCL            = /INCL=([],[-.LIBTIFF])
roentgen b75cab
CFLAGS = $(INCL)
roentgen b75cab
LIBS = [-]OPT/OPT
roentgen b75cab
roentgen b75cab
OBJ=\
roentgen b75cab
bmp2tiff.exe,\
roentgen b75cab
fax2ps.exe,\
roentgen b75cab
fax2tiff.exe,\
roentgen b75cab
gif2tiff.exe,\
roentgen b75cab
pal2rgb.exe,\
roentgen b75cab
ppm2tiff.exe,\
roentgen b75cab
ras2tiff.exe,\
roentgen b75cab
raw2tiff.exe,\
roentgen b75cab
rgb2ycbcr.exe,\
roentgen b75cab
thumbnail.exe,\
roentgen b75cab
tiff2bw.exe,\
roentgen b75cab
tiff2pdf.exe,\
roentgen b75cab
tiff2ps.exe,\
roentgen b75cab
tiff2rgba.exe,\
roentgen b75cab
tiffcmp.exe,\
roentgen b75cab
tiffcp.exe,\
roentgen b75cab
tiffcrop.exe,\
roentgen b75cab
tiffdither.exe,\
roentgen b75cab
tiffdump.exe,\
roentgen b75cab
tiffinfo.exe,\
roentgen b75cab
tiffmedian.exe,\
roentgen b75cab
tiffset.exe,\
roentgen b75cab
tiffsplit.exe,\
roentgen b75cab
ycbcr.exe
roentgen b75cab
 
roentgen b75cab
roentgen b75cab
all : $(OBJ)
roentgen b75cab
	$!
roentgen b75cab
roentgen b75cab
bmp2tiff.obj : bmp2tiff.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
bmp2tiff.exe : bmp2tiff.obj
roentgen b75cab
         LINK/EXE=$(MMS$TARGET)  $(MMS$SOURCE), $(LIBS)
roentgen b75cab
roentgen b75cab
fax2ps.obj : fax2ps.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
fax2ps.exe : fax2ps.obj
roentgen b75cab
         LINK/EXE=$(MMS$TARGET)  $(MMS$SOURCE), $(LIBS)
roentgen b75cab
roentgen b75cab
fax2tiff.obj : fax2tiff.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
fax2tiff.exe : fax2tiff.obj
roentgen b75cab
         LINK/EXE=$(MMS$TARGET)  $(MMS$SOURCE), $(LIBS)
roentgen b75cab
roentgen b75cab
gif2tiff.obj : gif2tiff.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
gif2tiff.exe : gif2tiff.obj
roentgen b75cab
         LINK/EXE=$(MMS$TARGET)  $(MMS$SOURCE), $(LIBS)
roentgen b75cab
roentgen b75cab
pal2rgb.obj : pal2rgb.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
pal2rgb.exe : pal2rgb.obj
roentgen b75cab
         LINK/EXE=$(MMS$TARGET)  $(MMS$SOURCE), $(LIBS)
roentgen b75cab
roentgen b75cab
ppm2tiff.obj : ppm2tiff.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
ppm2tiff.exe : ppm2tiff.obj
roentgen b75cab
         LINK/EXE=$(MMS$TARGET)  $(MMS$SOURCE), $(LIBS)
roentgen b75cab
roentgen b75cab
ras2tiff.obj : ras2tiff.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
ras2tiff.exe : ras2tiff.obj
roentgen b75cab
         LINK/EXE=$(MMS$TARGET)  $(MMS$SOURCE), $(LIBS)
roentgen b75cab
roentgen b75cab
raw2tiff.obj : raw2tiff.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
raw2tiff.exe : raw2tiff.obj
roentgen b75cab
         LINK/EXE=$(MMS$TARGET)  $(MMS$SOURCE), $(LIBS)
roentgen b75cab
roentgen b75cab
rgb2ycbcr.obj : rgb2ycbcr.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
rgb2ycbcr.exe : rgb2ycbcr.obj
roentgen b75cab
         LINK/EXE=$(MMS$TARGET)  $(MMS$SOURCE), $(LIBS)
roentgen b75cab
roentgen b75cab
sgi2tiff.obj : sgi2tiff.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
sgi2tiff.exe : sgi2tiff.obj
roentgen b75cab
         LINK/EXE=$(MMS$TARGET)  $(MMS$SOURCE), $(LIBS)
roentgen b75cab
roentgen b75cab
sgisv.obj : sgisv.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
sgisv.exe : sgisv.obj
roentgen b75cab
         LINK/EXE=$(MMS$TARGET)  $(MMS$SOURCE), $(LIBS)
roentgen b75cab
roentgen b75cab
thumbnail.obj : thumbnail.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
thumbnail.exe : thumbnail.obj
roentgen b75cab
         LINK/EXE=$(MMS$TARGET)  $(MMS$SOURCE), $(LIBS)
roentgen b75cab
roentgen b75cab
tiff2bw.obj : tiff2bw.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tiff2bw.exe : tiff2bw.obj
roentgen b75cab
         LINK/EXE=$(MMS$TARGET)  $(MMS$SOURCE), $(LIBS)
roentgen b75cab
roentgen b75cab
tiff2pdf.obj : tiff2pdf.c
roentgen b75cab
         $(CC) $(CFLAGS) /NOWARN $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tiff2pdf.exe : tiff2pdf.obj
roentgen b75cab
         LINK/EXE=$(MMS$TARGET)  $(MMS$SOURCE), $(LIBS)
roentgen b75cab
roentgen b75cab
tiff2ps.obj : tiff2ps.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tiff2ps.exe : tiff2ps.obj
roentgen b75cab
         LINK/EXE=$(MMS$TARGET)  $(MMS$SOURCE), $(LIBS)
roentgen b75cab
roentgen b75cab
tiff2rgba.obj : tiff2rgba.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tiff2rgba.exe : tiff2rgba.obj
roentgen b75cab
         LINK/EXE=$(MMS$TARGET)  $(MMS$SOURCE), $(LIBS)
roentgen b75cab
roentgen b75cab
tiffcmp.obj : tiffcmp.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tiffcmp.exe : tiffcmp.obj
roentgen b75cab
         LINK/EXE=$(MMS$TARGET)  $(MMS$SOURCE), $(LIBS)
roentgen b75cab
roentgen b75cab
tiffcp.obj : tiffcp.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tiffcp.exe : tiffcp.obj
roentgen b75cab
         LINK/EXE=$(MMS$TARGET)  $(MMS$SOURCE), $(LIBS)
roentgen b75cab
roentgen b75cab
tiffcrop.obj : tiffcrop.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tiffcrop.exe : tiffcrop.obj
roentgen b75cab
         LINK/EXE=$(MMS$TARGET)  $(MMS$SOURCE), $(LIBS)
roentgen b75cab
roentgen b75cab
tiffdither.obj : tiffdither.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tiffdither.exe : tiffdither.obj
roentgen b75cab
         LINK/EXE=$(MMS$TARGET)  $(MMS$SOURCE), $(LIBS)
roentgen b75cab
roentgen b75cab
tiffdump.obj : tiffdump.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tiffdump.exe : tiffdump.obj
roentgen b75cab
         LINK/EXE=$(MMS$TARGET)  $(MMS$SOURCE), $(LIBS)
roentgen b75cab
roentgen b75cab
tiffgt.obj : tiffgt.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tiffgt.exe : tiffgt.obj
roentgen b75cab
         LINK/EXE=$(MMS$TARGET)  $(MMS$SOURCE), $(LIBS)
roentgen b75cab
roentgen b75cab
tiffinfo.obj : tiffinfo.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tiffinfo.exe : tiffinfo.obj
roentgen b75cab
         LINK/EXE=$(MMS$TARGET)  $(MMS$SOURCE), $(LIBS)
roentgen b75cab
roentgen b75cab
tiffmedian.obj : tiffmedian.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tiffmedian.exe : tiffmedian.obj
roentgen b75cab
         LINK/EXE=$(MMS$TARGET)  $(MMS$SOURCE), $(LIBS)
roentgen b75cab
roentgen b75cab
tiffset.obj : tiffset.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tiffset.exe : tiffset.obj
roentgen b75cab
         LINK/EXE=$(MMS$TARGET)  $(MMS$SOURCE), $(LIBS)
roentgen b75cab
roentgen b75cab
tiffsplit.obj : tiffsplit.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
tiffsplit.exe : tiffsplit.obj
roentgen b75cab
         LINK/EXE=$(MMS$TARGET)  $(MMS$SOURCE), $(LIBS)
roentgen b75cab
roentgen b75cab
ycbcr.obj : ycbcr.c
roentgen b75cab
         $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
roentgen b75cab
roentgen b75cab
ycbcr.exe : ycbcr.obj
roentgen b75cab
         LINK/EXE=$(MMS$TARGET)  $(MMS$SOURCE), $(LIBS)
roentgen b75cab
 
roentgen b75cab
roentgen b75cab
CLEAN :
roentgen b75cab
	DEL ALL.;*
roentgen b75cab
	DEL *.OBJ;*
roentgen b75cab
	DEL *.EXE;*
roentgen b75cab
roentgen b75cab
$!
roentgen b75cab
$!
roentgen b75cab
$!
roentgen b75cab
$!copiing and patching TIFF_CONF.H, TIF_CONFIG.H
roentgen b75cab
$!
roentgen b75cab
$CURRENT = F$ENVIRONMENT (""DEFAULT"")
roentgen b75cab
$CURRENT[F$LOCATE("]",CURRENT),9]:=".LIBTIFF]"
roentgen b75cab
$WRITE SYS$OUTPUT "Creating TIFFCONF.H and TIF_CONFIG.H"
roentgen b75cab
$COPY SYS$INPUT 'CURRENT'TIFFCONF.H
roentgen b75cab
/*
roentgen b75cab
  Configuration defines for installed libtiff.
roentgen b75cab
  This file maintained for backward compatibility. Do not use definitions
roentgen b75cab
  from this file in your programs.
roentgen b75cab
*/
roentgen b75cab
roentgen b75cab
#ifndef _TIFFCONF_
roentgen b75cab
#define _TIFFCONF_
roentgen b75cab
roentgen b75cab
/* Define to 1 if the system has the type `int16'. */
roentgen b75cab
//#define HAVE_INT16
roentgen b75cab
roentgen b75cab
/* Define to 1 if the system has the type `int32'. */
roentgen b75cab
//#define  HAVE_INT32
roentgen b75cab
roentgen b75cab
/* Define to 1 if the system has the type `int8'. */
roentgen b75cab
//#define HAVE_INT8
roentgen b75cab
roentgen b75cab
/* The size of a `int', as computed by sizeof. */
roentgen b75cab
#define SIZEOF_INT 4
roentgen b75cab
roentgen b75cab
/* The size of a `long', as computed by sizeof. */
roentgen b75cab
#define SIZEOF_LONG 4
roentgen b75cab
roentgen b75cab
/* Compatibility stuff. */
roentgen b75cab
roentgen b75cab
/* Define as 0 or 1 according to the floating point format suported by the
roentgen b75cab
   machine */
roentgen b75cab
roentgen b75cab
#ifdef __IEEE_FLOAT
roentgen b75cab
#define HAVE_IEEEFP 1
roentgen b75cab
#endif
roentgen b75cab
roentgen b75cab
#define HAVE_GETOPT 1
roentgen b75cab
roentgen b75cab
/* Set the native cpu bit order (FILLORDER_LSB2MSB or FILLORDER_MSB2LSB) */
roentgen b75cab
#define HOST_FILLORDER FILLORDER_LSB2MSB
roentgen b75cab
roentgen b75cab
/* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian
roentgen b75cab
   (Intel) */
roentgen b75cab
#define HOST_BIGENDIAN 0
roentgen b75cab
roentgen b75cab
/* Support CCITT Group 3 & 4 algorithms */
roentgen b75cab
#define CCITT_SUPPORT 1
roentgen b75cab
roentgen b75cab
/* Support LogLuv high dynamic range encoding */
roentgen b75cab
#define LOGLUV_SUPPORT 1
roentgen b75cab
roentgen b75cab
/* Support LZW algorithm */
roentgen b75cab
#define LZW_SUPPORT 1
roentgen b75cab
roentgen b75cab
/* Support NeXT 2-bit RLE algorithm */
roentgen b75cab
#define NEXT_SUPPORT 1
roentgen b75cab
roentgen b75cab
/* Support Old JPEG compresson (read contrib/ojpeg/README first! Compilation
roentgen b75cab
   fails with unpatched IJG JPEG library) */
roentgen b75cab
roentgen b75cab
/* Support Macintosh PackBits algorithm */
roentgen b75cab
#define PACKBITS_SUPPORT 1
roentgen b75cab
roentgen b75cab
/* Support Pixar log-format algorithm (requires Zlib) */
roentgen b75cab
#define PIXARLOG_SUPPORT 1
roentgen b75cab
roentgen b75cab
/* Support ThunderScan 4-bit RLE algorithm */
roentgen b75cab
#define THUNDER_SUPPORT 1
roentgen b75cab
roentgen b75cab
/* Support Deflate compression */
roentgen b75cab
/* #undef ZIP_SUPPORT */
roentgen b75cab
roentgen b75cab
/* Support strip chopping (whether or not to convert single-strip uncompressed
roentgen b75cab
   images to mutiple strips of ~8Kb to reduce memory usage) */
roentgen b75cab
#define STRIPCHOP_DEFAULT TIFF_STRIPCHOP
roentgen b75cab
roentgen b75cab
/* Enable SubIFD tag (330) support */
roentgen b75cab
#define SUBIFD_SUPPORT 1
roentgen b75cab
roentgen b75cab
/* Treat extra sample as alpha (default enabled). The RGBA interface will
roentgen b75cab
   treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many
roentgen b75cab
   packages produce RGBA files but don't mark the alpha properly. */
roentgen b75cab
#define DEFAULT_EXTRASAMPLE_AS_ALPHA 1
roentgen b75cab
roentgen b75cab
/* Pick up YCbCr subsampling info from the JPEG data stream to support files
roentgen b75cab
   lacking the tag (default enabled). */
roentgen b75cab
#define CHECK_JPEG_YCBCR_SUBSAMPLING 1
roentgen b75cab
roentgen b75cab
/*
roentgen b75cab
 * Feature support definitions.
roentgen b75cab
 * XXX: These macros are obsoleted. Don't use them in your apps!
roentgen b75cab
 * Macros stays here for backward compatibility and should be always defined.
roentgen b75cab
 */
roentgen b75cab
#define COLORIMETRY_SUPPORT
roentgen b75cab
#define YCBCR_SUPPORT
roentgen b75cab
#define CMYK_SUPPORT
roentgen b75cab
#define ICC_SUPPORT
roentgen b75cab
#define PHOTOSHOP_SUPPORT
roentgen b75cab
#define IPTC_SUPPORT
roentgen b75cab
roentgen b75cab
#endif /* _TIFFCONF_ */
roentgen b75cab
 
roentgen b75cab
roentgen b75cab
$COPY SYS$INPUT 'CURRENT'TIF_CONFIG.H
roentgen b75cab
/* Define to 1 if you have the <assert.h> header file. */</assert.h>
roentgen b75cab
roentgen b75cab
#ifndef HAVE_GETOPT
roentgen b75cab
#  define HAVE_GETOPT 1
roentgen b75cab
#endif
roentgen b75cab
roentgen b75cab
#define HAVE_ASSERT_H 1
roentgen b75cab
roentgen b75cab
/* Define to 1 if you have the <fcntl.h> header file. */</fcntl.h>
roentgen b75cab
#define HAVE_FCNTL_H 1
roentgen b75cab
roentgen b75cab
/* Define as 0 or 1 according to the floating point format suported by the
roentgen b75cab
   machine */
roentgen b75cab
roentgen b75cab
#ifdef __IEEE_FLOAT
roentgen b75cab
#define HAVE_IEEEFP 1
roentgen b75cab
#endif
roentgen b75cab
roentgen b75cab
#define HAVE_UNISTD_H 1
roentgen b75cab
roentgen b75cab
#define HAVE_STRING_H 1
roentgen b75cab
/* Define to 1 if you have the <sys types.h=""> header file. */</sys>
roentgen b75cab
#define HAVE_SYS_TYPES_H 1
roentgen b75cab
roentgen b75cab
/* Define to 1 if you have the <io.h> header file. */</io.h>
roentgen b75cab
//#define HAVE_IO_H 1
roentgen b75cab
roentgen b75cab
/* Define to 1 if you have the <search.h> header file. */</search.h>
roentgen b75cab
//#define HAVE_SEARCH_H 1
roentgen b75cab
roentgen b75cab
/* The size of a `int', as computed by sizeof. */
roentgen b75cab
#define SIZEOF_INT 4
roentgen b75cab
roentgen b75cab
/* The size of a `long', as computed by sizeof. */
roentgen b75cab
#define SIZEOF_LONG 4
roentgen b75cab
roentgen b75cab
/* Set the native cpu bit order */
roentgen b75cab
#define HOST_FILLORDER FILLORDER_LSB2MSB
roentgen b75cab
roentgen b75cab
/* Define to 1 if your processor stores words with the most significant byte
roentgen b75cab
   first (like Motorola and SPARC, unlike Intel and VAX). */
roentgen b75cab
/* #undef WORDS_BIGENDIAN */
roentgen b75cab
roentgen b75cab
/* Define to `__inline__' or `__inline' if that's what the C compiler
roentgen b75cab
   calls it, or to nothing if 'inline' is not supported under any name.  */
roentgen b75cab
/*
roentgen b75cab
#ifndef __cplusplus
roentgen b75cab
# ifndef inline
roentgen b75cab
#  define inline __inline
roentgen b75cab
# endif
roentgen b75cab
#endif
roentgen b75cab
*/
roentgen b75cab
roentgen b75cab
/* Support CCITT Group 3 & 4 algorithms */
roentgen b75cab
#define CCITT_SUPPORT 1
roentgen b75cab
roentgen b75cab
/* Pick up YCbCr subsampling info from the JPEG data stream to support files
roentgen b75cab
   lacking the tag (default enabled). */
roentgen b75cab
#define CHECK_JPEG_YCBCR_SUBSAMPLING 1
roentgen b75cab
/* Support C++ stream API (requires C++ compiler) */
roentgen b75cab
#define CXX_SUPPORT 1
roentgen b75cab
roentgen b75cab
/* Treat extra sample as alpha (default enabled). The RGBA interface will
roentgen b75cab
   treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many
roentgen b75cab
      packages produce RGBA files but don't mark the alpha properly. */
roentgen b75cab
#define DEFAULT_EXTRASAMPLE_AS_ALPHA 1
roentgen b75cab
roentgen b75cab
/* little Endian */
roentgen b75cab
#define HOST_BIGENDIAN 0
roentgen b75cab
#define JPEG_SUPPORT 1
roentgen b75cab
#define LOGLUV_SUPPORT 1
roentgen b75cab
/* Support LZW algorithm */
roentgen b75cab
#define LZW_SUPPORT 1
roentgen b75cab
roentgen b75cab
/* Support Microsoft Document Imaging format */
roentgen b75cab
#define MDI_SUPPORT 1
roentgen b75cab
roentgen b75cab
/* Support NeXT 2-bit RLE algorithm */
roentgen b75cab
#define NEXT_SUPPORT 1
roentgen b75cab
#define OJPEG_SUPPORT 1
roentgen b75cab
roentgen b75cab
/* Name of package */
roentgen b75cab
#define PACKAGE "tiff"
roentgen b75cab
roentgen b75cab
roentgen b75cab
/* Define to the address where bug reports for this package should be sent. */
roentgen b75cab
#define PACKAGE_BUGREPORT "tiff@lists.maptools.org"
roentgen b75cab
roentgen b75cab
/* Define to the full name of this package. */
roentgen b75cab
#define PACKAGE_NAME "LibTIFF Software"
roentgen b75cab
roentgen b75cab
/* Define to the full name and version of this package. */
roentgen b75cab
#define PACKAGE_STRING "LibTIFF Software 3.9.0beta for VMS"
roentgen b75cab
roentgen b75cab
/* Define to the one symbol short name of this package. */
roentgen b75cab
#define PACKAGE_TARNAME "tiff"
roentgen b75cab
roentgen b75cab
$PURGE 'CURRENT'TIFFCONF.H
roentgen b75cab
$PURGE 'CURRENT'TIF_CONFIG.H
roentgen b75cab
$OPEN/APPEND OUT 'CURRENT'TIF_CONFIG.H
roentgen b75cab
$IF HAVE_LFIND.EQ.1
roentgen b75cab
$   THEN
roentgen b75cab
$       WRITE OUT "#define HAVE_SEARCH_H 1"
roentgen b75cab
$   ELSE
roentgen b75cab
$       WRITE OUT "#undef HAVE_SEARCH_H"
roentgen b75cab
$ENDIF
roentgen b75cab
$CLOSE OUT
roentgen b75cab
$!
roentgen b75cab
$!
roentgen b75cab
$WRITE SYS$OUTPUT " "
roentgen b75cab
$WRITE SYS$OUTPUT " "
roentgen b75cab
$WRITE SYS$OUTPUT "Now you can type @BUILD "
roentgen b75cab
$!
roentgen b75cab
$EXIT:
roentgen b75cab
$DEFINE SYS$ERROR _NLA0:
roentgen b75cab
$DEFINE SYS$OUTPUT _NLA0:
roentgen b75cab
$DEL TEST.OBJ;*
roentgen b75cab
$DEL TEST.C;*
roentgen b75cab
$DEL TEST.EXE;*
roentgen b75cab
$DEAS SYS$ERROR
roentgen b75cab
$DEAS SYS$OUTPUT