]>
Commit | Line | Data |
---|---|---|
f56b8330 RR |
1 | #!################################################################################ |
2 | #! File: unx.t | |
ad9edf45 RR |
3 | #! Purpose: tmake template file from which Makefile.in is generated by running |
4 | #! tmake -t unx wxwin.pro -o Makefile.in | |
f56b8330 RR |
5 | #! Author: Vadim Zeitlin, Robert Roebling, Julian Smart |
6 | #! Created: 14.07.99 | |
7 | #! Version: $Id$ | |
8 | #!################################################################################ | |
f56b8330 RR |
9 | #${ |
10 | #! include the code which parses filelist.txt file and initializes | |
11 | #! %wxCommon, %wxGeneric, %wxHtml, %wxUnix and %wxGTK hashes. | |
12 | IncludeTemplate("filelist.t"); | |
13 | ||
e4b4d60e RR |
14 | #! Generic |
15 | ||
16 | foreach $file (sort keys %wxGeneric) { | |
17 | #! native wxDirDlg can't be compiled due to GnuWin32/OLE limitations, | |
18 | #! so take the generic version | |
19 | if ( $wxGeneric{$file} =~ /\b(PS|G|U|16)\b/ ) { | |
20 | next unless $file =~ /^dirdlgg\./; | |
21 | } | |
22 | ||
5586805b | 23 | $file2 = $file; |
e4b4d60e | 24 | $file =~ s/cp?p?$/\o/; |
5586805b RR |
25 | $file2 =~ s/cp?p?$/\d/; |
26 | $project{"WXMSW_GENERICOBJS"} .= $file . " "; | |
27 | $project{"WXMSW_GENERICDEPS"} .= $file2 . " " | |
e4b4d60e RR |
28 | } |
29 | ||
f56b8330 | 30 | foreach $file (sort keys %wxGeneric) { |
77282916 | 31 | #! skip generic files not required for the wxGTK port |
f56b8330 RR |
32 | next if $wxGeneric{$file} =~ /\bR\b/; |
33 | ||
5586805b | 34 | $file2 = $file; |
f56b8330 | 35 | $file =~ s/cp?p?$/\o/; |
5586805b RR |
36 | $file2 =~ s/cp?p?$/\d/; |
37 | $project{"WXGTK_GENERICOBJS"} .= $file . " "; | |
38 | $project{"WXGTK_GENERICDEPS"} .= $file2 . " " | |
073478b3 RR |
39 | } |
40 | ||
073478b3 | 41 | foreach $file (sort keys %wxGeneric) { |
72ed7aae | 42 | next if $wxGeneric{$file} =~ /\bX\b/; |
073478b3 | 43 | |
5586805b | 44 | $file2 = $file; |
073478b3 | 45 | $file =~ s/cp?p?$/\o/; |
5586805b RR |
46 | $file2 =~ s/cp?p?$/\d/; |
47 | $project{"WXMOTIF_GENERICOBJS"} .= $file . " "; | |
48 | $project{"WXMOTIF_GENERICDEPS"} .= $file2 . " " | |
f56b8330 RR |
49 | } |
50 | ||
e4b4d60e RR |
51 | #! Common |
52 | ||
f56b8330 | 53 | foreach $file (sort keys %wxCommon) { |
37667812 VZ |
54 | ($fileobj = $file) =~ s/cp?p?$/\o/; |
55 | ($filedep = $file) =~ s/cp?p?$/\d/; | |
f56b8330 | 56 | |
37667812 VZ |
57 | #! 'B' flag means that the file makes part of wxBase too |
58 | if ( $wxCommon{$file} =~ /\bB\b/ ) { | |
59 | $project{"BASE_OBJS"} .= $fileobj . " "; | |
60 | $project{"BASE_DEPS"} .= $filedep . " "; | |
61 | } | |
f56b8330 | 62 | |
37667812 VZ |
63 | #! if it's the wxBase-only file, nothing more to do with it |
64 | next if $wxCommon{$file} =~ /\bBO\b/; | |
e4b4d60e | 65 | |
37667812 VZ |
66 | if ( $wxCommon{$file} !~ /\bR\b/ ) { #! unless not for GTK |
67 | $project{"WXGTK_COMMONOBJS"} .= $fileobj . " "; | |
68 | $project{"WXGTK_COMMONDEPS"} .= $filedep . " " | |
69 | } | |
70 | if ( $wxCommon{$file} !~ /\bX\b/ ) { #! unless not for Motif | |
71 | $project{"WXMOTIF_COMMONOBJS"} .= $fileobj . " "; | |
72 | $project{"WXMOTIF_COMMONDEPS"} .= $filedep . " " | |
73 | } | |
e4b4d60e | 74 | |
37667812 VZ |
75 | #! ODBC needs extra files (sql*.h) so not compiled by default. |
76 | if ( (file !~ /^odbc\./) && ($wxCommon{$file} !~ /\b(16)\b/) ) { | |
77 | $project{"WXMSW_COMMONOBJS"} .= $fileobj . " "; | |
78 | $project{"WXMSW_COMMONDEPS"} .= $filedep . " " | |
79 | } | |
e4b4d60e RR |
80 | } |
81 | ||
82 | #! GUI | |
83 | ||
84 | foreach $file (sort keys %wxMSW) { | |
85 | #! Mingw32 doesn't have the OLE headers and has some troubles with | |
86 | #! socket code | |
87 | next if $wxMSW{$file} =~ /\b(O|16)\b/; | |
88 | ||
89 | #! native wxDirDlg can't be compiled due to GnuWin32/OLE limitations, | |
90 | next if $file =~ /^dirdlg\./; | |
91 | ||
5586805b | 92 | $file2 = $file; |
e4b4d60e | 93 | $file =~ s/cp?p?$/\o/; |
5586805b RR |
94 | $file2 =~ s/cp?p?$/\d/; |
95 | $project{"WXMSW_GUIOBJS"} .= $file . " "; | |
96 | $project{"WXMSW_GUIDEPS"} .= $file2 . " " | |
e4b4d60e RR |
97 | } |
98 | ||
f56b8330 | 99 | foreach $file (sort keys %wxGTK) { |
5586805b | 100 | $file2 = $file; |
f56b8330 | 101 | $file =~ s/cp?p?$/\o/; |
5586805b RR |
102 | $file2 =~ s/cp?p?$/\d/; |
103 | $project{"WXGTK_GUIOBJS"} .= $file . " "; | |
104 | $project{"WXGTK_GUIDEPS"} .= $file2 . " " | |
073478b3 RR |
105 | } |
106 | ||
107 | foreach $file (sort keys %wxMOTIF) { | |
5586805b | 108 | $file2 = $file; |
073478b3 | 109 | $file =~ s/cp?p?$/\o/; |
5586805b RR |
110 | $file2 =~ s/cp?p?$/\d/; |
111 | $project{"WXMOTIF_GUIOBJS"} .= $file . " "; | |
112 | $project{"WXMOTIF_GUIDEPS"} .= $file2 . " " | |
f56b8330 RR |
113 | } |
114 | ||
e4b4d60e RR |
115 | #! others |
116 | ||
f56b8330 | 117 | foreach $file (sort keys %wxHTML) { |
5586805b | 118 | $file2 = $file; |
f56b8330 | 119 | $file =~ s/cp?p?$/\o/; |
5586805b RR |
120 | $file2 =~ s/cp?p?$/\d/; |
121 | $project{"WXHTMLOBJS"} .= $file . " "; | |
122 | $project{"WXHTMLDEPS"} .= $file2 . " " | |
f56b8330 RR |
123 | } |
124 | ||
125 | foreach $file (sort keys %wxUNIX) { | |
37667812 VZ |
126 | ($fileobj = $file) =~ s/cp?p?$/\o/; |
127 | ($filedep = $file) =~ s/cp?p?$/\d/; | |
128 | ||
129 | #! 'B' flag means that the file makes part of wxBase too | |
130 | if ( $wxUNIX{$file} =~ /\bB\b/ ) { | |
131 | $project{"BASE_OBJS"} .= $fileobj . " "; | |
132 | $project{"BASE_DEPS"} .= $filedep . " " | |
133 | } | |
134 | ||
135 | $project{"WXUNIX_OBJS"} .= $fileobj . " "; | |
136 | $project{"WXUNIX_DEPS"} .= $filedep . " " | |
f56b8330 | 137 | } |
23a54e14 | 138 | |
e4b4d60e RR |
139 | #! headers |
140 | ||
2aa88730 | 141 | foreach $file (sort keys %wxWXINCLUDE) { |
37667812 VZ |
142 | $project{"WX_HEADERS"} .= $file . " "; |
143 | $project{"BASE_HEADERS"} .= $file . " " if $wxWXINCLUDE{$file} =~ /\bB\b/; | |
2aa88730 RR |
144 | } |
145 | ||
146 | foreach $file (sort keys %wxGENERICINCLUDE) { | |
147 | $project{"WXGENERIC_HEADERS"} .= "generic/" . $file . " " | |
148 | } | |
149 | ||
150 | foreach $file (sort keys %wxMOTIFINCLUDE) { | |
151 | $project{"WXMOTIF_HEADERS"} .= "motif/" . $file . " " | |
152 | } | |
153 | ||
154 | foreach $file (sort keys %wxGTKINCLUDE) { | |
155 | $project{"WXGTK_HEADERS"} .= "gtk/" . $file . " " | |
156 | } | |
157 | ||
a4aad961 RR |
158 | foreach $file (sort keys %wxMSWINCLUDE) { |
159 | $project{"WXMSW_HEADERS"} .= "msw/" . $file . " " | |
160 | } | |
161 | ||
2aa88730 RR |
162 | foreach $file (sort keys %wxHTMLINCLUDE) { |
163 | $project{"WXHTML_HEADERS"} .= "html/" . $file . " " | |
164 | } | |
165 | ||
166 | foreach $file (sort keys %wxUNIXINCLUDE) { | |
167 | $project{"WXUNIX_HEADERS"} .= "unix/" . $file . " " | |
168 | } | |
169 | ||
170 | foreach $file (sort keys %wxPROTOCOLINCLUDE) { | |
171 | $project{"WXPROTOCOL_HEADERS"} .= "protocol/" . $file . " " | |
172 | } | |
f56b8330 | 173 | #$} |
23a54e14 | 174 | # |
f56b8330 RR |
175 | # This file was automatically generated by tmake at #$ Now() |
176 | # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE UNX.T! | |
177 | ||
178 | # | |
179 | # File: makefile.unx | |
180 | # Author: Julian Smart, Robert Roebling, Vadim Zeitlin | |
181 | # Created: 1993 | |
182 | # Updated: 1999 | |
183 | # Copyright:(c) 1993, AIAI, University of Edinburgh, | |
184 | # Copyright:(c) 1999, Vadim Zeitlin | |
185 | # Copyright:(c) 1999, Robert Roebling | |
186 | # | |
187 | # Makefile for libwx_gtk.a, libwx_motif.a and libwx_msw.a | |
188 | ||
8e877c19 | 189 | ################################################################### |
f56b8330 | 190 | |
2aa88730 | 191 | include ./src/make.env |
f56b8330 | 192 | |
48b1d0ff RR |
193 | ############## override make.env for PIC ########################## |
194 | ||
195 | # Clears all default suffixes | |
196 | .SUFFIXES: .o .cpp .c .cxx | |
197 | ||
198 | .c.o : | |
5586805b | 199 | $(CCC) -c @DEP_INFO_FLAGS@ $(CFLAGS) $(PICFLAGS) -o $@ $< |
48b1d0ff RR |
200 | |
201 | .cpp.o : | |
5586805b | 202 | $(CC) -c @DEP_INFO_FLAGS@ $(CPPFLAGS) $(PICFLAGS) -o $@ $< |
48b1d0ff RR |
203 | |
204 | .cxx.o : | |
5586805b | 205 | $(CC) -c @DEP_INFO_FLAGS@ $(CPPFLAGS) $(PICFLAGS) -o $@ $< |
48b1d0ff | 206 | |
f56b8330 RR |
207 | ########################### Paths ################################# |
208 | ||
8e877c19 RR |
209 | srcdir = @srcdir@ |
210 | ||
5586805b RR |
211 | VP1 = @top_srcdir@/src/common |
212 | VP2 = @top_srcdir@/src/@TOOLKIT_DIR@ | |
213 | VP3 = @top_srcdir@/src/motif/xmcombo | |
214 | VP4 = @top_srcdir@/src/generic | |
215 | VP5 = @top_srcdir@/src/unix | |
216 | VP6 = @top_srcdir@/src/html | |
217 | VP7 = @top_srcdir@/src/png | |
218 | VP8 = @top_srcdir@/src/jpeg | |
219 | VP9 = @top_srcdir@/src/zlib | |
e115e771 | 220 | VP10 = @top_srcdir@/src/iodbc |
5586805b | 221 | |
e115e771 | 222 | VPATH = $(VP1):$(VP2):$(VP3):$(VP4):$(VP5):$(VP6):$(VP7):$(VP8):$(VP9):$(VP10) |
f56b8330 RR |
223 | |
224 | top_srcdir = @top_srcdir@ | |
225 | prefix = @prefix@ | |
226 | exec_prefix = @exec_prefix@ | |
227 | ||
228 | bindir = @bindir@ | |
229 | sbindir = @sbindir@ | |
230 | libexecdir = @libexecdir@ | |
231 | datadir = @datadir@ | |
232 | sysconfdir = @sysconfdir@ | |
233 | sharedstatedir = @sharedstatedir@ | |
234 | localstatedir = @localstatedir@ | |
235 | libdir = @libdir@ | |
236 | infodir = @infodir@ | |
237 | mandir = @mandir@ | |
238 | includedir = @includedir@ | |
239 | oldincludedir = /usr/include | |
240 | ||
241 | DESTDIR = | |
242 | ||
243 | pkgdatadir = $(datadir)/@PACKAGE@ | |
244 | pkglibdir = $(libdir)/@PACKAGE@ | |
245 | pkgincludedir = $(includedir)/@PACKAGE@ | |
246 | ||
2aa88730 | 247 | top_builddir = . |
f56b8330 RR |
248 | |
249 | INSTALL = @INSTALL@ | |
250 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
251 | INSTALL_DATA = @INSTALL_DATA@ | |
0b129e1a KB |
252 | # my autoconf doesn't set this |
253 | #INSTALL_SCRIPT = @INSTALL_SCRIPT@ | |
254 | # maybe do an additional chmod if needed? | |
255 | INSTALL_SCRIPT = @INSTALL@ | |
f56b8330 RR |
256 | transform = @program_transform_name@ |
257 | ||
258 | NORMAL_INSTALL = : | |
259 | PRE_INSTALL = : | |
260 | POST_INSTALL = : | |
261 | NORMAL_UNINSTALL = : | |
262 | PRE_UNINSTALL = : | |
263 | POST_UNINSTALL = : | |
264 | build_alias = @build_alias@ | |
265 | build_triplet = @build@ | |
266 | host_alias = @host_alias@ | |
267 | host_triplet = @host@ | |
268 | target_alias = @target_alias@ | |
269 | target_triplet = @target@ | |
270 | ||
8e877c19 | 271 | ############################# Dirs ################################# |
f56b8330 | 272 | |
2aa88730 | 273 | WXDIR = $(top_srcdir) |
f56b8330 RR |
274 | |
275 | # Subordinate library possibilities | |
276 | ||
4cb122de RR |
277 | SRCDIR = $(WXDIR)/src |
278 | GENDIR = $(WXDIR)/src/generic | |
279 | COMMDIR = $(WXDIR)/src/common | |
280 | HTMLDIR = $(WXDIR)/src/html | |
281 | UNIXDIR = $(WXDIR)/src/unix | |
282 | PNGDIR = $(WXDIR)/src/png | |
283 | JPEGDIR = $(WXDIR)/src/jpeg | |
284 | ZLIBDIR = $(WXDIR)/src/zlib | |
285 | GTKDIR = $(WXDIR)/src/gtk | |
073478b3 | 286 | MOTIFDIR = $(WXDIR)/src/motif |
4cb122de RR |
287 | MSWDIR = $(WXDIR)/src/msw |
288 | INCDIR = $(WXDIR)/include | |
289 | SAMPDIR = $(WXDIR)/samples | |
641d87d8 | 290 | UTILSDIR = $(WXDIR)/utils |
a6f3598d | 291 | MISCDIR = $(WXDIR)/misc |
f56b8330 | 292 | |
8e877c19 RR |
293 | DOCDIR = $(WXDIR)/docs |
294 | ||
a4aad961 RR |
295 | ########################## Archive name ############################### |
296 | ||
a6f3598d | 297 | WXARCHIVE = wx$(TOOLKIT)-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER)-b9.tgz |
a4aad961 RR |
298 | DISTDIR = ./_dist_dir/wx$(TOOLKIT) |
299 | ||
8e877c19 | 300 | ############################## Files ################################## |
f56b8330 | 301 | |
37667812 VZ |
302 | BASE_HEADERS = \ |
303 | #$ ExpandList("BASE_HEADERS"); | |
304 | ||
2aa88730 RR |
305 | WX_HEADERS = \ |
306 | #$ ExpandList("WX_HEADERS"); | |
307 | ||
308 | GTK_HEADERS = \ | |
309 | #$ ExpandList("WXGTK_HEADERS"); | |
310 | ||
311 | MOTIF_HEADERS = \ | |
312 | #$ ExpandList("WXMOTIF_HEADERS"); | |
313 | ||
a4aad961 RR |
314 | MSW_HEADERS = \ |
315 | #$ ExpandList("WXMSW_HEADERS"); | |
316 | ||
2aa88730 RR |
317 | UNIX_HEADERS = \ |
318 | #$ ExpandList("WXUNIX_HEADERS"); | |
319 | ||
320 | GENERIC_HEADERS = \ | |
321 | #$ ExpandList("WXGENERIC_HEADERS"); | |
322 | ||
323 | PROTOCOL_HEADERS = \ | |
324 | #$ ExpandList("WXPROTOCOL_HEADERS"); | |
325 | ||
326 | HTML_HEADERS = \ | |
327 | #$ ExpandList("WXHTML_HEADERS"); | |
328 | ||
073478b3 | 329 | GTK_GENERICOBJS = \ |
2aa88730 | 330 | #$ ExpandList("WXGTK_GENERICOBJS"); |
073478b3 | 331 | |
5586805b RR |
332 | GTK_GENERICDEPS = \ |
333 | #$ ExpandList("WXGTK_GENERICDEPS"); | |
334 | ||
2aa88730 | 335 | GTK_COMMONOBJS = \ |
073478b3 RR |
336 | parser.o \ |
337 | #$ ExpandList("WXGTK_COMMONOBJS"); | |
338 | ||
5586805b RR |
339 | GTK_COMMONDEPS = \ |
340 | parser.d \ | |
341 | #$ ExpandList("WXGTK_COMMONDEPS"); | |
342 | ||
2aa88730 | 343 | GTK_GUIOBJS = \ |
073478b3 RR |
344 | #$ ExpandList("WXGTK_GUIOBJS"); |
345 | ||
5586805b RR |
346 | GTK_GUIDEPS = \ |
347 | #$ ExpandList("WXGTK_GUIDEPS"); | |
348 | ||
073478b3 | 349 | MOTIF_GENERICOBJS = \ |
2aa88730 | 350 | #$ ExpandList("WXMOTIF_GENERICOBJS"); |
f56b8330 | 351 | |
5586805b RR |
352 | MOTIF_GENERICDEPS = \ |
353 | #$ ExpandList("WXMOTIF_GENERICDEPS"); | |
354 | ||
2aa88730 | 355 | MOTIF_COMMONOBJS = \ |
f56b8330 | 356 | parser.o \ |
073478b3 RR |
357 | #$ ExpandList("WXMOTIF_COMMONOBJS"); |
358 | ||
5586805b RR |
359 | MOTIF_COMMONDEPS = \ |
360 | parser.d \ | |
361 | #$ ExpandList("WXMOTIF_COMMONDEPS"); | |
362 | ||
2aa88730 | 363 | MOTIF_GUIOBJS = \ |
5586805b | 364 | xmcombo.o \ |
073478b3 | 365 | #$ ExpandList("WXMOTIF_GUIOBJS"); |
f56b8330 | 366 | |
5586805b RR |
367 | MOTIF_GUIDEPS = \ |
368 | xmcombo.d \ | |
369 | #$ ExpandList("WXMOTIF_GUIDEPS"); | |
370 | ||
e4b4d60e RR |
371 | MSW_GENERICOBJS = \ |
372 | #$ ExpandList("WXMSW_GENERICOBJS"); | |
373 | ||
5586805b RR |
374 | MSW_GENERICDEPS = \ |
375 | #$ ExpandList("WXMSW_GENERICDEPS"); | |
376 | ||
e4b4d60e | 377 | MSW_COMMONOBJS = \ |
80d895cd | 378 | parser.o \ |
e4b4d60e RR |
379 | #$ ExpandList("WXMSW_COMMONOBJS"); |
380 | ||
5586805b | 381 | MSW_COMMONDEPS = \ |
80d895cd | 382 | parser.d \ |
5586805b RR |
383 | #$ ExpandList("WXMSW_COMMONDEPS"); |
384 | ||
e4b4d60e RR |
385 | MSW_GUIOBJS = \ |
386 | #$ ExpandList("WXMSW_GUIOBJS"); | |
387 | ||
5586805b RR |
388 | MSW_GUIDEPS = \ |
389 | #$ ExpandList("WXMSW_GUIDEPS"); | |
390 | ||
37667812 VZ |
391 | BASE_OBJS = \ |
392 | #$ ExpandList("BASE_OBJS"); | |
393 | ||
394 | BASE_DEPS = \ | |
395 | #$ ExpandList("BASE_DEPS"); | |
396 | ||
f56b8330 | 397 | HTMLOBJS = \ |
2aa88730 | 398 | #$ ExpandList("WXHTMLOBJS"); |
f56b8330 | 399 | |
5586805b RR |
400 | HTMLDEPS = \ |
401 | #$ ExpandList("WXHTMLDEPS"); | |
402 | ||
37667812 VZ |
403 | UNIX_OBJS = \ |
404 | #$ ExpandList("WXUNIX_OBJS"); | |
f56b8330 | 405 | |
37667812 VZ |
406 | UNIX_DEPS = \ |
407 | #$ ExpandList("WXUNIX_DEPS"); | |
5586805b | 408 | |
f56b8330 | 409 | ZLIBOBJS = \ |
5586805b RR |
410 | adler32.o \ |
411 | compress.o \ | |
412 | crc32.o \ | |
413 | gzio.o \ | |
414 | uncompr.o \ | |
415 | deflate.o \ | |
416 | trees.o \ | |
417 | zutil.o \ | |
418 | inflate.o \ | |
419 | infblock.o \ | |
420 | inftrees.o \ | |
421 | infcodes.o \ | |
422 | infutil.o \ | |
423 | inffast.o | |
f56b8330 RR |
424 | |
425 | PNGOBJS = \ | |
5586805b RR |
426 | png.o \ |
427 | pngread.o \ | |
428 | pngrtran.o \ | |
429 | pngrutil.o \ | |
430 | pngpread.o \ | |
431 | pngtrans.o \ | |
432 | pngwrite.o \ | |
433 | pngwtran.o \ | |
434 | pngwutil.o \ | |
435 | pngerror.o \ | |
436 | pngmem.o \ | |
437 | pngwio.o \ | |
438 | pngrio.o \ | |
439 | pngget.o \ | |
440 | pngset.o | |
f56b8330 RR |
441 | |
442 | ||
443 | JPEGOBJS = \ | |
5586805b RR |
444 | jcomapi.o \ |
445 | jutils.o \ | |
446 | jerror.o \ | |
447 | jmemmgr.o \ | |
448 | jmemnobs.o \ | |
449 | jcapimin.o \ | |
450 | jcapistd.o \ | |
451 | jctrans.o \ | |
452 | jcparam.o \ | |
453 | jdatadst.o \ | |
454 | jcinit.o \ | |
455 | jcmaster.o \ | |
456 | jcmarker.o \ | |
457 | jcmainct.o \ | |
458 | jcprepct.o \ | |
459 | jccoefct.o \ | |
460 | jccolor.o \ | |
461 | jcsample.o \ | |
462 | jchuff.o \ | |
463 | jcphuff.o \ | |
464 | jcdctmgr.o \ | |
465 | jfdctfst.o \ | |
466 | jfdctflt.o \ | |
467 | jfdctint.o \ | |
468 | jdapimin.o \ | |
469 | jdapistd.o \ | |
470 | jdtrans.o \ | |
471 | jdatasrc.o \ | |
472 | jdmaster.o \ | |
473 | jdinput.o \ | |
474 | jdmarker.o \ | |
475 | jdhuff.o \ | |
476 | jdphuff.o \ | |
477 | jdmainct.o \ | |
478 | jdcoefct.o \ | |
479 | jdpostct.o \ | |
480 | jddctmgr.o \ | |
481 | jidctfst.o \ | |
482 | jidctflt.o \ | |
483 | jidctint.o \ | |
484 | jidctred.o \ | |
485 | jdsample.o \ | |
486 | jdcolor.o \ | |
487 | jquant1.o \ | |
488 | jquant2.o \ | |
489 | jdmerge.o | |
f56b8330 | 490 | |
e115e771 RR |
491 | IODBCOBJS = \ |
492 | catalog.o \ | |
493 | connect.o \ | |
494 | dlf.o \ | |
495 | dlproc.o \ | |
496 | execute.o \ | |
497 | fetch.o \ | |
498 | hdbc.o \ | |
499 | henv.o \ | |
500 | herr.o \ | |
501 | hstmt.o \ | |
502 | info.o \ | |
503 | itrace.o \ | |
504 | misc.o \ | |
505 | prepare.o \ | |
506 | result.o | |
507 | ||
37667812 VZ |
508 | GUIOBJS = @GUIOBJS@ |
509 | GUIDEPS = @GUIDEPS@ | |
510 | GUIHEADERS = @GUIHEADERS@ | |
511 | COMMONOBJS = @COMMONOBJS@ | |
512 | COMMONDEPS = @COMMONDEPS@ | |
513 | GENERICOBJS = @GENERICOBJS@ | |
514 | GENERICDEPS = @GENERICDEPS@ | |
515 | UNIXOBJS = @UNIXOBJS@ | |
516 | UNIXDEPS = @UNIXDEPS@ | |
073478b3 | 517 | |
e115e771 | 518 | OBJECTS = @ALL_OBJECTS@ $(IODBCOBJS) |
f56b8330 | 519 | |
37667812 | 520 | DEPFILES = @ALL_DEPFILES@ |
5586805b | 521 | |
37667812 | 522 | HEADERS = @ALL_HEADERS@ |
f56b8330 | 523 | |
de87c353 | 524 | all: @WX_ALL@ |
8e877c19 | 525 | |
48b1d0ff | 526 | @WX_LIBRARY_NAME_STATIC@: $(OBJECTS) |
4130b487 | 527 | @$(INSTALL) -d ./lib |
2aa88730 RR |
528 | $(AR) $(AROPTIONS) ./lib/$@ $(OBJECTS) |
529 | $(RANLIB) ./lib/$@ | |
f56b8330 | 530 | |
48b1d0ff | 531 | @WX_LIBRARY_NAME_SHARED@: $(OBJECTS) |
4130b487 | 532 | @$(INSTALL) -d ./lib |
2aa88730 | 533 | $(SHARED_LD) ./lib/$@ $(OBJECTS) $(EXTRALIBS) |
48b1d0ff | 534 | |
de87c353 | 535 | CREATE_LINKS: @WX_LIBRARY_NAME_SHARED@ |
4130b487 RR |
536 | @$(RM) ./lib/@WX_LIBRARY_LINK1@ |
537 | @$(RM) ./lib/@WX_LIBRARY_LINK2@ | |
538 | @$(RM) ./lib/@WX_LIBRARY_LINK3@ | |
2aa88730 RR |
539 | $(LN_S) @WX_TARGET_LIBRARY@ ./lib/@WX_LIBRARY_LINK1@ |
540 | $(LN_S) @WX_TARGET_LIBRARY@ ./lib/@WX_LIBRARY_LINK2@ | |
541 | $(LN_S) @WX_TARGET_LIBRARY@ ./lib/@WX_LIBRARY_LINK3@ | |
48b1d0ff | 542 | |
de87c353 | 543 | CREATE_INSTALLED_LINKS: $(libdir)/@WX_LIBRARY_NAME_SHARED@ |
5586805b RR |
544 | $(RM) $(libdir)/@WX_LIBRARY_LINK1@ |
545 | $(RM) $(libdir)/@WX_LIBRARY_LINK2@ | |
546 | $(RM) $(libdir)/@WX_LIBRARY_LINK3@ | |
de87c353 RR |
547 | $(LN_S) @WX_LIBRARY_NAME_SHARED@ $(libdir)/@WX_LIBRARY_LINK1@ |
548 | $(LN_S) @WX_LIBRARY_NAME_SHARED@ $(libdir)/@WX_LIBRARY_LINK2@ | |
549 | $(LN_S) @WX_LIBRARY_NAME_SHARED@ $(libdir)/@WX_LIBRARY_LINK3@ | |
517a619d | 550 | |
f56b8330 RR |
551 | $(OBJECTS): $(WXDIR)/include/wx/defs.h $(WXDIR)/include/wx/object.h $(WXDIR)/include/wx/setup.h |
552 | ||
553 | parser.o: parser.c lexer.c | |
8636aed8 | 554 | $(CCLEX) -c $(CFLAGS) $(PICFLAGS) -o $@ parser.c |
f56b8330 RR |
555 | |
556 | parser.c: $(COMMDIR)/parser.y lexer.c | |
557 | $(YACC) $(COMMDIR)/parser.y | |
558 | @sed -e "s;$(COMMDIR)/y.tab.c;parser.y;g" < y.tab.c | \ | |
559 | sed -e "s/BUFSIZ/5000/g" | \ | |
560 | sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \ | |
561 | sed -e "s/yy/PROIO_yy/g" | \ | |
562 | sed -e "s/input/PROIO_input/g" | \ | |
563 | sed -e "s/unput/PROIO_unput/g" > parser.c | |
564 | @$(RM) y.tab.c | |
565 | ||
566 | lexer.c: $(COMMDIR)/lexer.l | |
567 | $(LEX) $(COMMDIR)/lexer.l | |
568 | @sed -e "s;$(COMMDIR)/lex.yy.c;lexer.l;g" < lex.yy.c | \ | |
569 | sed -e "s/yy/PROIO_yy/g" | \ | |
570 | sed -e "s/input/PROIO_input/g" | \ | |
571 | sed -e "s/unput/PROIO_unput/g" > lexer.c | |
572 | @$(RM) lex.yy.c | |
573 | ||
5586805b RR |
574 | -include $(DEPFILES) |
575 | ||
517a619d RR |
576 | preinstall: $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(top_builddir)/wx-config $(top_builddir)/setup.h |
577 | @echo " " | |
578 | @echo " Installing wxWindows..." | |
579 | @echo " " | |
2aa88730 | 580 | |
0b129e1a KB |
581 | $(INSTALL) -d $(prefix) |
582 | $(INSTALL) -d $(bindir) | |
583 | $(INSTALL) -d $(libdir) | |
a6f3598d | 584 | $(INSTALL) -d $(datadir) |
0b129e1a | 585 | |
2aa88730 RR |
586 | $(INSTALL_SCRIPT) $(top_builddir)/wx-config $(bindir)/wx-config |
587 | $(INSTALL_PROGRAM) $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(libdir)/@WX_TARGET_LIBRARY@ | |
0b129e1a KB |
588 | |
589 | $(INSTALL) -d $(libdir)/wx | |
590 | $(INSTALL) -d $(libdir)/wx/include | |
591 | $(INSTALL) -d $(libdir)/wx/include/wx | |
592 | $(INSTALL) -d $(libdir)/wx/include/wx/@TOOLKIT_DIR@ | |
517a619d | 593 | $(INSTALL_DATA) $(top_builddir)/setup.h $(libdir)/wx/include/wx/@TOOLKIT_DIR@/setup.h |
2aa88730 | 594 | |
a6f3598d RR |
595 | $(INSTALL) -d $(datadir)/wx |
596 | $(INSTALL) -d $(datadir)/wx/afm | |
597 | $(INSTALL) -d $(datadir)/wx/gs_afm | |
598 | $(INSTALL_DATA) $(top_srcdir)/misc/afm/*.afm $(datadir)/wx/afm | |
599 | $(INSTALL_DATA) $(top_srcdir)/misc/gs_afm/*.afm $(datadir)/wx/gs_afm | |
600 | ||
0b129e1a KB |
601 | $(INSTALL) -d $(includedir)/wx |
602 | $(INSTALL) -d $(includedir)/wx/msw | |
603 | $(INSTALL) -d $(includedir)/wx/gtk | |
604 | $(INSTALL) -d $(includedir)/wx/motif | |
605 | $(INSTALL) -d $(includedir)/wx/html | |
606 | $(INSTALL) -d $(includedir)/wx/protocol | |
607 | $(INSTALL) -d $(includedir)/wx/unix | |
608 | $(INSTALL) -d $(includedir)/wx/generic | |
2aa88730 | 609 | @list='$(HEADERS)'; for p in $$list; do \ |
2aa88730 | 610 | $(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p; \ |
517a619d RR |
611 | echo "$(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p"; \ |
612 | done | |
613 | ||
614 | write_message: | |
615 | @echo " " | |
616 | @echo " The installation of wxWindows is finished. On certain" | |
617 | @echo " platforms (e.g. Linux, Solaris) you'll now have to run" | |
618 | @echo " ldconfig if you installed a shared library." | |
619 | @echo " " | |
620 | @echo " wxWindows comes with no guarantees and doesn't claim" | |
621 | @echo " to be suitable for any purpose." | |
622 | @echo " " | |
623 | @echo " Read the wxWindows Licence on licencing conditions." | |
624 | @echo " " | |
625 | ||
de87c353 | 626 | install: preinstall @WX_ALL_INSTALLED@ write_message |
2aa88730 RR |
627 | |
628 | uninstall: | |
517a619d RR |
629 | @echo " " |
630 | @echo " Uninstalling wxWindows..." | |
631 | @echo " " | |
632 | @echo " Removing library..." | |
0b129e1a KB |
633 | @$(RM) $(libdir)/@WX_TARGET_LIBRARY@ |
634 | @$(RM) $(libdir)/@WX_LIBRARY_LINK1@ | |
635 | @$(RM) $(libdir)/@WX_LIBRARY_LINK2@ | |
636 | @$(RM) $(libdir)/@WX_LIBRARY_LINK3@ | |
517a619d | 637 | @echo " Removing helper files..." |
0b129e1a KB |
638 | @$(RM) $(libdir)/wx/include/wx/@TOOLKIT_DIR@/setup.h |
639 | @$(RM) $(bindir)/wx-config | |
a6f3598d RR |
640 | @$(RM) $(datadir)/wx/afm/* |
641 | @$(RM) $(datadir)/wx/gs_afm/* | |
642 | @rmdir $(datadir)/wx/gs_afm | |
643 | @rmdir $(datadir)/wx/afm | |
644 | @rmdir $(datadir)/wx | |
517a619d RR |
645 | @echo " Removing headers..." |
646 | @list='$(HEADERS)'; for p in $$list; do \ | |
0b129e1a | 647 | $(RM) $(includedir)/wx/$$p; \ |
517a619d RR |
648 | done |
649 | @echo " Removing directories..." | |
650 | @if test -d $(libdir)/wx/include/wx/@TOOLKIT_DIR@; then rmdir $(libdir)/wx/include/wx/@TOOLKIT_DIR@; fi | |
651 | @if test -d $(libdir)/wx/include/wx; then rmdir $(libdir)/wx/include/wx; fi | |
652 | @if test -d $(libdir)/wx/include; then rmdir $(libdir)/wx/include; fi | |
653 | @if test -d $(libdir)/wx; then rmdir $(libdir)/wx; fi | |
654 | @if test -d $(includedir)/wx/gtk; then rmdir $(includedir)/wx/gtk; fi | |
655 | @if test -d $(includedir)/wx/motif; then rmdir $(includedir)/wx/motif; fi | |
a6f3598d | 656 | @if test -d $(includedir)/wx/msw; then rmdir $(includedir)/wx/msw; fi |
517a619d RR |
657 | @if test -d $(includedir)/wx/html; then rmdir $(includedir)/wx/html; fi |
658 | @if test -d $(includedir)/wx/unix; then rmdir $(includedir)/wx/unix; fi | |
659 | @if test -d $(includedir)/wx/generic; then rmdir $(includedir)/wx/generic; fi | |
660 | @if test -d $(includedir)/wx/protocol; then rmdir $(includedir)/wx/protocol; fi | |
661 | @if test -d $(includedir)/wx; then rmdir $(includedir)/wx; fi | |
23a54e14 | 662 | |
4cb122de | 663 | ALL_DIST: |
a4aad961 RR |
664 | mkdir _dist_dir |
665 | mkdir $(DISTDIR) | |
666 | cp $(WXDIR)/wx$(TOOLKIT).spec $(DISTDIR) | |
667 | cp $(WXDIR)/configure $(DISTDIR) | |
668 | cp $(WXDIR)/config.sub $(DISTDIR) | |
669 | cp $(WXDIR)/config.guess $(DISTDIR) | |
670 | cp $(WXDIR)/install-sh $(DISTDIR) | |
671 | cp $(WXDIR)/mkinstalldirs $(DISTDIR) | |
672 | cp $(WXDIR)/wx-config.in $(DISTDIR) | |
673 | cp $(WXDIR)/setup.h.in $(DISTDIR) | |
674 | cp $(WXDIR)/Makefile.in $(DISTDIR) | |
675 | cp $(DOCDIR)/lgpl.txt $(DISTDIR)/COPYING.LIB | |
676 | cp $(DOCDIR)/licence.txt $(DISTDIR)/LICENCE.txt | |
677 | cp $(DOCDIR)/symbols.txt $(DISTDIR)/SYMBOLS.txt | |
678 | cp $(DOCDIR)/$(TOOLKITDIR)/install.txt $(DISTDIR)/INSTALL.txt | |
679 | cp $(DOCDIR)/$(TOOLKITDIR)/changes.txt $(DISTDIR)/CHANGES.txt | |
680 | cp $(DOCDIR)/$(TOOLKITDIR)/readme.txt $(DISTDIR)/README.txt | |
681 | cp $(DOCDIR)/$(TOOLKITDIR)/todo.txt $(DISTDIR)/TODO.txt | |
682 | mkdir $(DISTDIR)/include | |
683 | mkdir $(DISTDIR)/include/wx | |
684 | mkdir $(DISTDIR)/include/wx/$(TOOLKITDIR) | |
685 | mkdir $(DISTDIR)/include/wx/generic | |
686 | mkdir $(DISTDIR)/include/wx/html | |
687 | mkdir $(DISTDIR)/include/wx/unix | |
688 | mkdir $(DISTDIR)/include/wx/protocol | |
689 | cp $(INCDIR)/wx/*.h $(DISTDIR)/include/wx | |
690 | cp $(INCDIR)/wx/*.cpp $(DISTDIR)/include/wx | |
691 | cp $(INCDIR)/wx/generic/*.h $(DISTDIR)/include/wx/generic | |
692 | cp $(INCDIR)/wx/generic/*.xpm $(DISTDIR)/include/wx/generic | |
693 | cp $(INCDIR)/wx/html/*.h $(DISTDIR)/include/wx/html | |
694 | cp $(INCDIR)/wx/unix/*.h $(DISTDIR)/include/wx/unix | |
695 | cp $(INCDIR)/wx/protocol/*.h $(DISTDIR)/include/wx/protocol | |
4cb122de RR |
696 | mkdir $(DISTDIR)/src |
697 | mkdir $(DISTDIR)/src/common | |
698 | mkdir $(DISTDIR)/src/generic | |
699 | mkdir $(DISTDIR)/src/html | |
700 | mkdir $(DISTDIR)/src/html/bitmaps | |
701 | mkdir $(DISTDIR)/src/$(TOOLKITDIR) | |
702 | mkdir $(DISTDIR)/src/unix | |
703 | mkdir $(DISTDIR)/src/png | |
704 | mkdir $(DISTDIR)/src/jpeg | |
705 | mkdir $(DISTDIR)/src/zlib | |
706 | cp $(SRCDIR)/*.in $(DISTDIR)/src | |
707 | cp $(COMMDIR)/*.cpp $(DISTDIR)/src/common | |
708 | cp $(COMMDIR)/*.c $(DISTDIR)/src/common | |
709 | cp $(COMMDIR)/*.inc $(DISTDIR)/src/common | |
710 | cp $(COMMDIR)/*.l $(DISTDIR)/src/common | |
711 | cp $(COMMDIR)/*.h $(DISTDIR)/src/common | |
712 | cp $(COMMDIR)/*.y $(DISTDIR)/src/common | |
713 | cp $(GENDIR)/*.cpp $(DISTDIR)/src/generic | |
714 | cp $(HTMLDIR)/*.cpp $(DISTDIR)/src/html | |
715 | cp $(HTMLDIR)/*.h $(DISTDIR)/src/html | |
716 | cp $(HTMLDIR)/bitmaps/*.xpm $(DISTDIR)/src/html/bitmaps | |
717 | cp $(UNIXDIR)/*.h $(DISTDIR)/src/unix | |
718 | cp $(UNIXDIR)/*.c $(DISTDIR)/src/unix | |
719 | cp $(UNIXDIR)/*.cpp $(DISTDIR)/src/unix | |
720 | cp $(PNGDIR)/*.h $(DISTDIR)/src/png | |
721 | cp $(PNGDIR)/*.c $(DISTDIR)/src/png | |
722 | cp $(PNGDIR)/README $(DISTDIR)/src/png | |
723 | cp $(ZLIBDIR)/*.h $(DISTDIR)/src/zlib | |
724 | cp $(ZLIBDIR)/*.c $(DISTDIR)/src/zlib | |
725 | cp $(ZLIBDIR)/README $(DISTDIR)/src/zlib | |
726 | cp $(JPEGDIR)/*.h $(DISTDIR)/src/jpeg | |
727 | cp $(JPEGDIR)/*.c $(DISTDIR)/src/jpeg | |
728 | cp $(JPEGDIR)/README $(DISTDIR)/src/jpeg | |
a4aad961 RR |
729 | |
730 | GTK_DIST: | |
4cb122de | 731 | cp $(WXDIR)/wxGTK.spec $(DISTDIR) |
a4aad961 | 732 | cp $(INCDIR)/wx/gtk/*.h $(DISTDIR)/include/wx/gtk |
4cb122de RR |
733 | cp $(INCDIR)/wx/gtk/*.xpm $(DISTDIR)/include/wx/gtk |
734 | cp $(GTKDIR)/*.cpp $(DISTDIR)/src/gtk | |
735 | cp $(GTKDIR)/*.c $(DISTDIR)/src/gtk | |
736 | cp $(GTKDIR)/*.xbm $(DISTDIR)/src/gtk | |
a4aad961 RR |
737 | |
738 | MOTIF_DIST: | |
4cb122de | 739 | cp $(WXDIR)/wxMOTIF.spec $(DISTDIR) |
a4aad961 | 740 | cp $(INCDIR)/wx/motif/*.h $(DISTDIR)/include/wx/motif |
4cb122de RR |
741 | cp $(MOTIFDIR)/*.cpp $(DISTDIR)/src/motif |
742 | cp $(MOTIFDIR)/*.xbm $(DISTDIR)/src/motif | |
743 | mkdir $(DISTDIR)/src/motif/xmcombo | |
744 | cp $(MOTIFDIR)/xmcombo/*.c $(DISTDIR)/src/motif/xmcombo | |
745 | cp $(MOTIFDIR)/xmcombo/*.h $(DISTDIR)/src/motif/xmcombo | |
746 | cp $(MOTIFDIR)/xmcombo/copying.txt $(DISTDIR)/src/motif/xmcombo | |
a4aad961 RR |
747 | |
748 | MSW_DIST: | |
4cb122de | 749 | cp $(WXDIR)/wxWINE.spec $(DISTDIR) |
a4aad961 RR |
750 | cp $(INCDIR)/wx/msw/*.h $(DISTDIR)/include/wx/msw |
751 | cp $(INCDIR)/wx/msw/*.cur $(DISTDIR)/include/wx/msw | |
752 | cp $(INCDIR)/wx/msw/*.ico $(DISTDIR)/include/wx/msw | |
753 | cp $(INCDIR)/wx/msw/*.bmp $(DISTDIR)/include/wx/msw | |
754 | cp $(INCDIR)/wx/msw/*.rc $(DISTDIR)/include/wx/msw | |
4cb122de RR |
755 | cp $(MSWDIR)/*.cpp $(DISTDIR)/src/msw |
756 | cp $(MSWDIR)/*.c $(DISTDIR)/src/msw | |
757 | cp $(MSWDIR)/*.def $(DISTDIR)/src/msw | |
758 | mkdir $(DISTDIR)/src/msw/ole | |
759 | cp $(MSWDIR)/ole/*.cpp $(DISTDIR)/src/msw/ole | |
760 | ||
761 | SAMPLES_DIST: | |
762 | mkdir $(DISTDIR)/samples | |
763 | cp $(SAMPDIR)/Makefile.in $(DISTDIR)/samples | |
764 | mkdir $(DISTDIR)/samples/bombs | |
765 | cp $(SAMPDIR)/bombs/Makefile.in $(DISTDIR)/samples/bombs | |
766 | cp $(SAMPDIR)/bombs/*.cpp $(DISTDIR)/samples/bombs | |
767 | cp $(SAMPDIR)/bombs/*.h $(DISTDIR)/samples/bombs | |
768 | cp $(SAMPDIR)/bombs/*.xpm $(DISTDIR)/samples/bombs | |
769 | cp $(SAMPDIR)/bombs/readme.txt $(DISTDIR)/samples/bombs | |
770 | mkdir $(DISTDIR)/samples/caret | |
771 | cp $(SAMPDIR)/caret/Makefile.in $(DISTDIR)/samples/caret | |
772 | cp $(SAMPDIR)/caret/*.cpp $(DISTDIR)/samples/caret | |
773 | cp $(SAMPDIR)/caret/*.xpm $(DISTDIR)/samples/caret | |
774 | mkdir $(DISTDIR)/samples/config | |
775 | cp $(SAMPDIR)/config/Makefile.in $(DISTDIR)/samples/config | |
776 | cp $(SAMPDIR)/config/*.cpp $(DISTDIR)/samples/config | |
777 | mkdir $(DISTDIR)/samples/controls | |
778 | mkdir $(DISTDIR)/samples/controls/icons | |
779 | cp $(SAMPDIR)/controls/Makefile.in $(DISTDIR)/samples/controls | |
780 | cp $(SAMPDIR)/controls/*.cpp $(DISTDIR)/samples/controls | |
781 | cp $(SAMPDIR)/controls/*.xpm $(DISTDIR)/samples/controls | |
782 | cp $(SAMPDIR)/controls/icons/*.??? $(DISTDIR)/samples/controls/icons | |
783 | mkdir $(DISTDIR)/samples/checklst | |
784 | cp $(SAMPDIR)/checklst/Makefile.in $(DISTDIR)/samples/checklst | |
785 | cp $(SAMPDIR)/checklst/*.cpp $(DISTDIR)/samples/checklst | |
786 | cp $(SAMPDIR)/checklst/*.xpm $(DISTDIR)/samples/checklst | |
641d87d8 | 787 | mkdir $(DISTDIR)/samples/printing |
27ea1d8a RR |
788 | cp $(SAMPDIR)/printing/Makefile.in $(DISTDIR)/samples/printing |
789 | cp $(SAMPDIR)/printing/*.cpp $(DISTDIR)/samples/printing | |
790 | cp $(SAMPDIR)/printing/*.h $(DISTDIR)/samples/printing | |
791 | cp $(SAMPDIR)/printing/*.xpm $(DISTDIR)/samples/printing | |
792 | cp $(SAMPDIR)/printing/*.xbm $(DISTDIR)/samples/printing | |
641d87d8 RR |
793 | mkdir $(DISTDIR)/samples/dialogs |
794 | cp $(SAMPDIR)/dialogs/Makefile.in $(DISTDIR)/samples/dialogs | |
795 | cp $(SAMPDIR)/dialogs/*.cpp $(DISTDIR)/samples/dialogs | |
796 | cp $(SAMPDIR)/dialogs/*.h $(DISTDIR)/samples/dialogs | |
797 | cp $(SAMPDIR)/dialogs/*.txt $(DISTDIR)/samples/dialogs | |
798 | mkdir $(DISTDIR)/samples/dnd | |
799 | cp $(SAMPDIR)/dnd/Makefile.in $(DISTDIR)/samples/dnd | |
800 | cp $(SAMPDIR)/dnd/*.cpp $(DISTDIR)/samples/dnd | |
801 | cp $(SAMPDIR)/dnd/*.xpm $(DISTDIR)/samples/dnd | |
802 | cp $(SAMPDIR)/dnd/*.txt $(DISTDIR)/samples/dnd | |
803 | cp $(SAMPDIR)/dnd/*.png $(DISTDIR)/samples/dnd | |
804 | mkdir $(DISTDIR)/samples/docview | |
805 | cp $(SAMPDIR)/docview/Makefile.in $(DISTDIR)/samples/docview | |
806 | cp $(SAMPDIR)/docview/*.cpp $(DISTDIR)/samples/docview | |
807 | cp $(SAMPDIR)/docview/*.h $(DISTDIR)/samples/docview | |
808 | cp $(SAMPDIR)/docview/*.xpm $(DISTDIR)/samples/docview | |
809 | mkdir $(DISTDIR)/samples/docvwmdi | |
810 | cp $(SAMPDIR)/docvwmdi/Makefile.in $(DISTDIR)/samples/docvwmdi | |
811 | cp $(SAMPDIR)/docvwmdi/*.cpp $(DISTDIR)/samples/docvwmdi | |
812 | cp $(SAMPDIR)/docvwmdi/*.h $(DISTDIR)/samples/docvwmdi | |
813 | mkdir $(DISTDIR)/samples/drawing | |
814 | cp $(SAMPDIR)/drawing/Makefile.in $(DISTDIR)/samples/drawing | |
815 | cp $(SAMPDIR)/drawing/*.cpp $(DISTDIR)/samples/drawing | |
816 | cp $(SAMPDIR)/drawing/*.xpm $(DISTDIR)/samples/drawing | |
817 | mkdir $(DISTDIR)/samples/dynamic | |
818 | cp $(SAMPDIR)/dynamic/Makefile.in $(DISTDIR)/samples/dynamic | |
819 | cp $(SAMPDIR)/dynamic/*.cpp $(DISTDIR)/samples/dynamic | |
820 | cp $(SAMPDIR)/dynamic/*.xpm $(DISTDIR)/samples/dynamic | |
821 | mkdir $(DISTDIR)/samples/html | |
822 | cp $(SAMPDIR)/html/Makefile.in $(DISTDIR)/samples/html | |
823 | mkdir $(DISTDIR)/samples/html/about | |
824 | cp $(SAMPDIR)/html/about/Makefile.in $(DISTDIR)/samples/html/about | |
825 | cp $(SAMPDIR)/html/about/*.cpp $(DISTDIR)/samples/html/about | |
826 | mkdir $(DISTDIR)/samples/html/about/data | |
827 | cp $(SAMPDIR)/html/about/data/*.htm $(DISTDIR)/samples/html/about/data | |
828 | cp $(SAMPDIR)/html/about/data/*.png $(DISTDIR)/samples/html/about/data | |
829 | mkdir $(DISTDIR)/samples/html/help | |
830 | cp $(SAMPDIR)/html/help/Makefile.in $(DISTDIR)/samples/html/help | |
831 | cp $(SAMPDIR)/html/help/*.cpp $(DISTDIR)/samples/html/help | |
832 | mkdir $(DISTDIR)/samples/html/help/helpfiles | |
833 | cp $(SAMPDIR)/html/help/helpfiles/*.??? $(DISTDIR)/samples/html/help/helpfiles | |
834 | mkdir $(DISTDIR)/samples/html/printing | |
835 | cp $(SAMPDIR)/html/printing/Makefile.in $(DISTDIR)/samples/html/printing | |
836 | cp $(SAMPDIR)/html/printing/*.xpm $(DISTDIR)/samples/html/printing | |
837 | cp $(SAMPDIR)/html/printing/*.cpp $(DISTDIR)/samples/html/printing | |
838 | cp $(SAMPDIR)/html/printing/*.h $(DISTDIR)/samples/html/printing | |
839 | cp $(SAMPDIR)/html/printing/*.png $(DISTDIR)/samples/html/printing | |
840 | cp $(SAMPDIR)/html/printing/*.htm $(DISTDIR)/samples/html/printing | |
841 | mkdir $(DISTDIR)/samples/html/test | |
842 | cp $(SAMPDIR)/html/test/Makefile.in $(DISTDIR)/samples/html/test | |
843 | cp $(SAMPDIR)/html/test/*.cpp $(DISTDIR)/samples/html/test | |
844 | cp $(SAMPDIR)/html/test/*.bmp $(DISTDIR)/samples/html/test | |
845 | cp $(SAMPDIR)/html/test/*.png $(DISTDIR)/samples/html/test | |
846 | cp $(SAMPDIR)/html/test/*.htm $(DISTDIR)/samples/html/test | |
847 | cp $(SAMPDIR)/html/test/*.html $(DISTDIR)/samples/html/test | |
848 | mkdir $(DISTDIR)/samples/html/virtual | |
849 | cp $(SAMPDIR)/html/virtual/Makefile.in $(DISTDIR)/samples/html/virtual | |
850 | cp $(SAMPDIR)/html/virtual/*.cpp $(DISTDIR)/samples/html/virtual | |
851 | cp $(SAMPDIR)/html/virtual/*.htm $(DISTDIR)/samples/html/virtual | |
852 | mkdir $(DISTDIR)/samples/html/widget | |
853 | cp $(SAMPDIR)/html/widget/Makefile.in $(DISTDIR)/samples/html/widget | |
854 | cp $(SAMPDIR)/html/widget/*.cpp $(DISTDIR)/samples/html/widget | |
855 | cp $(SAMPDIR)/html/widget/*.htm $(DISTDIR)/samples/html/widget | |
856 | mkdir $(DISTDIR)/samples/html/zip | |
857 | cp $(SAMPDIR)/html/zip/Makefile.in $(DISTDIR)/samples/html/zip | |
858 | cp $(SAMPDIR)/html/zip/*.cpp $(DISTDIR)/samples/html/zip | |
859 | cp $(SAMPDIR)/html/zip/*.htm $(DISTDIR)/samples/html/zip | |
860 | cp $(SAMPDIR)/html/zip/*.zip $(DISTDIR)/samples/html/zip | |
861 | mkdir $(DISTDIR)/samples/image | |
862 | cp $(SAMPDIR)/image/Makefile.in $(DISTDIR)/samples/image | |
863 | cp $(SAMPDIR)/image/*.cpp $(DISTDIR)/samples/image | |
864 | cp $(SAMPDIR)/image/horse.* $(DISTDIR)/samples/image | |
865 | mkdir $(DISTDIR)/samples/layout | |
866 | cp $(SAMPDIR)/layout/Makefile.in $(DISTDIR)/samples/layout | |
867 | cp $(SAMPDIR)/layout/*.cpp $(DISTDIR)/samples/layout | |
868 | cp $(SAMPDIR)/layout/*.h $(DISTDIR)/samples/layout | |
869 | mkdir $(DISTDIR)/samples/listctrl | |
870 | cp $(SAMPDIR)/listctrl/Makefile.in $(DISTDIR)/samples/listctrl | |
871 | cp $(SAMPDIR)/listctrl/*.cpp $(DISTDIR)/samples/listctrl | |
872 | cp $(SAMPDIR)/listctrl/*.h $(DISTDIR)/samples/listctrl | |
873 | cp $(SAMPDIR)/listctrl/*.xpm $(DISTDIR)/samples/listctrl | |
874 | mkdir $(DISTDIR)/samples/listctrl/bitmap | |
875 | cp $(SAMPDIR)/listctrl/*.xpm $(DISTDIR)/samples/listctrl/bitmaps | |
876 | mkdir $(DISTDIR)/samples/mdi | |
877 | cp $(SAMPDIR)/mdi/Makefile.in $(DISTDIR)/samples/mdi | |
878 | cp $(SAMPDIR)/mdi/*.cpp $(DISTDIR)/samples/mdi | |
879 | cp $(SAMPDIR)/mdi/*.h $(DISTDIR)/samples/mdi | |
880 | cp $(SAMPDIR)/mdi/*.xpm $(DISTDIR)/samples/mdi | |
881 | mkdir $(DISTDIR)/samples/minifram | |
882 | cp $(SAMPDIR)/minifram/Makefile.in $(DISTDIR)/samples/minifram | |
883 | cp $(SAMPDIR)/minifram/*.cpp $(DISTDIR)/samples/minifram | |
884 | cp $(SAMPDIR)/minifram/*.h $(DISTDIR)/samples/minifram | |
885 | cp $(SAMPDIR)/minifram/*.xpm $(DISTDIR)/samples/minifram | |
886 | mkdir $(DISTDIR)/samples/minifram/bitmap | |
887 | cp $(SAMPDIR)/minifram/*.xpm $(DISTDIR)/samples/minifram/bitmaps | |
888 | mkdir $(DISTDIR)/samples/minimal | |
889 | cp $(SAMPDIR)/minimal/Makefile.in $(DISTDIR)/samples/minimal | |
890 | cp $(SAMPDIR)/minimal/*.cpp $(DISTDIR)/samples/minimal | |
891 | cp $(SAMPDIR)/minimal/*.xpm $(DISTDIR)/samples/minimal | |
f85afd4e MB |
892 | mkdir $(DISTDIR)/samples/newgrid |
893 | cp $(SAMPDIR)/newgrid/Makefile.in $(DISTDIR)/samples/newgrid | |
894 | cp $(SAMPDIR)/newgrid/*.cpp $(DISTDIR)/samples/newgrid | |
895 | cp $(SAMPDIR)/newgrid/*.h $(DISTDIR)/samples/newgrid | |
641d87d8 RR |
896 | mkdir $(DISTDIR)/samples/notebook |
897 | cp $(SAMPDIR)/notebook/Makefile.in $(DISTDIR)/samples/notebook | |
898 | cp $(SAMPDIR)/notebook/*.cpp $(DISTDIR)/samples/notebook | |
899 | cp $(SAMPDIR)/notebook/*.h $(DISTDIR)/samples/notebook | |
900 | mkdir $(DISTDIR)/samples/proplist | |
901 | cp $(SAMPDIR)/proplist/Makefile.in $(DISTDIR)/samples/proplist | |
902 | cp $(SAMPDIR)/proplist/*.cpp $(DISTDIR)/samples/proplist | |
903 | cp $(SAMPDIR)/proplist/*.h $(DISTDIR)/samples/proplist | |
904 | mkdir $(DISTDIR)/samples/sashtest | |
905 | cp $(SAMPDIR)/sashtest/Makefile.in $(DISTDIR)/samples/sashtest | |
906 | cp $(SAMPDIR)/sashtest/*.cpp $(DISTDIR)/samples/sashtest | |
907 | cp $(SAMPDIR)/sashtest/*.h $(DISTDIR)/samples/sashtest | |
908 | mkdir $(DISTDIR)/samples/scroll | |
909 | cp $(SAMPDIR)/scroll/Makefile.in $(DISTDIR)/samples/scroll | |
910 | cp $(SAMPDIR)/scroll/*.cpp $(DISTDIR)/samples/scroll | |
911 | mkdir $(DISTDIR)/samples/splitter | |
912 | cp $(SAMPDIR)/splitter/Makefile.in $(DISTDIR)/samples/splitter | |
913 | cp $(SAMPDIR)/splitter/*.cpp $(DISTDIR)/samples/splitter | |
914 | mkdir $(DISTDIR)/samples/text | |
915 | cp $(SAMPDIR)/text/Makefile.in $(DISTDIR)/samples/text | |
916 | cp $(SAMPDIR)/text/*.cpp $(DISTDIR)/samples/text | |
917 | cp $(SAMPDIR)/text/*.xpm $(DISTDIR)/samples/text | |
918 | mkdir $(DISTDIR)/samples/thread | |
919 | cp $(SAMPDIR)/thread/Makefile.in $(DISTDIR)/samples/thread | |
920 | cp $(SAMPDIR)/thread/*.cpp $(DISTDIR)/samples/thread | |
921 | mkdir $(DISTDIR)/samples/toolbar | |
922 | cp $(SAMPDIR)/toolbar/Makefile.in $(DISTDIR)/samples/toolbar | |
923 | cp $(SAMPDIR)/toolbar/*.cpp $(DISTDIR)/samples/toolbar | |
924 | cp $(SAMPDIR)/toolbar/*.h $(DISTDIR)/samples/toolbar | |
925 | cp $(SAMPDIR)/toolbar/*.xpm $(DISTDIR)/samples/toolbar | |
926 | mkdir $(DISTDIR)/samples/toolbar/bitmap | |
927 | cp $(SAMPDIR)/toolbar/*.xpm $(DISTDIR)/samples/toolbar/bitmaps | |
928 | mkdir $(DISTDIR)/samples/treectrl | |
929 | cp $(SAMPDIR)/treectrl/Makefile.in $(DISTDIR)/samples/treectrl | |
930 | cp $(SAMPDIR)/treectrl/*.cpp $(DISTDIR)/samples/treectrl | |
931 | cp $(SAMPDIR)/treectrl/*.h $(DISTDIR)/samples/treectrl | |
932 | cp $(SAMPDIR)/treectrl/*.xpm $(DISTDIR)/samples/treectrl | |
933 | mkdir $(DISTDIR)/samples/typetest | |
934 | cp $(SAMPDIR)/typetest/Makefile.in $(DISTDIR)/samples/typetest | |
935 | cp $(SAMPDIR)/typetest/*.cpp $(DISTDIR)/samples/typetest | |
936 | cp $(SAMPDIR)/typetest/*.h $(DISTDIR)/samples/typetest | |
937 | cp $(SAMPDIR)/typetest/*.xpm $(DISTDIR)/samples/typetest | |
938 | mkdir $(DISTDIR)/samples/validate | |
939 | cp $(SAMPDIR)/validate/Makefile.in $(DISTDIR)/samples/validate | |
940 | cp $(SAMPDIR)/validate/*.cpp $(DISTDIR)/samples/validate | |
941 | cp $(SAMPDIR)/validate/*.h $(DISTDIR)/samples/validate | |
942 | cp $(SAMPDIR)/validate/*.xpm $(DISTDIR)/samples/validate | |
943 | mkdir $(DISTDIR)/samples/wizard | |
944 | cp $(SAMPDIR)/wizard/Makefile.in $(DISTDIR)/samples/wizard | |
945 | cp $(SAMPDIR)/wizard/*.cpp $(DISTDIR)/samples/wizard | |
946 | cp $(SAMPDIR)/wizard/*.xpm $(DISTDIR)/samples/wizard | |
947 | mkdir $(DISTDIR)/samples/wxpoem | |
948 | cp $(SAMPDIR)/wxpoem/Makefile.in $(DISTDIR)/samples/wxpoem | |
949 | cp $(SAMPDIR)/wxpoem/*.cpp $(DISTDIR)/samples/wxpoem | |
950 | cp $(SAMPDIR)/wxpoem/*.xpm $(DISTDIR)/samples/wxpoem | |
951 | cp $(SAMPDIR)/wxpoem/*.dat $(DISTDIR)/samples/wxpoem | |
952 | cp $(SAMPDIR)/wxpoem/*.txt $(DISTDIR)/samples/wxpoem | |
953 | mkdir $(DISTDIR)/samples/wxsocket | |
954 | cp $(SAMPDIR)/wxsocket/Makefile.in $(DISTDIR)/samples/wxsocket | |
955 | cp $(SAMPDIR)/wxsocket/*.cpp $(DISTDIR)/samples/wxsocket | |
956 | cp $(SAMPDIR)/wxsocket/*.xpm $(DISTDIR)/samples/wxsocket | |
957 | ||
958 | UTILS_DIST: | |
959 | mkdir $(DISTDIR)/utils | |
960 | cp $(UTILSDIR)/Makefile.in $(DISTDIR)/utils | |
961 | mkdir $(DISTDIR)/utils/wxMMedia2 | |
962 | cp $(UTILSDIR)/wxMMedia2/Makefile.in $(DISTDIR)/utils/wxMMedia2 | |
963 | mkdir $(DISTDIR)/utils/wxMMedia2/lib | |
964 | cp $(UTILSDIR)/wxMMedia2/lib/Makefile.in $(DISTDIR)/utils/wxMMedia2/lib | |
965 | cp $(UTILSDIR)/wxMMedia2/lib/*.h $(DISTDIR)/utils/wxMMedia2/lib | |
966 | cp $(UTILSDIR)/wxMMedia2/lib/*.cpp $(DISTDIR)/utils/wxMMedia2/lib | |
967 | cp $(UTILSDIR)/wxMMedia2/lib/*.def $(DISTDIR)/utils/wxMMedia2/lib | |
968 | mkdir $(DISTDIR)/utils/wxMMedia2/sample | |
969 | cp $(UTILSDIR)/wxMMedia2/sample/Makefile.in $(DISTDIR)/utils/wxMMedia2/sample | |
970 | cp $(UTILSDIR)/wxMMedia2/sample/*.cpp $(DISTDIR)/utils/wxMMedia2/sample | |
971 | mkdir $(DISTDIR)/utils/glcanvas | |
972 | cp $(UTILSDIR)/glcanvas/Makefile.in $(DISTDIR)/utils/glcanvas | |
973 | cp $(UTILSDIR)/glcanvas/docs/notes.txt $(DISTDIR)/utils/glcanvas/NOTES.txt | |
974 | mkdir $(DISTDIR)/utils/glcanvas/$(TOOLKITDIR) | |
975 | cp $(UTILSDIR)/glcanvas/$(TOOLKITDIR)/Makefile.in $(DISTDIR)/utils/glcanvas/$(TOOLKITDIR) | |
976 | cp $(UTILSDIR)/glcanvas/$(TOOLKITDIR)/*.h $(DISTDIR)/utils/glcanvas/$(TOOLKITDIR) | |
977 | cp $(UTILSDIR)/glcanvas/$(TOOLKITDIR)/*.cpp $(DISTDIR)/utils/glcanvas/$(TOOLKITDIR) | |
978 | ||
a6f3598d RR |
979 | MISC_DIST: |
980 | mkdir $(DISTDIR)/misc | |
981 | mkdir $(DISTDIR)/misc/afm | |
982 | cp $(MISCDIR)/afm/*.afm $(DISTDIR)/misc/afm | |
983 | mkdir $(DISTDIR)/misc/gs_afm | |
984 | cp $(MISCDIR)/gs_afm/*.afm $(DISTDIR)/misc/gs_afm | |
985 | ||
986 | dist: ALL_DIST @GUIDIST@ SAMPLES_DIST UTILS_DIST MISC_DIST | |
a4aad961 | 987 | cd _dist_dir; tar ch wx$(TOOLKIT) | gzip -f9 > $(WXARCHIVE); mv $(WXARCHIVE) .. |
0b129e1a | 988 | $(RM) -r _dist_dir |
a4aad961 | 989 | |
f56b8330 | 990 | clean: |
0b129e1a | 991 | $(RM) *.o |
5586805b | 992 | $(RM) *.d |
0b129e1a KB |
993 | $(RM) parser.c |
994 | $(RM) lexer.c | |
995 | $(RM) ./lib/* | |
f56b8330 RR |
996 | |
997 | cleanall: clean |