]> git.saurik.com Git - wxWidgets.git/blob - Makefile.in
simplified RTTI chain: wxFrame base class is now directly wxWindow, not wxFrameMSW
[wxWidgets.git] / Makefile.in
1 #
2 # File: makefile.unx
3 # Author: Julian Smart, Robert Roebling, Vadim Zeitlin
4 # Created: 1993
5 # Updated: 1999
6 # Copyright:(c) 1993, AIAI, University of Edinburgh,
7 # Copyright:(c) 1999, Vadim Zeitlin
8 # Copyright:(c) 1999, Robert Roebling
9 #
10 # Makefile for libwx_gtk.a, libwx_motif.a and libwx_msw.a
11
12 ###################################################################
13
14 include ./src/make.env
15
16 ############## override make.env for PIC ##########################
17
18 # Clears all default suffixes
19 .SUFFIXES: .o .cpp .c .cxx
20
21 .c.o :
22 $(CCC) -c @DEP_INFO_FLAGS@ $(CFLAGS) $(PICFLAGS) -o $@ $<
23
24 .cpp.o :
25 $(CC) -c @DEP_INFO_FLAGS@ $(CPPFLAGS) $(PICFLAGS) -o $@ $<
26
27 .cxx.o :
28 $(CC) -c @DEP_INFO_FLAGS@ $(CPPFLAGS) $(PICFLAGS) -o $@ $<
29
30 ########################### Paths #################################
31
32 srcdir = @srcdir@
33 top_srcdir = @top_srcdir@
34
35 VP1 = @TOOLKIT_VPATH@
36 VP2 = @top_srcdir@/src/common
37 VP3 = @top_srcdir@/src/generic
38 VP4 = @top_srcdir@/src/unix
39 VP5 = @top_srcdir@/src/html
40 VP6 = @top_srcdir@/src/png
41 VP7 = @top_srcdir@/src/jpeg
42 VP8 = @top_srcdir@/src/tiff
43 VP9 = @top_srcdir@/src/zlib
44 VP10 = @top_srcdir@/src/iodbc
45 VP11 = @top_srcdir@/src/msw/ole
46 VP12 = $(FTVP01)@PATH_IFS@$(FTVP02)@PATH_IFS@$(FTVP03)@PATH_IFS@$(FTVP04)@PATH_IFS@$(FTVP05)@PATH_IFS@$(FTVP06)@PATH_IFS@$(FTVP07)@PATH_IFS@$(FTVP08)@PATH_IFS@
47 VP13 = $(FTVP09)@PATH_IFS@$(FTVP10)@PATH_IFS@$(FTVP11)@PATH_IFS@$(FTVP12)@PATH_IFS@$(FTVP13)@PATH_IFS@$(FTVP14)@PATH_IFS@$(FTVP15)@PATH_IFS@
48
49 # the comment at the end of the next line is needed because otherwise autoconf
50 # would remove this line completely - it contains a built-in hack to remove
51 # any VPATH assignment not containing ':'
52 VPATH = $(VP1)@PATH_IFS@$(VP2)@PATH_IFS@$(VP3)@PATH_IFS@$(VP4)@PATH_IFS@$(VP5)@PATH_IFS@$(VP6)@PATH_IFS@$(VP7)@PATH_IFS@$(VP8)@PATH_IFS@$(VP9)@PATH_IFS@$(VP10)@PATH_IFS@$(VP11)@PATH_IFS@$(VP12)@PATH_IFS@$(VP13) # ':' for autoconf
53
54 prefix = @prefix@
55 exec_prefix = @exec_prefix@
56
57 bindir = @bindir@
58 sbindir = @sbindir@
59 libexecdir = @libexecdir@
60 datadir = @datadir@
61 sysconfdir = @sysconfdir@
62 sharedstatedir = @sharedstatedir@
63 localstatedir = @localstatedir@
64 libdir = @libdir@
65 infodir = @infodir@
66 mandir = @mandir@
67 includedir = @includedir@
68 oldincludedir = /usr/include
69
70 DESTDIR =
71
72 localedir = $(datadir)/locale
73
74 pkgdatadir = $(datadir)/@PACKAGE@
75 pkglibdir = $(libdir)/@PACKAGE@
76 pkgincludedir = $(includedir)/@PACKAGE@
77
78 top_builddir = .
79
80 INSTALL = @INSTALL@
81 INSTALL_PROGRAM = @INSTALL_PROGRAM@
82 INSTALL_DATA = @INSTALL_DATA@
83 # my autoconf doesn't set this
84 #INSTALL_SCRIPT = @INSTALL_SCRIPT@
85 # maybe do an additional chmod if needed?
86 INSTALL_SCRIPT = @INSTALL@
87 transform = @program_transform_name@
88
89 NORMAL_INSTALL = :
90 PRE_INSTALL = :
91 POST_INSTALL = :
92 NORMAL_UNINSTALL = :
93 PRE_UNINSTALL = :
94 POST_UNINSTALL = :
95 build_alias = @build_alias@
96 build_triplet = @build@
97 host_alias = @host_alias@
98 host_triplet = @host@
99 target_alias = @target_alias@
100 target_triplet = @target@
101
102 USE_GUI=@USE_GUI@
103
104 ############################# Dirs #################################
105
106 WXDIR = $(top_srcdir)
107
108 # Subordinate library possibilities
109
110 SRCDIR = $(WXDIR)/src
111 GENDIR = $(WXDIR)/src/generic
112 COMMDIR = $(WXDIR)/src/common
113 HTMLDIR = $(WXDIR)/src/html
114 UNIXDIR = $(WXDIR)/src/unix
115 PNGDIR = $(WXDIR)/src/png
116 JPEGDIR = $(WXDIR)/src/jpeg
117 TIFFDIR = $(WXDIR)/src/tiff
118 ZLIBDIR = $(WXDIR)/src/zlib
119 GTKDIR = $(WXDIR)/src/gtk
120 MOTIFDIR = $(WXDIR)/src/motif
121 MSWDIR = $(WXDIR)/src/msw
122 PMDIR = $(WXDIR)/src/os2
123 MACDIR = $(WXDIR)/src/mac
124 ODBCDIR = $(WXDIR)/src/iodbc
125 FTDIR = $(WXDIR)/src/freetype
126 INCDIR = $(WXDIR)/include
127 SAMPDIR = $(WXDIR)/samples
128 DEMODIR = $(WXDIR)/demos
129 UTILSDIR = $(WXDIR)/utils
130 MISCDIR = $(WXDIR)/misc
131
132 DOCDIR = $(WXDIR)/docs
133 INTLDIR = $(WXDIR)/locale
134
135 ########################## Archive name ###############################
136
137 # append a version suffix x.y.z to all file names
138 VER_SUFFIX=$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER)$(EXTRA_VER)
139 WXARCHIVE=@DISTDIR@-$(VER_SUFFIX).tar.gz
140 WXGLARCHIVE=@DISTDIR@-gl-$(VER_SUFFIX).tar.gz
141 WXSAMPLES=wx$(TOOLKIT)-samples-$(VER_SUFFIX).tar.gz
142 WXDEMOS=wx$(TOOLKIT)-demos-$(VER_SUFFIX).tar.gz
143
144 WXARCHIVE_BZIP=@DISTDIR@-$(VER_SUFFIX).tar.bz2
145 WXGLARCHIVE_BZIP=@DISTDIR@-gl-$(VER_SUFFIX).tar.bz2
146 WXSAMPLES_BZIP=wx$(TOOLKIT)-samples-$(VER_SUFFIX).tar.bz2
147 WXDEMOS_BZIP=wx$(TOOLKIT)-demos-$(VER_SUFFIX).tar.bz2
148
149 DISTDIRNAME=@DISTDIR@-$(VER_SUFFIX)
150 DISTDIR=./_dist_dir/$(DISTDIRNAME)
151
152
153 ############################## Files ##################################
154
155 WX_LINGUAS = `cd $(top_srcdir)/locale && ls *.mo 2> /dev/null | sed -n 's/\.mo//p'`
156
157 # this line will include a file which defines ALL_SOURCES, ALL_OBJECTS,
158 # ALL_DEPFILES and ALL_HEADERS variables with the complete list of .cpp, .o,
159 # .d and .h/.inl files for the current toolkit
160 include @PORT_FILES@
161
162 SOURCES = $(ALL_SOURCES)
163 HEADERS = $(ALL_HEADERS)
164
165 # for the objects and depfiles, we might be bulding only part of them
166 # depending on configure arguments, so select a subset of ALL
167 OBJECTS = @ALL_OBJECTS@
168 DEPFILES = @ALL_DEPFILES@
169
170 # the object files of sublibraries (we assume that they don't change [often],
171 # so we don't generate these lists with tmake but embed them here)
172 ZLIBOBJS = \
173 adler32.o \
174 compress.o \
175 crc32.o \
176 gzio.o \
177 uncompr.o \
178 deflate.o \
179 trees.o \
180 zutil.o \
181 inflate.o \
182 infblock.o \
183 inftrees.o \
184 infcodes.o \
185 infutil.o \
186 inffast.o
187
188 PNGOBJS = \
189 png.o \
190 pngread.o \
191 pngrtran.o \
192 pngrutil.o \
193 pngpread.o \
194 pngtrans.o \
195 pngwrite.o \
196 pngwtran.o \
197 pngwutil.o \
198 pngerror.o \
199 pngmem.o \
200 pngwio.o \
201 pngrio.o \
202 pngget.o \
203 pngset.o
204
205 FREETYPEOBJS = \
206 ftsystem.o \
207 autohint.o \
208 ftbase.o \
209 ftdebug.o \
210 ftglyph.o \
211 ftinit.o \
212 ftmm.o \
213 cff.o \
214 type1cid.o \
215 psnames.o \
216 psmodule.o \
217 raster1.o \
218 sfnt.o \
219 smooth.o \
220 truetype.o \
221 type1z.o \
222 winfnt.o
223
224 JPEGOBJS = \
225 jcomapi.o \
226 jutils.o \
227 jerror.o \
228 jmemmgr.o \
229 jmemnobs.o \
230 jcapimin.o \
231 jcapistd.o \
232 jctrans.o \
233 jcparam.o \
234 jdatadst.o \
235 jcinit.o \
236 jcmaster.o \
237 jcmarker.o \
238 jcmainct.o \
239 jcprepct.o \
240 jccoefct.o \
241 jccolor.o \
242 jcsample.o \
243 jchuff.o \
244 jcphuff.o \
245 jcdctmgr.o \
246 jfdctfst.o \
247 jfdctflt.o \
248 jfdctint.o \
249 jdapimin.o \
250 jdapistd.o \
251 jdtrans.o \
252 jdatasrc.o \
253 jdmaster.o \
254 jdinput.o \
255 jdmarker.o \
256 jdhuff.o \
257 jdphuff.o \
258 jdmainct.o \
259 jdcoefct.o \
260 jdpostct.o \
261 jddctmgr.o \
262 jidctfst.o \
263 jidctflt.o \
264 jidctint.o \
265 jidctred.o \
266 jdsample.o \
267 jdcolor.o \
268 jquant1.o \
269 jquant2.o \
270 jdmerge.o
271
272 TIFFOBJS = \
273 tif_aux.o \
274 tif_close.o \
275 tif_codec.o \
276 tif_compress.o \
277 tif_dir.o \
278 tif_dirinfo.o \
279 tif_dirread.o \
280 tif_dirwrite.o \
281 tif_dumpmode.o \
282 tif_error.o \
283 tif_fax3.o \
284 tif_fax3sm.o \
285 tif_getimage.o \
286 tif_jpeg.o \
287 tif_flush.o \
288 tif_lzw.o \
289 tif_luv.o \
290 tif_next.o \
291 tif_open.o \
292 tif_packbits.o \
293 tif_pixarlog.o \
294 tif_predict.o \
295 tif_print.o \
296 tif_read.o \
297 tif_swab.o \
298 tif_strip.o \
299 tif_thunder.o \
300 tif_tile.o \
301 tif_unix.o \
302 tif_version.o \
303 tif_warning.o \
304 tif_write.o \
305 tif_zip.o
306
307 IODBCOBJS = \
308 catalog.o \
309 connect.o \
310 dlf.o \
311 dlproc.o \
312 execute.o \
313 fetch.o \
314 hdbc.o \
315 henv.o \
316 herr.o \
317 hstmt.o \
318 info.o \
319 itrace.o \
320 misc.o \
321 prepare.o \
322 result.o
323
324 OLEOBJS = \
325 automtn.o \
326 dataobj.o \
327 dropsrc.o \
328 droptgt.o \
329 oleutils.o \
330 uuid.o
331
332 ############################## Rules ##################################
333
334 BURNT_LIBRARY_NAME = @BURNT_LIBRARY_NAME@
335 BURNT_LIBRARY_NAME_GL = @BURNT_LIBRARY_NAME_GL@
336
337 all: @WX_ALL@
338
339 @WX_LIBRARY_NAME_STATIC@: $(OBJECTS)
340 @$(INSTALL) -d ./lib
341 $(AR) $(AROPTIONS) ./lib/$@ $(OBJECTS)
342 $(RANLIB) ./lib/$@
343
344 @WX_LIBRARY_NAME_STATIC_GL@: glcanvas.o
345 @$(INSTALL) -d ./lib
346 $(AR) $(AROPTIONS) ./lib/$@ glcanvas.o
347 $(RANLIB) ./lib/$@
348
349 @WX_LIBRARY_NAME_SHARED@: $(OBJECTS)
350 @$(INSTALL) -d ./lib
351 $(SHARED_LD) ./lib/$@ $(BURNT_LIBRARY_NAME) $(OBJECTS) $(EXTRALIBS)
352
353 @WX_LIBRARY_NAME_SHARED_GL@: glcanvas.o
354 @$(INSTALL) -d ./lib
355 $(SHARED_LD) ./lib/$@ $(BURNT_LIBRARY_NAME_GL) glcanvas.o $(EXTRALIBS)
356
357 ./lib/lib@WX_LIBRARY@-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).r: ./lib/lib@WX_LIBRARY@-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).rsrc
358 $(DEREZ) $^ $(DEREZFLAGS) > $@
359
360 ./lib/lib@WX_LIBRARY@-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).rsrc: $(MACRESOURCES)
361 $(REZ) $(REZFLAGS) $^ -o $@
362
363 CREATE_LINKS: @WX_LIBRARY_NAME_SHARED@
364 @$(RM) ./lib/@WX_LIBRARY_LINK1@
365 @$(RM) ./lib/@WX_LIBRARY_LINK2@
366 @$(RM) ./lib/@WX_LIBRARY_LINK3@
367 cd lib \
368 && $(LN_S) @WX_TARGET_LIBRARY@ @WX_LIBRARY_LINK1@ \
369 && $(LN_S) @WX_TARGET_LIBRARY@ @WX_LIBRARY_LINK2@ \
370 && $(LN_S) @WX_TARGET_LIBRARY@ @WX_LIBRARY_LINK3@
371
372 CREATE_LINKS_GL: @WX_LIBRARY_NAME_SHARED_GL@
373 @$(RM) ./lib/@WX_LIBRARY_LINK1_GL@
374 @$(RM) ./lib/@WX_LIBRARY_LINK2_GL@
375 @$(RM) ./lib/@WX_LIBRARY_LINK3_GL@
376 cd lib \
377 && $(LN_S) @WX_TARGET_LIBRARY_GL@ @WX_LIBRARY_LINK1_GL@ \
378 && $(LN_S) @WX_TARGET_LIBRARY_GL@ @WX_LIBRARY_LINK2_GL@ \
379 && $(LN_S) @WX_TARGET_LIBRARY_GL@ @WX_LIBRARY_LINK3_GL@
380
381 CREATE_INSTALLED_LINKS: preinstall
382 $(RM) $(libdir)/@WX_LIBRARY_LINK1@
383 $(RM) $(libdir)/@WX_LIBRARY_LINK2@
384 $(RM) $(libdir)/@WX_LIBRARY_LINK3@
385 cd $(libdir) \
386 && $(LN_S) @WX_LIBRARY_NAME_SHARED@ @WX_LIBRARY_LINK1@ \
387 && $(LN_S) @WX_LIBRARY_NAME_SHARED@ @WX_LIBRARY_LINK2@ \
388 && $(LN_S) @WX_LIBRARY_NAME_SHARED@ @WX_LIBRARY_LINK3@
389
390 CREATE_INSTALLED_LINKS_GL: preinstall_gl
391 $(RM) $(libdir)/@WX_LIBRARY_LINK1_GL@
392 $(RM) $(libdir)/@WX_LIBRARY_LINK2_GL@
393 $(RM) $(libdir)/@WX_LIBRARY_LINK3_GL@
394 cd $(libdir) \
395 && $(LN_S) @WX_LIBRARY_NAME_SHARED_GL@ @WX_LIBRARY_LINK1_GL@ \
396 && $(LN_S) @WX_LIBRARY_NAME_SHARED_GL@ @WX_LIBRARY_LINK2_GL@ \
397 && $(LN_S) @WX_LIBRARY_NAME_SHARED_GL@ @WX_LIBRARY_LINK3_GL@
398
399 $(OBJECTS): $(WXDIR)/include/wx/defs.h $(WXDIR)/include/wx/object.h
400
401 parser.o: parser.c lexer.c
402 $(CCLEX) -c $(CFLAGS) $(PICFLAGS) -o $@ parser.c
403
404 parser.c: $(COMMDIR)/parser.y lexer.c
405 $(YACC) $(COMMDIR)/parser.y
406 @sed -e "s;$(COMMDIR)/y.tab.c;parser.y;g" < y.tab.c | \
407 sed -e "s/BUFSIZ/5000/g" | \
408 sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \
409 sed -e "s/yy/PROIO_yy/g" | \
410 sed -e "s/input/PROIO_input/g" | \
411 sed -e "s/unput/PROIO_unput/g" > parser.c
412 @$(RM) y.tab.c
413
414 lexer.c: $(COMMDIR)/lexer.l
415 $(LEX) $(COMMDIR)/lexer.l
416 @sed -e "s;$(COMMDIR)/@LEX_STEM@.c;lexer.l;g" < @LEX_STEM@.c | \
417 sed -e "s/yy/PROIO_yy/g" | \
418 sed -e "s/input/PROIO_input/g" | \
419 sed -e "s/unput/PROIO_unput/g" > lexer.c
420 @$(RM) @LEX_STEM@.c
421
422 -include $(DEPFILES)
423
424 afminstall: preinstall
425 $(INSTALL) -d $(datadir)
426 $(INSTALL) -d $(datadir)/wx
427 $(INSTALL) -d $(datadir)/wx/afm
428 $(INSTALL) -d $(datadir)/wx/gs_afm
429 $(INSTALL_DATA) $(top_srcdir)/misc/afm/*.afm $(datadir)/wx/afm
430 $(INSTALL_DATA) $(top_srcdir)/misc/gs_afm/*.afm $(datadir)/wx/gs_afm
431
432 # this is the real install target: copies the library, wx-config and the
433 # headers to the installation directory
434 preinstall: $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(top_builddir)/wx@TOOLKIT_NAME@-config
435 @echo " "
436 @echo " Installing wxWindows..."
437 @echo " "
438
439 $(INSTALL) -d $(prefix)
440 $(INSTALL) -d $(bindir)
441 $(INSTALL) -d $(libdir)
442
443 $(INSTALL_SCRIPT) $(top_builddir)/wx@TOOLKIT_NAME@-config $(bindir)/wx@TOOLKIT_NAME@-config
444 cd $(bindir) && rm -f wx-config && $(LN_S) wx@TOOLKIT_NAME@-config wx-config
445 $(INSTALL_PROGRAM) $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(libdir)/@WX_TARGET_LIBRARY@
446
447 $(INSTALL) -d $(libdir)/wx
448 $(INSTALL) -d $(libdir)/wx/include
449 $(INSTALL) -d $(libdir)/wx/include/wx
450 $(INSTALL) -d $(libdir)/wx/include/wx/@TOOLKIT_NAME@
451 $(INSTALL_DATA) $(top_builddir)/include/wx/@TOOLKIT_DIR@/setup.h $(libdir)/wx/include/wx/@TOOLKIT_NAME@/setup.h
452
453 $(INSTALL) -d $(includedir)/wx
454 @if test "$(USE_GUI)" = 1; then $(INSTALL) -d $(includedir)/wx/@TOOLKIT_DIR@; fi
455 @if test "$(USE_GUI)" = 1; then $(INSTALL) -d $(includedir)/wx/html; fi
456 @if test "$(USE_GUI)" = 1; then $(INSTALL) -d $(includedir)/wx/generic; fi
457 $(INSTALL) -d $(includedir)/wx/protocol
458 $(INSTALL) -d $(includedir)/wx/unix
459 @list='$(HEADERS)'; for p in $$list; do \
460 $(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p; \
461 echo "$(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p"; \
462 done
463
464 $(INSTALL) -d $(localedir)
465 @for p in $(WX_LINGUAS); do \
466 $(INSTALL) -d $(localedir)/$$p; \
467 $(INSTALL) -d $(localedir)/$$p/LC_MESSAGES; \
468 $(INSTALL_DATA) $(top_srcdir)/locale/$$p.mo $(localedir)/$$p/LC_MESSAGES/wxstd.mo; \
469 echo "$(INSTALL_DATA) $(top_srcdir)/locale/$$p.mo $(localedir)/$$p/LC_MESSAGES/wxstd.mo"; \
470 done
471
472 preinstall_gl: $(top_builddir)/lib/@WX_TARGET_LIBRARY_GL@
473 @echo " "
474 @echo " Installing wxWindows OpenGl add-on..."
475 @echo " "
476 $(INSTALL) -d $(libdir)
477 $(INSTALL_PROGRAM) $(top_builddir)/lib/@WX_TARGET_LIBRARY_GL@ $(libdir)/@WX_TARGET_LIBRARY_GL@
478
479 install: @AFMINSTALL@ @WX_ALL_INSTALLED@
480 @echo " "
481 @echo " The installation of wxWindows is finished. On certain"
482 @echo " platforms (e.g. Linux) you'll now have to run ldconfig"
483 @echo " if you installed a shared library and also modify"
484 @echo " LD_LIBRARY_PATH (or equivalent) environment variable."
485 @echo " "
486 @echo " wxWindows comes with no guarantees and doesn't claim"
487 @echo " to be suitable for any purpose."
488 @echo " "
489 @echo " Read the wxWindows Licence on licencing conditions."
490 @echo " "
491
492 uninstall:
493 @echo " "
494 @echo " Uninstalling wxWindows..."
495 @echo " "
496 @echo " Removing library..."
497 @$(RM) $(libdir)/@WX_TARGET_LIBRARY@
498 @$(RM) $(libdir)/@WX_LIBRARY_LINK1@
499 @$(RM) $(libdir)/@WX_LIBRARY_LINK2@
500 @$(RM) $(libdir)/@WX_LIBRARY_LINK3@
501 @echo " Removing GL library..."
502 @$(RM) $(libdir)/@WX_TARGET_LIBRARY_GL@
503 @$(RM) $(libdir)/@WX_LIBRARY_LINK1_GL@
504 @$(RM) $(libdir)/@WX_LIBRARY_LINK2_GL@
505 @$(RM) $(libdir)/@WX_LIBRARY_LINK3_GL@
506 @echo " Removing helper files..."
507 @$(RM) $(libdir)/wx/include/wx/@TOOLKIT_NAME@/setup.h
508 @$(RM) $(bindir)/wx-config
509 @$(RM) $(bindir)/wx@TOOLKIT_NAME@-config
510 @$(RM) $(datadir)/wx/afm/*
511 @$(RM) $(datadir)/wx/gs_afm/*
512 # FIXME: wxBase doesnt install these next 3 dirs.
513 @-rmdir $(datadir)/wx/gs_afm
514 @-rmdir $(datadir)/wx/afm
515 @-rmdir $(datadir)/wx
516 @echo " Removing headers..."
517 @list='$(HEADERS)'; for p in $$list; do \
518 $(RM) $(includedir)/wx/$$p; \
519 done
520 @echo " Removing i18n files..."
521 @-for p in $(WX_LINGUAS); do \
522 $(RM) $(localedir)/$$p/LC_MESSAGES/wxstd.mo; \
523 rmdir $(localedir)/$$p/LC_MESSAGES; \
524 rmdir $(localedir)/$$p; \
525 done
526 @echo " Removing directories..."
527 @-rmdir $(localedir)
528 @if test -d $(libdir)/wx/include/wx/@TOOLKIT_NAME@; then rmdir $(libdir)/wx/include/wx/@TOOLKIT_NAME@; fi
529 @if test -d $(libdir)/wx/include/wx; then rmdir $(libdir)/wx/include/wx; fi
530 @if test -d $(libdir)/wx/include; then rmdir $(libdir)/wx/include; fi
531 @if test -d $(libdir)/wx; then rmdir $(libdir)/wx; fi
532 @if test -d $(includedir)/wx/gtk; then rmdir $(includedir)/wx/gtk; fi
533 @if test -d $(includedir)/wx/motif; then rmdir $(includedir)/wx/motif; fi
534 @if test -d $(includedir)/wx/msw; then rmdir $(includedir)/wx/msw; fi
535 @if test -d $(includedir)/wx/html; then rmdir $(includedir)/wx/html; fi
536 @if test -d $(includedir)/wx/unix; then rmdir $(includedir)/wx/unix; fi
537 @if test -d $(includedir)/wx/generic; then rmdir $(includedir)/wx/generic; fi
538 @if test -d $(includedir)/wx/protocol; then rmdir $(includedir)/wx/protocol; fi
539 @if test -d $(includedir)/wx; then rmdir $(includedir)/wx; fi
540
541 # this target should copy only the files common to really all ports (including
542 # wxBase) to the dist dir
543 ALL_DIST: distclean
544 mkdir _dist_dir
545 mkdir $(DISTDIR)
546 cp $(WXDIR)/configure.in $(DISTDIR)
547 cp $(WXDIR)/configure $(DISTDIR)
548 cp $(WXDIR)/config.sub $(DISTDIR)
549 cp $(WXDIR)/config.guess $(DISTDIR)
550 cp $(WXDIR)/install-sh $(DISTDIR)
551 cp $(WXDIR)/mkinstalldirs $(DISTDIR)
552 cp $(WXDIR)/wx-config.in $(DISTDIR)
553 cp $(WXDIR)/setup.h.in $(DISTDIR)
554 cp $(WXDIR)/setup.h_vms $(DISTDIR)
555 cp $(WXDIR)/descrip.mms $(DISTDIR)
556 cp $(WXDIR)/Makefile.in $(DISTDIR)
557 cp $(DOCDIR)/lgpl.txt $(DISTDIR)/COPYING.LIB
558 cp $(DOCDIR)/licence.txt $(DISTDIR)/LICENCE.txt
559 cp $(DOCDIR)/symbols.txt $(DISTDIR)/SYMBOLS.txt
560 mkdir $(DISTDIR)/lib
561 cp $(WXDIR)/lib/vms.opt $(DISTDIR)/lib
562 cp $(WXDIR)/lib/vms_gtk.opt $(DISTDIR)/lib
563 mkdir $(DISTDIR)/src
564 mkdir $(DISTDIR)/src/zlib
565 cp $(ZLIBDIR)/*.h $(DISTDIR)/src/zlib
566 cp $(ZLIBDIR)/*.c $(DISTDIR)/src/zlib
567 cp $(ZLIBDIR)/README $(DISTDIR)/src/zlib
568 cp $(ZLIBDIR)/*.mms $(DISTDIR)/src/zlib
569
570 # this target is the common part of distribution script for all GUI toolkits,
571 # but is not used when building wxBase distribution
572 ALL_GUI_DIST: ALL_DIST
573 cp $(WXDIR)/wx$(TOOLKIT).spec $(DISTDIR)
574 cp $(WXDIR)/wxBase.spec $(DISTDIR)
575 cp $(DOCDIR)/$(TOOLKITDIR)/install.txt $(DISTDIR)/INSTALL.txt
576 cp $(DOCDIR)/$(TOOLKITDIR)/changes.txt $(DISTDIR)/CHANGES.txt
577 cp $(DOCDIR)/$(TOOLKITDIR)/readme.txt $(DISTDIR)/README.txt
578 cp $(DOCDIR)/$(TOOLKITDIR)/todo.txt $(DISTDIR)/TODO.txt
579 mkdir $(DISTDIR)/include
580 mkdir $(DISTDIR)/include/wx
581 mkdir $(DISTDIR)/include/wx/$(TOOLKITDIR)
582 mkdir $(DISTDIR)/include/wx/generic
583 mkdir $(DISTDIR)/include/wx/html
584 mkdir $(DISTDIR)/include/wx/protocol
585 mkdir $(DISTDIR)/include/wx/unix
586 cp $(INCDIR)/wx/*.h $(DISTDIR)/include/wx
587 cp $(INCDIR)/wx/*.inl $(DISTDIR)/include/wx
588 cp $(INCDIR)/wx/*.cpp $(DISTDIR)/include/wx
589 cp $(INCDIR)/wx/generic/*.h $(DISTDIR)/include/wx/generic
590 cp $(INCDIR)/wx/generic/*.xpm $(DISTDIR)/include/wx/generic
591 cp $(INCDIR)/wx/html/*.h $(DISTDIR)/include/wx/html
592 cp $(INCDIR)/wx/unix/*.h $(DISTDIR)/include/wx/unix
593 cp $(INCDIR)/wx/protocol/*.h $(DISTDIR)/include/wx/protocol
594 mkdir $(DISTDIR)/src/common
595 mkdir $(DISTDIR)/src/generic
596 mkdir $(DISTDIR)/src/html
597 mkdir $(DISTDIR)/src/html/bitmaps
598 mkdir $(DISTDIR)/src/$(TOOLKITDIR)
599 mkdir $(DISTDIR)/src/png
600 mkdir $(DISTDIR)/src/jpeg
601 mkdir $(DISTDIR)/src/tiff
602 mkdir $(DISTDIR)/src/iodbc
603 mkdir $(DISTDIR)/src/unix
604 cp $(WXDIR)/@PORT_FILES@ $(DISTDIR)
605 cp $(SRCDIR)/*.in $(DISTDIR)/src
606 cp $(COMMDIR)/*.cpp $(DISTDIR)/src/common
607 cp $(COMMDIR)/*.c $(DISTDIR)/src/common
608 cp $(COMMDIR)/*.inc $(DISTDIR)/src/common
609 cp $(COMMDIR)/*.l $(DISTDIR)/src/common
610 cp $(COMMDIR)/*.h $(DISTDIR)/src/common
611 cp $(COMMDIR)/*.y $(DISTDIR)/src/common
612 cp $(COMMDIR)/*.mms $(DISTDIR)/src/common
613 cp $(UNIXDIR)/*.c $(DISTDIR)/src/unix
614 cp $(UNIXDIR)/*.cpp $(DISTDIR)/src/unix
615 cp $(UNIXDIR)/*.mms $(DISTDIR)/src/unix
616 cp $(GENDIR)/*.cpp $(DISTDIR)/src/generic
617 cp $(GENDIR)/*.mms $(DISTDIR)/src/generic
618 cp $(HTMLDIR)/*.cpp $(DISTDIR)/src/html
619 cp $(HTMLDIR)/bitmaps/*.xpm $(DISTDIR)/src/html/bitmaps
620 cp $(PNGDIR)/*.h $(DISTDIR)/src/png
621 cp $(PNGDIR)/*.c $(DISTDIR)/src/png
622 cp $(PNGDIR)/README $(DISTDIR)/src/png
623 cp $(JPEGDIR)/*.h $(DISTDIR)/src/jpeg
624 cp $(JPEGDIR)/*.c $(DISTDIR)/src/jpeg
625 cp $(JPEGDIR)/README $(DISTDIR)/src/jpeg
626 cp $(TIFFDIR)/*.h $(DISTDIR)/src/tiff
627 cp $(TIFFDIR)/*.c $(DISTDIR)/src/tiff
628 cp $(TIFFDIR)/README $(DISTDIR)/src/tiff
629 cp $(ODBCDIR)/*.h $(DISTDIR)/src/iodbc
630 cp $(ODBCDIR)/*.c $(DISTDIR)/src/iodbc
631 cp $(ODBCDIR)/*.ci $(DISTDIR)/src/iodbc
632 cp $(ODBCDIR)/*.exp $(DISTDIR)/src/iodbc
633 cp $(ODBCDIR)/README $(DISTDIR)/src/iodbc
634 cp $(ODBCDIR)/NEWS $(DISTDIR)/src/iodbc
635 cp $(ODBCDIR)/Changes.log $(DISTDIR)/src/iodbc
636
637 BASE_DIST: ALL_DIST
638 mkdir $(DISTDIR)/include
639 mkdir $(DISTDIR)/include/wx
640 mkdir $(DISTDIR)/include/wx/protocol
641 mkdir $(DISTDIR)/include/wx/unix
642 mkdir $(DISTDIR)/src/common
643 mkdir $(DISTDIR)/src/unix
644 cp $(WXDIR)/@PORT_FILES@ $(DISTDIR)
645 cp $(WXDIR)/@RPM_FILES@ $(DISTDIR)/@RPM_FILES@
646 cp $(WXDIR)/@RPM_SPEC@ $(DISTDIR)/@RPM_SPEC@
647 cp $(WXDIR)/wxBase*.ds[pw] $(DISTDIR)
648 cp $(DOCDIR)/changes.txt $(DISTDIR)/CHANGES.txt
649 cp $(DOCDIR)/readme.txt $(DISTDIR)/README.txt
650 cp $(SRCDIR)/*.in $(DISTDIR)/src
651 cp $(WXDIR)/src/common/*.inc $(DISTDIR)/src/common
652 cp $(WXDIR)/src/common/base.rc $(DISTDIR)/src/common
653 cp $(WXDIR)/src/common/unzip.h $(DISTDIR)/src/common
654 list='$(HEADERS)'; for p in $$list; do \
655 cp $(WXDIR)/include/wx/$$p $(DISTDIR)/include/wx/$$p; \
656 done
657 list='$(SOURCES)'; for p in $$list; do \
658 cp $(WXDIR)/src/$$p $(DISTDIR)/src/$$p; \
659 done
660
661 mkdir $(DISTDIR)/samples
662 cp $(SAMPDIR)/Makefile.in $(DISTDIR)/samples
663 cp $(SAMPDIR)/configure $(DISTDIR)/samples
664 cp $(SAMPDIR)/configure.in $(DISTDIR)/samples
665
666 mkdir $(DISTDIR)/samples/console
667 cp $(SAMPDIR)/console/Makefile.in $(DISTDIR)/samples/console
668 cp $(SAMPDIR)/console/makefile.unx $(DISTDIR)/samples/console
669 cp $(SAMPDIR)/console/console.cpp $(DISTDIR)/samples/console
670 cp $(SAMPDIR)/console/testdata.fc $(DISTDIR)/samples/console
671
672 GTK_DIST: ALL_GUI_DIST
673 cp $(INCDIR)/wx/gtk/*.h $(DISTDIR)/include/wx/gtk
674 cp $(INCDIR)/wx/gtk/*.xpm $(DISTDIR)/include/wx/gtk
675 cp $(GTKDIR)/*.cpp $(DISTDIR)/src/gtk
676 cp $(GTKDIR)/*.c $(DISTDIR)/src/gtk
677 cp $(GTKDIR)/*.xbm $(DISTDIR)/src/gtk
678 cp $(GTKDIR)/*.mms $(DISTDIR)/src/gtk
679 mkdir $(DISTDIR)/contrib
680 cp -R $(WXDIR)/contrib $(DISTDIR)
681
682 MOTIF_DIST: ALL_GUI_DIST
683 cp $(WXDIR)/wxMOTIF.spec $(DISTDIR)
684 cp $(INCDIR)/wx/motif/*.h $(DISTDIR)/include/wx/motif
685 cp $(MOTIFDIR)/*.cpp $(DISTDIR)/src/motif
686 cp $(MOTIFDIR)/*.xbm $(DISTDIR)/src/motif
687 mkdir $(DISTDIR)/src/motif/xmcombo
688 cp $(MOTIFDIR)/xmcombo/*.c $(DISTDIR)/src/motif/xmcombo
689 cp $(MOTIFDIR)/xmcombo/*.h $(DISTDIR)/src/motif/xmcombo
690 cp $(MOTIFDIR)/xmcombo/copying.txt $(DISTDIR)/src/motif/xmcombo
691
692 MACX_DIST: ALL_GUI_DIST
693 echo "Apple Mac OS X specific distribution not complete"
694
695 MSW_DIST: ALL_GUI_DIST
696 cp $(WXDIR)/wxWINE.spec $(DISTDIR)
697 cp $(INCDIR)/wx/msw/*.h $(DISTDIR)/include/wx/msw
698 cp $(INCDIR)/wx/msw/*.cur $(DISTDIR)/include/wx/msw
699 cp $(INCDIR)/wx/msw/*.ico $(DISTDIR)/include/wx/msw
700 cp $(INCDIR)/wx/msw/*.bmp $(DISTDIR)/include/wx/msw
701 cp $(INCDIR)/wx/msw/*.rc $(DISTDIR)/include/wx/msw
702 cp $(MSWDIR)/*.cpp $(DISTDIR)/src/msw
703 cp $(MSWDIR)/*.c $(DISTDIR)/src/msw
704 cp $(MSWDIR)/*.def $(DISTDIR)/src/msw
705 mkdir $(DISTDIR)/src/msw/ole
706 cp $(MSWDIR)/ole/*.cpp $(DISTDIR)/src/msw/ole
707
708 DEMOS_DIST: ALL_GUI_DIST
709 mkdir $(DISTDIR)/demos
710 cp $(DEMODIR)/Makefile.in $(DISTDIR)/demos
711 cp $(DEMODIR)/configure $(DISTDIR)/demos
712 cp $(DEMODIR)/configure.in $(DISTDIR)/demos
713
714 cp -R $(DEMODIR)/dbbrowse $(DISTDIR)/demos/dbbrowse
715
716 mkdir $(DISTDIR)/demos/bombs
717 cp $(DEMODIR)/bombs/Makefile.in $(DISTDIR)/demos/bombs
718 cp $(DEMODIR)/bombs/makefile.unx $(DISTDIR)/demos/bombs
719 cp $(DEMODIR)/bombs/*.cpp $(DISTDIR)/demos/bombs
720 cp $(DEMODIR)/bombs/*.h $(DISTDIR)/demos/bombs
721 cp $(DEMODIR)/bombs/*.xpm $(DISTDIR)/demos/bombs
722 cp $(DEMODIR)/bombs/readme.txt $(DISTDIR)/demos/bombs
723
724 mkdir $(DISTDIR)/demos/forty
725 cp $(DEMODIR)/forty/Makefile.in $(DISTDIR)/demos/forty
726 cp $(DEMODIR)/forty/makefile.unx $(DISTDIR)/demos/forty
727 cp $(DEMODIR)/forty/*.h $(DISTDIR)/demos/forty
728 cp $(DEMODIR)/forty/*.cpp $(DISTDIR)/demos/forty
729 cp $(DEMODIR)/forty/*.xpm $(DISTDIR)/demos/forty
730 cp $(DEMODIR)/forty/*.xbm $(DISTDIR)/demos/forty
731
732 mkdir $(DISTDIR)/demos/life
733 mkdir $(DISTDIR)/demos/life/bitmaps
734 cp $(DEMODIR)/life/Makefile.in $(DISTDIR)/demos/life
735 cp $(DEMODIR)/life/makefile.unx $(DISTDIR)/demos/life
736 cp $(DEMODIR)/life/*.cpp $(DISTDIR)/demos/life
737 cp $(DEMODIR)/life/*.h $(DISTDIR)/demos/life
738 cp $(DEMODIR)/life/*.xpm $(DISTDIR)/demos/life
739 cp $(DEMODIR)/life/*.inc $(DISTDIR)/demos/life
740 cp $(DEMODIR)/life/*.lif $(DISTDIR)/demos/life
741 cp $(DEMODIR)/life/bitmaps/*.xpm $(DISTDIR)/demos/life/bitmaps
742
743 mkdir $(DISTDIR)/demos/poem
744 cp $(DEMODIR)/poem/Makefile.in $(DISTDIR)/demos/poem
745 cp $(DEMODIR)/poem/makefile.unx $(DISTDIR)/demos/poem
746 cp $(DEMODIR)/poem/*.h $(DISTDIR)/demos/poem
747 cp $(DEMODIR)/poem/*.cpp $(DISTDIR)/demos/poem
748 cp $(DEMODIR)/poem/*.xpm $(DISTDIR)/demos/poem
749 cp $(DEMODIR)/poem/*.dat $(DISTDIR)/demos/poem
750 cp $(DEMODIR)/poem/*.txt $(DISTDIR)/demos/poem
751
752 mkdir $(DISTDIR)/demos/fractal
753 cp $(DEMODIR)/fractal/Makefile.in $(DISTDIR)/demos/fractal
754 cp $(DEMODIR)/fractal/makefile.unx $(DISTDIR)/demos/fractal
755 cp $(DEMODIR)/fractal/*.cpp $(DISTDIR)/demos/fractal
756
757 SAMPLES_DIST: ALL_GUI_DIST
758 mkdir $(DISTDIR)/samples
759 cp $(SAMPDIR)/Makefile.in $(DISTDIR)/samples
760 cp $(SAMPDIR)/configure $(DISTDIR)/samples
761 cp $(SAMPDIR)/configure.in $(DISTDIR)/samples
762
763 mkdir $(DISTDIR)/samples/calendar
764 cp $(SAMPDIR)/calendar/Makefile.in $(DISTDIR)/samples/calendar
765 cp $(SAMPDIR)/calendar/makefile.unx $(DISTDIR)/samples/calendar
766 cp $(SAMPDIR)/calendar/*.cpp $(DISTDIR)/samples/calendar
767
768 mkdir $(DISTDIR)/samples/caret
769 cp $(SAMPDIR)/caret/Makefile.in $(DISTDIR)/samples/caret
770 cp $(SAMPDIR)/caret/makefile.unx $(DISTDIR)/samples/caret
771 cp $(SAMPDIR)/caret/*.cpp $(DISTDIR)/samples/caret
772 cp $(SAMPDIR)/caret/*.xpm $(DISTDIR)/samples/caret
773
774 mkdir $(DISTDIR)/samples/checklst
775 cp $(SAMPDIR)/checklst/Makefile.in $(DISTDIR)/samples/checklst
776 cp $(SAMPDIR)/checklst/makefile.unx $(DISTDIR)/samples/checklst
777 cp $(SAMPDIR)/checklst/*.cpp $(DISTDIR)/samples/checklst
778 cp $(SAMPDIR)/checklst/*.xpm $(DISTDIR)/samples/checklst
779 cp $(SAMPDIR)/checklst/*.mms $(DISTDIR)/samples/checklst
780
781 mkdir $(DISTDIR)/samples/config
782 cp $(SAMPDIR)/config/Makefile.in $(DISTDIR)/samples/config
783 cp $(SAMPDIR)/config/makefile.unx $(DISTDIR)/samples/config
784 cp $(SAMPDIR)/config/*.cpp $(DISTDIR)/samples/config
785
786 mkdir $(DISTDIR)/samples/console
787 cp $(SAMPDIR)/console/Makefile.in $(DISTDIR)/samples/console
788 cp $(SAMPDIR)/console/makefile.unx $(DISTDIR)/samples/console
789 cp $(SAMPDIR)/console/*.cpp $(DISTDIR)/samples/console
790
791 mkdir $(DISTDIR)/samples/controls
792 mkdir $(DISTDIR)/samples/controls/icons
793 cp $(SAMPDIR)/controls/Makefile.in $(DISTDIR)/samples/controls
794 cp $(SAMPDIR)/controls/makefile.unx $(DISTDIR)/samples/controls
795 cp $(SAMPDIR)/controls/*.cpp $(DISTDIR)/samples/controls
796 cp $(SAMPDIR)/controls/*.xpm $(DISTDIR)/samples/controls
797 cp $(SAMPDIR)/controls/*.mms $(DISTDIR)/samples/controls
798 cp $(SAMPDIR)/controls/icons/*.??? $(DISTDIR)/samples/controls/icons
799
800 mkdir $(DISTDIR)/samples/db
801 cp $(SAMPDIR)/db/Makefile.in $(DISTDIR)/samples/db
802 cp $(SAMPDIR)/db/makefile.unx $(DISTDIR)/samples/db
803 cp $(SAMPDIR)/db/*.cpp $(DISTDIR)/samples/db
804 cp $(SAMPDIR)/db/*.h $(DISTDIR)/samples/db
805 cp $(SAMPDIR)/db/*.xpm $(DISTDIR)/samples/db
806
807 mkdir $(DISTDIR)/samples/dialogs
808 cp $(SAMPDIR)/dialogs/Makefile.in $(DISTDIR)/samples/dialogs
809 cp $(SAMPDIR)/dialogs/makefile.unx $(DISTDIR)/samples/dialogs
810 cp $(SAMPDIR)/dialogs/*.cpp $(DISTDIR)/samples/dialogs
811 cp $(SAMPDIR)/dialogs/*.h $(DISTDIR)/samples/dialogs
812 cp $(SAMPDIR)/dialogs/*.txt $(DISTDIR)/samples/dialogs
813 cp $(SAMPDIR)/dialogs/*.mms $(DISTDIR)/samples/dialogs
814
815 mkdir $(DISTDIR)/samples/dnd
816 cp $(SAMPDIR)/dnd/Makefile.in $(DISTDIR)/samples/dnd
817 cp $(SAMPDIR)/dnd/makefile.unx $(DISTDIR)/samples/dnd
818 cp $(SAMPDIR)/dnd/*.wxr $(DISTDIR)/samples/dnd
819 cp $(SAMPDIR)/dnd/*.cpp $(DISTDIR)/samples/dnd
820 cp $(SAMPDIR)/dnd/*.xpm $(DISTDIR)/samples/dnd
821 cp $(SAMPDIR)/dnd/*.txt $(DISTDIR)/samples/dnd
822 cp $(SAMPDIR)/dnd/*.png $(DISTDIR)/samples/dnd
823
824 mkdir $(DISTDIR)/samples/docview
825 cp $(SAMPDIR)/docview/Makefile.in $(DISTDIR)/samples/docview
826 cp $(SAMPDIR)/docview/makefile.unx $(DISTDIR)/samples/docview
827 cp $(SAMPDIR)/docview/*.cpp $(DISTDIR)/samples/docview
828 cp $(SAMPDIR)/docview/*.h $(DISTDIR)/samples/docview
829 cp $(SAMPDIR)/docview/*.xpm $(DISTDIR)/samples/docview
830
831 mkdir $(DISTDIR)/samples/docvwmdi
832 cp $(SAMPDIR)/docvwmdi/Makefile.in $(DISTDIR)/samples/docvwmdi
833 cp $(SAMPDIR)/docvwmdi/makefile.unx $(DISTDIR)/samples/docvwmdi
834 cp $(SAMPDIR)/docvwmdi/*.cpp $(DISTDIR)/samples/docvwmdi
835 cp $(SAMPDIR)/docvwmdi/*.h $(DISTDIR)/samples/docvwmdi
836
837 mkdir $(DISTDIR)/samples/dragimag
838 cp $(SAMPDIR)/dragimag/Makefile.in $(DISTDIR)/samples/dragimag
839 cp $(SAMPDIR)/dragimag/makefile.unx $(DISTDIR)/samples/dragimag
840 cp $(SAMPDIR)/dragimag/*.cpp $(DISTDIR)/samples/dragimag
841 cp $(SAMPDIR)/dragimag/*.h $(DISTDIR)/samples/dragimag
842 cp $(SAMPDIR)/dragimag/*.xpm $(DISTDIR)/samples/dragimag
843 cp $(SAMPDIR)/dragimag/*.png $(DISTDIR)/samples/dragimag
844
845 mkdir $(DISTDIR)/samples/drawing
846 cp $(SAMPDIR)/drawing/Makefile.in $(DISTDIR)/samples/drawing
847 cp $(SAMPDIR)/drawing/makefile.unx $(DISTDIR)/samples/drawing
848 cp $(SAMPDIR)/drawing/*.cpp $(DISTDIR)/samples/drawing
849 cp $(SAMPDIR)/drawing/*.xpm $(DISTDIR)/samples/drawing
850 cp $(SAMPDIR)/drawing/*.bmp $(DISTDIR)/samples/drawing
851
852 mkdir $(DISTDIR)/samples/dynamic
853 cp $(SAMPDIR)/dynamic/Makefile.in $(DISTDIR)/samples/dynamic
854 cp $(SAMPDIR)/dynamic/makefile.unx $(DISTDIR)/samples/dynamic
855 cp $(SAMPDIR)/dynamic/*.cpp $(DISTDIR)/samples/dynamic
856 cp $(SAMPDIR)/dynamic/*.xpm $(DISTDIR)/samples/dynamic
857
858 mkdir $(DISTDIR)/samples/erase
859 cp $(SAMPDIR)/erase/Makefile.in $(DISTDIR)/samples/erase
860 cp $(SAMPDIR)/erase/makefile.unx $(DISTDIR)/samples/erase
861 cp $(SAMPDIR)/erase/*.cpp $(DISTDIR)/samples/erase
862
863 mkdir $(DISTDIR)/samples/event
864 cp $(SAMPDIR)/event/Makefile.in $(DISTDIR)/samples/event
865 cp $(SAMPDIR)/event/makefile.unx $(DISTDIR)/samples/event
866 cp $(SAMPDIR)/event/*.cpp $(DISTDIR)/samples/event
867
868 mkdir $(DISTDIR)/samples/exec
869 cp $(SAMPDIR)/exec/Makefile.in $(DISTDIR)/samples/exec
870 cp $(SAMPDIR)/exec/makefile.unx $(DISTDIR)/samples/exec
871 cp $(SAMPDIR)/exec/*.cpp $(DISTDIR)/samples/exec
872
873 mkdir $(DISTDIR)/samples/font
874 cp $(SAMPDIR)/font/Makefile.in $(DISTDIR)/samples/font
875 cp $(SAMPDIR)/font/makefile.unx $(DISTDIR)/samples/font
876 cp $(SAMPDIR)/font/*.cpp $(DISTDIR)/samples/font
877
878 mkdir $(DISTDIR)/samples/grid
879 cp $(SAMPDIR)/grid/Makefile.in $(DISTDIR)/samples/grid
880 cp $(SAMPDIR)/grid/makefile.unx $(DISTDIR)/samples/grid
881 cp $(SAMPDIR)/grid/*.cpp $(DISTDIR)/samples/grid
882
883 mkdir $(DISTDIR)/samples/help
884 mkdir $(DISTDIR)/samples/help/doc
885 cp $(SAMPDIR)/help/Makefile.in $(DISTDIR)/samples/help
886 cp $(SAMPDIR)/help/makefile.unx $(DISTDIR)/samples/help
887 cp $(SAMPDIR)/help/*.cpp $(DISTDIR)/samples/help
888 cp $(SAMPDIR)/help/*.xpm $(DISTDIR)/samples/help
889 cp $(SAMPDIR)/help/doc/*.* $(DISTDIR)/samples/help/doc
890
891 mkdir $(DISTDIR)/samples/html
892 cp $(SAMPDIR)/html/Makefile.in $(DISTDIR)/samples/html
893 mkdir $(DISTDIR)/samples/html/about
894 cp $(SAMPDIR)/html/about/Makefile.in $(DISTDIR)/samples/html/about
895 cp $(SAMPDIR)/html/about/*.cpp $(DISTDIR)/samples/html/about
896 mkdir $(DISTDIR)/samples/html/about/data
897 cp $(SAMPDIR)/html/about/data/*.htm $(DISTDIR)/samples/html/about/data
898 cp $(SAMPDIR)/html/about/data/*.png $(DISTDIR)/samples/html/about/data
899 mkdir $(DISTDIR)/samples/html/help
900 cp $(SAMPDIR)/html/help/Makefile.in $(DISTDIR)/samples/html/help
901 cp $(SAMPDIR)/html/help/*.cpp $(DISTDIR)/samples/html/help
902 mkdir $(DISTDIR)/samples/html/help/helpfiles
903 cp $(SAMPDIR)/html/help/helpfiles/*.??? $(DISTDIR)/samples/html/help/helpfiles
904 mkdir $(DISTDIR)/samples/html/helpview
905 cp $(SAMPDIR)/html/helpview/Makefile.in $(DISTDIR)/samples/html/helpview
906 cp $(SAMPDIR)/html/helpview/*.cpp $(DISTDIR)/samples/html/helpview
907 cp $(SAMPDIR)/html/helpview/*.zip $(DISTDIR)/samples/html/helpview
908 mkdir $(DISTDIR)/samples/html/printing
909 cp $(SAMPDIR)/html/printing/Makefile.in $(DISTDIR)/samples/html/printing
910 cp $(SAMPDIR)/html/printing/*.cpp $(DISTDIR)/samples/html/printing
911 cp $(SAMPDIR)/html/printing/*.htm $(DISTDIR)/samples/html/printing
912 mkdir $(DISTDIR)/samples/html/test
913 cp $(SAMPDIR)/html/test/Makefile.in $(DISTDIR)/samples/html/test
914 cp $(SAMPDIR)/html/test/*.cpp $(DISTDIR)/samples/html/test
915 cp $(SAMPDIR)/html/test/*.bmp $(DISTDIR)/samples/html/test
916 cp $(SAMPDIR)/html/test/*.png $(DISTDIR)/samples/html/test
917 cp $(SAMPDIR)/html/test/*.gif $(DISTDIR)/samples/html/test
918 cp $(SAMPDIR)/html/test/*.htm $(DISTDIR)/samples/html/test
919 cp $(SAMPDIR)/html/test/*.html $(DISTDIR)/samples/html/test
920 mkdir $(DISTDIR)/samples/html/virtual
921 cp $(SAMPDIR)/html/virtual/Makefile.in $(DISTDIR)/samples/html/virtual
922 cp $(SAMPDIR)/html/virtual/*.cpp $(DISTDIR)/samples/html/virtual
923 cp $(SAMPDIR)/html/virtual/*.htm $(DISTDIR)/samples/html/virtual
924 mkdir $(DISTDIR)/samples/html/widget
925 cp $(SAMPDIR)/html/widget/Makefile.in $(DISTDIR)/samples/html/widget
926 cp $(SAMPDIR)/html/widget/*.cpp $(DISTDIR)/samples/html/widget
927 cp $(SAMPDIR)/html/widget/*.htm $(DISTDIR)/samples/html/widget
928 mkdir $(DISTDIR)/samples/html/zip
929 cp $(SAMPDIR)/html/zip/Makefile.in $(DISTDIR)/samples/html/zip
930 cp $(SAMPDIR)/html/zip/*.cpp $(DISTDIR)/samples/html/zip
931 cp $(SAMPDIR)/html/zip/*.htm $(DISTDIR)/samples/html/zip
932 cp $(SAMPDIR)/html/zip/*.zip $(DISTDIR)/samples/html/zip
933
934 mkdir $(DISTDIR)/samples/image
935 cp $(SAMPDIR)/image/Makefile.in $(DISTDIR)/samples/image
936 cp $(SAMPDIR)/image/makefile.unx $(DISTDIR)/samples/image
937 cp $(SAMPDIR)/image/*.cpp $(DISTDIR)/samples/image
938 cp $(SAMPDIR)/image/*.mms $(DISTDIR)/samples/image
939 cp $(SAMPDIR)/image/horse.* $(DISTDIR)/samples/image
940 cp $(SAMPDIR)/image/smile.xbm $(DISTDIR)/samples/image
941 cp $(SAMPDIR)/image/smile.xpm $(DISTDIR)/samples/image
942
943 mkdir $(DISTDIR)/samples/internat
944 mkdir $(DISTDIR)/samples/internat/de
945 mkdir $(DISTDIR)/samples/internat/fr
946 mkdir $(DISTDIR)/samples/internat/ru
947 cp $(SAMPDIR)/internat/Makefile.in $(DISTDIR)/samples/internat
948 cp $(SAMPDIR)/internat/makefile.unx $(DISTDIR)/samples/internat
949 cp $(SAMPDIR)/internat/*.cpp $(DISTDIR)/samples/internat
950 cp $(SAMPDIR)/internat/*.xpm $(DISTDIR)/samples/internat
951 cp $(SAMPDIR)/internat/*.txt $(DISTDIR)/samples/internat
952 cp $(SAMPDIR)/internat/*.po $(DISTDIR)/samples/internat
953 cp $(SAMPDIR)/internat/fr/*.mo $(DISTDIR)/samples/internat/fr
954 cp $(SAMPDIR)/internat/de/*.mo $(DISTDIR)/samples/internat/de
955 cp $(SAMPDIR)/internat/ru/*.mo $(DISTDIR)/samples/internat/ru
956 cp $(SAMPDIR)/internat/fr/*.po $(DISTDIR)/samples/internat/fr
957 cp $(SAMPDIR)/internat/de/*.po $(DISTDIR)/samples/internat/de
958 cp $(SAMPDIR)/internat/ru/*.po $(DISTDIR)/samples/internat/ru
959
960 mkdir $(DISTDIR)/samples/ipc
961 cp $(SAMPDIR)/ipc/Makefile.in $(DISTDIR)/samples/ipc
962 cp $(SAMPDIR)/ipc/makefile.unx $(DISTDIR)/samples/ipc
963 cp $(SAMPDIR)/ipc/*.cpp $(DISTDIR)/samples/ipc
964 cp $(SAMPDIR)/ipc/*.h $(DISTDIR)/samples/ipc
965 cp $(SAMPDIR)/ipc/*.xpm $(DISTDIR)/samples/ipc
966
967 mkdir $(DISTDIR)/samples/joytest
968 cp $(SAMPDIR)/joytest/Makefile.in $(DISTDIR)/samples/joytest
969 cp $(SAMPDIR)/joytest/makefile.unx $(DISTDIR)/samples/joytest
970 cp $(SAMPDIR)/joytest/*.cpp $(DISTDIR)/samples/joytest
971 cp $(SAMPDIR)/joytest/*.h $(DISTDIR)/samples/joytest
972 cp $(SAMPDIR)/joytest/*.wav $(DISTDIR)/samples/joytest
973
974 mkdir $(DISTDIR)/samples/layout
975 cp $(SAMPDIR)/layout/Makefile.in $(DISTDIR)/samples/layout
976 cp $(SAMPDIR)/layout/makefile.unx $(DISTDIR)/samples/layout
977 cp $(SAMPDIR)/layout/*.cpp $(DISTDIR)/samples/layout
978 cp $(SAMPDIR)/layout/*.h $(DISTDIR)/samples/layout
979
980 mkdir $(DISTDIR)/samples/listctrl
981 mkdir $(DISTDIR)/samples/listctrl/bitmaps
982 cp $(SAMPDIR)/listctrl/Makefile.in $(DISTDIR)/samples/listctrl
983 cp $(SAMPDIR)/listctrl/makefile.unx $(DISTDIR)/samples/listctrl
984 cp $(SAMPDIR)/listctrl/*.cpp $(DISTDIR)/samples/listctrl
985 cp $(SAMPDIR)/listctrl/*.h $(DISTDIR)/samples/listctrl
986 cp $(SAMPDIR)/listctrl/*.xpm $(DISTDIR)/samples/listctrl
987 cp $(SAMPDIR)/listctrl/bitmaps/*.xpm $(DISTDIR)/samples/listctrl/bitmaps
988
989 mkdir $(DISTDIR)/samples/mdi
990 mkdir $(DISTDIR)/samples/mdi/bitmaps
991 cp $(SAMPDIR)/mdi/Makefile.in $(DISTDIR)/samples/mdi
992 cp $(SAMPDIR)/mdi/makefile.unx $(DISTDIR)/samples/mdi
993 cp $(SAMPDIR)/mdi/*.cpp $(DISTDIR)/samples/mdi
994 cp $(SAMPDIR)/mdi/*.h $(DISTDIR)/samples/mdi
995 cp $(SAMPDIR)/mdi/*.xpm $(DISTDIR)/samples/mdi
996 cp $(SAMPDIR)/mdi/bitmaps/*.xpm $(DISTDIR)/samples/mdi/bitmaps
997
998 mkdir $(DISTDIR)/samples/memcheck
999 cp $(SAMPDIR)/memcheck/Makefile.in $(DISTDIR)/samples/memcheck
1000 cp $(SAMPDIR)/memcheck/makefile.unx $(DISTDIR)/samples/memcheck
1001 cp $(SAMPDIR)/memcheck/*.cpp $(DISTDIR)/samples/memcheck
1002 cp $(SAMPDIR)/memcheck/*.xpm $(DISTDIR)/samples/memcheck
1003
1004 mkdir $(DISTDIR)/samples/menu
1005 cp $(SAMPDIR)/menu/Makefile.in $(DISTDIR)/samples/menu
1006 cp $(SAMPDIR)/menu/makefile.unx $(DISTDIR)/samples/menu
1007 cp $(SAMPDIR)/menu/*.cpp $(DISTDIR)/samples/menu
1008
1009 mkdir $(DISTDIR)/samples/minifram
1010 mkdir $(DISTDIR)/samples/minifram/bitmaps
1011 cp $(SAMPDIR)/minifram/Makefile.in $(DISTDIR)/samples/minifram
1012 cp $(SAMPDIR)/minifram/makefile.unx $(DISTDIR)/samples/minifram
1013 cp $(SAMPDIR)/minifram/*.cpp $(DISTDIR)/samples/minifram
1014 cp $(SAMPDIR)/minifram/*.h $(DISTDIR)/samples/minifram
1015 cp $(SAMPDIR)/minifram/*.xpm $(DISTDIR)/samples/minifram
1016 cp $(SAMPDIR)/minifram/bitmaps/*.xpm $(DISTDIR)/samples/minifram/bitmaps
1017
1018 mkdir $(DISTDIR)/samples/minimal
1019 cp $(SAMPDIR)/minimal/Makefile.in $(DISTDIR)/samples/minimal
1020 cp $(SAMPDIR)/minimal/makefile.unx $(DISTDIR)/samples/minimal
1021 cp $(SAMPDIR)/minimal/*.cpp $(DISTDIR)/samples/minimal
1022 cp $(SAMPDIR)/minimal/*.xpm $(DISTDIR)/samples/minimal
1023 cp $(SAMPDIR)/minimal/*.mms $(DISTDIR)/samples/minimal
1024
1025 mkdir $(DISTDIR)/samples/dialup
1026 cp $(SAMPDIR)/dialup/Makefile.in $(DISTDIR)/samples/dialup
1027 cp $(SAMPDIR)/dialup/makefile.unx $(DISTDIR)/samples/dialup
1028 cp $(SAMPDIR)/dialup/*.cpp $(DISTDIR)/samples/dialup
1029
1030 mkdir $(DISTDIR)/samples/newgrid
1031 cp $(SAMPDIR)/newgrid/Makefile.in $(DISTDIR)/samples/newgrid
1032 cp $(SAMPDIR)/newgrid/makefile.unx $(DISTDIR)/samples/newgrid
1033 cp $(SAMPDIR)/newgrid/*.cpp $(DISTDIR)/samples/newgrid
1034 cp $(SAMPDIR)/newgrid/*.h $(DISTDIR)/samples/newgrid
1035
1036 mkdir $(DISTDIR)/samples/notebook
1037 cp $(SAMPDIR)/notebook/Makefile.in $(DISTDIR)/samples/notebook
1038 cp $(SAMPDIR)/notebook/makefile.unx $(DISTDIR)/samples/notebook
1039 cp $(SAMPDIR)/notebook/*.cpp $(DISTDIR)/samples/notebook
1040 cp $(SAMPDIR)/notebook/*.h $(DISTDIR)/samples/notebook
1041
1042 mkdir $(DISTDIR)/samples/opengl
1043 cp $(SAMPDIR)/opengl/Makefile.in $(DISTDIR)/samples/opengl
1044 mkdir $(DISTDIR)/samples/opengl/penguin
1045 cp $(SAMPDIR)/opengl/penguin/Makefile.in $(DISTDIR)/samples/opengl/penguin
1046 cp $(SAMPDIR)/opengl/penguin/makefile.unx $(DISTDIR)/samples/opengl/penguin
1047 cp $(SAMPDIR)/opengl/penguin/*.cpp $(DISTDIR)/samples/opengl/penguin
1048 cp $(SAMPDIR)/opengl/penguin/*.c $(DISTDIR)/samples/opengl/penguin
1049 cp $(SAMPDIR)/opengl/penguin/*.h $(DISTDIR)/samples/opengl/penguin
1050 cp $(SAMPDIR)/opengl/penguin/*.lwo $(DISTDIR)/samples/opengl/penguin
1051 mkdir $(DISTDIR)/samples/opengl/cube
1052 cp $(SAMPDIR)/opengl/cube/Makefile.in $(DISTDIR)/samples/opengl/cube
1053 cp $(SAMPDIR)/opengl/cube/makefile.unx $(DISTDIR)/samples/opengl/cube
1054 cp $(SAMPDIR)/opengl/cube/*.cpp $(DISTDIR)/samples/opengl/cube
1055 cp $(SAMPDIR)/opengl/cube/*.h $(DISTDIR)/samples/opengl/cube
1056 mkdir $(DISTDIR)/samples/opengl/isosurf
1057 cp $(SAMPDIR)/opengl/isosurf/Makefile.in $(DISTDIR)/samples/opengl/isosurf
1058 cp $(SAMPDIR)/opengl/isosurf/makefile.unx $(DISTDIR)/samples/opengl/isosurf
1059 cp $(SAMPDIR)/opengl/isosurf/*.cpp $(DISTDIR)/samples/opengl/isosurf
1060 cp $(SAMPDIR)/opengl/isosurf/*.h $(DISTDIR)/samples/opengl/isosurf
1061 cp $(SAMPDIR)/opengl/isosurf/*.gz $(DISTDIR)/samples/opengl/isosurf
1062
1063 mkdir $(DISTDIR)/samples/png
1064 cp $(SAMPDIR)/png/Makefile.in $(DISTDIR)/samples/png
1065 cp $(SAMPDIR)/png/makefile.unx $(DISTDIR)/samples/png
1066 cp $(SAMPDIR)/png/*.cpp $(DISTDIR)/samples/png
1067 cp $(SAMPDIR)/png/*.h $(DISTDIR)/samples/png
1068 cp $(SAMPDIR)/png/*.png $(DISTDIR)/samples/png
1069
1070 mkdir $(DISTDIR)/samples/printing
1071 cp $(SAMPDIR)/printing/Makefile.in $(DISTDIR)/samples/printing
1072 cp $(SAMPDIR)/printing/makefile.unx $(DISTDIR)/samples/printing
1073 cp $(SAMPDIR)/printing/*.cpp $(DISTDIR)/samples/printing
1074 cp $(SAMPDIR)/printing/*.h $(DISTDIR)/samples/printing
1075 cp $(SAMPDIR)/printing/*.xpm $(DISTDIR)/samples/printing
1076 cp $(SAMPDIR)/printing/*.xbm $(DISTDIR)/samples/printing
1077
1078 mkdir $(DISTDIR)/samples/resource
1079 cp $(SAMPDIR)/resource/Makefile.in $(DISTDIR)/samples/resource
1080 cp $(SAMPDIR)/resource/makefile.unx $(DISTDIR)/samples/resource
1081 cp $(SAMPDIR)/resource/*.cpp $(DISTDIR)/samples/resource
1082 cp $(SAMPDIR)/resource/*.h $(DISTDIR)/samples/resource
1083 cp $(SAMPDIR)/resource/*.wxr $(DISTDIR)/samples/resource
1084
1085 mkdir $(DISTDIR)/samples/rotate
1086 cp $(SAMPDIR)/rotate/Makefile.in $(DISTDIR)/samples/rotate
1087 cp $(SAMPDIR)/rotate/makefile.unx $(DISTDIR)/samples/rotate
1088 cp $(SAMPDIR)/rotate/*.cpp $(DISTDIR)/samples/rotate
1089 cp $(SAMPDIR)/rotate/*.bmp $(DISTDIR)/samples/rotate
1090
1091 mkdir $(DISTDIR)/samples/richedit
1092 cp $(SAMPDIR)/richedit/Makefile.in $(DISTDIR)/samples/richedit
1093 cp $(SAMPDIR)/richedit/makefile.unx $(DISTDIR)/samples/richedit
1094 cp $(SAMPDIR)/richedit/*.cpp $(DISTDIR)/samples/richedit
1095 cp $(SAMPDIR)/richedit/*.h $(DISTDIR)/samples/richedit
1096 cp $(SAMPDIR)/richedit/*.xpm $(DISTDIR)/samples/richedit
1097 cp $(SAMPDIR)/richedit/README $(DISTDIR)/samples/richedit
1098 cp $(SAMPDIR)/richedit/TODO $(DISTDIR)/samples/richedit
1099
1100 mkdir $(DISTDIR)/samples/proplist
1101 cp $(SAMPDIR)/proplist/Makefile.in $(DISTDIR)/samples/proplist
1102 cp $(SAMPDIR)/proplist/makefile.unx $(DISTDIR)/samples/proplist
1103 cp $(SAMPDIR)/proplist/*.cpp $(DISTDIR)/samples/proplist
1104 cp $(SAMPDIR)/proplist/*.h $(DISTDIR)/samples/proplist
1105
1106 mkdir $(DISTDIR)/samples/propsize
1107 cp $(SAMPDIR)/propsize/Makefile.in $(DISTDIR)/samples/propsize
1108 cp $(SAMPDIR)/propsize/makefile.unx $(DISTDIR)/samples/propsize
1109 cp $(SAMPDIR)/propsize/*.cpp $(DISTDIR)/samples/propsize
1110 cp $(SAMPDIR)/propsize/*.xpm $(DISTDIR)/samples/propsize
1111
1112 mkdir $(DISTDIR)/samples/sashtest
1113 cp $(SAMPDIR)/sashtest/Makefile.in $(DISTDIR)/samples/sashtest
1114 cp $(SAMPDIR)/sashtest/makefile.unx $(DISTDIR)/samples/sashtest
1115 cp $(SAMPDIR)/sashtest/*.cpp $(DISTDIR)/samples/sashtest
1116 cp $(SAMPDIR)/sashtest/*.h $(DISTDIR)/samples/sashtest
1117
1118 mkdir $(DISTDIR)/samples/scroll
1119 cp $(SAMPDIR)/scroll/Makefile.in $(DISTDIR)/samples/scroll
1120 cp $(SAMPDIR)/scroll/makefile.unx $(DISTDIR)/samples/scroll
1121 cp $(SAMPDIR)/scroll/*.cpp $(DISTDIR)/samples/scroll
1122
1123 mkdir $(DISTDIR)/samples/scrollsub
1124 cp $(SAMPDIR)/scrollsub/Makefile.in $(DISTDIR)/samples/scrollsub
1125 cp $(SAMPDIR)/scrollsub/makefile.unx $(DISTDIR)/samples/scrollsub
1126 cp $(SAMPDIR)/scrollsub/*.cpp $(DISTDIR)/samples/scrollsub
1127
1128 mkdir $(DISTDIR)/samples/sockets
1129 cp $(SAMPDIR)/sockets/Makefile.in $(DISTDIR)/samples/sockets
1130 cp $(SAMPDIR)/sockets/makefile.unx $(DISTDIR)/samples/sockets
1131 cp $(SAMPDIR)/sockets/*.cpp $(DISTDIR)/samples/sockets
1132 cp $(SAMPDIR)/sockets/*.xpm $(DISTDIR)/samples/sockets
1133
1134 mkdir $(DISTDIR)/samples/splitter
1135 cp $(SAMPDIR)/splitter/Makefile.in $(DISTDIR)/samples/splitter
1136 cp $(SAMPDIR)/splitter/makefile.unx $(DISTDIR)/samples/splitter
1137 cp $(SAMPDIR)/splitter/*.cpp $(DISTDIR)/samples/splitter
1138
1139 mkdir $(DISTDIR)/samples/statbar
1140 cp $(SAMPDIR)/statbar/Makefile.in $(DISTDIR)/samples/statbar
1141 cp $(SAMPDIR)/statbar/makefile.unx $(DISTDIR)/samples/statbar
1142 cp $(SAMPDIR)/statbar/*.cpp $(DISTDIR)/samples/statbar
1143 cp $(SAMPDIR)/statbar/*.xpm $(DISTDIR)/samples/statbar
1144
1145 mkdir $(DISTDIR)/samples/text
1146 cp $(SAMPDIR)/text/Makefile.in $(DISTDIR)/samples/text
1147 cp $(SAMPDIR)/text/makefile.unx $(DISTDIR)/samples/text
1148 cp $(SAMPDIR)/text/*.cpp $(DISTDIR)/samples/text
1149 cp $(SAMPDIR)/text/*.xpm $(DISTDIR)/samples/text
1150
1151 mkdir $(DISTDIR)/samples/thread
1152 cp $(SAMPDIR)/thread/Makefile.in $(DISTDIR)/samples/thread
1153 cp $(SAMPDIR)/thread/makefile.unx $(DISTDIR)/samples/thread
1154 cp $(SAMPDIR)/thread/*.cpp $(DISTDIR)/samples/thread
1155
1156 mkdir $(DISTDIR)/samples/toolbar
1157 cp $(SAMPDIR)/toolbar/Makefile.in $(DISTDIR)/samples/toolbar
1158 cp $(SAMPDIR)/toolbar/makefile.unx $(DISTDIR)/samples/toolbar
1159 cp $(SAMPDIR)/toolbar/*.cpp $(DISTDIR)/samples/toolbar
1160 cp $(SAMPDIR)/toolbar/*.xpm $(DISTDIR)/samples/toolbar
1161 mkdir $(DISTDIR)/samples/toolbar/bitmaps
1162 cp $(SAMPDIR)/toolbar/bitmaps/*.xpm $(DISTDIR)/samples/toolbar/bitmaps
1163
1164 mkdir $(DISTDIR)/samples/treectrl
1165 cp $(SAMPDIR)/treectrl/Makefile.in $(DISTDIR)/samples/treectrl
1166 cp $(SAMPDIR)/treectrl/makefile.unx $(DISTDIR)/samples/treectrl
1167 cp $(SAMPDIR)/treectrl/*.cpp $(DISTDIR)/samples/treectrl
1168 cp $(SAMPDIR)/treectrl/*.h $(DISTDIR)/samples/treectrl
1169 cp $(SAMPDIR)/treectrl/*.xpm $(DISTDIR)/samples/treectrl
1170 mkdir $(DISTDIR)/samples/treectrl/bitmaps
1171 cp $(SAMPDIR)/treectrl/bitmaps/*.bmp $(DISTDIR)/samples/treectrl/bitmaps
1172
1173 mkdir $(DISTDIR)/samples/treelay
1174 cp $(SAMPDIR)/treelay/Makefile.in $(DISTDIR)/samples/treelay
1175 cp $(SAMPDIR)/treelay/makefile.unx $(DISTDIR)/samples/treelay
1176 cp $(SAMPDIR)/treelay/*.cpp $(DISTDIR)/samples/treelay
1177 cp $(SAMPDIR)/treelay/*.h $(DISTDIR)/samples/treelay
1178
1179 mkdir $(DISTDIR)/samples/typetest
1180 cp $(SAMPDIR)/typetest/Makefile.in $(DISTDIR)/samples/typetest
1181 cp $(SAMPDIR)/typetest/makefile.unx $(DISTDIR)/samples/typetest
1182 cp $(SAMPDIR)/typetest/*.cpp $(DISTDIR)/samples/typetest
1183 cp $(SAMPDIR)/typetest/*.h $(DISTDIR)/samples/typetest
1184 cp $(SAMPDIR)/typetest/*.xpm $(DISTDIR)/samples/typetest
1185
1186 mkdir $(DISTDIR)/samples/validate
1187 cp $(SAMPDIR)/validate/Makefile.in $(DISTDIR)/samples/validate
1188 cp $(SAMPDIR)/validate/makefile.unx $(DISTDIR)/samples/validate
1189 cp $(SAMPDIR)/validate/*.cpp $(DISTDIR)/samples/validate
1190 cp $(SAMPDIR)/validate/*.h $(DISTDIR)/samples/validate
1191 cp $(SAMPDIR)/validate/*.xpm $(DISTDIR)/samples/validate
1192
1193 mkdir $(DISTDIR)/samples/wizard
1194 cp $(SAMPDIR)/wizard/Makefile.in $(DISTDIR)/samples/wizard
1195 cp $(SAMPDIR)/wizard/makefile.unx $(DISTDIR)/samples/wizard
1196 cp $(SAMPDIR)/wizard/*.cpp $(DISTDIR)/samples/wizard
1197 cp $(SAMPDIR)/wizard/*.xpm $(DISTDIR)/samples/wizard
1198
1199 UTILS_DIST: ALL_GUI_DIST
1200 mkdir $(DISTDIR)/utils
1201 cp $(UTILSDIR)/Makefile.in $(DISTDIR)/utils
1202 cp $(UTILSDIR)/configure $(DISTDIR)/utils
1203 cp $(UTILSDIR)/configure.in $(DISTDIR)/utils
1204
1205 mkdir $(DISTDIR)/utils/tex2rtf
1206 mkdir $(DISTDIR)/utils/tex2rtf/src
1207 cp $(UTILSDIR)/tex2rtf/*.in $(DISTDIR)/utils/tex2rtf
1208 cp $(UTILSDIR)/tex2rtf/src/*.h $(DISTDIR)/utils/tex2rtf/src
1209 cp $(UTILSDIR)/tex2rtf/src/*.in $(DISTDIR)/utils/tex2rtf/src
1210 cp $(UTILSDIR)/tex2rtf/src/*.cpp $(DISTDIR)/utils/tex2rtf/src
1211 cp $(UTILSDIR)/tex2rtf/src/tex2rtf.* $(DISTDIR)/utils/tex2rtf/src
1212
1213 mkdir $(DISTDIR)/utils/makegen
1214 mkdir $(DISTDIR)/utils/makegen/templates
1215 cp $(UTILSDIR)/makegen/Makefile.in $(DISTDIR)/utils/makegen
1216 cp $(UTILSDIR)/makegen/*.cpp $(DISTDIR)/utils/makegen
1217 cp $(UTILSDIR)/makegen/templates/*.* $(DISTDIR)/utils/makegen/templates
1218
1219 mkdir $(DISTDIR)/utils/hhp2cached
1220 cp $(UTILSDIR)/hhp2cached/*.* $(DISTDIR)/utils/hhp2cached
1221
1222 mkdir $(DISTDIR)/utils/HelpGen
1223 mkdir $(DISTDIR)/utils/HelpGen/src
1224 cp $(UTILSDIR)/HelpGen/Makefile.in $(DISTDIR)/utils/HelpGen
1225 cp $(UTILSDIR)/HelpGen/src/*.* $(DISTDIR)/utils/HelpGen/src
1226
1227 cp -R $(UTILSDIR)/dialoged $(DISTDIR)/utils/dialoged
1228
1229 MISC_DIST: ALL_GUI_DIST
1230 mkdir $(DISTDIR)/misc
1231 mkdir $(DISTDIR)/misc/afm
1232 cp $(MISCDIR)/afm/*.afm $(DISTDIR)/misc/afm
1233 mkdir $(DISTDIR)/misc/gs_afm
1234 cp $(MISCDIR)/gs_afm/*.afm $(DISTDIR)/misc/gs_afm
1235
1236 INTL_DIST:
1237 mkdir $(DISTDIR)/locale
1238 cp $(INTLDIR)/Makefile $(DISTDIR)/locale
1239 cp $(INTLDIR)/*.po $(DISTDIR)/locale
1240 -cp $(INTLDIR)/*.mo $(DISTDIR)/locale
1241
1242 MANUAL_DIST:
1243 mkdir $(DISTDIR)/docs
1244 mkdir $(DISTDIR)/docs/latex
1245 mkdir $(DISTDIR)/docs/latex/wx
1246 cp $(DOCDIR)/latex/wx/*.tex $(DISTDIR)/docs/latex/wx
1247 cp $(DOCDIR)/latex/wx/*.gif $(DISTDIR)/docs/latex/wx
1248 cp $(DOCDIR)/latex/wx/*.ini $(DISTDIR)/docs/latex/wx
1249 cp $(DOCDIR)/latex/wx/*.bib $(DISTDIR)/docs/latex/wx
1250 cp $(DOCDIR)/latex/wx/*.sty $(DISTDIR)/docs/latex/wx
1251
1252 # this target does not generate a complete wxPython dist, it only includes
1253 # those files needed for the Debian source package.
1254 # see utils/wxPython/distrib for scripts to make a proper wxPython dist.
1255 PYTHON_DIST:
1256 mkdir $(DISTDIR)/wxPython
1257 mkdir $(DISTDIR)/wxPython/contrib
1258 mkdir $(DISTDIR)/wxPython/contrib/glcanvas
1259 mkdir $(DISTDIR)/wxPython/contrib/glcanvas/gtk
1260 mkdir $(DISTDIR)/wxPython/contrib/ogl
1261 mkdir $(DISTDIR)/wxPython/contrib/stc
1262 mkdir $(DISTDIR)/wxPython/demo
1263 mkdir $(DISTDIR)/wxPython/demo/bitmaps
1264 mkdir $(DISTDIR)/wxPython/demo/data
1265 mkdir $(DISTDIR)/wxPython/src
1266 mkdir $(DISTDIR)/wxPython/src/gtk
1267 mkdir $(DISTDIR)/wxPython/wxPython
1268 mkdir $(DISTDIR)/wxPython/wxPython/lib
1269 mkdir $(DISTDIR)/wxPython/wxPython/lib/editor
1270 mkdir $(DISTDIR)/wxPython/wxPython/lib/sizers
1271
1272 cp $(WXDIR)/wxPython/*.txt $(DISTDIR)/wxPython
1273 cp $(WXDIR)/wxPython/*.py $(DISTDIR)/wxPython
1274 cp $(WXDIR)/wxPython/setup.cfg $(DISTDIR)/wxPython
1275 cp $(WXDIR)/wxPython/MANIFEST.in $(DISTDIR)/wxPython
1276 -cp $(WXDIR)/wxPython/contrib/glcanvas/* $(DISTDIR)/wxPython/contrib/glcanvas
1277 cp $(WXDIR)/wxPython/contrib/glcanvas/gtk/glcanvas.* $(DISTDIR)/wxPython/contrib/glcanvas/gtk
1278 -cp $(WXDIR)/wxPython/contrib/ogl/* $(DISTDIR)/wxPython/contrib/ogl
1279 -cp $(WXDIR)/wxPython/contrib/stc/* $(DISTDIR)/wxPython/contrib/stc
1280 -cp $(WXDIR)/wxPython/demo/* $(DISTDIR)/wxPython/demo
1281 -cp $(WXDIR)/wxPython/demo/bitmaps/* $(DISTDIR)/wxPython/demo/bitmaps
1282 -cp $(WXDIR)/wxPython/demo/data/* $(DISTDIR)/wxPython/demo/data
1283 -cp $(WXDIR)/wxPython/src/* $(DISTDIR)/wxPython/src
1284 cp $(WXDIR)/wxPython/src/gtk/*.py $(DISTDIR)/wxPython/src/gtk
1285 cp $(WXDIR)/wxPython/src/gtk/*.cpp $(DISTDIR)/wxPython/src/gtk
1286 cp $(WXDIR)/wxPython/wxPython/lib/*.py $(DISTDIR)/wxPython/wxPython/lib
1287 cp $(WXDIR)/wxPython/wxPython/lib/editor/*.py $(DISTDIR)/wxPython/wxPython/lib/editor
1288
1289 distclean:
1290 $(RM) -r _dist_dir
1291
1292 # VZ: the -only targets allow to do "make dist bzip-dist-only" without copying
1293 # the files twice
1294 dist-only:
1295 @echo "*** Creating wxWindows distribution in $(DISTDIR)..."
1296 @cd _dist_dir && tar ch $(DISTDIRNAME) | gzip -f9 > ../$(WXARCHIVE);
1297 @if test "$(USE_GUI)" = 1; then \
1298 cd $(DISTDIR); \
1299 mv samples wxSamples-$(VER_SUFFIX); \
1300 echo "*** Creating wxSamples archive..."; \
1301 tar ch wxSamples-$(VER_SUFFIX) | gzip -f9 > ../../$(WXSAMPLES); \
1302 mv wxSamples-$(VER_SUFFIX) samples; \
1303 mv demos wxDemos-$(VER_SUFFIX); \
1304 echo "*** Creating wxDemos archive..."; \
1305 tar ch wxDemos-$(VER_SUFFIX) | gzip -f9 > ../../$(WXDEMOS); \
1306 mv wxDemos-$(VER_SUFFIX) demos; \
1307 fi
1308
1309 dist: @GUIDIST@
1310 cp $(WXDIR)/src/files.lst $(DISTDIR)/src
1311 @echo "*** Creating wxWindows distribution in $(DISTDIR)..."
1312 @cd _dist_dir && tar ch $(DISTDIRNAME) | gzip -f9 > ../$(WXARCHIVE);
1313 @if test "$(USE_GUI)" = 1; then \
1314 cd $(DISTDIR); \
1315 mv samples wxSamples-$(VER_SUFFIX); \
1316 echo "*** Creating wxSamples archive..."; \
1317 tar ch wxSamples-$(VER_SUFFIX) | gzip -f9 > ../../$(WXSAMPLES); \
1318 mv wxSamples-$(VER_SUFFIX) samples; \
1319 mv demos wxDemos-$(VER_SUFFIX); \
1320 echo "*** Creating wxDemos archive..."; \
1321 tar ch wxDemos-$(VER_SUFFIX) | gzip -f9 > ../../$(WXDEMOS); \
1322 mv wxDemos-$(VER_SUFFIX) demos; \
1323 fi
1324
1325 bzip-dist-only:
1326 @echo "*** Creating wxWindows distribution in $(DISTDIR)..."
1327 @cd _dist_dir && tar ch $(DISTDIRNAME) | bzip2 -f9 > ../$(WXARCHIVE_BZIP);
1328 @if test "$(USE_GUI)" = 1; then \
1329 cd $(DISTDIR); \
1330 mv samples wxSamples-${VER_SUFFIX}; \
1331 echo "*** Creating wxSamples archive..."; \
1332 tar ch wxSamples-${VER_SUFFIX} | bzip2 -f9 > ../../$(WXSAMPLES_BZIP); \
1333 mv wxSamples-${VER_SUFFIX} samples; \
1334 mv demos wxDemos-${VER_SUFFIX}; \
1335 echo "*** Creating wxDemos archive..."; \
1336 tar ch wxDemos-${VER_SUFFIX} | bzip2 -f9 > ../../$(WXDEMOS_BZIP); \
1337 mv wxDemos-${VER_SUFFIX} demos; \
1338 fi
1339
1340 bzip-dist: @GUIDIST@
1341 cp $(WXDIR)/src/files.lst $(DISTDIR)/src/
1342 @echo "*** Creating wxWindows distribution in $(DISTDIR)..."
1343 @cd _dist_dir && tar ch $(DISTDIRNAME) | bzip2 -f9 > ../$(WXARCHIVE_BZIP)
1344 @if test "$(USE_GUI)" = 1; then \
1345 cd $(DISTDIR); \
1346 mv samples wxSamples; \
1347 tar ch wxSamples | bzip2 -f9 > ../../$(WXSAMPLES_BZIP); \
1348 mv wxSamples samples; \
1349 mv demos wxDemos; \
1350 tar ch wxDemos | bzip2 -f9 > ../../$(WXDEMOS_BZIP); \
1351 mv wxDemos demos; \
1352 fi
1353
1354 debian-dist: @GUIDIST@ MANUAL_DIST PYTHON_DIST
1355 mkdir $(DISTDIR)/debian
1356 -cp $(WXDIR)/debian/* $(DISTDIR)/debian
1357 cp $(WXDIR)/src/files.lst $(DISTDIR)/src/
1358 cp $(DOCDIR)/licence.txt $(DISTDIR)/docs
1359 cp $(DOCDIR)/licendoc.txt $(DISTDIR)/docs
1360 cp $(DOCDIR)/preamble.txt $(DISTDIR)/docs
1361 rm -f $(DISTDIR)/*.spec
1362 rm -rf $(WXDIR)/../wxwindows$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER)-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER)
1363 mv $(DISTDIR) $(WXDIR)/../wxwindows$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER)-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER)
1364
1365 clean:
1366 $(RM) *.o
1367 $(RM) *.d
1368 $(RM) parser.c
1369 $(RM) lexer.c
1370 $(RM) -r ./lib/wx/*
1371 $(RM) ./lib/lib*
1372
1373 cleanall: clean
1374
1375
1376 RPMTOP=_dist_dir/_rpm_top
1377
1378 rpm: dist
1379 @echo "*** Building RPMs ***"
1380 -mkdir $(RPMTOP)
1381 -mkdir $(RPMTOP)/SOURCES
1382 -mkdir $(RPMTOP)/SPECS
1383 -mkdir $(RPMTOP)/BUILD
1384 -mkdir $(RPMTOP)/RPMS
1385 -mkdir $(RPMTOP)/SRPMS
1386 cp -f $(WXARCHIVE) $(RPMTOP)/SOURCES
1387 rpm -ba --define "_topdir `pwd`/$(RPMTOP)" $(WXDIR)/wx$(TOOLKIT).spec
1388 mv -f `find $(RPMTOP) -name "wx$(TARGET)*.rpm"` .