]> git.saurik.com Git - wxWidgets.git/blob - distrib/msw/tmake/unx.t
Distrib things,
[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/*.inl $(DISTDIR)/include/wx
741 cp $(INCDIR)/wx/*.cpp $(DISTDIR)/include/wx
742 cp $(INCDIR)/wx/generic/*.h $(DISTDIR)/include/wx/generic
743 cp $(INCDIR)/wx/generic/*.xpm $(DISTDIR)/include/wx/generic
744 cp $(INCDIR)/wx/html/*.h $(DISTDIR)/include/wx/html
745 cp $(INCDIR)/wx/unix/*.h $(DISTDIR)/include/wx/unix
746 cp $(INCDIR)/wx/protocol/*.h $(DISTDIR)/include/wx/protocol
747 mkdir $(DISTDIR)/src
748 mkdir $(DISTDIR)/src/common
749 mkdir $(DISTDIR)/src/generic
750 mkdir $(DISTDIR)/src/html
751 mkdir $(DISTDIR)/src/html/bitmaps
752 mkdir $(DISTDIR)/src/$(TOOLKITDIR)
753 mkdir $(DISTDIR)/src/unix
754 mkdir $(DISTDIR)/src/png
755 mkdir $(DISTDIR)/src/jpeg
756 mkdir $(DISTDIR)/src/tiff
757 mkdir $(DISTDIR)/src/zlib
758 mkdir $(DISTDIR)/src/iodbc
759 cp $(SRCDIR)/*.in $(DISTDIR)/src
760 cp $(COMMDIR)/*.cpp $(DISTDIR)/src/common
761 cp $(COMMDIR)/*.c $(DISTDIR)/src/common
762 cp $(COMMDIR)/*.inc $(DISTDIR)/src/common
763 cp $(COMMDIR)/*.l $(DISTDIR)/src/common
764 cp $(COMMDIR)/*.h $(DISTDIR)/src/common
765 cp $(COMMDIR)/*.y $(DISTDIR)/src/common
766 cp $(GENDIR)/*.cpp $(DISTDIR)/src/generic
767 cp $(HTMLDIR)/*.cpp $(DISTDIR)/src/html
768 cp $(HTMLDIR)/bitmaps/*.xpm $(DISTDIR)/src/html/bitmaps
769 cp $(UNIXDIR)/*.c $(DISTDIR)/src/unix
770 cp $(UNIXDIR)/*.cpp $(DISTDIR)/src/unix
771 cp $(PNGDIR)/*.h $(DISTDIR)/src/png
772 cp $(PNGDIR)/*.c $(DISTDIR)/src/png
773 cp $(PNGDIR)/README $(DISTDIR)/src/png
774 cp $(ZLIBDIR)/*.h $(DISTDIR)/src/zlib
775 cp $(ZLIBDIR)/*.c $(DISTDIR)/src/zlib
776 cp $(ZLIBDIR)/README $(DISTDIR)/src/zlib
777 cp $(JPEGDIR)/*.h $(DISTDIR)/src/jpeg
778 cp $(JPEGDIR)/*.c $(DISTDIR)/src/jpeg
779 cp $(JPEGDIR)/README $(DISTDIR)/src/jpeg
780 cp $(TIFFDIR)/*.h $(DISTDIR)/src/tiff
781 cp $(TIFFDIR)/*.c $(DISTDIR)/src/tiff
782 cp $(TIFFDIR)/README $(DISTDIR)/src/tiff
783 cp $(ODBCDIR)/*.h $(DISTDIR)/src/iodbc
784 cp $(ODBCDIR)/*.c $(DISTDIR)/src/iodbc
785 cp $(ODBCDIR)/*.ci $(DISTDIR)/src/iodbc
786 cp $(ODBCDIR)/*.exp $(DISTDIR)/src/iodbc
787 cp $(ODBCDIR)/README $(DISTDIR)/src/iodbc
788 cp $(ODBCDIR)/NEWS $(DISTDIR)/src/iodbc
789 cp $(ODBCDIR)/Changes.log $(DISTDIR)/src/iodbc
790
791 GTK_DIST:
792 cp $(WXDIR)/wxGTK.spec $(DISTDIR)
793 cp $(INCDIR)/wx/gtk/*.h $(DISTDIR)/include/wx/gtk
794 cp $(INCDIR)/wx/gtk/*.xpm $(DISTDIR)/include/wx/gtk
795 cp $(GTKDIR)/*.cpp $(DISTDIR)/src/gtk
796 cp $(GTKDIR)/*.c $(DISTDIR)/src/gtk
797 cp $(GTKDIR)/*.xbm $(DISTDIR)/src/gtk
798
799 MOTIF_DIST:
800 cp $(WXDIR)/wxMOTIF.spec $(DISTDIR)
801 cp $(INCDIR)/wx/motif/*.h $(DISTDIR)/include/wx/motif
802 cp $(MOTIFDIR)/*.cpp $(DISTDIR)/src/motif
803 cp $(MOTIFDIR)/*.xbm $(DISTDIR)/src/motif
804 mkdir $(DISTDIR)/src/motif/xmcombo
805 cp $(MOTIFDIR)/xmcombo/*.c $(DISTDIR)/src/motif/xmcombo
806 cp $(MOTIFDIR)/xmcombo/*.h $(DISTDIR)/src/motif/xmcombo
807 cp $(MOTIFDIR)/xmcombo/copying.txt $(DISTDIR)/src/motif/xmcombo
808
809 MSW_DIST:
810 cp $(WXDIR)/wxWINE.spec $(DISTDIR)
811 cp $(INCDIR)/wx/msw/*.h $(DISTDIR)/include/wx/msw
812 cp $(INCDIR)/wx/msw/*.cur $(DISTDIR)/include/wx/msw
813 cp $(INCDIR)/wx/msw/*.ico $(DISTDIR)/include/wx/msw
814 cp $(INCDIR)/wx/msw/*.bmp $(DISTDIR)/include/wx/msw
815 cp $(INCDIR)/wx/msw/*.rc $(DISTDIR)/include/wx/msw
816 cp $(MSWDIR)/*.cpp $(DISTDIR)/src/msw
817 cp $(MSWDIR)/*.c $(DISTDIR)/src/msw
818 cp $(MSWDIR)/*.def $(DISTDIR)/src/msw
819 mkdir $(DISTDIR)/src/msw/ole
820 cp $(MSWDIR)/ole/*.cpp $(DISTDIR)/src/msw/ole
821
822 SAMPLES_DIST:
823 mkdir $(DISTDIR)/samples
824 cp $(SAMPDIR)/Makefile.in $(DISTDIR)/samples
825
826 mkdir $(DISTDIR)/samples/bombs
827 cp $(SAMPDIR)/bombs/Makefile.in $(DISTDIR)/samples/bombs
828 cp $(SAMPDIR)/bombs/makefile.unx $(DISTDIR)/samples/bombs
829 cp $(SAMPDIR)/bombs/*.cpp $(DISTDIR)/samples/bombs
830 cp $(SAMPDIR)/bombs/*.h $(DISTDIR)/samples/bombs
831 cp $(SAMPDIR)/bombs/*.xpm $(DISTDIR)/samples/bombs
832 cp $(SAMPDIR)/bombs/readme.txt $(DISTDIR)/samples/bombs
833
834 mkdir $(DISTDIR)/samples/caret
835 cp $(SAMPDIR)/caret/Makefile.in $(DISTDIR)/samples/caret
836 cp $(SAMPDIR)/caret/makefile.unx $(DISTDIR)/samples/caret
837 cp $(SAMPDIR)/caret/*.cpp $(DISTDIR)/samples/caret
838 cp $(SAMPDIR)/caret/*.xpm $(DISTDIR)/samples/caret
839
840 mkdir $(DISTDIR)/samples/calendar
841 cp $(SAMPDIR)/calendar/Makefile.in $(DISTDIR)/samples/calendar
842 cp $(SAMPDIR)/calendar/makefile.unx $(DISTDIR)/samples/calendar
843 cp $(SAMPDIR)/calendar/*.cpp $(DISTDIR)/samples/calendar
844
845 mkdir $(DISTDIR)/samples/config
846 cp $(SAMPDIR)/config/Makefile.in $(DISTDIR)/samples/config
847 cp $(SAMPDIR)/config/makefile.unx $(DISTDIR)/samples/config
848 cp $(SAMPDIR)/config/*.cpp $(DISTDIR)/samples/config
849
850 mkdir $(DISTDIR)/samples/console
851 cp $(SAMPDIR)/console/Makefile.in $(DISTDIR)/samples/console
852 cp $(SAMPDIR)/console/makefile.unx $(DISTDIR)/samples/console
853 cp $(SAMPDIR)/console/*.cpp $(DISTDIR)/samples/console
854
855 mkdir $(DISTDIR)/samples/controls
856 mkdir $(DISTDIR)/samples/controls/icons
857 cp $(SAMPDIR)/controls/Makefile.in $(DISTDIR)/samples/controls
858 cp $(SAMPDIR)/controls/makefile.unx $(DISTDIR)/samples/controls
859 cp $(SAMPDIR)/controls/*.cpp $(DISTDIR)/samples/controls
860 cp $(SAMPDIR)/controls/*.xpm $(DISTDIR)/samples/controls
861 cp $(SAMPDIR)/controls/icons/*.??? $(DISTDIR)/samples/controls/icons
862
863 mkdir $(DISTDIR)/samples/checklst
864 cp $(SAMPDIR)/checklst/Makefile.in $(DISTDIR)/samples/checklst
865 cp $(SAMPDIR)/checklst/makefile.unx $(DISTDIR)/samples/checklst
866 cp $(SAMPDIR)/checklst/*.cpp $(DISTDIR)/samples/checklst
867 cp $(SAMPDIR)/checklst/*.xpm $(DISTDIR)/samples/checklst
868
869 mkdir $(DISTDIR)/samples/db
870 cp $(SAMPDIR)/db/Makefile.in $(DISTDIR)/samples/db
871 cp $(SAMPDIR)/db/makefile.unx $(DISTDIR)/samples/db
872 cp $(SAMPDIR)/db/*.cpp $(DISTDIR)/samples/db
873 cp $(SAMPDIR)/db/*.h $(DISTDIR)/samples/db
874 cp $(SAMPDIR)/db/*.xpm $(DISTDIR)/samples/db
875
876 mkdir $(DISTDIR)/samples/dialogs
877 cp $(SAMPDIR)/dialogs/Makefile.in $(DISTDIR)/samples/dialogs
878 cp $(SAMPDIR)/dialogs/makefile.unx $(DISTDIR)/samples/dialogs
879 cp $(SAMPDIR)/dialogs/*.cpp $(DISTDIR)/samples/dialogs
880 cp $(SAMPDIR)/dialogs/*.h $(DISTDIR)/samples/dialogs
881 cp $(SAMPDIR)/dialogs/*.txt $(DISTDIR)/samples/dialogs
882
883 mkdir $(DISTDIR)/samples/dnd
884 cp $(SAMPDIR)/dnd/Makefile.in $(DISTDIR)/samples/dnd
885 cp $(SAMPDIR)/dnd/makefile.unx $(DISTDIR)/samples/dnd
886 cp $(SAMPDIR)/dnd/*.wxr $(DISTDIR)/samples/dnd
887 cp $(SAMPDIR)/dnd/*.cpp $(DISTDIR)/samples/dnd
888 cp $(SAMPDIR)/dnd/*.xpm $(DISTDIR)/samples/dnd
889 cp $(SAMPDIR)/dnd/*.txt $(DISTDIR)/samples/dnd
890 cp $(SAMPDIR)/dnd/*.png $(DISTDIR)/samples/dnd
891
892 mkdir $(DISTDIR)/samples/docview
893 cp $(SAMPDIR)/docview/Makefile.in $(DISTDIR)/samples/docview
894 cp $(SAMPDIR)/docview/makefile.unx $(DISTDIR)/samples/docview
895 cp $(SAMPDIR)/docview/*.cpp $(DISTDIR)/samples/docview
896 cp $(SAMPDIR)/docview/*.h $(DISTDIR)/samples/docview
897 cp $(SAMPDIR)/docview/*.xpm $(DISTDIR)/samples/docview
898
899 mkdir $(DISTDIR)/samples/docvwmdi
900 cp $(SAMPDIR)/docvwmdi/Makefile.in $(DISTDIR)/samples/docvwmdi
901 cp $(SAMPDIR)/docvwmdi/makefile.unx $(DISTDIR)/samples/docvwmdi
902 cp $(SAMPDIR)/docvwmdi/*.cpp $(DISTDIR)/samples/docvwmdi
903 cp $(SAMPDIR)/docvwmdi/*.h $(DISTDIR)/samples/docvwmdi
904
905 mkdir $(DISTDIR)/samples/drawing
906 cp $(SAMPDIR)/drawing/Makefile.in $(DISTDIR)/samples/drawing
907 cp $(SAMPDIR)/drawing/makefile.unx $(DISTDIR)/samples/drawing
908 cp $(SAMPDIR)/drawing/*.cpp $(DISTDIR)/samples/drawing
909 cp $(SAMPDIR)/drawing/*.xpm $(DISTDIR)/samples/drawing
910
911 mkdir $(DISTDIR)/samples/dynamic
912 cp $(SAMPDIR)/dynamic/Makefile.in $(DISTDIR)/samples/dynamic
913 cp $(SAMPDIR)/dynamic/makefile.unx $(DISTDIR)/samples/dynamic
914 cp $(SAMPDIR)/dynamic/*.cpp $(DISTDIR)/samples/dynamic
915 cp $(SAMPDIR)/dynamic/*.xpm $(DISTDIR)/samples/dynamic
916
917 mkdir $(DISTDIR)/samples/forty
918 cp $(SAMPDIR)/forty/Makefile.in $(DISTDIR)/samples/forty
919 cp $(SAMPDIR)/forty/makefile.unx $(DISTDIR)/samples/forty
920 cp $(SAMPDIR)/forty/*.h $(DISTDIR)/samples/forty
921 cp $(SAMPDIR)/forty/*.cpp $(DISTDIR)/samples/forty
922 cp $(SAMPDIR)/forty/*.xpm $(DISTDIR)/samples/forty
923 cp $(SAMPDIR)/forty/*.xbm $(DISTDIR)/samples/forty
924
925 mkdir $(DISTDIR)/samples/font
926 cp $(SAMPDIR)/font/Makefile.in $(DISTDIR)/samples/font
927 cp $(SAMPDIR)/font/makefile.unx $(DISTDIR)/samples/font
928 cp $(SAMPDIR)/font/*.cpp $(DISTDIR)/samples/font
929
930 mkdir $(DISTDIR)/samples/fractal
931 cp $(SAMPDIR)/fractal/Makefile.in $(DISTDIR)/samples/fractal
932 cp $(SAMPDIR)/fractal/makefile.unx $(DISTDIR)/samples/fractal
933 cp $(SAMPDIR)/fractal/*.cpp $(DISTDIR)/samples/fractal
934
935 mkdir $(DISTDIR)/samples/grid
936 cp $(SAMPDIR)/grid/Makefile.in $(DISTDIR)/samples/grid
937 cp $(SAMPDIR)/grid/makefile.unx $(DISTDIR)/samples/grid
938 cp $(SAMPDIR)/grid/*.cpp $(DISTDIR)/samples/grid
939
940 mkdir $(DISTDIR)/samples/help
941 mkdir $(DISTDIR)/samples/help/doc
942 cp $(SAMPDIR)/help/Makefile.in $(DISTDIR)/samples/help
943 cp $(SAMPDIR)/help/makefile.unx $(DISTDIR)/samples/help
944 cp $(SAMPDIR)/help/*.cpp $(DISTDIR)/samples/help
945 cp $(SAMPDIR)/help/*.xpm $(DISTDIR)/samples/help
946 cp $(SAMPDIR)/help/doc/*.* $(DISTDIR)/samples/help/doc
947
948 mkdir $(DISTDIR)/samples/html
949 cp $(SAMPDIR)/html/Makefile.in $(DISTDIR)/samples/html
950 mkdir $(DISTDIR)/samples/html/about
951 cp $(SAMPDIR)/html/about/Makefile.in $(DISTDIR)/samples/html/about
952 cp $(SAMPDIR)/html/about/*.cpp $(DISTDIR)/samples/html/about
953 mkdir $(DISTDIR)/samples/html/about/data
954 cp $(SAMPDIR)/html/about/data/*.htm $(DISTDIR)/samples/html/about/data
955 cp $(SAMPDIR)/html/about/data/*.png $(DISTDIR)/samples/html/about/data
956 mkdir $(DISTDIR)/samples/html/help
957 cp $(SAMPDIR)/html/help/Makefile.in $(DISTDIR)/samples/html/help
958 cp $(SAMPDIR)/html/help/*.cpp $(DISTDIR)/samples/html/help
959 mkdir $(DISTDIR)/samples/html/help/helpfiles
960 cp $(SAMPDIR)/html/help/helpfiles/*.??? $(DISTDIR)/samples/html/help/helpfiles
961 mkdir $(DISTDIR)/samples/html/helpview
962 cp $(SAMPDIR)/html/helpview/Makefile.in $(DISTDIR)/samples/html/helpview
963 cp $(SAMPDIR)/html/helpview/*.cpp $(DISTDIR)/samples/html/helpview
964 cp $(SAMPDIR)/html/helpview/*.zip $(DISTDIR)/samples/html/helpview
965 mkdir $(DISTDIR)/samples/html/printing
966 cp $(SAMPDIR)/html/printing/Makefile.in $(DISTDIR)/samples/html/printing
967 cp $(SAMPDIR)/html/printing/*.cpp $(DISTDIR)/samples/html/printing
968 cp $(SAMPDIR)/html/printing/*.htm $(DISTDIR)/samples/html/printing
969 mkdir $(DISTDIR)/samples/html/test
970 cp $(SAMPDIR)/html/test/Makefile.in $(DISTDIR)/samples/html/test
971 cp $(SAMPDIR)/html/test/*.cpp $(DISTDIR)/samples/html/test
972 cp $(SAMPDIR)/html/test/*.bmp $(DISTDIR)/samples/html/test
973 cp $(SAMPDIR)/html/test/*.png $(DISTDIR)/samples/html/test
974 cp $(SAMPDIR)/html/test/*.htm $(DISTDIR)/samples/html/test
975 cp $(SAMPDIR)/html/test/*.html $(DISTDIR)/samples/html/test
976 mkdir $(DISTDIR)/samples/html/virtual
977 cp $(SAMPDIR)/html/virtual/Makefile.in $(DISTDIR)/samples/html/virtual
978 cp $(SAMPDIR)/html/virtual/*.cpp $(DISTDIR)/samples/html/virtual
979 cp $(SAMPDIR)/html/virtual/*.htm $(DISTDIR)/samples/html/virtual
980 mkdir $(DISTDIR)/samples/html/widget
981 cp $(SAMPDIR)/html/widget/Makefile.in $(DISTDIR)/samples/html/widget
982 cp $(SAMPDIR)/html/widget/*.cpp $(DISTDIR)/samples/html/widget
983 cp $(SAMPDIR)/html/widget/*.htm $(DISTDIR)/samples/html/widget
984 mkdir $(DISTDIR)/samples/html/zip
985 cp $(SAMPDIR)/html/zip/Makefile.in $(DISTDIR)/samples/html/zip
986 cp $(SAMPDIR)/html/zip/*.cpp $(DISTDIR)/samples/html/zip
987 cp $(SAMPDIR)/html/zip/*.htm $(DISTDIR)/samples/html/zip
988 cp $(SAMPDIR)/html/zip/*.zip $(DISTDIR)/samples/html/zip
989
990 mkdir $(DISTDIR)/samples/image
991 cp $(SAMPDIR)/image/Makefile.in $(DISTDIR)/samples/image
992 cp $(SAMPDIR)/image/makefile.unx $(DISTDIR)/samples/image
993 cp $(SAMPDIR)/image/*.cpp $(DISTDIR)/samples/image
994 cp $(SAMPDIR)/image/horse.* $(DISTDIR)/samples/image
995 cp $(SAMPDIR)/image/smile.xbm $(DISTDIR)/samples/image
996
997 mkdir $(DISTDIR)/samples/internat
998 mkdir $(DISTDIR)/samples/internat/de
999 mkdir $(DISTDIR)/samples/internat/fr
1000 cp $(SAMPDIR)/internat/Makefile.in $(DISTDIR)/samples/internat
1001 cp $(SAMPDIR)/internat/makefile.unx $(DISTDIR)/samples/internat
1002 cp $(SAMPDIR)/internat/*.cpp $(DISTDIR)/samples/internat
1003 cp $(SAMPDIR)/internat/*.xpm $(DISTDIR)/samples/internat
1004 cp $(SAMPDIR)/internat/*.txt $(DISTDIR)/samples/internat
1005 cp $(SAMPDIR)/internat/*.po $(DISTDIR)/samples/internat
1006 cp $(SAMPDIR)/internat/fr/*.po $(DISTDIR)/samples/internat/fr
1007 cp $(SAMPDIR)/internat/de/*.mo $(DISTDIR)/samples/internat/de
1008 cp $(SAMPDIR)/internat/fr/*.po $(DISTDIR)/samples/internat/fr
1009 cp $(SAMPDIR)/internat/de/*.mo $(DISTDIR)/samples/internat/de
1010
1011 mkdir $(DISTDIR)/samples/layout
1012 cp $(SAMPDIR)/layout/Makefile.in $(DISTDIR)/samples/layout
1013 cp $(SAMPDIR)/layout/makefile.unx $(DISTDIR)/samples/layout
1014 cp $(SAMPDIR)/layout/*.cpp $(DISTDIR)/samples/layout
1015 cp $(SAMPDIR)/layout/*.h $(DISTDIR)/samples/layout
1016
1017 mkdir $(DISTDIR)/samples/life
1018 mkdir $(DISTDIR)/samples/life/bitmaps
1019 cp $(SAMPDIR)/life/Makefile.in $(DISTDIR)/samples/life
1020 cp $(SAMPDIR)/life/makefile.unx $(DISTDIR)/samples/life
1021 cp $(SAMPDIR)/life/*.cpp $(DISTDIR)/samples/life
1022 cp $(SAMPDIR)/life/*.xpm $(DISTDIR)/samples/life
1023 cp $(SAMPDIR)/life/bitmaps/*.xpm $(DISTDIR)/samples/life/bitmaps
1024
1025 mkdir $(DISTDIR)/samples/listctrl
1026 mkdir $(DISTDIR)/samples/listctrl/bitmaps
1027 cp $(SAMPDIR)/listctrl/Makefile.in $(DISTDIR)/samples/listctrl
1028 cp $(SAMPDIR)/listctrl/makefile.unx $(DISTDIR)/samples/listctrl
1029 cp $(SAMPDIR)/listctrl/*.cpp $(DISTDIR)/samples/listctrl
1030 cp $(SAMPDIR)/listctrl/*.h $(DISTDIR)/samples/listctrl
1031 cp $(SAMPDIR)/listctrl/*.xpm $(DISTDIR)/samples/listctrl
1032 cp $(SAMPDIR)/listctrl/bitmaps/*.xpm $(DISTDIR)/samples/listctrl/bitmaps
1033
1034 mkdir $(DISTDIR)/samples/mdi
1035 mkdir $(DISTDIR)/samples/mdi/bitmaps
1036 cp $(SAMPDIR)/mdi/Makefile.in $(DISTDIR)/samples/mdi
1037 cp $(SAMPDIR)/mdi/makefile.unx $(DISTDIR)/samples/mdi
1038 cp $(SAMPDIR)/mdi/*.cpp $(DISTDIR)/samples/mdi
1039 cp $(SAMPDIR)/mdi/*.h $(DISTDIR)/samples/mdi
1040 cp $(SAMPDIR)/mdi/*.xpm $(DISTDIR)/samples/mdi
1041 cp $(SAMPDIR)/mdi/bitmaps/*.xpm $(DISTDIR)/samples/mdi/bitmaps
1042
1043 mkdir $(DISTDIR)/samples/memcheck
1044 cp $(SAMPDIR)/memcheck/Makefile.in $(DISTDIR)/samples/memcheck
1045 cp $(SAMPDIR)/memcheck/makefile.unx $(DISTDIR)/samples/memcheck
1046 cp $(SAMPDIR)/memcheck/*.cpp $(DISTDIR)/samples/memcheck
1047 cp $(SAMPDIR)/memcheck/*.xpm $(DISTDIR)/samples/memcheck
1048
1049 mkdir $(DISTDIR)/samples/menu
1050 cp $(SAMPDIR)/menu/Makefile.in $(DISTDIR)/samples/menu
1051 cp $(SAMPDIR)/menu/makefile.unx $(DISTDIR)/samples/menu
1052 cp $(SAMPDIR)/menu/*.cpp $(DISTDIR)/samples/menu
1053
1054 mkdir $(DISTDIR)/samples/minifram
1055 mkdir $(DISTDIR)/samples/minifram/bitmaps
1056 cp $(SAMPDIR)/minifram/Makefile.in $(DISTDIR)/samples/minifram
1057 cp $(SAMPDIR)/minifram/makefile.unx $(DISTDIR)/samples/minifram
1058 cp $(SAMPDIR)/minifram/*.cpp $(DISTDIR)/samples/minifram
1059 cp $(SAMPDIR)/minifram/*.h $(DISTDIR)/samples/minifram
1060 cp $(SAMPDIR)/minifram/*.xpm $(DISTDIR)/samples/minifram
1061 cp $(SAMPDIR)/minifram/bitmaps/*.xpm $(DISTDIR)/samples/minifram/bitmaps
1062
1063 mkdir $(DISTDIR)/samples/minimal
1064 cp $(SAMPDIR)/minimal/Makefile.in $(DISTDIR)/samples/minimal
1065 cp $(SAMPDIR)/minimal/makefile.unx $(DISTDIR)/samples/minimal
1066 cp $(SAMPDIR)/minimal/*.cpp $(DISTDIR)/samples/minimal
1067 cp $(SAMPDIR)/minimal/*.xpm $(DISTDIR)/samples/minimal
1068
1069 mkdir $(DISTDIR)/samples/nettest
1070 cp $(SAMPDIR)/nettest/Makefile.in $(DISTDIR)/samples/nettest
1071 cp $(SAMPDIR)/nettest/makefile.unx $(DISTDIR)/samples/nettest
1072 cp $(SAMPDIR)/nettest/*.cpp $(DISTDIR)/samples/nettest
1073
1074 mkdir $(DISTDIR)/samples/newgrid
1075 cp $(SAMPDIR)/newgrid/Makefile.in $(DISTDIR)/samples/newgrid
1076 cp $(SAMPDIR)/newgrid/makefile.unx $(DISTDIR)/samples/newgrid
1077 cp $(SAMPDIR)/newgrid/*.cpp $(DISTDIR)/samples/newgrid
1078 cp $(SAMPDIR)/newgrid/*.h $(DISTDIR)/samples/newgrid
1079
1080 mkdir $(DISTDIR)/samples/notebook
1081 cp $(SAMPDIR)/notebook/Makefile.in $(DISTDIR)/samples/notebook
1082 cp $(SAMPDIR)/notebook/makefile.unx $(DISTDIR)/samples/notebook
1083 cp $(SAMPDIR)/notebook/*.cpp $(DISTDIR)/samples/notebook
1084 cp $(SAMPDIR)/notebook/*.h $(DISTDIR)/samples/notebook
1085
1086 mkdir $(DISTDIR)/samples/png
1087 cp $(SAMPDIR)/png/Makefile.in $(DISTDIR)/samples/png
1088 cp $(SAMPDIR)/png/makefile.unx $(DISTDIR)/samples/png
1089 cp $(SAMPDIR)/png/*.cpp $(DISTDIR)/samples/png
1090 cp $(SAMPDIR)/png/*.h $(DISTDIR)/samples/png
1091 cp $(SAMPDIR)/png/*.png $(DISTDIR)/samples/png
1092
1093 mkdir $(DISTDIR)/samples/printing
1094 cp $(SAMPDIR)/printing/Makefile.in $(DISTDIR)/samples/printing
1095 cp $(SAMPDIR)/printing/makefile.unx $(DISTDIR)/samples/printing
1096 cp $(SAMPDIR)/printing/*.cpp $(DISTDIR)/samples/printing
1097 cp $(SAMPDIR)/printing/*.h $(DISTDIR)/samples/printing
1098 cp $(SAMPDIR)/printing/*.xpm $(DISTDIR)/samples/printing
1099 cp $(SAMPDIR)/printing/*.xbm $(DISTDIR)/samples/printing
1100
1101 mkdir $(DISTDIR)/samples/resource
1102 cp $(SAMPDIR)/resource/Makefile.in $(DISTDIR)/samples/resource
1103 cp $(SAMPDIR)/resource/makefile.unx $(DISTDIR)/samples/resource
1104 cp $(SAMPDIR)/resource/*.cpp $(DISTDIR)/samples/resource
1105 cp $(SAMPDIR)/resource/*.h $(DISTDIR)/samples/resource
1106 cp $(SAMPDIR)/resource/*.wxr $(DISTDIR)/samples/resource
1107
1108 mkdir $(DISTDIR)/samples/richedit
1109 cp $(SAMPDIR)/richedit/Makefile.in $(DISTDIR)/samples/richedit
1110 cp $(SAMPDIR)/richedit/*.cpp $(DISTDIR)/samples/richedit
1111 cp $(SAMPDIR)/richedit/*.h $(DISTDIR)/samples/richedit
1112 cp $(SAMPDIR)/richedit/*.xpm $(DISTDIR)/samples/richedit
1113 cp $(SAMPDIR)/richedit/README $(DISTDIR)/samples/richedit
1114 cp $(SAMPDIR)/richedit/TODO $(DISTDIR)/samples/richedit
1115
1116 mkdir $(DISTDIR)/samples/proplist
1117 cp $(SAMPDIR)/proplist/Makefile.in $(DISTDIR)/samples/proplist
1118 cp $(SAMPDIR)/proplist/*.cpp $(DISTDIR)/samples/proplist
1119 cp $(SAMPDIR)/proplist/*.h $(DISTDIR)/samples/proplist
1120
1121 mkdir $(DISTDIR)/samples/propsize
1122 cp $(SAMPDIR)/propsize/Makefile.in $(DISTDIR)/samples/propsize
1123 cp $(SAMPDIR)/propsize/*.cpp $(DISTDIR)/samples/propsize
1124 cp $(SAMPDIR)/propsize/*.xpm $(DISTDIR)/samples/propsize
1125
1126 mkdir $(DISTDIR)/samples/sashtest
1127 cp $(SAMPDIR)/sashtest/Makefile.in $(DISTDIR)/samples/sashtest
1128 cp $(SAMPDIR)/sashtest/*.cpp $(DISTDIR)/samples/sashtest
1129 cp $(SAMPDIR)/sashtest/*.h $(DISTDIR)/samples/sashtest
1130
1131 mkdir $(DISTDIR)/samples/scroll
1132 cp $(SAMPDIR)/scroll/Makefile.in $(DISTDIR)/samples/scroll
1133 cp $(SAMPDIR)/scroll/makefile.unx $(DISTDIR)/samples/scroll
1134 cp $(SAMPDIR)/scroll/*.cpp $(DISTDIR)/samples/scroll
1135
1136 mkdir $(DISTDIR)/samples/scrollsub
1137 cp $(SAMPDIR)/scrollsub/Makefile.in $(DISTDIR)/samples/scrollsub
1138 cp $(SAMPDIR)/scrollsub/makefile.unx $(DISTDIR)/samples/scrollsub
1139 cp $(SAMPDIR)/scrollsub/*.cpp $(DISTDIR)/samples/scrollsub
1140
1141 mkdir $(DISTDIR)/samples/splitter
1142 cp $(SAMPDIR)/splitter/makefile.unx $(DISTDIR)/samples/splitter
1143 cp $(SAMPDIR)/splitter/Makefile.in $(DISTDIR)/samples/splitter
1144 cp $(SAMPDIR)/splitter/*.cpp $(DISTDIR)/samples/splitter
1145
1146 mkdir $(DISTDIR)/samples/text
1147 cp $(SAMPDIR)/text/Makefile.in $(DISTDIR)/samples/text
1148 cp $(SAMPDIR)/text/makefile.unx $(DISTDIR)/samples/text
1149 cp $(SAMPDIR)/text/*.cpp $(DISTDIR)/samples/text
1150 cp $(SAMPDIR)/text/*.xpm $(DISTDIR)/samples/text
1151
1152 mkdir $(DISTDIR)/samples/thread
1153 cp $(SAMPDIR)/thread/Makefile.in $(DISTDIR)/samples/thread
1154 cp $(SAMPDIR)/thread/makefile.unx $(DISTDIR)/samples/thread
1155 cp $(SAMPDIR)/thread/*.cpp $(DISTDIR)/samples/thread
1156
1157 mkdir $(DISTDIR)/samples/toolbar
1158 cp $(SAMPDIR)/toolbar/Makefile.in $(DISTDIR)/samples/toolbar
1159 cp $(SAMPDIR)/toolbar/*.cpp $(DISTDIR)/samples/toolbar
1160 cp $(SAMPDIR)/toolbar/*.xpm $(DISTDIR)/samples/toolbar
1161 mkdir $(DISTDIR)/samples/toolbar/bitmaps
1162 cp $(SAMPDIR)/toolbar/bitmaps/*.xpm $(DISTDIR)/samples/toolbar/bitmaps
1163
1164 mkdir $(DISTDIR)/samples/treectrl
1165 cp $(SAMPDIR)/treectrl/Makefile.in $(DISTDIR)/samples/treectrl
1166 cp $(SAMPDIR)/treectrl/*.cpp $(DISTDIR)/samples/treectrl
1167 cp $(SAMPDIR)/treectrl/*.h $(DISTDIR)/samples/treectrl
1168 cp $(SAMPDIR)/treectrl/*.xpm $(DISTDIR)/samples/treectrl
1169
1170 mkdir $(DISTDIR)/samples/typetest
1171 cp $(SAMPDIR)/typetest/Makefile.in $(DISTDIR)/samples/typetest
1172 cp $(SAMPDIR)/typetest/*.cpp $(DISTDIR)/samples/typetest
1173 cp $(SAMPDIR)/typetest/*.h $(DISTDIR)/samples/typetest
1174 cp $(SAMPDIR)/typetest/*.xpm $(DISTDIR)/samples/typetest
1175
1176 mkdir $(DISTDIR)/samples/validate
1177 cp $(SAMPDIR)/validate/Makefile.in $(DISTDIR)/samples/validate
1178 cp $(SAMPDIR)/validate/*.cpp $(DISTDIR)/samples/validate
1179 cp $(SAMPDIR)/validate/*.h $(DISTDIR)/samples/validate
1180 cp $(SAMPDIR)/validate/*.xpm $(DISTDIR)/samples/validate
1181
1182 mkdir $(DISTDIR)/samples/wizard
1183 cp $(SAMPDIR)/wizard/Makefile.in $(DISTDIR)/samples/wizard
1184 cp $(SAMPDIR)/wizard/*.cpp $(DISTDIR)/samples/wizard
1185 cp $(SAMPDIR)/wizard/*.xpm $(DISTDIR)/samples/wizard
1186
1187 mkdir $(DISTDIR)/samples/wxpoem
1188 cp $(SAMPDIR)/wxpoem/Makefile.in $(DISTDIR)/samples/wxpoem
1189 cp $(SAMPDIR)/wxpoem/*.cpp $(DISTDIR)/samples/wxpoem
1190 cp $(SAMPDIR)/wxpoem/*.xpm $(DISTDIR)/samples/wxpoem
1191 cp $(SAMPDIR)/wxpoem/*.dat $(DISTDIR)/samples/wxpoem
1192 cp $(SAMPDIR)/wxpoem/*.txt $(DISTDIR)/samples/wxpoem
1193
1194 mkdir $(DISTDIR)/samples/wxsocket
1195 cp $(SAMPDIR)/wxsocket/Makefile.in $(DISTDIR)/samples/wxsocket
1196 cp $(SAMPDIR)/wxsocket/*.cpp $(DISTDIR)/samples/wxsocket
1197 cp $(SAMPDIR)/wxsocket/*.xpm $(DISTDIR)/samples/wxsocket
1198
1199 UTILS_DIST:
1200 mkdir $(DISTDIR)/utils
1201 cp $(UTILSDIR)/Makefile.in $(DISTDIR)/utils
1202
1203 mkdir $(DISTDIR)/utils/wxMMedia2
1204 mkdir $(DISTDIR)/utils/wxMMedia2/lib
1205 mkdir $(DISTDIR)/utils/wxMMedia2/sample
1206 cp $(UTILSDIR)/wxMMedia2/Makefile.in $(DISTDIR)/utils/wxMMedia2
1207 cp $(UTILSDIR)/wxMMedia2/lib/Makefile.in $(DISTDIR)/utils/wxMMedia2/lib
1208 cp $(UTILSDIR)/wxMMedia2/lib/*.h $(DISTDIR)/utils/wxMMedia2/lib
1209 cp $(UTILSDIR)/wxMMedia2/lib/*.cpp $(DISTDIR)/utils/wxMMedia2/lib
1210 cp $(UTILSDIR)/wxMMedia2/lib/*.def $(DISTDIR)/utils/wxMMedia2/lib
1211 cp $(UTILSDIR)/wxMMedia2/sample/Makefile.in $(DISTDIR)/utils/wxMMedia2/sample
1212 cp $(UTILSDIR)/wxMMedia2/sample/*.cpp $(DISTDIR)/utils/wxMMedia2/sample
1213
1214 mkdir $(DISTDIR)/utils/glcanvas
1215 mkdir $(DISTDIR)/utils/glcanvas/$(TOOLKITDIR)
1216 cp $(UTILSDIR)/glcanvas/Makefile.in $(DISTDIR)/utils/glcanvas
1217 cp $(UTILSDIR)/glcanvas/docs/notes.txt $(DISTDIR)/utils/glcanvas/NOTES.txt
1218 cp $(UTILSDIR)/glcanvas/$(TOOLKITDIR)/Makefile.in $(DISTDIR)/utils/glcanvas/$(TOOLKITDIR)
1219 cp $(UTILSDIR)/glcanvas/$(TOOLKITDIR)/*.h $(DISTDIR)/utils/glcanvas/$(TOOLKITDIR)
1220 cp $(UTILSDIR)/glcanvas/$(TOOLKITDIR)/*.cpp $(DISTDIR)/utils/glcanvas/$(TOOLKITDIR)
1221
1222 mkdir $(DISTDIR)/utils/ogl
1223 mkdir $(DISTDIR)/utils/ogl/src
1224 cp $(UTILSDIR)/ogl/Makefile.in $(DISTDIR)/utils/ogl
1225 cp $(UTILSDIR)/ogl/src/Makefile.in $(DISTDIR)/utils/ogl/src
1226 cp $(UTILSDIR)/ogl/src/*.h $(DISTDIR)/utils/ogl/src
1227 cp $(UTILSDIR)/ogl/src/*.cpp $(DISTDIR)/utils/ogl/src
1228
1229 MISC_DIST:
1230 mkdir $(DISTDIR)/misc
1231 mkdir $(DISTDIR)/misc/afm
1232 cp $(MISCDIR)/afm/*.afm $(DISTDIR)/misc/afm
1233 mkdir $(DISTDIR)/misc/gs_afm
1234 cp $(MISCDIR)/gs_afm/*.afm $(DISTDIR)/misc/gs_afm
1235
1236 dist: ALL_DIST @GUIDIST@ SAMPLES_DIST UTILS_DIST MISC_DIST
1237 cd _dist_dir; tar ch wx$(TOOLKIT) | gzip -f9 > $(WXARCHIVE); mv $(WXARCHIVE) ..
1238 mv _dist_dir/wx$(TOOLKIT)/samples _dist_dir/wx$(TOOLKIT)/wxSamples
1239 cd _dist_dir/wx$(TOOLKIT); tar ch wxSamples | gzip -f9 > $(WXSAMPLES); mv $(WXSAMPLES) ../..
1240 $(RM) -r _dist_dir
1241
1242 clean:
1243 $(RM) *.o
1244 $(RM) *.d
1245 $(RM) parser.c
1246 $(RM) lexer.c
1247 $(RM) ./lib/*
1248
1249 cleanall: clean