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