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