]> git.saurik.com Git - wxWidgets.git/blob - distrib/msw/tmake/unx.t
TIFF code 3.
[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 ZLIBDIR = $(WXDIR)/src/zlib
293 GTKDIR = $(WXDIR)/src/gtk
294 MOTIFDIR = $(WXDIR)/src/motif
295 MSWDIR = $(WXDIR)/src/msw
296 ODBCDIR = $(WXDIR)/src/iodbc
297 INCDIR = $(WXDIR)/include
298 SAMPDIR = $(WXDIR)/samples
299 UTILSDIR = $(WXDIR)/utils
300 MISCDIR = $(WXDIR)/misc
301
302 DOCDIR = $(WXDIR)/docs
303
304 ########################## Archive name ###############################
305
306 WXARCHIVE = wx$(TOOLKIT)-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER).tgz
307 WXSAMPLES = wx$(TOOLKIT)-samples-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER).tgz
308 DISTDIR = ./_dist_dir/wx$(TOOLKIT)
309
310 ############################## Files ##################################
311
312 BASE_HEADERS = \
313 #$ ExpandList("BASE_HEADERS");
314
315 WX_HEADERS = \
316 #$ ExpandList("WX_HEADERS");
317
318 GTK_HEADERS = \
319 #$ ExpandList("WXGTK_HEADERS");
320
321 MOTIF_HEADERS = \
322 #$ ExpandList("WXMOTIF_HEADERS");
323
324 MSW_HEADERS = \
325 #$ ExpandList("WXMSW_HEADERS");
326
327 UNIX_HEADERS = \
328 #$ ExpandList("WXUNIX_HEADERS");
329
330 GENERIC_HEADERS = \
331 #$ ExpandList("WXGENERIC_HEADERS");
332
333 PROTOCOL_HEADERS = \
334 #$ ExpandList("WXPROTOCOL_HEADERS");
335
336 HTML_HEADERS = \
337 #$ ExpandList("WXHTML_HEADERS");
338
339 GTK_GENERICOBJS = \
340 #$ ExpandList("WXGTK_GENERICOBJS");
341
342 GTK_GENERICDEPS = \
343 #$ ExpandList("WXGTK_GENERICDEPS");
344
345 GTK_COMMONOBJS = \
346 parser.o \
347 #$ ExpandList("WXGTK_COMMONOBJS");
348
349 GTK_COMMONDEPS = \
350 parser.d \
351 #$ ExpandList("WXGTK_COMMONDEPS");
352
353 GTK_GUIOBJS = \
354 #$ ExpandList("WXGTK_GUIOBJS");
355
356 GTK_GUIDEPS = \
357 #$ ExpandList("WXGTK_GUIDEPS");
358
359 MOTIF_GENERICOBJS = \
360 #$ ExpandList("WXMOTIF_GENERICOBJS");
361
362 MOTIF_GENERICDEPS = \
363 #$ ExpandList("WXMOTIF_GENERICDEPS");
364
365 MOTIF_COMMONOBJS = \
366 parser.o \
367 #$ ExpandList("WXMOTIF_COMMONOBJS");
368
369 MOTIF_COMMONDEPS = \
370 parser.d \
371 #$ ExpandList("WXMOTIF_COMMONDEPS");
372
373 MOTIF_GUIOBJS = \
374 xmcombo.o \
375 #$ ExpandList("WXMOTIF_GUIOBJS");
376
377 MOTIF_GUIDEPS = \
378 xmcombo.d \
379 #$ ExpandList("WXMOTIF_GUIDEPS");
380
381 MSW_GENERICOBJS = \
382 #$ ExpandList("WXMSW_GENERICOBJS");
383
384 MSW_GENERICDEPS = \
385 #$ ExpandList("WXMSW_GENERICDEPS");
386
387 MSW_COMMONOBJS = \
388 parser.o \
389 #$ ExpandList("WXMSW_COMMONOBJS");
390
391 MSW_COMMONDEPS = \
392 parser.d \
393 #$ ExpandList("WXMSW_COMMONDEPS");
394
395 MSW_GUIOBJS = \
396 #$ ExpandList("WXMSW_GUIOBJS");
397
398 MSW_GUIDEPS = \
399 #$ ExpandList("WXMSW_GUIDEPS");
400
401 BASE_OBJS = \
402 #$ ExpandList("BASE_OBJS");
403
404 BASE_DEPS = \
405 #$ ExpandList("BASE_DEPS");
406
407 HTMLOBJS = \
408 #$ ExpandList("WXHTMLOBJS");
409
410 HTMLDEPS = \
411 #$ ExpandList("WXHTMLDEPS");
412
413 UNIX_OBJS = \
414 #$ ExpandList("WXUNIX_OBJS");
415
416 UNIX_DEPS = \
417 #$ ExpandList("WXUNIX_DEPS");
418
419 ZLIBOBJS = \
420 adler32.o \
421 compress.o \
422 crc32.o \
423 gzio.o \
424 uncompr.o \
425 deflate.o \
426 trees.o \
427 zutil.o \
428 inflate.o \
429 infblock.o \
430 inftrees.o \
431 infcodes.o \
432 infutil.o \
433 inffast.o
434
435 PNGOBJS = \
436 png.o \
437 pngread.o \
438 pngrtran.o \
439 pngrutil.o \
440 pngpread.o \
441 pngtrans.o \
442 pngwrite.o \
443 pngwtran.o \
444 pngwutil.o \
445 pngerror.o \
446 pngmem.o \
447 pngwio.o \
448 pngrio.o \
449 pngget.o \
450 pngset.o
451
452
453 JPEGOBJS = \
454 jcomapi.o \
455 jutils.o \
456 jerror.o \
457 jmemmgr.o \
458 jmemnobs.o \
459 jcapimin.o \
460 jcapistd.o \
461 jctrans.o \
462 jcparam.o \
463 jdatadst.o \
464 jcinit.o \
465 jcmaster.o \
466 jcmarker.o \
467 jcmainct.o \
468 jcprepct.o \
469 jccoefct.o \
470 jccolor.o \
471 jcsample.o \
472 jchuff.o \
473 jcphuff.o \
474 jcdctmgr.o \
475 jfdctfst.o \
476 jfdctflt.o \
477 jfdctint.o \
478 jdapimin.o \
479 jdapistd.o \
480 jdtrans.o \
481 jdatasrc.o \
482 jdmaster.o \
483 jdinput.o \
484 jdmarker.o \
485 jdhuff.o \
486 jdphuff.o \
487 jdmainct.o \
488 jdcoefct.o \
489 jdpostct.o \
490 jddctmgr.o \
491 jidctfst.o \
492 jidctflt.o \
493 jidctint.o \
494 jidctred.o \
495 jdsample.o \
496 jdcolor.o \
497 jquant1.o \
498 jquant2.o \
499 jdmerge.o
500
501 TIFFOBJS = \
502 tif_aux.o \
503 tif_close.o \
504 tif_codec.o \
505 tif_compress.o \
506 tif_dir.o \
507 tif_dirinfo.o \
508 tif_dirread.o \
509 tif_dirwrite.o \
510 tif_dumpmode.o \
511 tif_error.o \
512 tif_fax3.o \
513 tif_fax3sm.o \
514 tif_getimage.o \
515 tif_jpeg.o \
516 tif_flush.o \
517 tif_lzw.o \
518 tif_next.o \
519 tif_open.o \
520 tif_packbits.o \
521 tif_pixarlog.o \
522 tif_predict.o \
523 tif_print.o \
524 tif_read.o \
525 tif_swab.o \
526 tif_strip.o \
527 tif_thunder.o \
528 tif_tile.o \
529 tif_unix.o \
530 tif_version.o \
531 tif_warning.o \
532 tif_write.o \
533 tif_zip.o
534
535 IODBC_OBJS = \
536 catalog.o \
537 connect.o \
538 dlf.o \
539 dlproc.o \
540 execute.o \
541 fetch.o \
542 hdbc.o \
543 henv.o \
544 herr.o \
545 hstmt.o \
546 info.o \
547 itrace.o \
548 misc.o \
549 prepare.o \
550 result.o
551
552 GUIOBJS = @GUIOBJS@
553 GUIDEPS = @GUIDEPS@
554 GUIHEADERS = @GUIHEADERS@
555 COMMONOBJS = @COMMONOBJS@
556 COMMONDEPS = @COMMONDEPS@
557 GENERICOBJS = @GENERICOBJS@
558 GENERICDEPS = @GENERICDEPS@
559 UNIXOBJS = @UNIXOBJS@
560 UNIXDEPS = @UNIXDEPS@
561 IODBCOBJS = @IODBCOBJS@
562
563 OBJECTS = @ALL_OBJECTS@
564
565 DEPFILES = @ALL_DEPFILES@
566
567 HEADERS = @ALL_HEADERS@
568
569 all: @WX_ALL@
570
571 @WX_LIBRARY_NAME_STATIC@: $(OBJECTS)
572 @$(INSTALL) -d ./lib
573 $(AR) $(AROPTIONS) ./lib/$@ $(OBJECTS)
574 $(RANLIB) ./lib/$@
575
576 @WX_LIBRARY_NAME_SHARED@: $(OBJECTS)
577 @$(INSTALL) -d ./lib
578 $(SHARED_LD) ./lib/$@ $(OBJECTS) $(EXTRALIBS)
579
580 CREATE_LINKS: @WX_LIBRARY_NAME_SHARED@
581 @$(RM) ./lib/@WX_LIBRARY_LINK1@
582 @$(RM) ./lib/@WX_LIBRARY_LINK2@
583 @$(RM) ./lib/@WX_LIBRARY_LINK3@
584 $(LN_S) @WX_TARGET_LIBRARY@ ./lib/@WX_LIBRARY_LINK1@
585 $(LN_S) @WX_TARGET_LIBRARY@ ./lib/@WX_LIBRARY_LINK2@
586 $(LN_S) @WX_TARGET_LIBRARY@ ./lib/@WX_LIBRARY_LINK3@
587
588 CREATE_INSTALLED_LINKS: $(libdir)/@WX_LIBRARY_NAME_SHARED@
589 $(RM) $(libdir)/@WX_LIBRARY_LINK1@
590 $(RM) $(libdir)/@WX_LIBRARY_LINK2@
591 $(RM) $(libdir)/@WX_LIBRARY_LINK3@
592 $(LN_S) @WX_LIBRARY_NAME_SHARED@ $(libdir)/@WX_LIBRARY_LINK1@
593 $(LN_S) @WX_LIBRARY_NAME_SHARED@ $(libdir)/@WX_LIBRARY_LINK2@
594 $(LN_S) @WX_LIBRARY_NAME_SHARED@ $(libdir)/@WX_LIBRARY_LINK3@
595
596 $(OBJECTS): $(WXDIR)/include/wx/defs.h $(WXDIR)/include/wx/object.h
597
598 parser.o: parser.c lexer.c
599 $(CCLEX) -c $(CFLAGS) $(PICFLAGS) -o $@ parser.c
600
601 parser.c: $(COMMDIR)/parser.y lexer.c
602 $(YACC) $(COMMDIR)/parser.y
603 @sed -e "s;$(COMMDIR)/y.tab.c;parser.y;g" < y.tab.c | \
604 sed -e "s/BUFSIZ/5000/g" | \
605 sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \
606 sed -e "s/yy/PROIO_yy/g" | \
607 sed -e "s/input/PROIO_input/g" | \
608 sed -e "s/unput/PROIO_unput/g" > parser.c
609 @$(RM) y.tab.c
610
611 lexer.c: $(COMMDIR)/lexer.l
612 $(LEX) $(COMMDIR)/lexer.l
613 @sed -e "s;$(COMMDIR)/lex.yy.c;lexer.l;g" < lex.yy.c | \
614 sed -e "s/yy/PROIO_yy/g" | \
615 sed -e "s/input/PROIO_input/g" | \
616 sed -e "s/unput/PROIO_unput/g" > lexer.c
617 @$(RM) lex.yy.c
618
619 -include $(DEPFILES)
620
621 preinstall: $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(top_builddir)/wx-config
622 @echo " "
623 @echo " Installing wxWindows..."
624 @echo " "
625
626 $(INSTALL) -d $(prefix)
627 $(INSTALL) -d $(bindir)
628 $(INSTALL) -d $(libdir)
629 $(INSTALL) -d $(datadir)
630
631 $(INSTALL_SCRIPT) $(top_builddir)/wx-config $(bindir)/wx-config
632 $(INSTALL_PROGRAM) $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(libdir)/@WX_TARGET_LIBRARY@
633
634 $(INSTALL) -d $(libdir)/wx
635 $(INSTALL) -d $(libdir)/wx/include
636 $(INSTALL) -d $(libdir)/wx/include/wx
637 $(INSTALL) -d $(libdir)/wx/include/wx/@TOOLKIT_DIR@
638 $(INSTALL_DATA) $(top_builddir)/include/wx/@TOOLKIT_DIR@/setup.h $(libdir)/wx/include/wx/@TOOLKIT_DIR@/setup.h
639
640 $(INSTALL) -d $(datadir)/wx
641 $(INSTALL) -d $(datadir)/wx/afm
642 $(INSTALL) -d $(datadir)/wx/gs_afm
643 $(INSTALL_DATA) $(top_srcdir)/misc/afm/*.afm $(datadir)/wx/afm
644 $(INSTALL_DATA) $(top_srcdir)/misc/gs_afm/*.afm $(datadir)/wx/gs_afm
645
646 $(INSTALL) -d $(includedir)/wx
647 $(INSTALL) -d $(includedir)/wx/msw
648 $(INSTALL) -d $(includedir)/wx/gtk
649 $(INSTALL) -d $(includedir)/wx/motif
650 $(INSTALL) -d $(includedir)/wx/html
651 $(INSTALL) -d $(includedir)/wx/protocol
652 $(INSTALL) -d $(includedir)/wx/unix
653 $(INSTALL) -d $(includedir)/wx/generic
654 @list='$(HEADERS)'; for p in $$list; do \
655 $(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p; \
656 echo "$(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p"; \
657 done
658
659 write_message:
660 @echo " "
661 @echo " The installation of wxWindows is finished. On certain"
662 @echo " platforms (e.g. Linux) you'll now have to run ldconfig"
663 @echo " if you installed a shared library."
664 @echo " "
665 @echo " wxWindows comes with no guarantees and doesn't claim"
666 @echo " to be suitable for any purpose."
667 @echo " "
668 @echo " Read the wxWindows Licence on licencing conditions."
669 @echo " "
670
671 install: preinstall @WX_ALL_INSTALLED@ write_message
672
673 uninstall:
674 @echo " "
675 @echo " Uninstalling wxWindows..."
676 @echo " "
677 @echo " Removing library..."
678 @$(RM) $(libdir)/@WX_TARGET_LIBRARY@
679 @$(RM) $(libdir)/@WX_LIBRARY_LINK1@
680 @$(RM) $(libdir)/@WX_LIBRARY_LINK2@
681 @$(RM) $(libdir)/@WX_LIBRARY_LINK3@
682 @echo " Removing helper files..."
683 @$(RM) $(libdir)/wx/include/wx/@TOOLKIT_DIR@/setup.h
684 @$(RM) $(bindir)/wx-config
685 @$(RM) $(datadir)/wx/afm/*
686 @$(RM) $(datadir)/wx/gs_afm/*
687 @rmdir $(datadir)/wx/gs_afm
688 @rmdir $(datadir)/wx/afm
689 @rmdir $(datadir)/wx
690 @echo " Removing headers..."
691 @list='$(HEADERS)'; for p in $$list; do \
692 $(RM) $(includedir)/wx/$$p; \
693 done
694 @echo " Removing directories..."
695 @if test -d $(libdir)/wx/include/wx/@TOOLKIT_DIR@; then rmdir $(libdir)/wx/include/wx/@TOOLKIT_DIR@; fi
696 @if test -d $(libdir)/wx/include/wx; then rmdir $(libdir)/wx/include/wx; fi
697 @if test -d $(libdir)/wx/include; then rmdir $(libdir)/wx/include; fi
698 @if test -d $(libdir)/wx; then rmdir $(libdir)/wx; fi
699 @if test -d $(includedir)/wx/gtk; then rmdir $(includedir)/wx/gtk; fi
700 @if test -d $(includedir)/wx/motif; then rmdir $(includedir)/wx/motif; fi
701 @if test -d $(includedir)/wx/msw; then rmdir $(includedir)/wx/msw; fi
702 @if test -d $(includedir)/wx/html; then rmdir $(includedir)/wx/html; fi
703 @if test -d $(includedir)/wx/unix; then rmdir $(includedir)/wx/unix; fi
704 @if test -d $(includedir)/wx/generic; then rmdir $(includedir)/wx/generic; fi
705 @if test -d $(includedir)/wx/protocol; then rmdir $(includedir)/wx/protocol; fi
706 @if test -d $(includedir)/wx; then rmdir $(includedir)/wx; fi
707
708 ALL_DIST:
709 mkdir _dist_dir
710 mkdir $(DISTDIR)
711 cp $(WXDIR)/wx$(TOOLKIT).spec $(DISTDIR)
712 cp $(WXDIR)/configure.in $(DISTDIR)
713 cp $(WXDIR)/configure $(DISTDIR)
714 cp $(WXDIR)/config.sub $(DISTDIR)
715 cp $(WXDIR)/config.guess $(DISTDIR)
716 cp $(WXDIR)/install-sh $(DISTDIR)
717 cp $(WXDIR)/mkinstalldirs $(DISTDIR)
718 cp $(WXDIR)/wx-config.in $(DISTDIR)
719 cp $(WXDIR)/setup.h.in $(DISTDIR)
720 cp $(WXDIR)/Makefile.in $(DISTDIR)
721 cp $(DOCDIR)/lgpl.txt $(DISTDIR)/COPYING.LIB
722 cp $(DOCDIR)/licence.txt $(DISTDIR)/LICENCE.txt
723 cp $(DOCDIR)/symbols.txt $(DISTDIR)/SYMBOLS.txt
724 cp $(DOCDIR)/$(TOOLKITDIR)/install.txt $(DISTDIR)/INSTALL.txt
725 cp $(DOCDIR)/$(TOOLKITDIR)/changes.txt $(DISTDIR)/CHANGES.txt
726 cp $(DOCDIR)/$(TOOLKITDIR)/readme.txt $(DISTDIR)/README.txt
727 cp $(DOCDIR)/$(TOOLKITDIR)/todo.txt $(DISTDIR)/TODO.txt
728 mkdir $(DISTDIR)/include
729 mkdir $(DISTDIR)/include/wx
730 mkdir $(DISTDIR)/include/wx/$(TOOLKITDIR)
731 mkdir $(DISTDIR)/include/wx/generic
732 mkdir $(DISTDIR)/include/wx/html
733 mkdir $(DISTDIR)/include/wx/unix
734 mkdir $(DISTDIR)/include/wx/protocol
735 cp $(INCDIR)/wx/*.h $(DISTDIR)/include/wx
736 cp $(INCDIR)/wx/*.cpp $(DISTDIR)/include/wx
737 cp $(INCDIR)/wx/generic/*.h $(DISTDIR)/include/wx/generic
738 cp $(INCDIR)/wx/generic/*.xpm $(DISTDIR)/include/wx/generic
739 cp $(INCDIR)/wx/html/*.h $(DISTDIR)/include/wx/html
740 cp $(INCDIR)/wx/unix/*.h $(DISTDIR)/include/wx/unix
741 cp $(INCDIR)/wx/protocol/*.h $(DISTDIR)/include/wx/protocol
742 mkdir $(DISTDIR)/src
743 mkdir $(DISTDIR)/src/common
744 mkdir $(DISTDIR)/src/generic
745 mkdir $(DISTDIR)/src/html
746 mkdir $(DISTDIR)/src/html/bitmaps
747 mkdir $(DISTDIR)/src/$(TOOLKITDIR)
748 mkdir $(DISTDIR)/src/unix
749 mkdir $(DISTDIR)/src/png
750 mkdir $(DISTDIR)/src/jpeg
751 mkdir $(DISTDIR)/src/zlib
752 mkdir $(DISTDIR)/src/iodbc
753 cp $(SRCDIR)/*.in $(DISTDIR)/src
754 cp $(COMMDIR)/*.cpp $(DISTDIR)/src/common
755 cp $(COMMDIR)/*.c $(DISTDIR)/src/common
756 cp $(COMMDIR)/*.inc $(DISTDIR)/src/common
757 cp $(COMMDIR)/*.l $(DISTDIR)/src/common
758 cp $(COMMDIR)/*.h $(DISTDIR)/src/common
759 cp $(COMMDIR)/*.y $(DISTDIR)/src/common
760 cp $(GENDIR)/*.cpp $(DISTDIR)/src/generic
761 cp $(HTMLDIR)/*.cpp $(DISTDIR)/src/html
762 cp $(HTMLDIR)/bitmaps/*.xpm $(DISTDIR)/src/html/bitmaps
763 cp $(UNIXDIR)/*.c $(DISTDIR)/src/unix
764 cp $(UNIXDIR)/*.cpp $(DISTDIR)/src/unix
765 cp $(PNGDIR)/*.h $(DISTDIR)/src/png
766 cp $(PNGDIR)/*.c $(DISTDIR)/src/png
767 cp $(PNGDIR)/README $(DISTDIR)/src/png
768 cp $(ZLIBDIR)/*.h $(DISTDIR)/src/zlib
769 cp $(ZLIBDIR)/*.c $(DISTDIR)/src/zlib
770 cp $(ZLIBDIR)/README $(DISTDIR)/src/zlib
771 cp $(JPEGDIR)/*.h $(DISTDIR)/src/jpeg
772 cp $(JPEGDIR)/*.c $(DISTDIR)/src/jpeg
773 cp $(JPEGDIR)/README $(DISTDIR)/src/jpeg
774 cp $(ODBCDIR)/*.h $(DISTDIR)/src/iodbc
775 cp $(ODBCDIR)/*.c $(DISTDIR)/src/iodbc
776 cp $(ODBCDIR)/*.ci $(DISTDIR)/src/iodbc
777 cp $(ODBCDIR)/*.exp $(DISTDIR)/src/iodbc
778 cp $(ODBCDIR)/README $(DISTDIR)/src/iodbc
779 cp $(ODBCDIR)/NEWS $(DISTDIR)/src/iodbc
780 cp $(ODBCDIR)/Changes.log $(DISTDIR)/src/iodbc
781
782 GTK_DIST:
783 cp $(WXDIR)/wxGTK.spec $(DISTDIR)
784 cp $(INCDIR)/wx/gtk/*.h $(DISTDIR)/include/wx/gtk
785 cp $(INCDIR)/wx/gtk/*.xpm $(DISTDIR)/include/wx/gtk
786 cp $(GTKDIR)/*.cpp $(DISTDIR)/src/gtk
787 cp $(GTKDIR)/*.c $(DISTDIR)/src/gtk
788 cp $(GTKDIR)/*.xbm $(DISTDIR)/src/gtk
789
790 MOTIF_DIST:
791 cp $(WXDIR)/wxMOTIF.spec $(DISTDIR)
792 cp $(INCDIR)/wx/motif/*.h $(DISTDIR)/include/wx/motif
793 cp $(MOTIFDIR)/*.cpp $(DISTDIR)/src/motif
794 cp $(MOTIFDIR)/*.xbm $(DISTDIR)/src/motif
795 mkdir $(DISTDIR)/src/motif/xmcombo
796 cp $(MOTIFDIR)/xmcombo/*.c $(DISTDIR)/src/motif/xmcombo
797 cp $(MOTIFDIR)/xmcombo/*.h $(DISTDIR)/src/motif/xmcombo
798 cp $(MOTIFDIR)/xmcombo/copying.txt $(DISTDIR)/src/motif/xmcombo
799
800 MSW_DIST:
801 cp $(WXDIR)/wxWINE.spec $(DISTDIR)
802 cp $(INCDIR)/wx/msw/*.h $(DISTDIR)/include/wx/msw
803 cp $(INCDIR)/wx/msw/*.cur $(DISTDIR)/include/wx/msw
804 cp $(INCDIR)/wx/msw/*.ico $(DISTDIR)/include/wx/msw
805 cp $(INCDIR)/wx/msw/*.bmp $(DISTDIR)/include/wx/msw
806 cp $(INCDIR)/wx/msw/*.rc $(DISTDIR)/include/wx/msw
807 cp $(MSWDIR)/*.cpp $(DISTDIR)/src/msw
808 cp $(MSWDIR)/*.c $(DISTDIR)/src/msw
809 cp $(MSWDIR)/*.def $(DISTDIR)/src/msw
810 mkdir $(DISTDIR)/src/msw/ole
811 cp $(MSWDIR)/ole/*.cpp $(DISTDIR)/src/msw/ole
812
813 SAMPLES_DIST:
814 mkdir $(DISTDIR)/samples
815 cp $(SAMPDIR)/Makefile.in $(DISTDIR)/samples
816
817 mkdir $(DISTDIR)/samples/bombs
818 cp $(SAMPDIR)/bombs/Makefile.in $(DISTDIR)/samples/bombs
819 cp $(SAMPDIR)/bombs/makefile.unx $(DISTDIR)/samples/bombs
820 cp $(SAMPDIR)/bombs/*.cpp $(DISTDIR)/samples/bombs
821 cp $(SAMPDIR)/bombs/*.h $(DISTDIR)/samples/bombs
822 cp $(SAMPDIR)/bombs/*.xpm $(DISTDIR)/samples/bombs
823 cp $(SAMPDIR)/bombs/readme.txt $(DISTDIR)/samples/bombs
824
825 mkdir $(DISTDIR)/samples/caret
826 cp $(SAMPDIR)/caret/Makefile.in $(DISTDIR)/samples/caret
827 cp $(SAMPDIR)/caret/makefile.unx $(DISTDIR)/samples/caret
828 cp $(SAMPDIR)/caret/*.cpp $(DISTDIR)/samples/caret
829 cp $(SAMPDIR)/caret/*.xpm $(DISTDIR)/samples/caret
830
831 mkdir $(DISTDIR)/samples/config
832 cp $(SAMPDIR)/config/Makefile.in $(DISTDIR)/samples/config
833 cp $(SAMPDIR)/config/makefile.unx $(DISTDIR)/samples/config
834 cp $(SAMPDIR)/config/*.cpp $(DISTDIR)/samples/config
835
836 mkdir $(DISTDIR)/samples/controls
837 mkdir $(DISTDIR)/samples/controls/icons
838 cp $(SAMPDIR)/controls/Makefile.in $(DISTDIR)/samples/controls
839 cp $(SAMPDIR)/controls/makefile.unx $(DISTDIR)/samples/controls
840 cp $(SAMPDIR)/controls/*.cpp $(DISTDIR)/samples/controls
841 cp $(SAMPDIR)/controls/*.xpm $(DISTDIR)/samples/controls
842 cp $(SAMPDIR)/controls/icons/*.??? $(DISTDIR)/samples/controls/icons
843
844 mkdir $(DISTDIR)/samples/checklst
845 cp $(SAMPDIR)/checklst/Makefile.in $(DISTDIR)/samples/checklst
846 cp $(SAMPDIR)/checklst/makefile.unx $(DISTDIR)/samples/checklst
847 cp $(SAMPDIR)/checklst/*.cpp $(DISTDIR)/samples/checklst
848 cp $(SAMPDIR)/checklst/*.xpm $(DISTDIR)/samples/checklst
849
850 mkdir $(DISTDIR)/samples/printing
851 cp $(SAMPDIR)/printing/Makefile.in $(DISTDIR)/samples/printing
852 cp $(SAMPDIR)/printing/makefile.unx $(DISTDIR)/samples/printing
853 cp $(SAMPDIR)/printing/*.cpp $(DISTDIR)/samples/printing
854 cp $(SAMPDIR)/printing/*.h $(DISTDIR)/samples/printing
855 cp $(SAMPDIR)/printing/*.xpm $(DISTDIR)/samples/printing
856 cp $(SAMPDIR)/printing/*.xbm $(DISTDIR)/samples/printing
857
858 mkdir $(DISTDIR)/samples/db
859 cp $(SAMPDIR)/db/Makefile.in $(DISTDIR)/samples/db
860 cp $(SAMPDIR)/db/makefile.unx $(DISTDIR)/samples/db
861 cp $(SAMPDIR)/db/*.cpp $(DISTDIR)/samples/db
862 cp $(SAMPDIR)/db/*.h $(DISTDIR)/samples/db
863 cp $(SAMPDIR)/db/*.xpm $(DISTDIR)/samples/db
864
865 mkdir $(DISTDIR)/samples/dialogs
866 cp $(SAMPDIR)/dialogs/Makefile.in $(DISTDIR)/samples/dialogs
867 cp $(SAMPDIR)/dialogs/makefile.unx $(DISTDIR)/samples/dialogs
868 cp $(SAMPDIR)/dialogs/*.cpp $(DISTDIR)/samples/dialogs
869 cp $(SAMPDIR)/dialogs/*.h $(DISTDIR)/samples/dialogs
870 cp $(SAMPDIR)/dialogs/*.txt $(DISTDIR)/samples/dialogs
871
872 mkdir $(DISTDIR)/samples/dnd
873 cp $(SAMPDIR)/dnd/Makefile.in $(DISTDIR)/samples/dnd
874 cp $(SAMPDIR)/dnd/makefile.unx $(DISTDIR)/samples/dnd
875 cp $(SAMPDIR)/dnd/*.wxr $(DISTDIR)/samples/dnd
876 cp $(SAMPDIR)/dnd/*.cpp $(DISTDIR)/samples/dnd
877 cp $(SAMPDIR)/dnd/*.xpm $(DISTDIR)/samples/dnd
878 cp $(SAMPDIR)/dnd/*.txt $(DISTDIR)/samples/dnd
879 cp $(SAMPDIR)/dnd/*.png $(DISTDIR)/samples/dnd
880
881 mkdir $(DISTDIR)/samples/docview
882 cp $(SAMPDIR)/docview/Makefile.in $(DISTDIR)/samples/docview
883 cp $(SAMPDIR)/docview/makefile.unx $(DISTDIR)/samples/docview
884 cp $(SAMPDIR)/docview/*.cpp $(DISTDIR)/samples/docview
885 cp $(SAMPDIR)/docview/*.h $(DISTDIR)/samples/docview
886 cp $(SAMPDIR)/docview/*.xpm $(DISTDIR)/samples/docview
887
888 mkdir $(DISTDIR)/samples/docvwmdi
889 cp $(SAMPDIR)/docvwmdi/Makefile.in $(DISTDIR)/samples/docvwmdi
890 cp $(SAMPDIR)/docvwmdi/makefile.unx $(DISTDIR)/samples/docvwmdi
891 cp $(SAMPDIR)/docvwmdi/*.cpp $(DISTDIR)/samples/docvwmdi
892 cp $(SAMPDIR)/docvwmdi/*.h $(DISTDIR)/samples/docvwmdi
893
894 mkdir $(DISTDIR)/samples/drawing
895 cp $(SAMPDIR)/drawing/Makefile.in $(DISTDIR)/samples/drawing
896 cp $(SAMPDIR)/drawing/makefile.unx $(DISTDIR)/samples/drawing
897 cp $(SAMPDIR)/drawing/*.cpp $(DISTDIR)/samples/drawing
898 cp $(SAMPDIR)/drawing/*.xpm $(DISTDIR)/samples/drawing
899
900 mkdir $(DISTDIR)/samples/dynamic
901 cp $(SAMPDIR)/dynamic/Makefile.in $(DISTDIR)/samples/dynamic
902 cp $(SAMPDIR)/dynamic/makefile.unx $(DISTDIR)/samples/dynamic
903 cp $(SAMPDIR)/dynamic/*.cpp $(DISTDIR)/samples/dynamic
904 cp $(SAMPDIR)/dynamic/*.xpm $(DISTDIR)/samples/dynamic
905
906 mkdir $(DISTDIR)/samples/forty
907 cp $(SAMPDIR)/forty/Makefile.in $(DISTDIR)/samples/forty
908 cp $(SAMPDIR)/forty/makefile.unx $(DISTDIR)/samples/forty
909 cp $(SAMPDIR)/forty/*.cpp $(DISTDIR)/samples/forty
910 cp $(SAMPDIR)/forty/*.xpm $(DISTDIR)/samples/forty
911 cp $(SAMPDIR)/forty/*.xbm $(DISTDIR)/samples/forty
912
913 mkdir $(DISTDIR)/samples/fractal
914 cp $(SAMPDIR)/fractal/Makefile.in $(DISTDIR)/samples/fractal
915 cp $(SAMPDIR)/fractal/makefile.unx $(DISTDIR)/samples/fractal
916 cp $(SAMPDIR)/fractal/*.cpp $(DISTDIR)/samples/fractal
917
918 mkdir $(DISTDIR)/samples/help
919 mkdir $(DISTDIR)/samples/help/doc
920 cp $(SAMPDIR)/help/Makefile.in $(DISTDIR)/samples/help
921 cp $(SAMPDIR)/help/makefile.unx $(DISTDIR)/samples/help
922 cp $(SAMPDIR)/help/*.cpp $(DISTDIR)/samples/help
923 cp $(SAMPDIR)/help/*.xpm $(DISTDIR)/samples/help
924 cp $(SAMPDIR)/help/doc/*.* $(DISTDIR)/samples/help/doc
925
926 mkdir $(DISTDIR)/samples/html
927 cp $(SAMPDIR)/html/Makefile.in $(DISTDIR)/samples/html
928 mkdir $(DISTDIR)/samples/html/about
929 cp $(SAMPDIR)/html/about/Makefile.in $(DISTDIR)/samples/html/about
930 cp $(SAMPDIR)/html/about/*.cpp $(DISTDIR)/samples/html/about
931 mkdir $(DISTDIR)/samples/html/about/data
932 cp $(SAMPDIR)/html/about/data/*.htm $(DISTDIR)/samples/html/about/data
933 cp $(SAMPDIR)/html/about/data/*.png $(DISTDIR)/samples/html/about/data
934 mkdir $(DISTDIR)/samples/html/help
935 cp $(SAMPDIR)/html/help/Makefile.in $(DISTDIR)/samples/html/help
936 cp $(SAMPDIR)/html/help/*.cpp $(DISTDIR)/samples/html/help
937 mkdir $(DISTDIR)/samples/html/help/helpfiles
938 cp $(SAMPDIR)/html/help/helpfiles/*.??? $(DISTDIR)/samples/html/help/helpfiles
939 mkdir $(DISTDIR)/samples/html/helpview
940 cp $(SAMPDIR)/html/helpview/Makefile.in $(DISTDIR)/samples/html/helpview
941 cp $(SAMPDIR)/html/helpview/*.cpp $(DISTDIR)/samples/html/helpview
942 cp $(SAMPDIR)/html/helpview/*.zip $(DISTDIR)/samples/html/helpview
943 mkdir $(DISTDIR)/samples/html/printing
944 cp $(SAMPDIR)/html/printing/Makefile.in $(DISTDIR)/samples/html/printing
945 cp $(SAMPDIR)/html/printing/*.cpp $(DISTDIR)/samples/html/printing
946 cp $(SAMPDIR)/html/printing/*.htm $(DISTDIR)/samples/html/printing
947 mkdir $(DISTDIR)/samples/html/test
948 cp $(SAMPDIR)/html/test/Makefile.in $(DISTDIR)/samples/html/test
949 cp $(SAMPDIR)/html/test/*.cpp $(DISTDIR)/samples/html/test
950 cp $(SAMPDIR)/html/test/*.bmp $(DISTDIR)/samples/html/test
951 cp $(SAMPDIR)/html/test/*.png $(DISTDIR)/samples/html/test
952 cp $(SAMPDIR)/html/test/*.htm $(DISTDIR)/samples/html/test
953 cp $(SAMPDIR)/html/test/*.html $(DISTDIR)/samples/html/test
954 mkdir $(DISTDIR)/samples/html/virtual
955 cp $(SAMPDIR)/html/virtual/Makefile.in $(DISTDIR)/samples/html/virtual
956 cp $(SAMPDIR)/html/virtual/*.cpp $(DISTDIR)/samples/html/virtual
957 cp $(SAMPDIR)/html/virtual/*.htm $(DISTDIR)/samples/html/virtual
958 mkdir $(DISTDIR)/samples/html/widget
959 cp $(SAMPDIR)/html/widget/Makefile.in $(DISTDIR)/samples/html/widget
960 cp $(SAMPDIR)/html/widget/*.cpp $(DISTDIR)/samples/html/widget
961 cp $(SAMPDIR)/html/widget/*.htm $(DISTDIR)/samples/html/widget
962 mkdir $(DISTDIR)/samples/html/zip
963 cp $(SAMPDIR)/html/zip/Makefile.in $(DISTDIR)/samples/html/zip
964 cp $(SAMPDIR)/html/zip/*.cpp $(DISTDIR)/samples/html/zip
965 cp $(SAMPDIR)/html/zip/*.htm $(DISTDIR)/samples/html/zip
966 cp $(SAMPDIR)/html/zip/*.zip $(DISTDIR)/samples/html/zip
967
968 mkdir $(DISTDIR)/samples/image
969 cp $(SAMPDIR)/image/Makefile.in $(DISTDIR)/samples/image
970 cp $(SAMPDIR)/image/makefile.unx $(DISTDIR)/samples/image
971 cp $(SAMPDIR)/image/*.cpp $(DISTDIR)/samples/image
972 cp $(SAMPDIR)/image/horse.* $(DISTDIR)/samples/image
973
974 mkdir $(DISTDIR)/samples/internat
975 mkdir $(DISTDIR)/samples/internat/de
976 mkdir $(DISTDIR)/samples/internat/fr
977 cp $(SAMPDIR)/internat/Makefile.in $(DISTDIR)/samples/internat
978 cp $(SAMPDIR)/internat/makefile.unx $(DISTDIR)/samples/internat
979 cp $(SAMPDIR)/internat/*.cpp $(DISTDIR)/samples/internat
980 cp $(SAMPDIR)/internat/*.xpm $(DISTDIR)/samples/internat
981 cp $(SAMPDIR)/internat/*.txt $(DISTDIR)/samples/internat
982 cp $(SAMPDIR)/internat/*.po $(DISTDIR)/samples/internat
983 cp $(SAMPDIR)/internat/fr/*.po $(DISTDIR)/samples/internat/fr
984 cp $(SAMPDIR)/internat/de/*.mo $(DISTDIR)/samples/internat/de
985 cp $(SAMPDIR)/internat/fr/*.po $(DISTDIR)/samples/internat/fr
986 cp $(SAMPDIR)/internat/de/*.mo $(DISTDIR)/samples/internat/de
987
988 mkdir $(DISTDIR)/samples/layout
989 cp $(SAMPDIR)/layout/Makefile.in $(DISTDIR)/samples/layout
990 cp $(SAMPDIR)/layout/makefile.unx $(DISTDIR)/samples/layout
991 cp $(SAMPDIR)/layout/*.cpp $(DISTDIR)/samples/layout
992 cp $(SAMPDIR)/layout/*.h $(DISTDIR)/samples/layout
993
994 mkdir $(DISTDIR)/samples/listctrl
995 mkdir $(DISTDIR)/samples/listctrl/bitmaps
996 cp $(SAMPDIR)/listctrl/Makefile.in $(DISTDIR)/samples/listctrl
997 cp $(SAMPDIR)/listctrl/makefile.unx $(DISTDIR)/samples/listctrl
998 cp $(SAMPDIR)/listctrl/*.cpp $(DISTDIR)/samples/listctrl
999 cp $(SAMPDIR)/listctrl/*.h $(DISTDIR)/samples/listctrl
1000 cp $(SAMPDIR)/listctrl/*.xpm $(DISTDIR)/samples/listctrl
1001 cp $(SAMPDIR)/listctrl/bitmaps/*.xpm $(DISTDIR)/samples/listctrl/bitmaps
1002
1003 mkdir $(DISTDIR)/samples/mdi
1004 mkdir $(DISTDIR)/samples/mdi/bitmaps
1005 cp $(SAMPDIR)/mdi/Makefile.in $(DISTDIR)/samples/mdi
1006 cp $(SAMPDIR)/mdi/makefile.unx $(DISTDIR)/samples/mdi
1007 cp $(SAMPDIR)/mdi/*.cpp $(DISTDIR)/samples/mdi
1008 cp $(SAMPDIR)/mdi/*.h $(DISTDIR)/samples/mdi
1009 cp $(SAMPDIR)/mdi/*.xpm $(DISTDIR)/samples/mdi
1010 cp $(SAMPDIR)/mdi/bitmaps/*.xpm $(DISTDIR)/samples/mdi/bitmaps
1011
1012 mkdir $(DISTDIR)/samples/memcheck
1013 cp $(SAMPDIR)/memcheck/Makefile.in $(DISTDIR)/samples/memcheck
1014 cp $(SAMPDIR)/memcheck/makefile.unx $(DISTDIR)/samples/memcheck
1015 cp $(SAMPDIR)/memcheck/*.cpp $(DISTDIR)/samples/memcheck
1016 cp $(SAMPDIR)/memcheck/*.xpm $(DISTDIR)/samples/memcheck
1017
1018 mkdir $(DISTDIR)/samples/menu
1019 cp $(SAMPDIR)/menu/Makefile.in $(DISTDIR)/samples/menu
1020 cp $(SAMPDIR)/menu/makefile.unx $(DISTDIR)/samples/menu
1021 cp $(SAMPDIR)/menu/*.cpp $(DISTDIR)/samples/menu
1022
1023 mkdir $(DISTDIR)/samples/minifram
1024 mkdir $(DISTDIR)/samples/minifram/bitmaps
1025 cp $(SAMPDIR)/minifram/Makefile.in $(DISTDIR)/samples/minifram
1026 cp $(SAMPDIR)/minifram/makefile.unx $(DISTDIR)/samples/minifram
1027 cp $(SAMPDIR)/minifram/*.cpp $(DISTDIR)/samples/minifram
1028 cp $(SAMPDIR)/minifram/*.h $(DISTDIR)/samples/minifram
1029 cp $(SAMPDIR)/minifram/*.xpm $(DISTDIR)/samples/minifram
1030 cp $(SAMPDIR)/minifram/bitmaps/*.xpm $(DISTDIR)/samples/minifram/bitmaps
1031
1032 mkdir $(DISTDIR)/samples/minimal
1033 cp $(SAMPDIR)/minimal/Makefile.in $(DISTDIR)/samples/minimal
1034 cp $(SAMPDIR)/minimal/makefile.unx $(DISTDIR)/samples/minimal
1035 cp $(SAMPDIR)/minimal/*.cpp $(DISTDIR)/samples/minimal
1036 cp $(SAMPDIR)/minimal/*.xpm $(DISTDIR)/samples/minimal
1037
1038 mkdir $(DISTDIR)/samples/nettest
1039 cp $(SAMPDIR)/nettest/Makefile.in $(DISTDIR)/samples/nettest
1040 cp $(SAMPDIR)/nettest/*.cpp $(DISTDIR)/samples/nettest
1041
1042 mkdir $(DISTDIR)/samples/newgrid
1043 cp $(SAMPDIR)/newgrid/Makefile.in $(DISTDIR)/samples/newgrid
1044 cp $(SAMPDIR)/newgrid/*.cpp $(DISTDIR)/samples/newgrid
1045 cp $(SAMPDIR)/newgrid/*.h $(DISTDIR)/samples/newgrid
1046
1047 mkdir $(DISTDIR)/samples/notebook
1048 cp $(SAMPDIR)/notebook/Makefile.in $(DISTDIR)/samples/notebook
1049 cp $(SAMPDIR)/notebook/*.cpp $(DISTDIR)/samples/notebook
1050 cp $(SAMPDIR)/notebook/*.h $(DISTDIR)/samples/notebook
1051
1052 mkdir $(DISTDIR)/samples/png
1053 cp $(SAMPDIR)/png/Makefile.in $(DISTDIR)/samples/png
1054 cp $(SAMPDIR)/png/*.cpp $(DISTDIR)/samples/png
1055 cp $(SAMPDIR)/png/*.h $(DISTDIR)/samples/png
1056 cp $(SAMPDIR)/png/*.png $(DISTDIR)/samples/png
1057
1058 mkdir $(DISTDIR)/samples/resource
1059 cp $(SAMPDIR)/resource/Makefile.in $(DISTDIR)/samples/resource
1060 cp $(SAMPDIR)/resource/*.cpp $(DISTDIR)/samples/resource
1061 cp $(SAMPDIR)/resource/*.h $(DISTDIR)/samples/resource
1062 cp $(SAMPDIR)/resource/*.wxr $(DISTDIR)/samples/resource
1063
1064 mkdir $(DISTDIR)/samples/richedit
1065 cp $(SAMPDIR)/richedit/Makefile.in $(DISTDIR)/samples/richedit
1066 cp $(SAMPDIR)/richedit/*.cpp $(DISTDIR)/samples/richedit
1067 cp $(SAMPDIR)/richedit/*.h $(DISTDIR)/samples/richedit
1068 cp $(SAMPDIR)/richedit/*.xpm $(DISTDIR)/samples/richedit
1069 cp $(SAMPDIR)/richedit/README $(DISTDIR)/samples/richedit
1070 cp $(SAMPDIR)/richedit/TODO $(DISTDIR)/samples/richedit
1071 mkdir $(DISTDIR)/samples/proplist
1072 cp $(SAMPDIR)/proplist/Makefile.in $(DISTDIR)/samples/proplist
1073 cp $(SAMPDIR)/proplist/*.cpp $(DISTDIR)/samples/proplist
1074 cp $(SAMPDIR)/proplist/*.h $(DISTDIR)/samples/proplist
1075 mkdir $(DISTDIR)/samples/propsize
1076 cp $(SAMPDIR)/propsize/Makefile.in $(DISTDIR)/samples/propsize
1077 cp $(SAMPDIR)/propsize/*.cpp $(DISTDIR)/samples/propsize
1078 cp $(SAMPDIR)/propsize/*.xpm $(DISTDIR)/samples/propsize
1079 mkdir $(DISTDIR)/samples/sashtest
1080 cp $(SAMPDIR)/sashtest/Makefile.in $(DISTDIR)/samples/sashtest
1081 cp $(SAMPDIR)/sashtest/*.cpp $(DISTDIR)/samples/sashtest
1082 cp $(SAMPDIR)/sashtest/*.h $(DISTDIR)/samples/sashtest
1083 mkdir $(DISTDIR)/samples/scroll
1084 cp $(SAMPDIR)/scroll/Makefile.in $(DISTDIR)/samples/scroll
1085 cp $(SAMPDIR)/scroll/*.cpp $(DISTDIR)/samples/scroll
1086 mkdir $(DISTDIR)/samples/scrollsub
1087 cp $(SAMPDIR)/scrollsub/Makefile.in $(DISTDIR)/samples/scrollsub
1088 cp $(SAMPDIR)/scrollsub/*.cpp $(DISTDIR)/samples/scrollsub
1089 mkdir $(DISTDIR)/samples/splitter
1090 cp $(SAMPDIR)/splitter/Makefile.in $(DISTDIR)/samples/splitter
1091 cp $(SAMPDIR)/splitter/*.cpp $(DISTDIR)/samples/splitter
1092 mkdir $(DISTDIR)/samples/text
1093 cp $(SAMPDIR)/text/Makefile.in $(DISTDIR)/samples/text
1094 cp $(SAMPDIR)/text/*.cpp $(DISTDIR)/samples/text
1095 cp $(SAMPDIR)/text/*.xpm $(DISTDIR)/samples/text
1096 mkdir $(DISTDIR)/samples/thread
1097 cp $(SAMPDIR)/thread/Makefile.in $(DISTDIR)/samples/thread
1098 cp $(SAMPDIR)/thread/*.cpp $(DISTDIR)/samples/thread
1099 mkdir $(DISTDIR)/samples/toolbar
1100 cp $(SAMPDIR)/toolbar/Makefile.in $(DISTDIR)/samples/toolbar
1101 cp $(SAMPDIR)/toolbar/*.cpp $(DISTDIR)/samples/toolbar
1102 cp $(SAMPDIR)/toolbar/*.xpm $(DISTDIR)/samples/toolbar
1103 mkdir $(DISTDIR)/samples/toolbar/bitmaps
1104 cp $(SAMPDIR)/toolbar/bitmaps/*.xpm $(DISTDIR)/samples/toolbar/bitmaps
1105 mkdir $(DISTDIR)/samples/treectrl
1106 cp $(SAMPDIR)/treectrl/Makefile.in $(DISTDIR)/samples/treectrl
1107 cp $(SAMPDIR)/treectrl/*.cpp $(DISTDIR)/samples/treectrl
1108 cp $(SAMPDIR)/treectrl/*.h $(DISTDIR)/samples/treectrl
1109 cp $(SAMPDIR)/treectrl/*.xpm $(DISTDIR)/samples/treectrl
1110 mkdir $(DISTDIR)/samples/typetest
1111 cp $(SAMPDIR)/typetest/Makefile.in $(DISTDIR)/samples/typetest
1112 cp $(SAMPDIR)/typetest/*.cpp $(DISTDIR)/samples/typetest
1113 cp $(SAMPDIR)/typetest/*.h $(DISTDIR)/samples/typetest
1114 cp $(SAMPDIR)/typetest/*.xpm $(DISTDIR)/samples/typetest
1115 mkdir $(DISTDIR)/samples/validate
1116 cp $(SAMPDIR)/validate/Makefile.in $(DISTDIR)/samples/validate
1117 cp $(SAMPDIR)/validate/*.cpp $(DISTDIR)/samples/validate
1118 cp $(SAMPDIR)/validate/*.h $(DISTDIR)/samples/validate
1119 cp $(SAMPDIR)/validate/*.xpm $(DISTDIR)/samples/validate
1120 mkdir $(DISTDIR)/samples/wizard
1121 cp $(SAMPDIR)/wizard/Makefile.in $(DISTDIR)/samples/wizard
1122 cp $(SAMPDIR)/wizard/*.cpp $(DISTDIR)/samples/wizard
1123 cp $(SAMPDIR)/wizard/*.xpm $(DISTDIR)/samples/wizard
1124 mkdir $(DISTDIR)/samples/wxpoem
1125 cp $(SAMPDIR)/wxpoem/Makefile.in $(DISTDIR)/samples/wxpoem
1126 cp $(SAMPDIR)/wxpoem/*.cpp $(DISTDIR)/samples/wxpoem
1127 cp $(SAMPDIR)/wxpoem/*.xpm $(DISTDIR)/samples/wxpoem
1128 cp $(SAMPDIR)/wxpoem/*.dat $(DISTDIR)/samples/wxpoem
1129 cp $(SAMPDIR)/wxpoem/*.txt $(DISTDIR)/samples/wxpoem
1130 mkdir $(DISTDIR)/samples/wxsocket
1131 cp $(SAMPDIR)/wxsocket/Makefile.in $(DISTDIR)/samples/wxsocket
1132 cp $(SAMPDIR)/wxsocket/*.cpp $(DISTDIR)/samples/wxsocket
1133 cp $(SAMPDIR)/wxsocket/*.xpm $(DISTDIR)/samples/wxsocket
1134
1135 UTILS_DIST:
1136 mkdir $(DISTDIR)/utils
1137 cp $(UTILSDIR)/Makefile.in $(DISTDIR)/utils
1138
1139 mkdir $(DISTDIR)/utils/wxMMedia2
1140 mkdir $(DISTDIR)/utils/wxMMedia2/lib
1141 mkdir $(DISTDIR)/utils/wxMMedia2/sample
1142 cp $(UTILSDIR)/wxMMedia2/Makefile.in $(DISTDIR)/utils/wxMMedia2
1143 cp $(UTILSDIR)/wxMMedia2/lib/Makefile.in $(DISTDIR)/utils/wxMMedia2/lib
1144 cp $(UTILSDIR)/wxMMedia2/lib/*.h $(DISTDIR)/utils/wxMMedia2/lib
1145 cp $(UTILSDIR)/wxMMedia2/lib/*.cpp $(DISTDIR)/utils/wxMMedia2/lib
1146 cp $(UTILSDIR)/wxMMedia2/lib/*.def $(DISTDIR)/utils/wxMMedia2/lib
1147 cp $(UTILSDIR)/wxMMedia2/sample/Makefile.in $(DISTDIR)/utils/wxMMedia2/sample
1148 cp $(UTILSDIR)/wxMMedia2/sample/*.cpp $(DISTDIR)/utils/wxMMedia2/sample
1149
1150 mkdir $(DISTDIR)/utils/glcanvas
1151 mkdir $(DISTDIR)/utils/glcanvas/$(TOOLKITDIR)
1152 cp $(UTILSDIR)/glcanvas/Makefile.in $(DISTDIR)/utils/glcanvas
1153 cp $(UTILSDIR)/glcanvas/docs/notes.txt $(DISTDIR)/utils/glcanvas/NOTES.txt
1154 cp $(UTILSDIR)/glcanvas/$(TOOLKITDIR)/Makefile.in $(DISTDIR)/utils/glcanvas/$(TOOLKITDIR)
1155 cp $(UTILSDIR)/glcanvas/$(TOOLKITDIR)/*.h $(DISTDIR)/utils/glcanvas/$(TOOLKITDIR)
1156 cp $(UTILSDIR)/glcanvas/$(TOOLKITDIR)/*.cpp $(DISTDIR)/utils/glcanvas/$(TOOLKITDIR)
1157
1158 mkdir $(DISTDIR)/utils/ogl
1159 mkdir $(DISTDIR)/utils/ogl/src
1160 cp $(UTILSDIR)/ogl/Makefile.in $(DISTDIR)/utils/ogl
1161 cp $(UTILSDIR)/ogl/src/Makefile.in $(DISTDIR)/utils/ogl/src
1162 cp $(UTILSDIR)/ogl/src/*.h $(DISTDIR)/utils/ogl/src
1163 cp $(UTILSDIR)/ogl/src/*.cpp $(DISTDIR)/utils/ogl/src
1164
1165 MISC_DIST:
1166 mkdir $(DISTDIR)/misc
1167 mkdir $(DISTDIR)/misc/afm
1168 cp $(MISCDIR)/afm/*.afm $(DISTDIR)/misc/afm
1169 mkdir $(DISTDIR)/misc/gs_afm
1170 cp $(MISCDIR)/gs_afm/*.afm $(DISTDIR)/misc/gs_afm
1171
1172 dist: ALL_DIST @GUIDIST@ SAMPLES_DIST UTILS_DIST MISC_DIST
1173 cd _dist_dir; tar ch wx$(TOOLKIT) | gzip -f9 > $(WXARCHIVE); mv $(WXARCHIVE) ..
1174 mv _dist_dir/wx$(TOOLKIT)/samples _dist_dir/wx$(TOOLKIT)/wxSamples
1175 cd _dist_dir/wx$(TOOLKIT); tar ch wxSamples | gzip -f9 > $(WXSAMPLES); mv $(WXSAMPLES) ../..
1176 $(RM) -r _dist_dir
1177
1178 clean:
1179 $(RM) *.o
1180 $(RM) *.d
1181 $(RM) parser.c
1182 $(RM) lexer.c
1183 $(RM) ./lib/*
1184
1185 cleanall: clean