]> git.saurik.com Git - wxWidgets.git/blob - distrib/msw/tmake/unx.t
more changes for wxBase - starts to work under Unix
[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 ($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
191 include ./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
209 srcdir = @srcdir@
210
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
220
221 VPATH = $(VP1):$(VP2):$(VP3):$(VP4):$(VP5):$(VP6):$(VP7):$(VP8):$(VP9)
222
223 top_srcdir = @top_srcdir@
224 prefix = @prefix@
225 exec_prefix = @exec_prefix@
226
227 bindir = @bindir@
228 sbindir = @sbindir@
229 libexecdir = @libexecdir@
230 datadir = @datadir@
231 sysconfdir = @sysconfdir@
232 sharedstatedir = @sharedstatedir@
233 localstatedir = @localstatedir@
234 libdir = @libdir@
235 infodir = @infodir@
236 mandir = @mandir@
237 includedir = @includedir@
238 oldincludedir = /usr/include
239
240 DESTDIR =
241
242 pkgdatadir = $(datadir)/@PACKAGE@
243 pkglibdir = $(libdir)/@PACKAGE@
244 pkgincludedir = $(includedir)/@PACKAGE@
245
246 top_builddir = .
247
248 INSTALL = @INSTALL@
249 INSTALL_PROGRAM = @INSTALL_PROGRAM@
250 INSTALL_DATA = @INSTALL_DATA@
251 # my autoconf doesn't set this
252 #INSTALL_SCRIPT = @INSTALL_SCRIPT@
253 # maybe do an additional chmod if needed?
254 INSTALL_SCRIPT = @INSTALL@
255 transform = @program_transform_name@
256
257 NORMAL_INSTALL = :
258 PRE_INSTALL = :
259 POST_INSTALL = :
260 NORMAL_UNINSTALL = :
261 PRE_UNINSTALL = :
262 POST_UNINSTALL = :
263 build_alias = @build_alias@
264 build_triplet = @build@
265 host_alias = @host_alias@
266 host_triplet = @host@
267 target_alias = @target_alias@
268 target_triplet = @target@
269
270 ############################# Dirs #################################
271
272 WXDIR = $(top_srcdir)
273
274 # Subordinate library possibilities
275
276 SRCDIR = $(WXDIR)/src
277 GENDIR = $(WXDIR)/src/generic
278 COMMDIR = $(WXDIR)/src/common
279 HTMLDIR = $(WXDIR)/src/html
280 UNIXDIR = $(WXDIR)/src/unix
281 PNGDIR = $(WXDIR)/src/png
282 JPEGDIR = $(WXDIR)/src/jpeg
283 ZLIBDIR = $(WXDIR)/src/zlib
284 GTKDIR = $(WXDIR)/src/gtk
285 MOTIFDIR = $(WXDIR)/src/motif
286 MSWDIR = $(WXDIR)/src/msw
287 INCDIR = $(WXDIR)/include
288 SAMPDIR = $(WXDIR)/samples
289 UTILSDIR = $(WXDIR)/utils
290 MISCDIR = $(WXDIR)/misc
291
292 DOCDIR = $(WXDIR)/docs
293
294 ########################## Archive name ###############################
295
296 WXARCHIVE = wx$(TOOLKIT)-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER)-b9.tgz
297 DISTDIR = ./_dist_dir/wx$(TOOLKIT)
298
299 ############################## Files ##################################
300
301 BASE_HEADERS = \
302 #$ ExpandList("BASE_HEADERS");
303
304 WX_HEADERS = \
305 #$ ExpandList("WX_HEADERS");
306
307 GTK_HEADERS = \
308 #$ ExpandList("WXGTK_HEADERS");
309
310 MOTIF_HEADERS = \
311 #$ ExpandList("WXMOTIF_HEADERS");
312
313 MSW_HEADERS = \
314 #$ ExpandList("WXMSW_HEADERS");
315
316 UNIX_HEADERS = \
317 #$ ExpandList("WXUNIX_HEADERS");
318
319 GENERIC_HEADERS = \
320 #$ ExpandList("WXGENERIC_HEADERS");
321
322 PROTOCOL_HEADERS = \
323 #$ ExpandList("WXPROTOCOL_HEADERS");
324
325 HTML_HEADERS = \
326 #$ ExpandList("WXHTML_HEADERS");
327
328 GTK_GENERICOBJS = \
329 #$ ExpandList("WXGTK_GENERICOBJS");
330
331 GTK_GENERICDEPS = \
332 #$ ExpandList("WXGTK_GENERICDEPS");
333
334 GTK_COMMONOBJS = \
335 parser.o \
336 #$ ExpandList("WXGTK_COMMONOBJS");
337
338 GTK_COMMONDEPS = \
339 parser.d \
340 #$ ExpandList("WXGTK_COMMONDEPS");
341
342 GTK_GUIOBJS = \
343 #$ ExpandList("WXGTK_GUIOBJS");
344
345 GTK_GUIDEPS = \
346 #$ ExpandList("WXGTK_GUIDEPS");
347
348 MOTIF_GENERICOBJS = \
349 #$ ExpandList("WXMOTIF_GENERICOBJS");
350
351 MOTIF_GENERICDEPS = \
352 #$ ExpandList("WXMOTIF_GENERICDEPS");
353
354 MOTIF_COMMONOBJS = \
355 parser.o \
356 #$ ExpandList("WXMOTIF_COMMONOBJS");
357
358 MOTIF_COMMONDEPS = \
359 parser.d \
360 #$ ExpandList("WXMOTIF_COMMONDEPS");
361
362 MOTIF_GUIOBJS = \
363 xmcombo.o \
364 #$ ExpandList("WXMOTIF_GUIOBJS");
365
366 MOTIF_GUIDEPS = \
367 xmcombo.d \
368 #$ ExpandList("WXMOTIF_GUIDEPS");
369
370 MSW_GENERICOBJS = \
371 #$ ExpandList("WXMSW_GENERICOBJS");
372
373 MSW_GENERICDEPS = \
374 #$ ExpandList("WXMSW_GENERICDEPS");
375
376 MSW_COMMONOBJS = \
377 parser.o \
378 #$ ExpandList("WXMSW_COMMONOBJS");
379
380 MSW_COMMONDEPS = \
381 parser.d \
382 #$ ExpandList("WXMSW_COMMONDEPS");
383
384 MSW_GUIOBJS = \
385 #$ ExpandList("WXMSW_GUIOBJS");
386
387 MSW_GUIDEPS = \
388 #$ ExpandList("WXMSW_GUIDEPS");
389
390 BASE_OBJS = \
391 #$ ExpandList("BASE_OBJS");
392
393 BASE_DEPS = \
394 #$ ExpandList("BASE_DEPS");
395
396 HTMLOBJS = \
397 #$ ExpandList("WXHTMLOBJS");
398
399 HTMLDEPS = \
400 #$ ExpandList("WXHTMLDEPS");
401
402 UNIX_OBJS = \
403 #$ ExpandList("WXUNIX_OBJS");
404
405 UNIX_DEPS = \
406 #$ ExpandList("WXUNIX_DEPS");
407
408 ZLIBOBJS = \
409 adler32.o \
410 compress.o \
411 crc32.o \
412 gzio.o \
413 uncompr.o \
414 deflate.o \
415 trees.o \
416 zutil.o \
417 inflate.o \
418 infblock.o \
419 inftrees.o \
420 infcodes.o \
421 infutil.o \
422 inffast.o
423
424 PNGOBJS = \
425 png.o \
426 pngread.o \
427 pngrtran.o \
428 pngrutil.o \
429 pngpread.o \
430 pngtrans.o \
431 pngwrite.o \
432 pngwtran.o \
433 pngwutil.o \
434 pngerror.o \
435 pngmem.o \
436 pngwio.o \
437 pngrio.o \
438 pngget.o \
439 pngset.o
440
441
442 JPEGOBJS = \
443 jcomapi.o \
444 jutils.o \
445 jerror.o \
446 jmemmgr.o \
447 jmemnobs.o \
448 jcapimin.o \
449 jcapistd.o \
450 jctrans.o \
451 jcparam.o \
452 jdatadst.o \
453 jcinit.o \
454 jcmaster.o \
455 jcmarker.o \
456 jcmainct.o \
457 jcprepct.o \
458 jccoefct.o \
459 jccolor.o \
460 jcsample.o \
461 jchuff.o \
462 jcphuff.o \
463 jcdctmgr.o \
464 jfdctfst.o \
465 jfdctflt.o \
466 jfdctint.o \
467 jdapimin.o \
468 jdapistd.o \
469 jdtrans.o \
470 jdatasrc.o \
471 jdmaster.o \
472 jdinput.o \
473 jdmarker.o \
474 jdhuff.o \
475 jdphuff.o \
476 jdmainct.o \
477 jdcoefct.o \
478 jdpostct.o \
479 jddctmgr.o \
480 jidctfst.o \
481 jidctflt.o \
482 jidctint.o \
483 jidctred.o \
484 jdsample.o \
485 jdcolor.o \
486 jquant1.o \
487 jquant2.o \
488 jdmerge.o
489
490 GUIOBJS = @GUIOBJS@
491 GUIDEPS = @GUIDEPS@
492 GUIHEADERS = @GUIHEADERS@
493 COMMONOBJS = @COMMONOBJS@
494 COMMONDEPS = @COMMONDEPS@
495 GENERICOBJS = @GENERICOBJS@
496 GENERICDEPS = @GENERICDEPS@
497 UNIXOBJS = @UNIXOBJS@
498 UNIXDEPS = @UNIXDEPS@
499
500 OBJECTS = @ALL_OBJECTS@
501
502 DEPFILES = @ALL_DEPFILES@
503
504 HEADERS = @ALL_HEADERS@
505
506 all: @WX_CREATE_LINKS@
507
508 @WX_LIBRARY_NAME_STATIC@: $(OBJECTS)
509 @$(INSTALL) -d ./lib
510 $(AR) $(AROPTIONS) ./lib/$@ $(OBJECTS)
511 $(RANLIB) ./lib/$@
512
513 @WX_LIBRARY_NAME_SHARED@: $(OBJECTS)
514 @$(INSTALL) -d ./lib
515 $(SHARED_LD) ./lib/$@ $(OBJECTS) $(EXTRALIBS)
516
517 CREATE_LINKS: @WX_TARGET_LIBRARY@
518 @$(RM) ./lib/@WX_LIBRARY_LINK1@
519 @$(RM) ./lib/@WX_LIBRARY_LINK2@
520 @$(RM) ./lib/@WX_LIBRARY_LINK3@
521 $(LN_S) @WX_TARGET_LIBRARY@ ./lib/@WX_LIBRARY_LINK1@
522 $(LN_S) @WX_TARGET_LIBRARY@ ./lib/@WX_LIBRARY_LINK2@
523 $(LN_S) @WX_TARGET_LIBRARY@ ./lib/@WX_LIBRARY_LINK3@
524
525 CREATE_INSTALLED_LINKS: $(libdir)/@WX_TARGET_LIBRARY@
526 $(RM) $(libdir)/@WX_LIBRARY_LINK1@
527 $(RM) $(libdir)/@WX_LIBRARY_LINK2@
528 $(RM) $(libdir)/@WX_LIBRARY_LINK3@
529 $(LN_S) @WX_TARGET_LIBRARY@ $(libdir)/@WX_LIBRARY_LINK1@
530 $(LN_S) @WX_TARGET_LIBRARY@ $(libdir)/@WX_LIBRARY_LINK2@
531 $(LN_S) @WX_TARGET_LIBRARY@ $(libdir)/@WX_LIBRARY_LINK3@
532
533 $(OBJECTS): $(WXDIR)/include/wx/defs.h $(WXDIR)/include/wx/object.h $(WXDIR)/include/wx/setup.h
534
535 parser.o: parser.c lexer.c
536 $(CCLEX) -c $(CFLAGS) $(PICFLAGS) -o $@ parser.c
537
538 parser.c: $(COMMDIR)/parser.y lexer.c
539 $(YACC) $(COMMDIR)/parser.y
540 @sed -e "s;$(COMMDIR)/y.tab.c;parser.y;g" < y.tab.c | \
541 sed -e "s/BUFSIZ/5000/g" | \
542 sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \
543 sed -e "s/yy/PROIO_yy/g" | \
544 sed -e "s/input/PROIO_input/g" | \
545 sed -e "s/unput/PROIO_unput/g" > parser.c
546 @$(RM) y.tab.c
547
548 lexer.c: $(COMMDIR)/lexer.l
549 $(LEX) $(COMMDIR)/lexer.l
550 @sed -e "s;$(COMMDIR)/lex.yy.c;lexer.l;g" < lex.yy.c | \
551 sed -e "s/yy/PROIO_yy/g" | \
552 sed -e "s/input/PROIO_input/g" | \
553 sed -e "s/unput/PROIO_unput/g" > lexer.c
554 @$(RM) lex.yy.c
555
556 -include $(DEPFILES)
557
558 preinstall: $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(top_builddir)/wx-config $(top_builddir)/setup.h
559 @echo " "
560 @echo " Installing wxWindows..."
561 @echo " "
562
563 $(INSTALL) -d $(prefix)
564 $(INSTALL) -d $(bindir)
565 $(INSTALL) -d $(libdir)
566 $(INSTALL) -d $(datadir)
567
568 $(INSTALL_SCRIPT) $(top_builddir)/wx-config $(bindir)/wx-config
569 $(INSTALL_PROGRAM) $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(libdir)/@WX_TARGET_LIBRARY@
570
571 $(INSTALL) -d $(libdir)/wx
572 $(INSTALL) -d $(libdir)/wx/include
573 $(INSTALL) -d $(libdir)/wx/include/wx
574 $(INSTALL) -d $(libdir)/wx/include/wx/@TOOLKIT_DIR@
575 $(INSTALL_DATA) $(top_builddir)/setup.h $(libdir)/wx/include/wx/@TOOLKIT_DIR@/setup.h
576
577 $(INSTALL) -d $(datadir)/wx
578 $(INSTALL) -d $(datadir)/wx/afm
579 $(INSTALL) -d $(datadir)/wx/gs_afm
580 $(INSTALL_DATA) $(top_srcdir)/misc/afm/*.afm $(datadir)/wx/afm
581 $(INSTALL_DATA) $(top_srcdir)/misc/gs_afm/*.afm $(datadir)/wx/gs_afm
582
583 $(INSTALL) -d $(includedir)/wx
584 $(INSTALL) -d $(includedir)/wx/msw
585 $(INSTALL) -d $(includedir)/wx/gtk
586 $(INSTALL) -d $(includedir)/wx/motif
587 $(INSTALL) -d $(includedir)/wx/html
588 $(INSTALL) -d $(includedir)/wx/protocol
589 $(INSTALL) -d $(includedir)/wx/unix
590 $(INSTALL) -d $(includedir)/wx/generic
591 @list='$(HEADERS)'; for p in $$list; do \
592 $(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p; \
593 echo "$(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p"; \
594 done
595
596 write_message:
597 @echo " "
598 @echo " The installation of wxWindows is finished. On certain"
599 @echo " platforms (e.g. Linux, Solaris) you'll now have to run"
600 @echo " ldconfig if you installed a shared library."
601 @echo " "
602 @echo " wxWindows comes with no guarantees and doesn't claim"
603 @echo " to be suitable for any purpose."
604 @echo " "
605 @echo " Read the wxWindows Licence on licencing conditions."
606 @echo " "
607
608 install: preinstall @WX_CREATE_INSTALLED_LINKS@ write_message
609
610 uninstall:
611 @echo " "
612 @echo " Uninstalling wxWindows..."
613 @echo " "
614 @echo " Removing library..."
615 @$(RM) $(libdir)/@WX_TARGET_LIBRARY@
616 @$(RM) $(libdir)/@WX_LIBRARY_LINK1@
617 @$(RM) $(libdir)/@WX_LIBRARY_LINK2@
618 @$(RM) $(libdir)/@WX_LIBRARY_LINK3@
619 @echo " Removing helper files..."
620 @$(RM) $(libdir)/wx/include/wx/@TOOLKIT_DIR@/setup.h
621 @$(RM) $(bindir)/wx-config
622 @$(RM) $(datadir)/wx/afm/*
623 @$(RM) $(datadir)/wx/gs_afm/*
624 @rmdir $(datadir)/wx/gs_afm
625 @rmdir $(datadir)/wx/afm
626 @rmdir $(datadir)/wx
627 @echo " Removing headers..."
628 @list='$(HEADERS)'; for p in $$list; do \
629 $(RM) $(includedir)/wx/$$p; \
630 done
631 @echo " Removing directories..."
632 @if test -d $(libdir)/wx/include/wx/@TOOLKIT_DIR@; then rmdir $(libdir)/wx/include/wx/@TOOLKIT_DIR@; fi
633 @if test -d $(libdir)/wx/include/wx; then rmdir $(libdir)/wx/include/wx; fi
634 @if test -d $(libdir)/wx/include; then rmdir $(libdir)/wx/include; fi
635 @if test -d $(libdir)/wx; then rmdir $(libdir)/wx; fi
636 @if test -d $(includedir)/wx/gtk; then rmdir $(includedir)/wx/gtk; fi
637 @if test -d $(includedir)/wx/motif; then rmdir $(includedir)/wx/motif; fi
638 @if test -d $(includedir)/wx/msw; then rmdir $(includedir)/wx/msw; fi
639 @if test -d $(includedir)/wx/html; then rmdir $(includedir)/wx/html; fi
640 @if test -d $(includedir)/wx/unix; then rmdir $(includedir)/wx/unix; fi
641 @if test -d $(includedir)/wx/generic; then rmdir $(includedir)/wx/generic; fi
642 @if test -d $(includedir)/wx/protocol; then rmdir $(includedir)/wx/protocol; fi
643 @if test -d $(includedir)/wx; then rmdir $(includedir)/wx; fi
644
645 ALL_DIST:
646 mkdir _dist_dir
647 mkdir $(DISTDIR)
648 cp $(WXDIR)/wx$(TOOLKIT).spec $(DISTDIR)
649 cp $(WXDIR)/configure $(DISTDIR)
650 cp $(WXDIR)/config.sub $(DISTDIR)
651 cp $(WXDIR)/config.guess $(DISTDIR)
652 cp $(WXDIR)/install-sh $(DISTDIR)
653 cp $(WXDIR)/mkinstalldirs $(DISTDIR)
654 cp $(WXDIR)/wx-config.in $(DISTDIR)
655 cp $(WXDIR)/setup.h.in $(DISTDIR)
656 cp $(WXDIR)/Makefile.in $(DISTDIR)
657 cp $(DOCDIR)/lgpl.txt $(DISTDIR)/COPYING.LIB
658 cp $(DOCDIR)/licence.txt $(DISTDIR)/LICENCE.txt
659 cp $(DOCDIR)/symbols.txt $(DISTDIR)/SYMBOLS.txt
660 cp $(DOCDIR)/$(TOOLKITDIR)/install.txt $(DISTDIR)/INSTALL.txt
661 cp $(DOCDIR)/$(TOOLKITDIR)/changes.txt $(DISTDIR)/CHANGES.txt
662 cp $(DOCDIR)/$(TOOLKITDIR)/readme.txt $(DISTDIR)/README.txt
663 cp $(DOCDIR)/$(TOOLKITDIR)/todo.txt $(DISTDIR)/TODO.txt
664 mkdir $(DISTDIR)/include
665 mkdir $(DISTDIR)/include/wx
666 mkdir $(DISTDIR)/include/wx/$(TOOLKITDIR)
667 mkdir $(DISTDIR)/include/wx/generic
668 mkdir $(DISTDIR)/include/wx/html
669 mkdir $(DISTDIR)/include/wx/unix
670 mkdir $(DISTDIR)/include/wx/protocol
671 cp $(INCDIR)/wx/*.h $(DISTDIR)/include/wx
672 cp $(INCDIR)/wx/*.cpp $(DISTDIR)/include/wx
673 cp $(INCDIR)/wx/generic/*.h $(DISTDIR)/include/wx/generic
674 cp $(INCDIR)/wx/generic/*.xpm $(DISTDIR)/include/wx/generic
675 cp $(INCDIR)/wx/html/*.h $(DISTDIR)/include/wx/html
676 cp $(INCDIR)/wx/unix/*.h $(DISTDIR)/include/wx/unix
677 cp $(INCDIR)/wx/protocol/*.h $(DISTDIR)/include/wx/protocol
678 mkdir $(DISTDIR)/src
679 mkdir $(DISTDIR)/src/common
680 mkdir $(DISTDIR)/src/generic
681 mkdir $(DISTDIR)/src/html
682 mkdir $(DISTDIR)/src/html/bitmaps
683 mkdir $(DISTDIR)/src/$(TOOLKITDIR)
684 mkdir $(DISTDIR)/src/unix
685 mkdir $(DISTDIR)/src/png
686 mkdir $(DISTDIR)/src/jpeg
687 mkdir $(DISTDIR)/src/zlib
688 cp $(SRCDIR)/*.in $(DISTDIR)/src
689 cp $(COMMDIR)/*.cpp $(DISTDIR)/src/common
690 cp $(COMMDIR)/*.c $(DISTDIR)/src/common
691 cp $(COMMDIR)/*.inc $(DISTDIR)/src/common
692 cp $(COMMDIR)/*.l $(DISTDIR)/src/common
693 cp $(COMMDIR)/*.h $(DISTDIR)/src/common
694 cp $(COMMDIR)/*.y $(DISTDIR)/src/common
695 cp $(GENDIR)/*.cpp $(DISTDIR)/src/generic
696 cp $(HTMLDIR)/*.cpp $(DISTDIR)/src/html
697 cp $(HTMLDIR)/*.h $(DISTDIR)/src/html
698 cp $(HTMLDIR)/bitmaps/*.xpm $(DISTDIR)/src/html/bitmaps
699 cp $(UNIXDIR)/*.h $(DISTDIR)/src/unix
700 cp $(UNIXDIR)/*.c $(DISTDIR)/src/unix
701 cp $(UNIXDIR)/*.cpp $(DISTDIR)/src/unix
702 cp $(PNGDIR)/*.h $(DISTDIR)/src/png
703 cp $(PNGDIR)/*.c $(DISTDIR)/src/png
704 cp $(PNGDIR)/README $(DISTDIR)/src/png
705 cp $(ZLIBDIR)/*.h $(DISTDIR)/src/zlib
706 cp $(ZLIBDIR)/*.c $(DISTDIR)/src/zlib
707 cp $(ZLIBDIR)/README $(DISTDIR)/src/zlib
708 cp $(JPEGDIR)/*.h $(DISTDIR)/src/jpeg
709 cp $(JPEGDIR)/*.c $(DISTDIR)/src/jpeg
710 cp $(JPEGDIR)/README $(DISTDIR)/src/jpeg
711
712 GTK_DIST:
713 cp $(WXDIR)/wxGTK.spec $(DISTDIR)
714 cp $(INCDIR)/wx/gtk/*.h $(DISTDIR)/include/wx/gtk
715 cp $(INCDIR)/wx/gtk/*.xpm $(DISTDIR)/include/wx/gtk
716 cp $(GTKDIR)/*.cpp $(DISTDIR)/src/gtk
717 cp $(GTKDIR)/*.c $(DISTDIR)/src/gtk
718 cp $(GTKDIR)/*.xbm $(DISTDIR)/src/gtk
719
720 MOTIF_DIST:
721 cp $(WXDIR)/wxMOTIF.spec $(DISTDIR)
722 cp $(INCDIR)/wx/motif/*.h $(DISTDIR)/include/wx/motif
723 cp $(MOTIFDIR)/*.cpp $(DISTDIR)/src/motif
724 cp $(MOTIFDIR)/*.xbm $(DISTDIR)/src/motif
725 mkdir $(DISTDIR)/src/motif/xmcombo
726 cp $(MOTIFDIR)/xmcombo/*.c $(DISTDIR)/src/motif/xmcombo
727 cp $(MOTIFDIR)/xmcombo/*.h $(DISTDIR)/src/motif/xmcombo
728 cp $(MOTIFDIR)/xmcombo/copying.txt $(DISTDIR)/src/motif/xmcombo
729
730 MSW_DIST:
731 cp $(WXDIR)/wxWINE.spec $(DISTDIR)
732 cp $(INCDIR)/wx/msw/*.h $(DISTDIR)/include/wx/msw
733 cp $(INCDIR)/wx/msw/*.cur $(DISTDIR)/include/wx/msw
734 cp $(INCDIR)/wx/msw/*.ico $(DISTDIR)/include/wx/msw
735 cp $(INCDIR)/wx/msw/*.bmp $(DISTDIR)/include/wx/msw
736 cp $(INCDIR)/wx/msw/*.rc $(DISTDIR)/include/wx/msw
737 cp $(MSWDIR)/*.cpp $(DISTDIR)/src/msw
738 cp $(MSWDIR)/*.c $(DISTDIR)/src/msw
739 cp $(MSWDIR)/*.def $(DISTDIR)/src/msw
740 mkdir $(DISTDIR)/src/msw/ole
741 cp $(MSWDIR)/ole/*.cpp $(DISTDIR)/src/msw/ole
742
743 SAMPLES_DIST:
744 mkdir $(DISTDIR)/samples
745 cp $(SAMPDIR)/Makefile.in $(DISTDIR)/samples
746 mkdir $(DISTDIR)/samples/bombs
747 cp $(SAMPDIR)/bombs/Makefile.in $(DISTDIR)/samples/bombs
748 cp $(SAMPDIR)/bombs/*.cpp $(DISTDIR)/samples/bombs
749 cp $(SAMPDIR)/bombs/*.h $(DISTDIR)/samples/bombs
750 cp $(SAMPDIR)/bombs/*.xpm $(DISTDIR)/samples/bombs
751 cp $(SAMPDIR)/bombs/readme.txt $(DISTDIR)/samples/bombs
752 mkdir $(DISTDIR)/samples/caret
753 cp $(SAMPDIR)/caret/Makefile.in $(DISTDIR)/samples/caret
754 cp $(SAMPDIR)/caret/*.cpp $(DISTDIR)/samples/caret
755 cp $(SAMPDIR)/caret/*.xpm $(DISTDIR)/samples/caret
756 mkdir $(DISTDIR)/samples/config
757 cp $(SAMPDIR)/config/Makefile.in $(DISTDIR)/samples/config
758 cp $(SAMPDIR)/config/*.cpp $(DISTDIR)/samples/config
759 mkdir $(DISTDIR)/samples/controls
760 mkdir $(DISTDIR)/samples/controls/icons
761 cp $(SAMPDIR)/controls/Makefile.in $(DISTDIR)/samples/controls
762 cp $(SAMPDIR)/controls/*.cpp $(DISTDIR)/samples/controls
763 cp $(SAMPDIR)/controls/*.xpm $(DISTDIR)/samples/controls
764 cp $(SAMPDIR)/controls/icons/*.??? $(DISTDIR)/samples/controls/icons
765 mkdir $(DISTDIR)/samples/checklst
766 cp $(SAMPDIR)/checklst/Makefile.in $(DISTDIR)/samples/checklst
767 cp $(SAMPDIR)/checklst/*.cpp $(DISTDIR)/samples/checklst
768 cp $(SAMPDIR)/checklst/*.xpm $(DISTDIR)/samples/checklst
769 mkdir $(DISTDIR)/samples/printing
770 cp $(SAMPDIR)/printing/Makefile.in $(DISTDIR)/samples/printing
771 cp $(SAMPDIR)/printing/*.cpp $(DISTDIR)/samples/printing
772 cp $(SAMPDIR)/printing/*.h $(DISTDIR)/samples/printing
773 cp $(SAMPDIR)/printing/*.xpm $(DISTDIR)/samples/printing
774 cp $(SAMPDIR)/printing/*.xbm $(DISTDIR)/samples/printing
775 mkdir $(DISTDIR)/samples/dialogs
776 cp $(SAMPDIR)/dialogs/Makefile.in $(DISTDIR)/samples/dialogs
777 cp $(SAMPDIR)/dialogs/*.cpp $(DISTDIR)/samples/dialogs
778 cp $(SAMPDIR)/dialogs/*.h $(DISTDIR)/samples/dialogs
779 cp $(SAMPDIR)/dialogs/*.txt $(DISTDIR)/samples/dialogs
780 mkdir $(DISTDIR)/samples/dnd
781 cp $(SAMPDIR)/dnd/Makefile.in $(DISTDIR)/samples/dnd
782 cp $(SAMPDIR)/dnd/*.cpp $(DISTDIR)/samples/dnd
783 cp $(SAMPDIR)/dnd/*.xpm $(DISTDIR)/samples/dnd
784 cp $(SAMPDIR)/dnd/*.txt $(DISTDIR)/samples/dnd
785 cp $(SAMPDIR)/dnd/*.png $(DISTDIR)/samples/dnd
786 mkdir $(DISTDIR)/samples/docview
787 cp $(SAMPDIR)/docview/Makefile.in $(DISTDIR)/samples/docview
788 cp $(SAMPDIR)/docview/*.cpp $(DISTDIR)/samples/docview
789 cp $(SAMPDIR)/docview/*.h $(DISTDIR)/samples/docview
790 cp $(SAMPDIR)/docview/*.xpm $(DISTDIR)/samples/docview
791 mkdir $(DISTDIR)/samples/docvwmdi
792 cp $(SAMPDIR)/docvwmdi/Makefile.in $(DISTDIR)/samples/docvwmdi
793 cp $(SAMPDIR)/docvwmdi/*.cpp $(DISTDIR)/samples/docvwmdi
794 cp $(SAMPDIR)/docvwmdi/*.h $(DISTDIR)/samples/docvwmdi
795 mkdir $(DISTDIR)/samples/drawing
796 cp $(SAMPDIR)/drawing/Makefile.in $(DISTDIR)/samples/drawing
797 cp $(SAMPDIR)/drawing/*.cpp $(DISTDIR)/samples/drawing
798 cp $(SAMPDIR)/drawing/*.xpm $(DISTDIR)/samples/drawing
799 mkdir $(DISTDIR)/samples/dynamic
800 cp $(SAMPDIR)/dynamic/Makefile.in $(DISTDIR)/samples/dynamic
801 cp $(SAMPDIR)/dynamic/*.cpp $(DISTDIR)/samples/dynamic
802 cp $(SAMPDIR)/dynamic/*.xpm $(DISTDIR)/samples/dynamic
803 mkdir $(DISTDIR)/samples/html
804 cp $(SAMPDIR)/html/Makefile.in $(DISTDIR)/samples/html
805 mkdir $(DISTDIR)/samples/html/about
806 cp $(SAMPDIR)/html/about/Makefile.in $(DISTDIR)/samples/html/about
807 cp $(SAMPDIR)/html/about/*.cpp $(DISTDIR)/samples/html/about
808 mkdir $(DISTDIR)/samples/html/about/data
809 cp $(SAMPDIR)/html/about/data/*.htm $(DISTDIR)/samples/html/about/data
810 cp $(SAMPDIR)/html/about/data/*.png $(DISTDIR)/samples/html/about/data
811 mkdir $(DISTDIR)/samples/html/help
812 cp $(SAMPDIR)/html/help/Makefile.in $(DISTDIR)/samples/html/help
813 cp $(SAMPDIR)/html/help/*.cpp $(DISTDIR)/samples/html/help
814 mkdir $(DISTDIR)/samples/html/help/helpfiles
815 cp $(SAMPDIR)/html/help/helpfiles/*.??? $(DISTDIR)/samples/html/help/helpfiles
816 mkdir $(DISTDIR)/samples/html/printing
817 cp $(SAMPDIR)/html/printing/Makefile.in $(DISTDIR)/samples/html/printing
818 cp $(SAMPDIR)/html/printing/*.xpm $(DISTDIR)/samples/html/printing
819 cp $(SAMPDIR)/html/printing/*.cpp $(DISTDIR)/samples/html/printing
820 cp $(SAMPDIR)/html/printing/*.h $(DISTDIR)/samples/html/printing
821 cp $(SAMPDIR)/html/printing/*.png $(DISTDIR)/samples/html/printing
822 cp $(SAMPDIR)/html/printing/*.htm $(DISTDIR)/samples/html/printing
823 mkdir $(DISTDIR)/samples/html/test
824 cp $(SAMPDIR)/html/test/Makefile.in $(DISTDIR)/samples/html/test
825 cp $(SAMPDIR)/html/test/*.cpp $(DISTDIR)/samples/html/test
826 cp $(SAMPDIR)/html/test/*.bmp $(DISTDIR)/samples/html/test
827 cp $(SAMPDIR)/html/test/*.png $(DISTDIR)/samples/html/test
828 cp $(SAMPDIR)/html/test/*.htm $(DISTDIR)/samples/html/test
829 cp $(SAMPDIR)/html/test/*.html $(DISTDIR)/samples/html/test
830 mkdir $(DISTDIR)/samples/html/virtual
831 cp $(SAMPDIR)/html/virtual/Makefile.in $(DISTDIR)/samples/html/virtual
832 cp $(SAMPDIR)/html/virtual/*.cpp $(DISTDIR)/samples/html/virtual
833 cp $(SAMPDIR)/html/virtual/*.htm $(DISTDIR)/samples/html/virtual
834 mkdir $(DISTDIR)/samples/html/widget
835 cp $(SAMPDIR)/html/widget/Makefile.in $(DISTDIR)/samples/html/widget
836 cp $(SAMPDIR)/html/widget/*.cpp $(DISTDIR)/samples/html/widget
837 cp $(SAMPDIR)/html/widget/*.htm $(DISTDIR)/samples/html/widget
838 mkdir $(DISTDIR)/samples/html/zip
839 cp $(SAMPDIR)/html/zip/Makefile.in $(DISTDIR)/samples/html/zip
840 cp $(SAMPDIR)/html/zip/*.cpp $(DISTDIR)/samples/html/zip
841 cp $(SAMPDIR)/html/zip/*.htm $(DISTDIR)/samples/html/zip
842 cp $(SAMPDIR)/html/zip/*.zip $(DISTDIR)/samples/html/zip
843 mkdir $(DISTDIR)/samples/image
844 cp $(SAMPDIR)/image/Makefile.in $(DISTDIR)/samples/image
845 cp $(SAMPDIR)/image/*.cpp $(DISTDIR)/samples/image
846 cp $(SAMPDIR)/image/horse.* $(DISTDIR)/samples/image
847 mkdir $(DISTDIR)/samples/layout
848 cp $(SAMPDIR)/layout/Makefile.in $(DISTDIR)/samples/layout
849 cp $(SAMPDIR)/layout/*.cpp $(DISTDIR)/samples/layout
850 cp $(SAMPDIR)/layout/*.h $(DISTDIR)/samples/layout
851 mkdir $(DISTDIR)/samples/listctrl
852 cp $(SAMPDIR)/listctrl/Makefile.in $(DISTDIR)/samples/listctrl
853 cp $(SAMPDIR)/listctrl/*.cpp $(DISTDIR)/samples/listctrl
854 cp $(SAMPDIR)/listctrl/*.h $(DISTDIR)/samples/listctrl
855 cp $(SAMPDIR)/listctrl/*.xpm $(DISTDIR)/samples/listctrl
856 mkdir $(DISTDIR)/samples/listctrl/bitmap
857 cp $(SAMPDIR)/listctrl/*.xpm $(DISTDIR)/samples/listctrl/bitmaps
858 mkdir $(DISTDIR)/samples/mdi
859 cp $(SAMPDIR)/mdi/Makefile.in $(DISTDIR)/samples/mdi
860 cp $(SAMPDIR)/mdi/*.cpp $(DISTDIR)/samples/mdi
861 cp $(SAMPDIR)/mdi/*.h $(DISTDIR)/samples/mdi
862 cp $(SAMPDIR)/mdi/*.xpm $(DISTDIR)/samples/mdi
863 mkdir $(DISTDIR)/samples/minifram
864 cp $(SAMPDIR)/minifram/Makefile.in $(DISTDIR)/samples/minifram
865 cp $(SAMPDIR)/minifram/*.cpp $(DISTDIR)/samples/minifram
866 cp $(SAMPDIR)/minifram/*.h $(DISTDIR)/samples/minifram
867 cp $(SAMPDIR)/minifram/*.xpm $(DISTDIR)/samples/minifram
868 mkdir $(DISTDIR)/samples/minifram/bitmap
869 cp $(SAMPDIR)/minifram/*.xpm $(DISTDIR)/samples/minifram/bitmaps
870 mkdir $(DISTDIR)/samples/minimal
871 cp $(SAMPDIR)/minimal/Makefile.in $(DISTDIR)/samples/minimal
872 cp $(SAMPDIR)/minimal/*.cpp $(DISTDIR)/samples/minimal
873 cp $(SAMPDIR)/minimal/*.xpm $(DISTDIR)/samples/minimal
874 mkdir $(DISTDIR)/samples/newgrid
875 cp $(SAMPDIR)/newgrid/Makefile.in $(DISTDIR)/samples/newgrid
876 cp $(SAMPDIR)/newgrid/*.cpp $(DISTDIR)/samples/newgrid
877 cp $(SAMPDIR)/newgrid/*.h $(DISTDIR)/samples/newgrid
878 mkdir $(DISTDIR)/samples/notebook
879 cp $(SAMPDIR)/notebook/Makefile.in $(DISTDIR)/samples/notebook
880 cp $(SAMPDIR)/notebook/*.cpp $(DISTDIR)/samples/notebook
881 cp $(SAMPDIR)/notebook/*.h $(DISTDIR)/samples/notebook
882 mkdir $(DISTDIR)/samples/proplist
883 cp $(SAMPDIR)/proplist/Makefile.in $(DISTDIR)/samples/proplist
884 cp $(SAMPDIR)/proplist/*.cpp $(DISTDIR)/samples/proplist
885 cp $(SAMPDIR)/proplist/*.h $(DISTDIR)/samples/proplist
886 mkdir $(DISTDIR)/samples/sashtest
887 cp $(SAMPDIR)/sashtest/Makefile.in $(DISTDIR)/samples/sashtest
888 cp $(SAMPDIR)/sashtest/*.cpp $(DISTDIR)/samples/sashtest
889 cp $(SAMPDIR)/sashtest/*.h $(DISTDIR)/samples/sashtest
890 mkdir $(DISTDIR)/samples/scroll
891 cp $(SAMPDIR)/scroll/Makefile.in $(DISTDIR)/samples/scroll
892 cp $(SAMPDIR)/scroll/*.cpp $(DISTDIR)/samples/scroll
893 mkdir $(DISTDIR)/samples/splitter
894 cp $(SAMPDIR)/splitter/Makefile.in $(DISTDIR)/samples/splitter
895 cp $(SAMPDIR)/splitter/*.cpp $(DISTDIR)/samples/splitter
896 mkdir $(DISTDIR)/samples/text
897 cp $(SAMPDIR)/text/Makefile.in $(DISTDIR)/samples/text
898 cp $(SAMPDIR)/text/*.cpp $(DISTDIR)/samples/text
899 cp $(SAMPDIR)/text/*.xpm $(DISTDIR)/samples/text
900 mkdir $(DISTDIR)/samples/thread
901 cp $(SAMPDIR)/thread/Makefile.in $(DISTDIR)/samples/thread
902 cp $(SAMPDIR)/thread/*.cpp $(DISTDIR)/samples/thread
903 mkdir $(DISTDIR)/samples/toolbar
904 cp $(SAMPDIR)/toolbar/Makefile.in $(DISTDIR)/samples/toolbar
905 cp $(SAMPDIR)/toolbar/*.cpp $(DISTDIR)/samples/toolbar
906 cp $(SAMPDIR)/toolbar/*.h $(DISTDIR)/samples/toolbar
907 cp $(SAMPDIR)/toolbar/*.xpm $(DISTDIR)/samples/toolbar
908 mkdir $(DISTDIR)/samples/toolbar/bitmap
909 cp $(SAMPDIR)/toolbar/*.xpm $(DISTDIR)/samples/toolbar/bitmaps
910 mkdir $(DISTDIR)/samples/treectrl
911 cp $(SAMPDIR)/treectrl/Makefile.in $(DISTDIR)/samples/treectrl
912 cp $(SAMPDIR)/treectrl/*.cpp $(DISTDIR)/samples/treectrl
913 cp $(SAMPDIR)/treectrl/*.h $(DISTDIR)/samples/treectrl
914 cp $(SAMPDIR)/treectrl/*.xpm $(DISTDIR)/samples/treectrl
915 mkdir $(DISTDIR)/samples/typetest
916 cp $(SAMPDIR)/typetest/Makefile.in $(DISTDIR)/samples/typetest
917 cp $(SAMPDIR)/typetest/*.cpp $(DISTDIR)/samples/typetest
918 cp $(SAMPDIR)/typetest/*.h $(DISTDIR)/samples/typetest
919 cp $(SAMPDIR)/typetest/*.xpm $(DISTDIR)/samples/typetest
920 mkdir $(DISTDIR)/samples/validate
921 cp $(SAMPDIR)/validate/Makefile.in $(DISTDIR)/samples/validate
922 cp $(SAMPDIR)/validate/*.cpp $(DISTDIR)/samples/validate
923 cp $(SAMPDIR)/validate/*.h $(DISTDIR)/samples/validate
924 cp $(SAMPDIR)/validate/*.xpm $(DISTDIR)/samples/validate
925 mkdir $(DISTDIR)/samples/wizard
926 cp $(SAMPDIR)/wizard/Makefile.in $(DISTDIR)/samples/wizard
927 cp $(SAMPDIR)/wizard/*.cpp $(DISTDIR)/samples/wizard
928 cp $(SAMPDIR)/wizard/*.xpm $(DISTDIR)/samples/wizard
929 mkdir $(DISTDIR)/samples/wxpoem
930 cp $(SAMPDIR)/wxpoem/Makefile.in $(DISTDIR)/samples/wxpoem
931 cp $(SAMPDIR)/wxpoem/*.cpp $(DISTDIR)/samples/wxpoem
932 cp $(SAMPDIR)/wxpoem/*.xpm $(DISTDIR)/samples/wxpoem
933 cp $(SAMPDIR)/wxpoem/*.dat $(DISTDIR)/samples/wxpoem
934 cp $(SAMPDIR)/wxpoem/*.txt $(DISTDIR)/samples/wxpoem
935 mkdir $(DISTDIR)/samples/wxsocket
936 cp $(SAMPDIR)/wxsocket/Makefile.in $(DISTDIR)/samples/wxsocket
937 cp $(SAMPDIR)/wxsocket/*.cpp $(DISTDIR)/samples/wxsocket
938 cp $(SAMPDIR)/wxsocket/*.xpm $(DISTDIR)/samples/wxsocket
939
940 UTILS_DIST:
941 mkdir $(DISTDIR)/utils
942 cp $(UTILSDIR)/Makefile.in $(DISTDIR)/utils
943 mkdir $(DISTDIR)/utils/wxMMedia2
944 cp $(UTILSDIR)/wxMMedia2/Makefile.in $(DISTDIR)/utils/wxMMedia2
945 mkdir $(DISTDIR)/utils/wxMMedia2/lib
946 cp $(UTILSDIR)/wxMMedia2/lib/Makefile.in $(DISTDIR)/utils/wxMMedia2/lib
947 cp $(UTILSDIR)/wxMMedia2/lib/*.h $(DISTDIR)/utils/wxMMedia2/lib
948 cp $(UTILSDIR)/wxMMedia2/lib/*.cpp $(DISTDIR)/utils/wxMMedia2/lib
949 cp $(UTILSDIR)/wxMMedia2/lib/*.def $(DISTDIR)/utils/wxMMedia2/lib
950 mkdir $(DISTDIR)/utils/wxMMedia2/sample
951 cp $(UTILSDIR)/wxMMedia2/sample/Makefile.in $(DISTDIR)/utils/wxMMedia2/sample
952 cp $(UTILSDIR)/wxMMedia2/sample/*.cpp $(DISTDIR)/utils/wxMMedia2/sample
953 mkdir $(DISTDIR)/utils/glcanvas
954 cp $(UTILSDIR)/glcanvas/Makefile.in $(DISTDIR)/utils/glcanvas
955 cp $(UTILSDIR)/glcanvas/docs/notes.txt $(DISTDIR)/utils/glcanvas/NOTES.txt
956 mkdir $(DISTDIR)/utils/glcanvas/$(TOOLKITDIR)
957 cp $(UTILSDIR)/glcanvas/$(TOOLKITDIR)/Makefile.in $(DISTDIR)/utils/glcanvas/$(TOOLKITDIR)
958 cp $(UTILSDIR)/glcanvas/$(TOOLKITDIR)/*.h $(DISTDIR)/utils/glcanvas/$(TOOLKITDIR)
959 cp $(UTILSDIR)/glcanvas/$(TOOLKITDIR)/*.cpp $(DISTDIR)/utils/glcanvas/$(TOOLKITDIR)
960
961 MISC_DIST:
962 mkdir $(DISTDIR)/misc
963 mkdir $(DISTDIR)/misc/afm
964 cp $(MISCDIR)/afm/*.afm $(DISTDIR)/misc/afm
965 mkdir $(DISTDIR)/misc/gs_afm
966 cp $(MISCDIR)/gs_afm/*.afm $(DISTDIR)/misc/gs_afm
967
968 dist: ALL_DIST @GUIDIST@ SAMPLES_DIST UTILS_DIST MISC_DIST
969 cd _dist_dir; tar ch wx$(TOOLKIT) | gzip -f9 > $(WXARCHIVE); mv $(WXARCHIVE) ..
970 $(RM) -r _dist_dir
971
972 clean:
973 $(RM) *.o
974 $(RM) *.d
975 $(RM) parser.c
976 $(RM) lexer.c
977 $(RM) ./lib/*
978
979 cleanall: clean