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