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