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