]> git.saurik.com Git - wxWidgets.git/blob - src/tiff/makefile.wat
changed argument types (replaced long with wxCoord)
[wxWidgets.git] / src / tiff / makefile.wat
1 #!/binb/wmake.exe
2 #
3 # File: makefile.wat
4 # Author: Julian Smart
5 # Created: 1998
6 #
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)
11
12 WXDIR = ..\..
13 EXTRACPPFLAGS=-i=..\zlib
14
15 !include $(WXDIR)\src\makewat.env
16
17 WXLIB = $(WXDIR)\lib
18
19 LIBTARGET = $(WXLIB)\tiff.lib
20
21 OBJECTS= &
22 _aux.obj &
23 close.obj &
24 codec.obj &
25 compress.obj &
26 dir.obj &
27 dirinfo.obj &
28 dirread.obj &
29 dirwrite.obj &
30 dumpmode.obj &
31 error.obj &
32 fax3.obj &
33 fax3sm.obj &
34 flush.obj &
35 getimage.obj &
36 jpeg.obj &
37 luv.obj &
38 lzw.obj &
39 next.obj &
40 open.obj &
41 packbits.obj &
42 pixarlog.obj &
43 predict.obj &
44 print.obj &
45 read.obj &
46 strip.obj &
47 swab.obj &
48 thunder.obj &
49 tile.obj &
50 version.obj &
51 warning.obj &
52 win32.obj &
53 write.obj &
54 zip.obj
55
56 rename: .SYMBOLIC
57 copy tif_predict.h tif_pred.h
58 copy tif_aux.c _aux.c
59 copy tif_close.c close.c
60 copy tif_codec.c codec.c
61 copy tif_compress.c compress.c
62 copy tif_dir.c dir.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
73 copy tif_luv.c luv.c
74 copy tif_lzw.c lzw.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
90 copy tif_zip.c zip.c
91
92 all: rename $(OBJECTS) $(LIBTARGET)
93
94 $(LIBTARGET) : $(OBJECTS)
95 %create tmp.lbc
96 @for %i in ( $(OBJECTS) ) do @%append tmp.lbc +%i
97 wlib /b /c /n /p=512 $^@ @tmp.lbc
98
99 clean: .SYMBOLIC
100 -erase *.obj
101 -erase $(LIBTARGET)
102 -erase *.pch
103 -erase *.err
104 -erase *.lbc
105 -erase tif_pred.h
106 -erase _aux.c
107 -erase close.c
108 -erase codec.c
109 -erase compress.c
110 -erase dir.c
111 -erase dirinfo.c
112 -erase dirread.c
113 -erase dirwrite.c
114 -erase dumpmode.c
115 -erase error.c
116 -erase fax3.c
117 -erase fax3sm.c
118 -erase flush.c
119 -erase getimage.c
120 -erase jpeg.c
121 -erase luv.c
122 -erase lzw.c
123 -erase next.c
124 -erase open.c
125 -erase packbits.c
126 -erase pixarlog.c
127 -erase predict.c
128 -erase print.c
129 -erase read.c
130 -erase strip.c
131 -erase swab.c
132 -erase thunder.c
133 -erase tile.c
134 -erase version.c
135 -erase warning.c
136 -erase win32.c
137 -erase write.c
138 -erase zip.c
139
140 cleanall: clean
141