]> git.saurik.com Git - wxWidgets.git/blob - src/tiff/configure.com
Define __VISUALC__ for ICC under Windows again.
[wxWidgets.git] / src / tiff / configure.com
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
392 SYMBOL_VECTOR= (-
393 TIFFOpen=PROCEDURE,-
394 TIFFGetVersion=PROCEDURE,-
395 TIFFCleanup=PROCEDURE,-
396 TIFFClose=PROCEDURE,-
397 TIFFFlush=PROCEDURE,-
398 TIFFFlushData=PROCEDURE,-
399 TIFFGetField=PROCEDURE,-
400 TIFFVGetField=PROCEDURE,-
401 TIFFGetFieldDefaulted=PROCEDURE,-
402 TIFFVGetFieldDefaulted=PROCEDURE,-
403 TIFFGetTagListEntry=PROCEDURE,-
404 TIFFGetTagListCount=PROCEDURE,-
405 TIFFReadDirectory=PROCEDURE,-
406 TIFFScanlineSize=PROCEDURE,-
407 TIFFStripSize=PROCEDURE,-
408 TIFFVStripSize=PROCEDURE,-
409 TIFFRawStripSize=PROCEDURE,-
410 TIFFTileRowSize=PROCEDURE,-
411 TIFFTileSize=PROCEDURE,-
412 TIFFVTileSize=PROCEDURE,-
413 TIFFFileno=PROCEDURE,-
414 TIFFSetFileno=PROCEDURE,-
415 TIFFGetMode=PROCEDURE,-
416 TIFFIsTiled=PROCEDURE,-
417 TIFFIsByteSwapped=PROCEDURE,-
418 TIFFIsBigEndian=PROCEDURE,-
419 TIFFIsMSB2LSB=PROCEDURE,-
420 TIFFIsUpSampled=PROCEDURE,-
421 TIFFCIELabToRGBInit=PROCEDURE,-
422 TIFFCIELabToXYZ=PROCEDURE,-
423 TIFFXYZToRGB=PROCEDURE,-
424 TIFFYCbCrToRGBInit=PROCEDURE,-
425 TIFFYCbCrtoRGB=PROCEDURE,-
426 TIFFCurrentRow=PROCEDURE,-
427 TIFFCurrentDirectory=PROCEDURE,-
428 TIFFCurrentStrip=PROCEDURE,-
429 TIFFCurrentTile=PROCEDURE,-
430 TIFFDataWidth=PROCEDURE,-
431 TIFFReadBufferSetup=PROCEDURE,-
432 TIFFWriteBufferSetup=PROCEDURE,-
433 TIFFSetupStrips=PROCEDURE,-
434 TIFFLastDirectory=PROCEDURE,-
435 TIFFSetDirectory=PROCEDURE,-
436 TIFFSetSubDirectory=PROCEDURE,-
437 TIFFUnlinkDirectory=PROCEDURE,-
438 TIFFSetField=PROCEDURE,-
439 TIFFVSetField=PROCEDURE,-
440 TIFFCheckpointDirectory=PROCEDURE,-
441 TIFFWriteDirectory=PROCEDURE,-
442 TIFFRewriteDirectory=PROCEDURE,-
443 TIFFPrintDirectory=PROCEDURE,-
444 TIFFReadScanline=PROCEDURE,-
445 TIFFWriteScanline=PROCEDURE,-
446 TIFFReadRGBAImage=PROCEDURE,-
447 TIFFReadRGBAImageOriented=PROCEDURE,-
448 TIFFFdOpen=PROCEDURE,-
449 TIFFClientOpen=PROCEDURE,-
450 TIFFFileName=PROCEDURE,-
451 TIFFError=PROCEDURE,-
452 TIFFErrorExt=PROCEDURE,-
453 TIFFWarning=PROCEDURE,-
454 TIFFWarningExt=PROCEDURE,-
455 TIFFSetErrorHandler=PROCEDURE,-
456 TIFFSetErrorHandlerExt=PROCEDURE,-
457 TIFFSetWarningHandler=PROCEDURE,-
458 TIFFSetWarningHandlerExt=PROCEDURE,-
459 TIFFComputeTile=PROCEDURE,-
460 TIFFCheckTile=PROCEDURE,-
461 TIFFNumberOfTiles=PROCEDURE,-
462 TIFFReadTile=PROCEDURE,-
463 TIFFWriteTile=PROCEDURE,-
464 TIFFComputeStrip=PROCEDURE,-
465 TIFFNumberOfStrips=PROCEDURE,-
466 TIFFRGBAImageBegin=PROCEDURE,-
467 TIFFRGBAImageGet=PROCEDURE,-
468 TIFFRGBAImageEnd=PROCEDURE,-
469 TIFFReadEncodedStrip=PROCEDURE,-
470 TIFFReadRawStrip=PROCEDURE,-
471 TIFFReadEncodedTile=PROCEDURE,-
472 TIFFReadRawTile=PROCEDURE,-
473 TIFFReadRGBATile=PROCEDURE,-
474 TIFFReadRGBAStrip=PROCEDURE,-
475 TIFFWriteEncodedStrip=PROCEDURE,-
476 TIFFWriteRawStrip=PROCEDURE,-
477 TIFFWriteEncodedTile=PROCEDURE,-
478 TIFFWriteRawTile=PROCEDURE,-
479 TIFFSetWriteOffset=PROCEDURE,-
480 TIFFSwabDouble=PROCEDURE,-
481 TIFFSwabShort=PROCEDURE,-
482 TIFFSwabLong=PROCEDURE,-
483 TIFFSwabArrayOfShort=PROCEDURE,-
484 TIFFSwabArrayOfLong=PROCEDURE,-
485 TIFFSwabArrayOfDouble=PROCEDURE,-
486 TIFFSwabArrayOfTriples=PROCEDURE,-
487 TIFFReverseBits=PROCEDURE,-
488 TIFFGetBitRevTable=PROCEDURE,-
489 TIFFDefaultStripSize=PROCEDURE,-
490 TIFFDefaultTileSize=PROCEDURE,-
491 TIFFRasterScanlineSize=PROCEDURE,-
492 _TIFFmalloc=PROCEDURE,-
493 _TIFFrealloc=PROCEDURE,-
494 _TIFFfree=PROCEDURE,-
495 _TIFFmemset=PROCEDURE,-
496 _TIFFmemcpy=PROCEDURE,-
497 _TIFFmemcmp=PROCEDURE,-
498 TIFFCreateDirectory=PROCEDURE,-
499 TIFFSetTagExtender=PROCEDURE,-
500 TIFFMergeFieldInfo=PROCEDURE,-
501 TIFFFindFieldInfo=PROCEDURE,-
502 TIFFFindFieldInfoByName=PROCEDURE,-
503 TIFFFieldWithName=PROCEDURE,-
504 TIFFFieldWithTag=PROCEDURE,-
505 TIFFFieldTag=PROCEDURE,-
506 TIFFFieldName=PROCEDURE,-
507 TIFFFieldDataType=PROCEDURE,-
508 TIFFFieldPassCount=PROCEDURE,-
509 TIFFFieldReadCount=PROCEDURE,-
510 TIFFFieldWriteCount=PROCEDURE,-
511 TIFFCurrentDirOffset=PROCEDURE,-
512 TIFFWriteCheck=PROCEDURE,-
513 TIFFRGBAImageOK=PROCEDURE,-
514 TIFFNumberOfDirectories=PROCEDURE,-
515 TIFFSetFileName=PROCEDURE,-
516 TIFFSetClientdata=PROCEDURE,-
517 TIFFSetMode=PROCEDURE,-
518 TIFFClientdata=PROCEDURE,-
519 TIFFGetReadProc=PROCEDURE,-
520 TIFFGetWriteProc=PROCEDURE,-
521 TIFFGetSeekProc=PROCEDURE,-
522 TIFFGetCloseProc=PROCEDURE,-
523 TIFFGetSizeProc=PROCEDURE,-
524 TIFFGetMapFileProc=PROCEDURE,-
525 TIFFGetUnmapFileProc=PROCEDURE,-
526 TIFFIsCODECConfigured=PROCEDURE,-
527 TIFFGetConfiguredCODECs=PROCEDURE,-
528 TIFFFindCODEC=PROCEDURE,-
529 TIFFRegisterCODEC=PROCEDURE,-
530 TIFFUnRegisterCODEC=PROCEDURE,-
531 TIFFFreeDirectory=PROCEDURE,-
532 TIFFReadCustomDirectory=PROCEDURE,-
533 TIFFReadEXIFDirectory=PROCEDURE,-
534 TIFFAccessTagMethods=PROCEDURE,-
535 TIFFGetClientInfo=PROCEDURE,-
536 TIFFSetClientInfo=PROCEDURE,-
537 TIFFReassignTagToIgnore=PROCEDURE-
538 )
539
540 $ENDIF
541 $IF (SHARED.EQ.32)
542 $ THEN
543 $ COPY SYS$INPUT TIFF$DEF.OPT
544 UNIVERSAL=TIFFOpen
545 UNIVERSAL=TIFFGetVersion
546 UNIVERSAL=TIFFCleanup
547 UNIVERSAL=TIFFClose
548 UNIVERSAL=TIFFFlush
549 UNIVERSAL=TIFFFlushData
550 UNIVERSAL=TIFFGetField
551 UNIVERSAL=TIFFVGetField
552 UNIVERSAL=TIFFGetFieldDefaulted
553 UNIVERSAL=TIFFVGetFieldDefaulted
554 UNIVERSAL=TIFFGetTagListEntry
555 UNIVERSAL=TIFFGetTagListCount
556 UNIVERSAL=TIFFReadDirectory
557 UNIVERSAL=TIFFScanlineSize
558 UNIVERSAL=TIFFStripSize
559 UNIVERSAL=TIFFVStripSize
560 UNIVERSAL=TIFFRawStripSize
561 UNIVERSAL=TIFFTileRowSize
562 UNIVERSAL=TIFFTileSize
563 UNIVERSAL=TIFFVTileSize
564 UNIVERSAL=TIFFFileno
565 UNIVERSAL=TIFFSetFileno
566 UNIVERSAL=TIFFGetMode
567 UNIVERSAL=TIFFIsTiled
568 UNIVERSAL=TIFFIsByteSwapped
569 UNIVERSAL=TIFFIsBigEndian
570 UNIVERSAL=TIFFIsMSB2LSB
571 UNIVERSAL=TIFFIsUpSampled
572 UNIVERSAL=TIFFCIELabToRGBInit
573 UNIVERSAL=TIFFCIELabToXYZ
574 UNIVERSAL=TIFFXYZToRGB
575 UNIVERSAL=TIFFYCbCrToRGBInit
576 UNIVERSAL=TIFFYCbCrtoRGB
577 UNIVERSAL=TIFFCurrentRow
578 UNIVERSAL=TIFFCurrentDirectory
579 UNIVERSAL=TIFFCurrentStrip
580 UNIVERSAL=TIFFCurrentTile
581 UNIVERSAL=TIFFDataWidth
582 UNIVERSAL=TIFFReadBufferSetup
583 UNIVERSAL=TIFFWriteBufferSetup
584 UNIVERSAL=TIFFSetupStrips
585 UNIVERSAL=TIFFLastDirectory
586 UNIVERSAL=TIFFSetDirectory
587 UNIVERSAL=TIFFSetSubDirectory
588 UNIVERSAL=TIFFUnlinkDirectory
589 UNIVERSAL=TIFFSetField
590 UNIVERSAL=TIFFVSetField
591 UNIVERSAL=TIFFCheckpointDirectory
592 UNIVERSAL=TIFFWriteDirectory
593 UNIVERSAL=TIFFRewriteDirectory
594 UNIVERSAL=TIFFPrintDirectory
595 UNIVERSAL=TIFFReadScanline
596 UNIVERSAL=TIFFWriteScanline
597 UNIVERSAL=TIFFReadRGBAImage
598 UNIVERSAL=TIFFReadRGBAImageOriented
599 UNIVERSAL=TIFFFdOpen
600 UNIVERSAL=TIFFClientOpen
601 UNIVERSAL=TIFFFileName
602 UNIVERSAL=TIFFError
603 UNIVERSAL=TIFFErrorExt
604 UNIVERSAL=TIFFWarning
605 UNIVERSAL=TIFFWarningExt
606 UNIVERSAL=TIFFSetErrorHandler
607 UNIVERSAL=TIFFSetErrorHandlerExt
608 UNIVERSAL=TIFFSetWarningHandler
609 UNIVERSAL=TIFFSetWarningHandlerExt
610 UNIVERSAL=TIFFComputeTile
611 UNIVERSAL=TIFFCheckTile
612 UNIVERSAL=TIFFNumberOfTiles
613 UNIVERSAL=TIFFReadTile
614 UNIVERSAL=TIFFWriteTile
615 UNIVERSAL=TIFFComputeStrip
616 UNIVERSAL=TIFFNumberOfStrips
617 UNIVERSAL=TIFFRGBAImageBegin
618 UNIVERSAL=TIFFRGBAImageGet
619 UNIVERSAL=TIFFRGBAImageEnd
620 UNIVERSAL=TIFFReadEncodedStrip
621 UNIVERSAL=TIFFReadRawStrip
622 UNIVERSAL=TIFFReadEncodedTile
623 UNIVERSAL=TIFFReadRawTile
624 UNIVERSAL=TIFFReadRGBATile
625 UNIVERSAL=TIFFReadRGBAStrip
626 UNIVERSAL=TIFFWriteEncodedStrip
627 UNIVERSAL=TIFFWriteRawStrip
628 UNIVERSAL=TIFFWriteEncodedTile
629 UNIVERSAL=TIFFWriteRawTile
630 UNIVERSAL=TIFFSetWriteOffset
631 UNIVERSAL=TIFFSwabDouble
632 UNIVERSAL=TIFFSwabShort
633 UNIVERSAL=TIFFSwabLong
634 UNIVERSAL=TIFFSwabArrayOfShort
635 UNIVERSAL=TIFFSwabArrayOfLong
636 UNIVERSAL=TIFFSwabArrayOfDouble
637 UNIVERSAL=TIFFSwabArrayOfTriples
638 UNIVERSAL=TIFFReverseBits
639 UNIVERSAL=TIFFGetBitRevTable
640 UNIVERSAL=TIFFDefaultStripSize
641 UNIVERSAL=TIFFDefaultTileSize
642 UNIVERSAL=TIFFRasterScanlineSize
643 UNIVERSAL=_TIFFmalloc
644 UNIVERSAL=_TIFFrealloc
645 UNIVERSAL=_TIFFfree
646 UNIVERSAL=_TIFFmemset
647 UNIVERSAL=_TIFFmemcpy
648 UNIVERSAL=_TIFFmemcmp
649 UNIVERSAL=TIFFCreateDirectory
650 UNIVERSAL=TIFFSetTagExtender
651 UNIVERSAL=TIFFMergeFieldInfo
652 UNIVERSAL=TIFFFindFieldInfo
653 UNIVERSAL=TIFFFindFieldInfoByName
654 UNIVERSAL=TIFFFieldWithName
655 UNIVERSAL=TIFFFieldWithTag
656 UNIVERSAL=TIFFFieldTag
657 UNIVERSAL=TIFFFieldName
658 UNIVERSAL=TIFFFieldDataType
659 UNIVERSAL=TIFFFieldPassCount
660 UNIVERSAL=TIFFFieldReadCount
661 UNIVERSAL=TIFFFieldWriteCount
662 UNIVERSAL=TIFFCurrentDirOffset
663 UNIVERSAL=TIFFWriteCheck
664 UNIVERSAL=TIFFRGBAImageOK
665 UNIVERSAL=TIFFNumberOfDirectories
666 UNIVERSAL=TIFFSetFileName
667 UNIVERSAL=TIFFSetClientdata
668 UNIVERSAL=TIFFSetMode
669 UNIVERSAL=TIFFClientdata
670 UNIVERSAL=TIFFGetReadProc
671 UNIVERSAL=TIFFGetWriteProc
672 UNIVERSAL=TIFFGetSeekProc
673 UNIVERSAL=TIFFGetCloseProc
674 UNIVERSAL=TIFFGetSizeProc
675 UNIVERSAL=TIFFGetMapFileProc
676 UNIVERSAL=TIFFGetUnmapFileProc
677 UNIVERSAL=TIFFIsCODECConfigured
678 UNIVERSAL=TIFFGetConfiguredCODECs
679 UNIVERSAL=TIFFFindCODEC
680 UNIVERSAL=TIFFRegisterCODEC
681 UNIVERSAL=TIFFUnRegisterCODEC
682 UNIVERSAL=TIFFFreeDirectory
683 UNIVERSAL=TIFFReadCustomDirectory
684 UNIVERSAL=TIFFReadEXIFDirectory
685 UNIVERSAL=TIFFAccessTagMethods
686 UNIVERSAL=TIFFGetClientInfo
687 UNIVERSAL=TIFFSetClientInfo
688 UNIVERSAL=TIFFReassignTagToIgnore
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
727 INCL = /INCLUDE=(JPEG,ZLIB,[])
728
729 CFLAGS = $(INCL)
730
731 OBJ_SYSDEP_MODULE = tif_vms.obj
732
733 OBJ = \
734 tif_aux.obj,\
735 tif_close.obj,\
736 tif_codec.obj,\
737 tif_color.obj,\
738 tif_compress.obj,\
739 tif_dir.obj,\
740 tif_dirinfo.obj,\
741 tif_dirread.obj,\
742 tif_dirwrite.obj,\
743 tif_dumpmode.obj,\
744 tif_error.obj,\
745 tif_extension.obj,\
746 tif_fax3.obj,\
747 tif_fax3sm.obj,\
748 tif_flush.obj,\
749 tif_getimage.obj,\
750 tif_jbig.obj,\
751 tif_jpeg.obj,\
752 tif_luv.obj,\
753 tif_lzw.obj,\
754 tif_next.obj,\
755 tif_ojpeg.obj,\
756 tif_open.obj,\
757 tif_packbits.obj,\
758 tif_pixarlog.obj,\
759 tif_predict.obj,\
760 tif_print.obj,\
761 tif_read.obj,\
762 tif_strip.obj,\
763 tif_swab.obj,\
764 tif_thunder.obj,\
765 tif_tile.obj,\
766 tif_version.obj,\
767 tif_warning.obj,\
768 tif_write.obj,\
769 tif_zip.obj, $(OBJ_SYSDEP_MODULE)
770
771 $IF (SHARED.GT.0)
772 $ THEN
773 $ APP SYS$INPUT [.LIBTIFF]DESCRIP.MMS
774 ALL : tiff.olb, tiff$shr.exe
775 $WRITE SYS$OUTPUT "Done"
776
777 tiff$shr.exe : tiff.olb
778 LINK/SHARE=TIFF$SHR.EXE TIF_AUX,[-]TIFF$DEF/OPT, [-]TIFF$SHR/OPT
779 COPY TIFF$SHR.EXE SYS$SHARE
780 PURGE SYS$SHARE:TIFF$SHR.EXE
781
782 $ ELSE
783 $ APP SYS$INPUT [.LIBTIFF]DESCRIP.MMS
784 ALL : tiff.olb
785 $WRITE SYS$OUTPUT "Done"
786
787 $ENDIF
788 $!
789 $!
790 $ APP SYS$INPUT [.LIBTIFF]DESCRIP.MMS
791
792 tiff.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
801 tif_aux.obj : tif_aux.c
802 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
803
804 tif_close.obj : tif_close.c
805 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
806
807 tif_codec.obj : tif_codec.c
808 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
809
810 tif_color.obj : tif_color.c
811 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
812
813 tif_compress.obj : tif_compress.c
814 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
815
816 tif_dir.obj : tif_dir.c
817 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
818
819 tif_dirinfo.obj : tif_dirinfo.c
820 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
821
822 tif_dirread.obj : tif_dirread.c
823 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
824
825 tif_dirwrite.obj : tif_dirwrite.c
826 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
827
828 tif_dumpmode.obj : tif_dumpmode.c
829 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
830
831 tif_error.obj : tif_error.c
832 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
833
834 tif_extension.obj : tif_extension.c
835 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
836
837 tif_fax3.obj : tif_fax3.c
838 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
839
840 tif_fax3sm.obj : tif_fax3sm.c
841 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
842
843 tif_flush.obj : tif_flush.c
844 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
845
846 tif_getimage.obj : tif_getimage.c
847 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
848
849 tif_jbig.obj : tif_jbig.c
850 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
851
852 tif_jpeg.obj : tif_jpeg.c
853 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
854
855 tif_luv.obj : tif_luv.c
856 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
857
858 tif_lzw.obj : tif_lzw.c
859 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
860
861 tif_next.obj : tif_next.c
862 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
863
864 tif_ojpeg.obj : tif_ojpeg.c
865 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
866
867 tif_open.obj : tif_open.c
868 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
869
870 tif_packbits.obj : tif_packbits.c
871 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
872
873 tif_pixarlog.obj : tif_pixarlog.c
874 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
875
876 tif_predict.obj : tif_predict.c
877 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
878
879 tif_print.obj : tif_print.c
880 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
881
882 tif_read.obj : tif_read.c
883 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
884
885 tif_strip.obj : tif_strip.c
886 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
887
888 tif_swab.obj : tif_swab.c
889 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
890
891 tif_thunder.obj : tif_thunder.c
892 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
893
894 tif_tile.obj : tif_tile.c
895 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
896
897 tif_unix.obj : tif_unix.c
898 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
899
900 tif_version.obj : tif_version.c
901 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
902
903 tif_warning.obj : tif_warning.c
904 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
905
906 tif_write.obj : tif_write.c
907 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
908
909 tif_zip.obj : tif_zip.c
910 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
911
912
913 clean :
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
924 INCL = /INCL=([],[-.LIBTIFF])
925 CFLAGS = $(INCL)
926 LIBS = [-]OPT/OPT
927
928 OBJ=\
929 bmp2tiff.exe,\
930 fax2ps.exe,\
931 fax2tiff.exe,\
932 gif2tiff.exe,\
933 pal2rgb.exe,\
934 ppm2tiff.exe,\
935 ras2tiff.exe,\
936 raw2tiff.exe,\
937 rgb2ycbcr.exe,\
938 thumbnail.exe,\
939 tiff2bw.exe,\
940 tiff2pdf.exe,\
941 tiff2ps.exe,\
942 tiff2rgba.exe,\
943 tiffcmp.exe,\
944 tiffcp.exe,\
945 tiffcrop.exe,\
946 tiffdither.exe,\
947 tiffdump.exe,\
948 tiffinfo.exe,\
949 tiffmedian.exe,\
950 tiffset.exe,\
951 tiffsplit.exe,\
952 ycbcr.exe
953
954
955 all : $(OBJ)
956 $!
957
958 bmp2tiff.obj : bmp2tiff.c
959 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
960
961 bmp2tiff.exe : bmp2tiff.obj
962 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
963
964 fax2ps.obj : fax2ps.c
965 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
966
967 fax2ps.exe : fax2ps.obj
968 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
969
970 fax2tiff.obj : fax2tiff.c
971 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
972
973 fax2tiff.exe : fax2tiff.obj
974 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
975
976 gif2tiff.obj : gif2tiff.c
977 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
978
979 gif2tiff.exe : gif2tiff.obj
980 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
981
982 pal2rgb.obj : pal2rgb.c
983 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
984
985 pal2rgb.exe : pal2rgb.obj
986 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
987
988 ppm2tiff.obj : ppm2tiff.c
989 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
990
991 ppm2tiff.exe : ppm2tiff.obj
992 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
993
994 ras2tiff.obj : ras2tiff.c
995 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
996
997 ras2tiff.exe : ras2tiff.obj
998 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
999
1000 raw2tiff.obj : raw2tiff.c
1001 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
1002
1003 raw2tiff.exe : raw2tiff.obj
1004 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
1005
1006 rgb2ycbcr.obj : rgb2ycbcr.c
1007 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
1008
1009 rgb2ycbcr.exe : rgb2ycbcr.obj
1010 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
1011
1012 sgi2tiff.obj : sgi2tiff.c
1013 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
1014
1015 sgi2tiff.exe : sgi2tiff.obj
1016 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
1017
1018 sgisv.obj : sgisv.c
1019 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
1020
1021 sgisv.exe : sgisv.obj
1022 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
1023
1024 thumbnail.obj : thumbnail.c
1025 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
1026
1027 thumbnail.exe : thumbnail.obj
1028 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
1029
1030 tiff2bw.obj : tiff2bw.c
1031 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
1032
1033 tiff2bw.exe : tiff2bw.obj
1034 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
1035
1036 tiff2pdf.obj : tiff2pdf.c
1037 $(CC) $(CFLAGS) /NOWARN $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
1038
1039 tiff2pdf.exe : tiff2pdf.obj
1040 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
1041
1042 tiff2ps.obj : tiff2ps.c
1043 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
1044
1045 tiff2ps.exe : tiff2ps.obj
1046 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
1047
1048 tiff2rgba.obj : tiff2rgba.c
1049 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
1050
1051 tiff2rgba.exe : tiff2rgba.obj
1052 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
1053
1054 tiffcmp.obj : tiffcmp.c
1055 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
1056
1057 tiffcmp.exe : tiffcmp.obj
1058 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
1059
1060 tiffcp.obj : tiffcp.c
1061 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
1062
1063 tiffcp.exe : tiffcp.obj
1064 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
1065
1066 tiffcrop.obj : tiffcrop.c
1067 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
1068
1069 tiffcrop.exe : tiffcrop.obj
1070 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
1071
1072 tiffdither.obj : tiffdither.c
1073 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
1074
1075 tiffdither.exe : tiffdither.obj
1076 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
1077
1078 tiffdump.obj : tiffdump.c
1079 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
1080
1081 tiffdump.exe : tiffdump.obj
1082 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
1083
1084 tiffgt.obj : tiffgt.c
1085 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
1086
1087 tiffgt.exe : tiffgt.obj
1088 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
1089
1090 tiffinfo.obj : tiffinfo.c
1091 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
1092
1093 tiffinfo.exe : tiffinfo.obj
1094 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
1095
1096 tiffmedian.obj : tiffmedian.c
1097 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
1098
1099 tiffmedian.exe : tiffmedian.obj
1100 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
1101
1102 tiffset.obj : tiffset.c
1103 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
1104
1105 tiffset.exe : tiffset.obj
1106 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
1107
1108 tiffsplit.obj : tiffsplit.c
1109 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
1110
1111 tiffsplit.exe : tiffsplit.obj
1112 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
1113
1114 ycbcr.obj : ycbcr.c
1115 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
1116
1117 ycbcr.exe : ycbcr.obj
1118 LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
1119
1120
1121 CLEAN :
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