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