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