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