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