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