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