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