7 # Makefile : Builds TIFF library for Watcom C++, WIN32
8 # This makefile has to rename files because apparently Watcom C++
9 # can't deal with greater than 8.3 filenames (can't
10 # make tif_close.c, for example)
13 EXTRACPPFLAGS=-i=..\zlib
15 !include $(WXDIR)\src\makewat.env
19 LIBTARGET = $(WXLIB)\tiff.lib
57 copy tif_predict.h tif_pred.h
59 copy tif_close.c close.c
60 copy tif_codec.c codec.c
61 copy tif_compress.c compress.c
63 copy tif_dirinfo.c dirinfo.c
64 copy tif_dirread.c dirread.c
65 copy tif_dirwrite.c dirwrite.c
66 copy tif_dumpmode.c dumpmode.c
67 copy tif_error.c error.c
68 copy tif_fax3.c fax3.c
69 copy tif_fax3sm.c fax3sm.c
70 copy tif_flush.c flush.c
71 copy tif_getimage.c getimage.c
72 copy tif_jpeg.c jpeg.c
75 copy tif_next.c next.c
76 copy tif_open.c open.c
77 copy tif_packbits.c packbits.c
78 copy tif_pixarlog.c pixarlog.c
79 copy tif_predict.c predict.c
80 copy tif_print.c print.c
81 copy tif_read.c read.c
82 copy tif_strip.c strip.c
83 copy tif_swab.c swab.c
84 copy tif_thunder.c thunder.c
85 copy tif_tile.c tile.c
86 copy tif_version.c version.c
87 copy tif_warning.c warning.c
88 copy tif_win32.c win32.c
89 copy tif_write.c write.c
92 all: rename $(OBJECTS) $(LIBTARGET)
94 $(LIBTARGET) : $(OBJECTS)
96 @for %i in ( $(OBJECTS) ) do @%append tmp.lbc +%i
97 wlib /b /c /n /p=512 $^@ @tmp.lbc