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