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