This repository has been archived by the owner on Dec 1, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 88
/
configure.com
1357 lines (1185 loc) · 35.7 KB
/
configure.com
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
$! $Id$
$!
$! OpenVMS configure procedure for libtiff
$! (c) Alexey Chupahin 22-NOV-2007
$!
$! Permission to use, copy, modify, distribute, and sell this software and
$! its documentation for any purpose is hereby granted without fee, provided
$! that (i) the above copyright notices and this permission notice appear in
$! all copies of the software and related documentation, and (ii) the names of
$! Sam Leffler and Silicon Graphics may not be used in any advertising or
$! publicity relating to the software without the specific, prior written
$! permission of Sam Leffler and Silicon Graphics.
$!
$! THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
$! EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
$! WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
$!
$! IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
$! ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
$! OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
$! WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
$! LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
$! OF THIS SOFTWARE.
$!
$!
$ SET NOON
$WRITE SYS$OUTPUT " "
$WRITE SYS$OUTPUT "Configuring libTIFF library"
$WRITE SYS$OUTPUT " "
$! Checking architecture
$DECC = F$SEARCH("SYS$SYSTEM:DECC$COMPILER.EXE") .NES. ""
$IF (.NOT. DECC) THEN $WRITE SYS$OUTPUT "BAD compiler" GOTO EXIT
$ IF F$GETSYI("ARCH_TYPE").EQ.1 THEN CPU = "VAX"
$ IF F$GETSYI("ARCH_TYPE").EQ.2 THEN CPU = "Alpha"
$ IF F$GETSYI("ARCH_TYPE").EQ.3 THEN CPU = "I64"
$ OS = F$GETSYI("VERSION")
$WRITE SYS$OUTPUT "Checking architecture ... ", CPU
$WRITE SYS$OUTPUT "Checking OS ... OpenVMS ",OS
$SHARED=0
$IF ( (CPU.EQS."Alpha").OR.(CPU.EQS."I64") )
$ THEN
$ SHARED=64
$ ELSE
$ SHARED=32
$ENDIF
$MMS = F$SEARCH("SYS$SYSTEM:MMS.EXE") .NES. ""
$MMK = F$TYPE(MMK)
$IF (MMS .OR. MMK.NES."") THEN GOTO TEST_LIBRARIES
$! I cant find any make tool
$GOTO EXIT
$!
$!
$TEST_LIBRARIES:
$! Setting as MAKE utility one of MMS or MMK. I prefer MMS.
$IF (MMK.NES."") THEN MAKE="MMK"
$IF (MMS) THEN MAKE="MMS"
$WRITE SYS$OUTPUT "Checking build utility ... ''MAKE'"
$WRITE SYS$OUTPUT " "
$!
$!
$IF (P1.EQS."STATIC").OR.(P1.EQS."static") THEN SHARED=0
$!
$!
$!"Checking for strcasecmp "
$ DEFINE SYS$ERROR _NLA0:
$ DEFINE SYS$OUTPUT _NLA0:
$ CC/OBJECT=TEST.OBJ/INCLUDE=(ZLIB) SYS$INPUT
#include <strings.h>
#include <stdlib.h>
int main()
{
if (strcasecmp("bla", "Bla")==0) exit(0);
else exit(2);
}
$!
$TMP = $STATUS
$DEASS SYS$ERROR
$DEAS SYS$OUTPUT
$IF (TMP .NE. %X10B90001)
$ THEN
$ HAVE_STRCASECMP=0
$ GOTO NEXT1
$ENDIF
$DEFINE SYS$ERROR _NLA0:
$DEFINE SYS$OUTPUT _NLA0:
$LINK/EXE=TEST TEST
$TMP = $STATUS
$DEAS SYS$ERROR
$DEAS SYS$OUTPUT
$!WRITE SYS$OUTPUT TMP
$IF (TMP .NE. %X10000001)
$ THEN
$ HAVE_STRCASECMP=0
$ GOTO NEXT1
$ENDIF
$!
$DEFINE SYS$ERROR _NLA0:
$DEFINE SYS$OUTPUT _NLA0:
$RUN TEST
$IF ($STATUS .NE. %X00000001)
$ THEN
$ HAVE_STRCASECMP=0
$ ELSE
$ HAVE_STRCASECMP=1
$ENDIF
$DEAS SYS$ERROR
$DEAS SYS$OUTPUT
$NEXT1:
$IF (HAVE_STRCASECMP.EQ.1)
$ THEN
$ WRITE SYS$OUTPUT "Checking for strcasecmp ... Yes"
$ ELSE
$ WRITE SYS$OUTPUT "Checking for strcasecmp ... No"
$ENDIF
$!
$!
$!"Checking for lfind "
$ DEFINE SYS$ERROR _NLA0:
$ DEFINE SYS$OUTPUT _NLA0:
$ CC/OBJECT=TEST.OBJ/INCLUDE=(ZLIB) SYS$INPUT
#include <search.h>
int main()
{
lfind((const void *)key, (const void *)NULL, (size_t *)NULL,
(size_t) 0, NULL);
}
$!
$TMP = $STATUS
$DEASS SYS$ERROR
$DEAS SYS$OUTPUT
$IF (TMP .NE. %X10B90001)
$ THEN
$ HAVE_LFIND=0
$ GOTO NEXT2
$ENDIF
$DEFINE SYS$ERROR _NLA0:
$DEFINE SYS$OUTPUT _NLA0:
$LINK/EXE=TEST TEST
$TMP = $STATUS
$DEAS SYS$ERROR
$DEAS SYS$OUTPUT
$!WRITE SYS$OUTPUT TMP
$IF (TMP .NE. %X10000001)
$ THEN
$ HAVE_LFIND=0
$ GOTO NEXT2
$ ELSE
$ HAVE_LFIND=1
$ENDIF
$!
$NEXT2:
$IF (HAVE_LFIND.EQ.1)
$ THEN
$ WRITE SYS$OUTPUT "Checking for lfind ... Yes"
$ ELSE
$ WRITE SYS$OUTPUT "Checking for lfind ... No"
$ENDIF
$!
$!
$!"Checking for correct zlib library "
$ DEFINE SYS$ERROR _NLA0:
$ DEFINE SYS$OUTPUT _NLA0:
$ CC/OBJECT=TEST.OBJ/INCLUDE=(ZLIB) SYS$INPUT
#include <stdlib.h>
#include <stdio.h>
#include <zlib.h>
int main()
{
printf("checking version zlib: %s\n",zlibVersion());
}
$TMP = $STATUS
$DEASS SYS$ERROR
$DEAS SYS$OUTPUT
$!WRITE SYS$OUTPUT TMP
$IF (TMP .NE. %X10B90001)
$ THEN
$ HAVE_ZLIB=0
$ GOTO EXIT
$ENDIF
$DEFINE SYS$ERROR _NLA0:
$DEFINE SYS$OUTPUT _NLA0:
$LINK/EXE=TEST TEST,ZLIB:LIBZ/LIB
$TMP = $STATUS
$DEAS SYS$ERROR
$DEAS SYS$OUTPUT
$!WRITE SYS$OUTPUT TMP
$IF (TMP .NE. %X10000001)
$ THEN
$ HAVE_ZLIB=0
$ GOTO EXIT
$ ELSE
$ HAVE_ZLIB=1
$ENDIF
$IF (HAVE_ZLIB.EQ.1)
$ THEN
$ WRITE SYS$OUTPUT "Checking for correct zlib library ... Yes"
$ ELSE
$ WRITE SYS$OUTPUT "Checking for correct zlib library ... No"
$ WRITE SYS$OUTPUT "This is fatal. Please download and install good library from fafner.dyndns.org/~alexey/libsdl/public.html"
$ENDIF
$RUN TEST
$!
$DEL TEST.OBJ;*
$! Checking for JPEG ...
$ DEFINE SYS$ERROR _NLA0:
$ DEFINE SYS$OUTPUT _NLA0:
$ CC/OBJECT=TEST.OBJ/INCLUDE=(JPEG) SYS$INPUT
#include <stdlib.h>
#include <stdio.h>
#include <jpeglib.h>
#include <jversion.h>
int main()
{
printf("checking version jpeg: %s\n",JVERSION);
jpeg_quality_scaling(0);
return 0;
}
$TMP = $STATUS
$DEASS SYS$ERROR
$DEAS SYS$OUTPUT
$!WRITE SYS$OUTPUT TMP
$IF (TMP .NE. %X10B90001)
$ THEN
$ WRITE SYS$OUTPUT "Checking for static jpeg library ... No"
$ HAVE_JPEG=0
$ENDIF
$DEFINE SYS$ERROR _NLA0:
$DEFINE SYS$OUTPUT _NLA0:
$LINK/EXE=TEST TEST,JPEG:LIBJPEG/LIB
$TMP = $STATUS
$DEAS SYS$ERROR
$DEAS SYS$OUTPUT
$!WRITE SYS$OUTPUT TMP
$IF (TMP .NE. %X10000001)
$ THEN
$ HAVE_JPEG=0
$ ELSE
$ HAVE_JPEG=1
$ENDIF
$IF (HAVE_JPEG.EQ.1)
$ THEN
$ WRITE SYS$OUTPUT "Checking for static jpeg library ... Yes"
$ JPEG_LIBRARY_PATH="JPEG:LIBJPEG/LIB"
$ RUN TEST
$ ELSE
$ WRITE SYS$OUTPUT "Checking for static jpeg library ... No"
$ENDIF
$!
$!"Checking for SHARED JPEG library "
$OPEN/WRITE OUT TEST.OPT
$WRITE OUT "SYS$SHARE:LIBJPEG$SHR/SHARE"
$WRITE OUT "ZLIB:LIBZ/LIB"
$CLOSE OUT
$DEFINE SYS$ERROR _NLA0:
$DEFINE SYS$OUTPUT _NLA0:
$LINK/EXE=TEST TEST,TEST/OPT
$TMP = $STATUS
$DEAS SYS$ERROR
$DEAS SYS$OUTPUT
$!WRITE SYS$OUTPUT TMP
$IF (TMP .NE. %X10000001)
$ THEN
$ HAVE_JPEG_SHARED=0
$ ELSE
$ HAVE_JPEG_SHARED=1
$ENDIF
$IF (HAVE_JPEG_SHARED.EQ.1)
$ THEN
$ WRITE SYS$OUTPUT "Checking for shared jpeg library ... Yes"
$ JPEG_LIBRARY_PATH="SYS$SHARE:LIBJPEG$SHR/SHARE"
$ ELSE
$ WRITE SYS$OUTPUT "Checking for shared jpeg library ... No"
$ENDIF
$!
$ IF ( (HAVE_JPEG_SHARED.EQ.0).AND.(HAVE_JPEG.EQ.0) )
$ THEN
$ WRITE SYS$OUTPUT "No JPEG library installed. This is fatal. Please download and install good library from fafner.dyndns.org/~alexey/libsdl/public.html"
$ GOTO EXIT
$ ENDIF
$!
$!
$!
$! Checking for X11 ...
$IF F$TRNLNM("DECW$INCLUDE") .NES. ""
$ THEN
$ WRITE SYS$OUTPUT "Checking for X11 ... Yes"
$ ELSE
$ WRITE SYS$OUTPUT "Checking for X11 ... No"
$ WRITE SYS$OUTPUT "This is fatal. Please install X11 software"
$ GOTO EXIT
$ENDIF
$!
$!WRITING BUILD FILES
$OPEN/WRITE OUT BUILD.COM
$ WRITE OUT "$set def [.port]"
$ WRITE OUT "$",MAKE
$ WRITE OUT "$set def [-.libtiff]"
$ WRITE OUT "$",MAKE
$ WRITE OUT "$set def [-.tools]"
$ WRITE OUT "$",MAKE
$ WRITE OUT "$set def [-]"
$ WRITE OUT "$cop [.PORT]LIBPORT.OLB [.LIBTIFF]LIBPORT.OLB"
$ WRITE OUT "$ CURRENT = F$ENVIRONMENT (""DEFAULT"") "
$ WRITE OUT "$TIFF=CURRENT"
$ WRITE OUT "$OPEN/WRITE OUTT LIBTIFF$STARTUP.COM"
$ WRITE OUT "$TIFF[F$LOCATE(""]"",TIFF),9]:="".LIBTIFF]"""
$ WRITE OUT "$WRITE OUTT ""DEFINE TIFF ","'","'","TIFF'"" "
$ WRITE OUT "$TIFF=CURRENT"
$ WRITE OUT "$TIFF[F$LOCATE(""]"",TIFF),7]:="".TOOLS]"""
$ WRITE OUT "$WRITE OUTT ""BMP2TIFF:==$", "'","'","TIFF'BMP2TIFF"""
$ WRITE OUT "$WRITE OUTT ""FAX2PS:==$", "'","'","TIFF'FAX2PS"""
$ WRITE OUT "$WRITE OUTT ""FAX2TIFF:==$", "'","'","TIFF'FAX2TIFF"""
$ WRITE OUT "$WRITE OUTT ""GIF2TIFF:==$", "'","'","TIFF'GIF2TIFF"""
$ WRITE OUT "$WRITE OUTT ""PAL2RGB:==$", "'","'","TIFF'PAL2RGB"""
$ WRITE OUT "$WRITE OUTT ""PPM2TIFF:==$", "'","'","TIFF'PPM2TIFF"""
$ WRITE OUT "$WRITE OUTT ""RAS2TIFF:==$", "'","'","TIFF'RAS2TIFF"""
$ WRITE OUT "$WRITE OUTT ""RAW2TIFF:==$", "'","'","TIFF'RAW2TIFF"""
$ WRITE OUT "$WRITE OUTT ""RGB2YCBCR:==$", "'","'","TIFF'RGB2YCBCR"""
$ WRITE OUT "$WRITE OUTT ""THUMBNAIL:==$", "'","'","TIFF'THUMBNAIL"""
$ WRITE OUT "$WRITE OUTT ""TIFF2BW:==$", "'","'","TIFF'TIFF2BW"""
$ WRITE OUT "$WRITE OUTT ""TIFF2PDF:==$", "'","'","TIFF'TIFF2PDF"""
$ WRITE OUT "$WRITE OUTT ""TIFF2PS:==$", "'","'","TIFF'TIFF2PS"""
$ WRITE OUT "$WRITE OUTT ""TIFF2RGBA:==$", "'","'","TIFF'TIFF2RGBA"""
$ WRITE OUT "$WRITE OUTT ""TIFFCMP:==$", "'","'","TIFF'TIFFCMP"""
$ WRITE OUT "$WRITE OUTT ""TIFFCP:==$", "'","'","TIFF'TIFFCP"""
$ WRITE OUT "$WRITE OUTT ""TIFFDITHER:==$", "'","'","TIFF'TIFFDITHER"""
$ WRITE OUT "$WRITE OUTT ""TIFFDUMP:==$", "'","'","TIFF'TIFFDUMP"""
$ WRITE OUT "$WRITE OUTT ""TIFFINFO:==$", "'","'","TIFF'TIFFINFO"""
$ WRITE OUT "$WRITE OUTT ""TIFFMEDIAN:==$", "'","'","TIFF'TIFFMEDIAN"""
$ WRITE OUT "$WRITE OUTT ""TIFFCROP:==$", "'","'","TIFF'TIFFCROP"""
$ WRITE OUT "$WRITE OUTT ""TIFFSET:==$", "'","'","TIFF'TIFFSET"""
$ WRITE OUT "$CLOSE OUTT"
$ WRITE OUT "$OPEN/WRITE OUTT [.LIBTIFF]LIBTIFF.OPT"
$ WRITE OUT "$WRITE OUTT ""TIFF:TIFF/LIB""
$ WRITE OUT "$WRITE OUTT ""TIFF:LIBPORT/LIB""
$ WRITE OUT "$WRITE OUTT ""JPEG:LIBJPEG/LIB""
$ WRITE OUT "$WRITE OUTT ""ZLIB:LIBZ/LIB""
$ WRITE OUT "$CLOSE OUTT"
$!
$ WRITE OUT "$WRITE SYS$OUTPUT "" "" "
$ WRITE OUT "$WRITE SYS$OUTPUT ""***************************************************************************** "" "
$ WRITE OUT "$WRITE SYS$OUTPUT ""LIBTIFF$STARTUP.COM has been created. "" "
$ WRITE OUT "$WRITE SYS$OUTPUT ""This file setups all logicals needed. It should be execute before using LibTIFF "" "
$ WRITE OUT "$WRITE SYS$OUTPUT ""Nice place to call it - LOGIN.COM "" "
$ WRITE OUT "$WRITE SYS$OUTPUT """" "
$ WRITE OUT "$WRITE SYS$OUTPUT ""Using the library:"" "
$ WRITE OUT "$WRITE SYS$OUTPUT ""CC/INC=TIFF ASCII_TAG.C"" "
$ WRITE OUT "$WRITE SYS$OUTPUT ""LINK ASCII_TAG,TIFF:LIBTIFF/OPT"" "
$ WRITE OUT "$WRITE SYS$OUTPUT ""***************************************************************************** "" "
$CLOSE OUT
$!
$! DESCRIP.MMS in [.PORT]
$OBJ="dummy.obj"
$IF HAVE_STRCASECMP.NE.1
$ THEN
$ OBJ=OBJ+",strcasecmp.obj"
$ENDIF
$IF HAVE_LFIND.NE.1
$ THEN
$ OBJ=OBJ+",lfind.obj"
$ENDIF
$OPEN/WRITE OUT [.PORT]DESCRIP.MMS
$WRITE OUT "OBJ=",OBJ
$WRITE OUT ""
$WRITE OUT "LIBPORT.OLB : $(OBJ)"
$WRITE OUT " LIB/CREA LIBPORT $(OBJ)"
$WRITE OUT ""
$WRITE OUT ""
$WRITE OUT "dummy.obj : dummy.c"
$WRITE OUT " $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)"
$WRITE OUT ""
$WRITE OUT ""
$WRITE OUT "strcasecmp.obj : strcasecmp.c"
$WRITE OUT " $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)"
$WRITE OUT ""
$WRITE OUT ""
$WRITE OUT "lfind.obj : lfind.c"
$WRITE OUT " $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)"
$WRITE OUT ""
$WRITE OUT ""
$CLOSE OUT
$!
$!
$WRITE SYS$OUTPUT "Creating LIBTIFF$DEF.OPT"
$IF (SHARED.EQ.64)
$ THEN
$ COPY SYS$INPUT TIFF$DEF.OPT
SYMBOL_VECTOR= (-
TIFFOpen=PROCEDURE,-
TIFFGetVersion=PROCEDURE,-
TIFFCleanup=PROCEDURE,-
TIFFClose=PROCEDURE,-
TIFFFlush=PROCEDURE,-
TIFFFlushData=PROCEDURE,-
TIFFGetField=PROCEDURE,-
TIFFVGetField=PROCEDURE,-
TIFFGetFieldDefaulted=PROCEDURE,-
TIFFVGetFieldDefaulted=PROCEDURE,-
TIFFGetTagListEntry=PROCEDURE,-
TIFFGetTagListCount=PROCEDURE,-
TIFFReadDirectory=PROCEDURE,-
TIFFScanlineSize=PROCEDURE,-
TIFFStripSize=PROCEDURE,-
TIFFVStripSize=PROCEDURE,-
TIFFRawStripSize=PROCEDURE,-
TIFFTileRowSize=PROCEDURE,-
TIFFTileSize=PROCEDURE,-
TIFFVTileSize=PROCEDURE,-
TIFFFileno=PROCEDURE,-
TIFFSetFileno=PROCEDURE,-
TIFFGetMode=PROCEDURE,-
TIFFIsTiled=PROCEDURE,-
TIFFIsByteSwapped=PROCEDURE,-
TIFFIsBigEndian=PROCEDURE,-
TIFFIsMSB2LSB=PROCEDURE,-
TIFFIsUpSampled=PROCEDURE,-
TIFFCIELabToRGBInit=PROCEDURE,-
TIFFCIELabToXYZ=PROCEDURE,-
TIFFXYZToRGB=PROCEDURE,-
TIFFYCbCrToRGBInit=PROCEDURE,-
TIFFYCbCrtoRGB=PROCEDURE,-
TIFFCurrentRow=PROCEDURE,-
TIFFCurrentDirectory=PROCEDURE,-
TIFFCurrentStrip=PROCEDURE,-
TIFFCurrentTile=PROCEDURE,-
TIFFDataWidth=PROCEDURE,-
TIFFReadBufferSetup=PROCEDURE,-
TIFFWriteBufferSetup=PROCEDURE,-
TIFFSetupStrips=PROCEDURE,-
TIFFLastDirectory=PROCEDURE,-
TIFFSetDirectory=PROCEDURE,-
TIFFSetSubDirectory=PROCEDURE,-
TIFFUnlinkDirectory=PROCEDURE,-
TIFFSetField=PROCEDURE,-
TIFFVSetField=PROCEDURE,-
TIFFCheckpointDirectory=PROCEDURE,-
TIFFWriteDirectory=PROCEDURE,-
TIFFRewriteDirectory=PROCEDURE,-
TIFFPrintDirectory=PROCEDURE,-
TIFFReadScanline=PROCEDURE,-
TIFFWriteScanline=PROCEDURE,-
TIFFReadRGBAImage=PROCEDURE,-
TIFFReadRGBAImageOriented=PROCEDURE,-
TIFFFdOpen=PROCEDURE,-
TIFFClientOpen=PROCEDURE,-
TIFFFileName=PROCEDURE,-
TIFFError=PROCEDURE,-
TIFFErrorExt=PROCEDURE,-
TIFFWarning=PROCEDURE,-
TIFFWarningExt=PROCEDURE,-
TIFFSetErrorHandler=PROCEDURE,-
TIFFSetErrorHandlerExt=PROCEDURE,-
TIFFSetWarningHandler=PROCEDURE,-
TIFFSetWarningHandlerExt=PROCEDURE,-
TIFFComputeTile=PROCEDURE,-
TIFFCheckTile=PROCEDURE,-
TIFFNumberOfTiles=PROCEDURE,-
TIFFReadTile=PROCEDURE,-
TIFFWriteTile=PROCEDURE,-
TIFFComputeStrip=PROCEDURE,-
TIFFNumberOfStrips=PROCEDURE,-
TIFFRGBAImageBegin=PROCEDURE,-
TIFFRGBAImageGet=PROCEDURE,-
TIFFRGBAImageEnd=PROCEDURE,-
TIFFReadEncodedStrip=PROCEDURE,-
TIFFReadRawStrip=PROCEDURE,-
TIFFReadEncodedTile=PROCEDURE,-
TIFFReadRawTile=PROCEDURE,-
TIFFReadRGBATile=PROCEDURE,-
TIFFReadRGBAStrip=PROCEDURE,-
TIFFWriteEncodedStrip=PROCEDURE,-
TIFFWriteRawStrip=PROCEDURE,-
TIFFWriteEncodedTile=PROCEDURE,-
TIFFWriteRawTile=PROCEDURE,-
TIFFSetWriteOffset=PROCEDURE,-
TIFFSwabDouble=PROCEDURE,-
TIFFSwabShort=PROCEDURE,-
TIFFSwabLong=PROCEDURE,-
TIFFSwabArrayOfShort=PROCEDURE,-
TIFFSwabArrayOfLong=PROCEDURE,-
TIFFSwabArrayOfDouble=PROCEDURE,-
TIFFSwabArrayOfTriples=PROCEDURE,-
TIFFReverseBits=PROCEDURE,-
TIFFGetBitRevTable=PROCEDURE,-
TIFFDefaultStripSize=PROCEDURE,-
TIFFDefaultTileSize=PROCEDURE,-
TIFFRasterScanlineSize=PROCEDURE,-
_TIFFmalloc=PROCEDURE,-
_TIFFrealloc=PROCEDURE,-
_TIFFfree=PROCEDURE,-
_TIFFmemset=PROCEDURE,-
_TIFFmemcpy=PROCEDURE,-
_TIFFmemcmp=PROCEDURE,-
TIFFCreateDirectory=PROCEDURE,-
TIFFSetTagExtender=PROCEDURE,-
TIFFMergeFieldInfo=PROCEDURE,-
TIFFFindFieldInfo=PROCEDURE,-
TIFFFindFieldInfoByName=PROCEDURE,-
TIFFFieldWithName=PROCEDURE,-
TIFFFieldWithTag=PROCEDURE,-
TIFFFieldTag=PROCEDURE,-
TIFFFieldName=PROCEDURE,-
TIFFFieldDataType=PROCEDURE,-
TIFFFieldPassCount=PROCEDURE,-
TIFFFieldReadCount=PROCEDURE,-
TIFFFieldWriteCount=PROCEDURE,-
TIFFCurrentDirOffset=PROCEDURE,-
TIFFWriteCheck=PROCEDURE,-
TIFFRGBAImageOK=PROCEDURE,-
TIFFNumberOfDirectories=PROCEDURE,-
TIFFSetFileName=PROCEDURE,-
TIFFSetClientdata=PROCEDURE,-
TIFFSetMode=PROCEDURE,-
TIFFClientdata=PROCEDURE,-
TIFFGetReadProc=PROCEDURE,-
TIFFGetWriteProc=PROCEDURE,-
TIFFGetSeekProc=PROCEDURE,-
TIFFGetCloseProc=PROCEDURE,-
TIFFGetSizeProc=PROCEDURE,-
TIFFGetMapFileProc=PROCEDURE,-
TIFFGetUnmapFileProc=PROCEDURE,-
TIFFIsCODECConfigured=PROCEDURE,-
TIFFGetConfiguredCODECs=PROCEDURE,-
TIFFFindCODEC=PROCEDURE,-
TIFFRegisterCODEC=PROCEDURE,-
TIFFUnRegisterCODEC=PROCEDURE,-
TIFFFreeDirectory=PROCEDURE,-
TIFFReadCustomDirectory=PROCEDURE,-
TIFFReadEXIFDirectory=PROCEDURE,-
TIFFAccessTagMethods=PROCEDURE,-
TIFFGetClientInfo=PROCEDURE,-
TIFFSetClientInfo=PROCEDURE,-
TIFFReassignTagToIgnore=PROCEDURE-
)
$ENDIF
$IF (SHARED.EQ.32)
$ THEN
$ COPY SYS$INPUT TIFF$DEF.OPT
UNIVERSAL=TIFFOpen
UNIVERSAL=TIFFGetVersion
UNIVERSAL=TIFFCleanup
UNIVERSAL=TIFFClose
UNIVERSAL=TIFFFlush
UNIVERSAL=TIFFFlushData
UNIVERSAL=TIFFGetField
UNIVERSAL=TIFFVGetField
UNIVERSAL=TIFFGetFieldDefaulted
UNIVERSAL=TIFFVGetFieldDefaulted
UNIVERSAL=TIFFGetTagListEntry
UNIVERSAL=TIFFGetTagListCount
UNIVERSAL=TIFFReadDirectory
UNIVERSAL=TIFFScanlineSize
UNIVERSAL=TIFFStripSize
UNIVERSAL=TIFFVStripSize
UNIVERSAL=TIFFRawStripSize
UNIVERSAL=TIFFTileRowSize
UNIVERSAL=TIFFTileSize
UNIVERSAL=TIFFVTileSize
UNIVERSAL=TIFFFileno
UNIVERSAL=TIFFSetFileno
UNIVERSAL=TIFFGetMode
UNIVERSAL=TIFFIsTiled
UNIVERSAL=TIFFIsByteSwapped
UNIVERSAL=TIFFIsBigEndian
UNIVERSAL=TIFFIsMSB2LSB
UNIVERSAL=TIFFIsUpSampled
UNIVERSAL=TIFFCIELabToRGBInit
UNIVERSAL=TIFFCIELabToXYZ
UNIVERSAL=TIFFXYZToRGB
UNIVERSAL=TIFFYCbCrToRGBInit
UNIVERSAL=TIFFYCbCrtoRGB
UNIVERSAL=TIFFCurrentRow
UNIVERSAL=TIFFCurrentDirectory
UNIVERSAL=TIFFCurrentStrip
UNIVERSAL=TIFFCurrentTile
UNIVERSAL=TIFFDataWidth
UNIVERSAL=TIFFReadBufferSetup
UNIVERSAL=TIFFWriteBufferSetup
UNIVERSAL=TIFFSetupStrips
UNIVERSAL=TIFFLastDirectory
UNIVERSAL=TIFFSetDirectory
UNIVERSAL=TIFFSetSubDirectory
UNIVERSAL=TIFFUnlinkDirectory
UNIVERSAL=TIFFSetField
UNIVERSAL=TIFFVSetField
UNIVERSAL=TIFFCheckpointDirectory
UNIVERSAL=TIFFWriteDirectory
UNIVERSAL=TIFFRewriteDirectory
UNIVERSAL=TIFFPrintDirectory
UNIVERSAL=TIFFReadScanline
UNIVERSAL=TIFFWriteScanline
UNIVERSAL=TIFFReadRGBAImage
UNIVERSAL=TIFFReadRGBAImageOriented
UNIVERSAL=TIFFFdOpen
UNIVERSAL=TIFFClientOpen
UNIVERSAL=TIFFFileName
UNIVERSAL=TIFFError
UNIVERSAL=TIFFErrorExt
UNIVERSAL=TIFFWarning
UNIVERSAL=TIFFWarningExt
UNIVERSAL=TIFFSetErrorHandler
UNIVERSAL=TIFFSetErrorHandlerExt
UNIVERSAL=TIFFSetWarningHandler
UNIVERSAL=TIFFSetWarningHandlerExt
UNIVERSAL=TIFFComputeTile
UNIVERSAL=TIFFCheckTile
UNIVERSAL=TIFFNumberOfTiles
UNIVERSAL=TIFFReadTile
UNIVERSAL=TIFFWriteTile
UNIVERSAL=TIFFComputeStrip
UNIVERSAL=TIFFNumberOfStrips
UNIVERSAL=TIFFRGBAImageBegin
UNIVERSAL=TIFFRGBAImageGet
UNIVERSAL=TIFFRGBAImageEnd
UNIVERSAL=TIFFReadEncodedStrip
UNIVERSAL=TIFFReadRawStrip
UNIVERSAL=TIFFReadEncodedTile
UNIVERSAL=TIFFReadRawTile
UNIVERSAL=TIFFReadRGBATile
UNIVERSAL=TIFFReadRGBAStrip
UNIVERSAL=TIFFWriteEncodedStrip
UNIVERSAL=TIFFWriteRawStrip
UNIVERSAL=TIFFWriteEncodedTile
UNIVERSAL=TIFFWriteRawTile
UNIVERSAL=TIFFSetWriteOffset
UNIVERSAL=TIFFSwabDouble
UNIVERSAL=TIFFSwabShort
UNIVERSAL=TIFFSwabLong
UNIVERSAL=TIFFSwabArrayOfShort
UNIVERSAL=TIFFSwabArrayOfLong
UNIVERSAL=TIFFSwabArrayOfDouble
UNIVERSAL=TIFFSwabArrayOfTriples
UNIVERSAL=TIFFReverseBits
UNIVERSAL=TIFFGetBitRevTable
UNIVERSAL=TIFFDefaultStripSize
UNIVERSAL=TIFFDefaultTileSize
UNIVERSAL=TIFFRasterScanlineSize
UNIVERSAL=_TIFFmalloc
UNIVERSAL=_TIFFrealloc
UNIVERSAL=_TIFFfree
UNIVERSAL=_TIFFmemset
UNIVERSAL=_TIFFmemcpy
UNIVERSAL=_TIFFmemcmp
UNIVERSAL=TIFFCreateDirectory
UNIVERSAL=TIFFSetTagExtender
UNIVERSAL=TIFFMergeFieldInfo
UNIVERSAL=TIFFFindFieldInfo
UNIVERSAL=TIFFFindFieldInfoByName
UNIVERSAL=TIFFFieldWithName
UNIVERSAL=TIFFFieldWithTag
UNIVERSAL=TIFFFieldTag
UNIVERSAL=TIFFFieldName
UNIVERSAL=TIFFFieldDataType
UNIVERSAL=TIFFFieldPassCount
UNIVERSAL=TIFFFieldReadCount
UNIVERSAL=TIFFFieldWriteCount
UNIVERSAL=TIFFCurrentDirOffset
UNIVERSAL=TIFFWriteCheck
UNIVERSAL=TIFFRGBAImageOK
UNIVERSAL=TIFFNumberOfDirectories
UNIVERSAL=TIFFSetFileName
UNIVERSAL=TIFFSetClientdata
UNIVERSAL=TIFFSetMode
UNIVERSAL=TIFFClientdata
UNIVERSAL=TIFFGetReadProc
UNIVERSAL=TIFFGetWriteProc
UNIVERSAL=TIFFGetSeekProc
UNIVERSAL=TIFFGetCloseProc
UNIVERSAL=TIFFGetSizeProc
UNIVERSAL=TIFFGetMapFileProc
UNIVERSAL=TIFFGetUnmapFileProc
UNIVERSAL=TIFFIsCODECConfigured
UNIVERSAL=TIFFGetConfiguredCODECs
UNIVERSAL=TIFFFindCODEC
UNIVERSAL=TIFFRegisterCODEC
UNIVERSAL=TIFFUnRegisterCODEC
UNIVERSAL=TIFFFreeDirectory
UNIVERSAL=TIFFReadCustomDirectory
UNIVERSAL=TIFFReadEXIFDirectory
UNIVERSAL=TIFFAccessTagMethods
UNIVERSAL=TIFFGetClientInfo
UNIVERSAL=TIFFSetClientInfo
UNIVERSAL=TIFFReassignTagToIgnore
$ENDIF
$!
$!
$! Writing TIFF$SHR.OPT file to build TOOLS
$ IF (SHARED.GT.0)
$ THEN
$ OPEN/WRITE OUT TIFF$SHR.OPT
$ WRITE OUT "[]TIFF/LIB"
$ WRITE OUT "[-.PORT]LIBPORT/LIB"
$ WRITE OUT JPEG_LIBRARY_PATH
$ WRITE OUT "ZLIB:LIBZ/LIB"
$ CLOSE OUT
$ ENDIF
$!
$!
$! Writing OPT.OPT file to build TOOLS
$OPEN/WRITE OUT OPT.OPT
$ IF (SHARED.GT.0)
$ THEN
$ WRITE OUT "[-.LIBTIFF]TIFF$SHR/SHARE"
$ WRITE OUT JPEG_LIBRARY_PATH
$ ELSE
$ WRITE OUT "[-.LIBTIFF]TIFF/LIB"
$ WRITE OUT "[-.PORT]LIBPORT/LIB"
$ WRITE OUT JPEG_LIBRARY_PATH
$ ENDIF
$ WRITE OUT "ZLIB:LIBZ/LIB"
$CLOSE OUT
$!
$!
$COPY SYS$INPUT [.LIBTIFF]DESCRIP.MMS
# (c) Alexey Chupahin 22-NOV-2007
# OpenVMS 7.3-1, DEC 2000 mod.300
# OpenVMS 8.3, HP rx1620
# Makefile for DEC C compilers.
#
INCL = /INCLUDE=(JPEG,ZLIB,[])
CFLAGS = $(INCL)
OBJ_SYSDEP_MODULE = tif_vms.obj
OBJ = \
tif_aux.obj,\
tif_close.obj,\
tif_codec.obj,\
tif_color.obj,\
tif_compress.obj,\
tif_dir.obj,\
tif_dirinfo.obj,\
tif_dirread.obj,\
tif_dirwrite.obj,\
tif_dumpmode.obj,\
tif_error.obj,\
tif_extension.obj,\
tif_fax3.obj,\
tif_fax3sm.obj,\
tif_flush.obj,\
tif_getimage.obj,\
tif_jbig.obj,\
tif_jpeg.obj,\
tif_luv.obj,\
tif_lzw.obj,\
tif_next.obj,\
tif_ojpeg.obj,\
tif_open.obj,\
tif_packbits.obj,\
tif_pixarlog.obj,\
tif_predict.obj,\
tif_print.obj,\
tif_read.obj,\
tif_strip.obj,\
tif_swab.obj,\
tif_thunder.obj,\
tif_tile.obj,\
tif_version.obj,\
tif_warning.obj,\
tif_write.obj,\
tif_zip.obj, $(OBJ_SYSDEP_MODULE)
$IF (SHARED.GT.0)
$ THEN
$ APP SYS$INPUT [.LIBTIFF]DESCRIP.MMS
ALL : tiff.olb, tiff$shr.exe
$WRITE SYS$OUTPUT "Done"
tiff$shr.exe : tiff.olb
LINK/SHARE=TIFF$SHR.EXE TIF_AUX,[-]TIFF$DEF/OPT, [-]TIFF$SHR/OPT
COPY TIFF$SHR.EXE SYS$SHARE
PURGE SYS$SHARE:TIFF$SHR.EXE
$ ELSE
$ APP SYS$INPUT [.LIBTIFF]DESCRIP.MMS
ALL : tiff.olb
$WRITE SYS$OUTPUT "Done"
$ENDIF
$!
$!
$ APP SYS$INPUT [.LIBTIFF]DESCRIP.MMS
tiff.olb : $(OBJ)
lib/crea tiff.olb $(OBJ)
#tif_config.h : tif_config.h-vms
# copy tif_config.h-vms tif_config.h
#
#tiffconf.h : tiffconf.h-vms
# copy tiffconf.h-vms tiffconf.h
tif_aux.obj : tif_aux.c
$(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
tif_close.obj : tif_close.c
$(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
tif_codec.obj : tif_codec.c
$(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
tif_color.obj : tif_color.c
$(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
tif_compress.obj : tif_compress.c
$(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
tif_dir.obj : tif_dir.c
$(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
tif_dirinfo.obj : tif_dirinfo.c
$(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
tif_dirread.obj : tif_dirread.c
$(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
tif_dirwrite.obj : tif_dirwrite.c
$(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
tif_dumpmode.obj : tif_dumpmode.c
$(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
tif_error.obj : tif_error.c
$(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
tif_extension.obj : tif_extension.c
$(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
tif_fax3.obj : tif_fax3.c
$(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
tif_fax3sm.obj : tif_fax3sm.c
$(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
tif_flush.obj : tif_flush.c
$(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
tif_getimage.obj : tif_getimage.c
$(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
tif_jbig.obj : tif_jbig.c
$(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
tif_jpeg.obj : tif_jpeg.c
$(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
tif_luv.obj : tif_luv.c
$(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
tif_lzw.obj : tif_lzw.c
$(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
tif_next.obj : tif_next.c
$(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
tif_ojpeg.obj : tif_ojpeg.c
$(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
tif_open.obj : tif_open.c
$(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
tif_packbits.obj : tif_packbits.c
$(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
tif_pixarlog.obj : tif_pixarlog.c
$(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
tif_predict.obj : tif_predict.c
$(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
tif_print.obj : tif_print.c
$(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
tif_read.obj : tif_read.c
$(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
tif_strip.obj : tif_strip.c
$(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
tif_swab.obj : tif_swab.c
$(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
tif_thunder.obj : tif_thunder.c
$(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
tif_tile.obj : tif_tile.c
$(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
tif_unix.obj : tif_unix.c
$(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
tif_version.obj : tif_version.c
$(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
tif_warning.obj : tif_warning.c
$(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
tif_write.obj : tif_write.c
$(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
tif_zip.obj : tif_zip.c
$(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
clean :
del *.obj;*
del *.olb;*
$!
$!
$!
$COPY SYS$INPUT [.TOOLS]DESCRIP.MMS
# (c) Alexey Chupahin 22-NOV-2007
# OpenVMS 7.3-1, DEC 2000 mod.300
# OpenVMS 8.3, HP rx1620
INCL = /INCL=([],[-.LIBTIFF])
CFLAGS = $(INCL)
LIBS = [-]OPT/OPT
OBJ=\
bmp2tiff.exe,\
fax2ps.exe,\
fax2tiff.exe,\
gif2tiff.exe,\
pal2rgb.exe,\
ppm2tiff.exe,\
ras2tiff.exe,\
raw2tiff.exe,\
rgb2ycbcr.exe,\
thumbnail.exe,\
tiff2bw.exe,\
tiff2pdf.exe,\
tiff2ps.exe,\
tiff2rgba.exe,\
tiffcmp.exe,\
tiffcp.exe,\
tiffcrop.exe,\
tiffdither.exe,\
tiffdump.exe,\
tiffinfo.exe,\
tiffmedian.exe,\
tiffset.exe,\
tiffsplit.exe,\
ycbcr.exe
all : $(OBJ)
$!
bmp2tiff.obj : bmp2tiff.c
$(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
bmp2tiff.exe : bmp2tiff.obj
LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
fax2ps.obj : fax2ps.c
$(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
fax2ps.exe : fax2ps.obj
LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
fax2tiff.obj : fax2tiff.c
$(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
fax2tiff.exe : fax2tiff.obj
LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
gif2tiff.obj : gif2tiff.c
$(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
gif2tiff.exe : gif2tiff.obj
LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
pal2rgb.obj : pal2rgb.c
$(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
pal2rgb.exe : pal2rgb.obj
LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
ppm2tiff.obj : ppm2tiff.c
$(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
ppm2tiff.exe : ppm2tiff.obj
LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)
ras2tiff.obj : ras2tiff.c
$(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
ras2tiff.exe : ras2tiff.obj
LINK/EXE=$(MMS$TARGET) $(MMS$SOURCE), $(LIBS)