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