3 # Author: David Webster
6 # Copyright: c) 2000, BHM
10 # Makefile : Builds os2tiff.lib library for OS/2 3.0/4.0
16 OS2FLAGS=/c /W2 /DOS232 /D__VISAGECPP__ /D__VISAGECPP30__ /DOS2_32 /Tdc /Q /N100
17 OS2LINKFLAGS=/BASE:0x00010000 /PMTYPE:PM /NOE /NOD /ALIGN:16
19 OS2LIBS=CPPOM30.lib CPPOOC3.LIB OS2386.LIB
21 # Change WXDIR or WXWIN to wherever wxWindows is found
24 OS2TIFFDIR=$(WXDIR)\src\tiff
25 OS2TIFFINC=$(WINTIFFDIR)
26 OS2TIFFLIB=$(WXDIR)\lib\os2tiff.lib
28 INC=-I$(WXDIR)\src\TIFF -I$(OS2TIFFINC)
47 DEBUG_FLAGS= /Ti /D__WXDEBUG__ #/Fb
48 LINK_DEBUG_FLAGS=/DEBUG
56 LINK_DEBUG_FLAGS=/RELEASE
60 !if [md $(OS2TIFFDIR)\$D]
64 CPPFLAGS=$(OS2FLAGS) $(DEBUG_FLAGS) $(PRECOMP) $(INC) $(OPT) $(CRTFLAG)
66 {..\tiff}.c{..\tiff\$D}.obj:
69 $(CPPFLAGS) /Fo$@ /Tp $<
73 ..\tiff\$D\tif_aux.obj \
74 ..\tiff\$D\tif_close.obj \
75 ..\tiff\$D\tif_codec.obj \
76 ..\tiff\$D\tif_compress.obj \
77 ..\tiff\$D\tif_dir.obj \
78 ..\tiff\$D\tif_dirinfo.obj \
79 ..\tiff\$D\tif_dirread.obj \
80 ..\tiff\$D\tif_dirwrite.obj \
81 ..\tiff\$D\tif_dumpmode.obj \
82 ..\tiff\$D\tif_error.obj \
83 ..\tiff\$D\tif_fax3.obj \
84 ..\tiff\$D\tif_fax3sm.obj \
85 ..\tiff\$D\tif_flush.obj \
86 ..\tiff\$D\tif_getimage.obj \
87 ..\tiff\$D\tif_jpeg.obj \
88 ..\tiff\$D\tif_luv.obj \
89 ..\tiff\$D\tif_lzw.obj \
90 ..\tiff\$D\tif_next.obj \
91 ..\tiff\$D\tif_open.obj \
92 ..\tiff\$D\tif_os2.obj \
93 ..\tiff\$D\tif_packbits.obj \
94 ..\tiff\$D\tif_pixarlog.obj \
95 ..\tiff\$D\tif_predict.obj \
96 ..\tiff\$D\tif_print.obj \
97 ..\tiff\$D\tif_read.obj \
98 ..\tiff\$D\tif_strip.obj \
99 ..\tiff\$D\tif_swab.obj \
100 ..\tiff\$D\tif_thunder.obj \
101 ..\tiff\$D\tif_tile.obj \
102 ..\tiff\$D\tif_version.obj \
103 ..\tiff\$D\tif_warning.obj \
104 ..\tiff\$D\tif_write.obj \
105 ..\tiff\$D\tif_zip.obj
142 all: $(OBJECTS) $(OS2TIFFLIB)
144 $(WXDIR)\lib\os2tiff.lib: $(LIBOBJECTS)
145 touch $(WXDIR)\lib\os2tiff.lib
146 del $(WXDIR)\lib\os2tiff.lib
147 ilib $(OS2LIBFLAGS) $@ @<<
154 erase /N $(OS2TIFFDIR)\$D
160 copy ..\tiff\$D\tif_aux.obj
161 copy ..\tiff\$D\tif_close.obj
162 copy ..\tiff\$D\tif_codec.obj
163 copy ..\tiff\$D\tif_compress.obj
164 copy ..\tiff\$D\tif_dir.obj
165 copy ..\tiff\$D\tif_dirinfo.obj
166 copy ..\tiff\$D\tif_dirread.obj
167 copy ..\tiff\$D\tif_dirwrite.obj
168 copy ..\tiff\$D\tif_dumpmode.obj
169 copy ..\tiff\$D\tif_error.obj
170 copy ..\tiff\$D\tif_fax3.obj
171 copy ..\tiff\$D\tif_fax3sm.obj
172 copy ..\tiff\$D\tif_flush.obj
173 copy ..\tiff\$D\tif_getimage.obj
174 copy ..\tiff\$D\tif_jpeg.obj
175 copy ..\tiff\$D\tif_luv.obj
176 copy ..\tiff\$D\tif_lzw.obj
177 copy ..\tiff\$D\tif_next.obj
178 copy ..\tiff\$D\tif_open.obj
179 copy ..\tiff\$D\tif_os2.obj
180 copy ..\tiff\$D\tif_packbits.obj
181 copy ..\tiff\$D\tif_pixarlog.obj
182 copy ..\tiff\$D\tif_predict.obj
183 copy ..\tiff\$D\tif_print.obj
184 copy ..\tiff\$D\tif_read.obj
185 copy ..\tiff\$D\tif_strip.obj
186 copy ..\tiff\$D\tif_swab.obj
187 copy ..\tiff\$D\tif_thunder.obj
188 copy ..\tiff\$D\tif_tile.obj
189 copy ..\tiff\$D\tif_version.obj
190 copy ..\tiff\$D\tif_warning.obj
191 copy ..\tiff\$D\tif_write.obj
192 copy ..\tiff\$D\tif_zip.obj