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