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