]> git.saurik.com Git - wxWidgets.git/blame_incremental - distrib/msw/tmake/unx.t
2.1.5 quickie release
[wxWidgets.git] / distrib / msw / tmake / unx.t
... / ...
CommitLineData
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 ($fileobj = $file) =~ s/cp?p?$/\o/;
55 ($filedep = $file) =~ s/cp?p?$/\d/;
56
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 }
62
63 #! if it's the wxBase-only file, nothing more to do with it
64 next if $wxCommon{$file} =~ /\bBO\b/;
65
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 }
74
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 }
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
92 $file2 = $file;
93 $file =~ s/cp?p?$/\o/;
94 $file2 =~ s/cp?p?$/\d/;
95 $project{"WXMSW_GUIOBJS"} .= $file . " ";
96 $project{"WXMSW_GUIDEPS"} .= $file2 . " "
97 }
98
99 foreach $file (sort keys %wxGTK) {
100 $file2 = $file;
101 $file =~ s/cp?p?$/\o/;
102 $file2 =~ s/cp?p?$/\d/;
103 $project{"WXGTK_GUIOBJS"} .= $file . " ";
104 $project{"WXGTK_GUIDEPS"} .= $file2 . " "
105 }
106
107 foreach $file (sort keys %wxMOTIF) {
108 $file2 = $file;
109 $file =~ s/cp?p?$/\o/;
110 $file2 =~ s/cp?p?$/\d/;
111 $project{"WXMOTIF_GUIOBJS"} .= $file . " ";
112 $project{"WXMOTIF_GUIDEPS"} .= $file2 . " "
113 }
114
115 #! others
116
117 foreach $file (sort keys %wxHTML) {
118 $file2 = $file;
119 $file =~ s/cp?p?$/\o/;
120 $file2 =~ s/cp?p?$/\d/;
121 $project{"WXHTMLOBJS"} .= $file . " ";
122 $project{"WXHTMLDEPS"} .= $file2 . " "
123 }
124
125 foreach $file (sort keys %wxUNIX) {
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 . " "
137 }
138
139 #! headers
140
141 foreach $file (sort keys %wxWXINCLUDE) {
142 $project{"WX_HEADERS"} .= $file . " ";
143 $project{"BASE_HEADERS"} .= $file . " " if $wxWXINCLUDE{$file} =~ /\bB\b/;
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
158 foreach $file (sort keys %wxMSWINCLUDE) {
159 $project{"WXMSW_HEADERS"} .= "msw/" . $file . " "
160 }
161
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 }
173#$}
174#
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
189###################################################################
190
191include ./src/make.env
192
193############## override make.env for PIC ##########################
194
195# Clears all default suffixes
196.SUFFIXES: .o .cpp .c .cxx
197
198.c.o :
199 $(CCC) -c @DEP_INFO_FLAGS@ $(CFLAGS) $(PICFLAGS) -o $@ $<
200
201.cpp.o :
202 $(CC) -c @DEP_INFO_FLAGS@ $(CPPFLAGS) $(PICFLAGS) -o $@ $<
203
204.cxx.o :
205 $(CC) -c @DEP_INFO_FLAGS@ $(CPPFLAGS) $(PICFLAGS) -o $@ $<
206
207########################### Paths #################################
208
209srcdir = @srcdir@
210
211VP1 = @top_srcdir@/src/common
212VP2 = @top_srcdir@/src/@TOOLKIT_DIR@
213VP3 = @top_srcdir@/src/motif/xmcombo
214VP4 = @top_srcdir@/src/generic
215VP5 = @top_srcdir@/src/unix
216VP6 = @top_srcdir@/src/html
217VP7 = @top_srcdir@/src/png
218VP8 = @top_srcdir@/src/jpeg
219VP9 = @top_srcdir@/src/zlib
220VP10 = @top_srcdir@/src/iodbc
221
222VPATH = $(VP1):$(VP2):$(VP3):$(VP4):$(VP5):$(VP6):$(VP7):$(VP8):$(VP9):$(VP10)
223
224top_srcdir = @top_srcdir@
225prefix = @prefix@
226exec_prefix = @exec_prefix@
227
228bindir = @bindir@
229sbindir = @sbindir@
230libexecdir = @libexecdir@
231datadir = @datadir@
232sysconfdir = @sysconfdir@
233sharedstatedir = @sharedstatedir@
234localstatedir = @localstatedir@
235libdir = @libdir@
236infodir = @infodir@
237mandir = @mandir@
238includedir = @includedir@
239oldincludedir = /usr/include
240
241DESTDIR =
242
243pkgdatadir = $(datadir)/@PACKAGE@
244pkglibdir = $(libdir)/@PACKAGE@
245pkgincludedir = $(includedir)/@PACKAGE@
246
247top_builddir = .
248
249INSTALL = @INSTALL@
250INSTALL_PROGRAM = @INSTALL_PROGRAM@
251INSTALL_DATA = @INSTALL_DATA@
252# my autoconf doesn't set this
253#INSTALL_SCRIPT = @INSTALL_SCRIPT@
254# maybe do an additional chmod if needed?
255INSTALL_SCRIPT = @INSTALL@
256transform = @program_transform_name@
257
258NORMAL_INSTALL = :
259PRE_INSTALL = :
260POST_INSTALL = :
261NORMAL_UNINSTALL = :
262PRE_UNINSTALL = :
263POST_UNINSTALL = :
264build_alias = @build_alias@
265build_triplet = @build@
266host_alias = @host_alias@
267host_triplet = @host@
268target_alias = @target_alias@
269target_triplet = @target@
270
271############################# Dirs #################################
272
273WXDIR = $(top_srcdir)
274
275# Subordinate library possibilities
276
277SRCDIR = $(WXDIR)/src
278GENDIR = $(WXDIR)/src/generic
279COMMDIR = $(WXDIR)/src/common
280HTMLDIR = $(WXDIR)/src/html
281UNIXDIR = $(WXDIR)/src/unix
282PNGDIR = $(WXDIR)/src/png
283JPEGDIR = $(WXDIR)/src/jpeg
284ZLIBDIR = $(WXDIR)/src/zlib
285GTKDIR = $(WXDIR)/src/gtk
286MOTIFDIR = $(WXDIR)/src/motif
287MSWDIR = $(WXDIR)/src/msw
288INCDIR = $(WXDIR)/include
289SAMPDIR = $(WXDIR)/samples
290UTILSDIR = $(WXDIR)/utils
291MISCDIR = $(WXDIR)/misc
292
293DOCDIR = $(WXDIR)/docs
294
295########################## Archive name ###############################
296
297WXARCHIVE = wx$(TOOLKIT)-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER)-b9.tgz
298DISTDIR = ./_dist_dir/wx$(TOOLKIT)
299
300############################## Files ##################################
301
302BASE_HEADERS = \
303 #$ ExpandList("BASE_HEADERS");
304
305WX_HEADERS = \
306 #$ ExpandList("WX_HEADERS");
307
308GTK_HEADERS = \
309 #$ ExpandList("WXGTK_HEADERS");
310
311MOTIF_HEADERS = \
312 #$ ExpandList("WXMOTIF_HEADERS");
313
314MSW_HEADERS = \
315 #$ ExpandList("WXMSW_HEADERS");
316
317UNIX_HEADERS = \
318 #$ ExpandList("WXUNIX_HEADERS");
319
320GENERIC_HEADERS = \
321 #$ ExpandList("WXGENERIC_HEADERS");
322
323PROTOCOL_HEADERS = \
324 #$ ExpandList("WXPROTOCOL_HEADERS");
325
326HTML_HEADERS = \
327 #$ ExpandList("WXHTML_HEADERS");
328
329GTK_GENERICOBJS = \
330 #$ ExpandList("WXGTK_GENERICOBJS");
331
332GTK_GENERICDEPS = \
333 #$ ExpandList("WXGTK_GENERICDEPS");
334
335GTK_COMMONOBJS = \
336 parser.o \
337 #$ ExpandList("WXGTK_COMMONOBJS");
338
339GTK_COMMONDEPS = \
340 parser.d \
341 #$ ExpandList("WXGTK_COMMONDEPS");
342
343GTK_GUIOBJS = \
344 #$ ExpandList("WXGTK_GUIOBJS");
345
346GTK_GUIDEPS = \
347 #$ ExpandList("WXGTK_GUIDEPS");
348
349MOTIF_GENERICOBJS = \
350 #$ ExpandList("WXMOTIF_GENERICOBJS");
351
352MOTIF_GENERICDEPS = \
353 #$ ExpandList("WXMOTIF_GENERICDEPS");
354
355MOTIF_COMMONOBJS = \
356 parser.o \
357 #$ ExpandList("WXMOTIF_COMMONOBJS");
358
359MOTIF_COMMONDEPS = \
360 parser.d \
361 #$ ExpandList("WXMOTIF_COMMONDEPS");
362
363MOTIF_GUIOBJS = \
364 xmcombo.o \
365 #$ ExpandList("WXMOTIF_GUIOBJS");
366
367MOTIF_GUIDEPS = \
368 xmcombo.d \
369 #$ ExpandList("WXMOTIF_GUIDEPS");
370
371MSW_GENERICOBJS = \
372 #$ ExpandList("WXMSW_GENERICOBJS");
373
374MSW_GENERICDEPS = \
375 #$ ExpandList("WXMSW_GENERICDEPS");
376
377MSW_COMMONOBJS = \
378 parser.o \
379 #$ ExpandList("WXMSW_COMMONOBJS");
380
381MSW_COMMONDEPS = \
382 parser.d \
383 #$ ExpandList("WXMSW_COMMONDEPS");
384
385MSW_GUIOBJS = \
386 #$ ExpandList("WXMSW_GUIOBJS");
387
388MSW_GUIDEPS = \
389 #$ ExpandList("WXMSW_GUIDEPS");
390
391BASE_OBJS = \
392 #$ ExpandList("BASE_OBJS");
393
394BASE_DEPS = \
395 #$ ExpandList("BASE_DEPS");
396
397HTMLOBJS = \
398 #$ ExpandList("WXHTMLOBJS");
399
400HTMLDEPS = \
401 #$ ExpandList("WXHTMLDEPS");
402
403UNIX_OBJS = \
404 #$ ExpandList("WXUNIX_OBJS");
405
406UNIX_DEPS = \
407 #$ ExpandList("WXUNIX_DEPS");
408
409ZLIBOBJS = \
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
424
425PNGOBJS = \
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
441
442
443JPEGOBJS = \
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
490
491IODBCOBJS = \
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
508GUIOBJS = @GUIOBJS@
509GUIDEPS = @GUIDEPS@
510GUIHEADERS = @GUIHEADERS@
511COMMONOBJS = @COMMONOBJS@
512COMMONDEPS = @COMMONDEPS@
513GENERICOBJS = @GENERICOBJS@
514GENERICDEPS = @GENERICDEPS@
515UNIXOBJS = @UNIXOBJS@
516UNIXDEPS = @UNIXDEPS@
517
518OBJECTS = @ALL_OBJECTS@ $(IODBCOBJS)
519
520DEPFILES = @ALL_DEPFILES@
521
522HEADERS = @ALL_HEADERS@
523
524all: @WX_ALL@
525
526@WX_LIBRARY_NAME_STATIC@: $(OBJECTS)
527 @$(INSTALL) -d ./lib
528 $(AR) $(AROPTIONS) ./lib/$@ $(OBJECTS)
529 $(RANLIB) ./lib/$@
530
531@WX_LIBRARY_NAME_SHARED@: $(OBJECTS)
532 @$(INSTALL) -d ./lib
533 $(SHARED_LD) ./lib/$@ $(OBJECTS) $(EXTRALIBS)
534
535CREATE_LINKS: @WX_LIBRARY_NAME_SHARED@
536 @$(RM) ./lib/@WX_LIBRARY_LINK1@
537 @$(RM) ./lib/@WX_LIBRARY_LINK2@
538 @$(RM) ./lib/@WX_LIBRARY_LINK3@
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@
542
543CREATE_INSTALLED_LINKS: $(libdir)/@WX_LIBRARY_NAME_SHARED@
544 $(RM) $(libdir)/@WX_LIBRARY_LINK1@
545 $(RM) $(libdir)/@WX_LIBRARY_LINK2@
546 $(RM) $(libdir)/@WX_LIBRARY_LINK3@
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@
550
551$(OBJECTS): $(WXDIR)/include/wx/defs.h $(WXDIR)/include/wx/object.h $(WXDIR)/include/wx/setup.h
552
553parser.o: parser.c lexer.c
554 $(CCLEX) -c $(CFLAGS) $(PICFLAGS) -o $@ parser.c
555
556parser.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
566lexer.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
574-include $(DEPFILES)
575
576preinstall: $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(top_builddir)/wx-config $(top_builddir)/setup.h
577 @echo " "
578 @echo " Installing wxWindows..."
579 @echo " "
580
581 $(INSTALL) -d $(prefix)
582 $(INSTALL) -d $(bindir)
583 $(INSTALL) -d $(libdir)
584 $(INSTALL) -d $(datadir)
585
586 $(INSTALL_SCRIPT) $(top_builddir)/wx-config $(bindir)/wx-config
587 $(INSTALL_PROGRAM) $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(libdir)/@WX_TARGET_LIBRARY@
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@
593 $(INSTALL_DATA) $(top_builddir)/setup.h $(libdir)/wx/include/wx/@TOOLKIT_DIR@/setup.h
594
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
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
609 @list='$(HEADERS)'; for p in $$list; do \
610 $(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p; \
611 echo "$(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p"; \
612 done
613
614write_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
626install: preinstall @WX_ALL_INSTALLED@ write_message
627
628uninstall:
629 @echo " "
630 @echo " Uninstalling wxWindows..."
631 @echo " "
632 @echo " Removing library..."
633 @$(RM) $(libdir)/@WX_TARGET_LIBRARY@
634 @$(RM) $(libdir)/@WX_LIBRARY_LINK1@
635 @$(RM) $(libdir)/@WX_LIBRARY_LINK2@
636 @$(RM) $(libdir)/@WX_LIBRARY_LINK3@
637 @echo " Removing helper files..."
638 @$(RM) $(libdir)/wx/include/wx/@TOOLKIT_DIR@/setup.h
639 @$(RM) $(bindir)/wx-config
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
645 @echo " Removing headers..."
646 @list='$(HEADERS)'; for p in $$list; do \
647 $(RM) $(includedir)/wx/$$p; \
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
656 @if test -d $(includedir)/wx/msw; then rmdir $(includedir)/wx/msw; fi
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
662
663ALL_DIST:
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
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
729
730GTK_DIST:
731 cp $(WXDIR)/wxGTK.spec $(DISTDIR)
732 cp $(INCDIR)/wx/gtk/*.h $(DISTDIR)/include/wx/gtk
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
737
738MOTIF_DIST:
739 cp $(WXDIR)/wxMOTIF.spec $(DISTDIR)
740 cp $(INCDIR)/wx/motif/*.h $(DISTDIR)/include/wx/motif
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
747
748MSW_DIST:
749 cp $(WXDIR)/wxWINE.spec $(DISTDIR)
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
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
761SAMPLES_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
787 mkdir $(DISTDIR)/samples/printing
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
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
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
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
958UTILS_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
979MISC_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
986dist: ALL_DIST @GUIDIST@ SAMPLES_DIST UTILS_DIST MISC_DIST
987 cd _dist_dir; tar ch wx$(TOOLKIT) | gzip -f9 > $(WXARCHIVE); mv $(WXARCHIVE) ..
988 $(RM) -r _dist_dir
989
990clean:
991 $(RM) *.o
992 $(RM) *.d
993 $(RM) parser.c
994 $(RM) lexer.c
995 $(RM) ./lib/*
996
997cleanall: clean