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