]> git.saurik.com Git - wxWidgets.git/blame - Makefile.in
Committing in .
[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)
a4aad961
RR
535 cp $(DOCDIR)/$(TOOLKITDIR)/install.txt $(DISTDIR)/INSTALL.txt
536 cp $(DOCDIR)/$(TOOLKITDIR)/changes.txt $(DISTDIR)/CHANGES.txt
537 cp $(DOCDIR)/$(TOOLKITDIR)/readme.txt $(DISTDIR)/README.txt
538 cp $(DOCDIR)/$(TOOLKITDIR)/todo.txt $(DISTDIR)/TODO.txt
539 mkdir $(DISTDIR)/include
540 mkdir $(DISTDIR)/include/wx
541 mkdir $(DISTDIR)/include/wx/$(TOOLKITDIR)
542 mkdir $(DISTDIR)/include/wx/generic
543 mkdir $(DISTDIR)/include/wx/html
a4aad961 544 mkdir $(DISTDIR)/include/wx/protocol
2224580a
VZ
545 mkdir $(DISTDIR)/include/wx/unix
546 cp $(INCDIR)/wx/*.h $(DISTDIR)/include/wx
547 cp $(INCDIR)/wx/*.inl $(DISTDIR)/include/wx
a4aad961
RR
548 cp $(INCDIR)/wx/*.cpp $(DISTDIR)/include/wx
549 cp $(INCDIR)/wx/generic/*.h $(DISTDIR)/include/wx/generic
550 cp $(INCDIR)/wx/generic/*.xpm $(DISTDIR)/include/wx/generic
551 cp $(INCDIR)/wx/html/*.h $(DISTDIR)/include/wx/html
552 cp $(INCDIR)/wx/unix/*.h $(DISTDIR)/include/wx/unix
553 cp $(INCDIR)/wx/protocol/*.h $(DISTDIR)/include/wx/protocol
4cb122de
RR
554 mkdir $(DISTDIR)/src/common
555 mkdir $(DISTDIR)/src/generic
556 mkdir $(DISTDIR)/src/html
557 mkdir $(DISTDIR)/src/html/bitmaps
558 mkdir $(DISTDIR)/src/$(TOOLKITDIR)
4cb122de
RR
559 mkdir $(DISTDIR)/src/png
560 mkdir $(DISTDIR)/src/jpeg
1d62a8b4 561 mkdir $(DISTDIR)/src/tiff
c09ab26a 562 mkdir $(DISTDIR)/src/iodbc
2224580a
VZ
563 mkdir $(DISTDIR)/src/unix
564 cp $(WXDIR)/@PORT_FILES@ $(DISTDIR)/@PORT_FILES@
4cb122de
RR
565 cp $(SRCDIR)/*.in $(DISTDIR)/src
566 cp $(COMMDIR)/*.cpp $(DISTDIR)/src/common
567 cp $(COMMDIR)/*.c $(DISTDIR)/src/common
568 cp $(COMMDIR)/*.inc $(DISTDIR)/src/common
569 cp $(COMMDIR)/*.l $(DISTDIR)/src/common
570 cp $(COMMDIR)/*.h $(DISTDIR)/src/common
571 cp $(COMMDIR)/*.y $(DISTDIR)/src/common
6e7b6cc6
RR
572 cp $(COMMDIR)/*.mms $(DISTDIR)/src/common
573 cp $(UNIXDIR)/*.c $(DISTDIR)/src/unix
574 cp $(UNIXDIR)/*.cpp $(DISTDIR)/src/unix
575 cp $(UNIXDIR)/*.mms $(DISTDIR)/src/unix
4cb122de 576 cp $(GENDIR)/*.cpp $(DISTDIR)/src/generic
6e7b6cc6 577 cp $(GENDIR)/*.mms $(DISTDIR)/src/generic
4cb122de 578 cp $(HTMLDIR)/*.cpp $(DISTDIR)/src/html
4cb122de 579 cp $(HTMLDIR)/bitmaps/*.xpm $(DISTDIR)/src/html/bitmaps
4cb122de
RR
580 cp $(PNGDIR)/*.h $(DISTDIR)/src/png
581 cp $(PNGDIR)/*.c $(DISTDIR)/src/png
582 cp $(PNGDIR)/README $(DISTDIR)/src/png
4cb122de
RR
583 cp $(JPEGDIR)/*.h $(DISTDIR)/src/jpeg
584 cp $(JPEGDIR)/*.c $(DISTDIR)/src/jpeg
585 cp $(JPEGDIR)/README $(DISTDIR)/src/jpeg
1d62a8b4
RR
586 cp $(TIFFDIR)/*.h $(DISTDIR)/src/tiff
587 cp $(TIFFDIR)/*.c $(DISTDIR)/src/tiff
588 cp $(TIFFDIR)/README $(DISTDIR)/src/tiff
c09ab26a
RR
589 cp $(ODBCDIR)/*.h $(DISTDIR)/src/iodbc
590 cp $(ODBCDIR)/*.c $(DISTDIR)/src/iodbc
591 cp $(ODBCDIR)/*.ci $(DISTDIR)/src/iodbc
592 cp $(ODBCDIR)/*.exp $(DISTDIR)/src/iodbc
593 cp $(ODBCDIR)/README $(DISTDIR)/src/iodbc
594 cp $(ODBCDIR)/NEWS $(DISTDIR)/src/iodbc
595 cp $(ODBCDIR)/Changes.log $(DISTDIR)/src/iodbc
a4aad961 596
2224580a
VZ
597BASE_DIST: ALL_DIST
598 mkdir $(DISTDIR)/include
599 mkdir $(DISTDIR)/include/wx
600 mkdir $(DISTDIR)/include/wx/protocol
601 mkdir $(DISTDIR)/include/wx/unix
2224580a
VZ
602 mkdir $(DISTDIR)/src/common
603 mkdir $(DISTDIR)/src/unix
604 cp $(WXDIR)/@PORT_FILES@ $(DISTDIR)/@PORT_FILES@
605 cp $(WXDIR)/@RPM_FILES@ $(DISTDIR)/@RPM_FILES@
606 cp $(WXDIR)/@RPM_SPEC@ $(DISTDIR)/@RPM_SPEC@
f83b9a77 607 cp $(WXDIR)/wxBase.dsp $(DISTDIR)
2224580a
VZ
608 cp $(DOCDIR)/install.txt $(DISTDIR)/INSTALL.txt
609 cp $(DOCDIR)/changes.txt $(DISTDIR)/CHANGES.txt
610 cp $(DOCDIR)/readme.txt $(DISTDIR)/README.txt
611 cp $(DOCDIR)/todo.txt $(DISTDIR)/TODO.txt
612 cp $(SRCDIR)/*.in $(DISTDIR)/src
dc3d889d 613 cp $(WXDIR)/src/common/unzip.h $(DISTDIR)/src/common/unzip.h
2224580a
VZ
614 list='$(HEADERS)'; for p in $$list; do \
615 cp $(WXDIR)/include/wx/$$p $(DISTDIR)/include/wx/$$p; \
616 done
617 list='$(SOURCES)'; for p in $$list; do \
618 cp $(WXDIR)/src/$$p $(DISTDIR)/src/$$p; \
619 done
620
621GTK_DIST: ALL_GUI_DIST
4cb122de 622 cp $(WXDIR)/wxGTK.spec $(DISTDIR)
a4aad961 623 cp $(INCDIR)/wx/gtk/*.h $(DISTDIR)/include/wx/gtk
4cb122de
RR
624 cp $(INCDIR)/wx/gtk/*.xpm $(DISTDIR)/include/wx/gtk
625 cp $(GTKDIR)/*.cpp $(DISTDIR)/src/gtk
626 cp $(GTKDIR)/*.c $(DISTDIR)/src/gtk
627 cp $(GTKDIR)/*.xbm $(DISTDIR)/src/gtk
6e7b6cc6
RR
628 cp $(GTKDIR)/*.mms $(DISTDIR)/src/gtk
629 mkdir $(DISTDIR)/contrib
630 cp -R $(WXDIR)/contrib $(DISTDIR)
a4aad961 631
2224580a 632MOTIF_DIST: ALL_GUI_DIST
4cb122de 633 cp $(WXDIR)/wxMOTIF.spec $(DISTDIR)
a4aad961 634 cp $(INCDIR)/wx/motif/*.h $(DISTDIR)/include/wx/motif
4cb122de
RR
635 cp $(MOTIFDIR)/*.cpp $(DISTDIR)/src/motif
636 cp $(MOTIFDIR)/*.xbm $(DISTDIR)/src/motif
637 mkdir $(DISTDIR)/src/motif/xmcombo
638 cp $(MOTIFDIR)/xmcombo/*.c $(DISTDIR)/src/motif/xmcombo
639 cp $(MOTIFDIR)/xmcombo/*.h $(DISTDIR)/src/motif/xmcombo
640 cp $(MOTIFDIR)/xmcombo/copying.txt $(DISTDIR)/src/motif/xmcombo
a4aad961 641
2224580a 642MSW_DIST: ALL_GUI_DIST
4cb122de 643 cp $(WXDIR)/wxWINE.spec $(DISTDIR)
a4aad961
RR
644 cp $(INCDIR)/wx/msw/*.h $(DISTDIR)/include/wx/msw
645 cp $(INCDIR)/wx/msw/*.cur $(DISTDIR)/include/wx/msw
646 cp $(INCDIR)/wx/msw/*.ico $(DISTDIR)/include/wx/msw
647 cp $(INCDIR)/wx/msw/*.bmp $(DISTDIR)/include/wx/msw
648 cp $(INCDIR)/wx/msw/*.rc $(DISTDIR)/include/wx/msw
4cb122de
RR
649 cp $(MSWDIR)/*.cpp $(DISTDIR)/src/msw
650 cp $(MSWDIR)/*.c $(DISTDIR)/src/msw
651 cp $(MSWDIR)/*.def $(DISTDIR)/src/msw
652 mkdir $(DISTDIR)/src/msw/ole
653 cp $(MSWDIR)/ole/*.cpp $(DISTDIR)/src/msw/ole
654
2224580a 655DEMOS_DIST: ALL_GUI_DIST
dfd6b52f
RR
656 mkdir $(DISTDIR)/demos
657 cp $(DEMODIR)/Makefile.in $(DISTDIR)/demos
cc977e5f
RR
658 cp $(DEMODIR)/configure $(DISTDIR)/demos
659 cp $(DEMODIR)/configure.in $(DISTDIR)/demos
660
661 cp -R $(DEMODIR)/dbbrowse $(DISTDIR)/demos/dbbrowse
662
dfd6b52f
RR
663 mkdir $(DISTDIR)/demos/bombs
664 cp $(DEMODIR)/bombs/Makefile.in $(DISTDIR)/demos/bombs
665 cp $(DEMODIR)/bombs/makefile.unx $(DISTDIR)/demos/bombs
666 cp $(DEMODIR)/bombs/*.cpp $(DISTDIR)/demos/bombs
667 cp $(DEMODIR)/bombs/*.h $(DISTDIR)/demos/bombs
668 cp $(DEMODIR)/bombs/*.xpm $(DISTDIR)/demos/bombs
669 cp $(DEMODIR)/bombs/readme.txt $(DISTDIR)/demos/bombs
670
671 mkdir $(DISTDIR)/demos/forty
672 cp $(DEMODIR)/forty/Makefile.in $(DISTDIR)/demos/forty
673 cp $(DEMODIR)/forty/makefile.unx $(DISTDIR)/demos/forty
674 cp $(DEMODIR)/forty/*.h $(DISTDIR)/demos/forty
675 cp $(DEMODIR)/forty/*.cpp $(DISTDIR)/demos/forty
676 cp $(DEMODIR)/forty/*.xpm $(DISTDIR)/demos/forty
677 cp $(DEMODIR)/forty/*.xbm $(DISTDIR)/demos/forty
678
679 mkdir $(DISTDIR)/demos/life
680 mkdir $(DISTDIR)/demos/life/bitmaps
681 cp $(DEMODIR)/life/Makefile.in $(DISTDIR)/demos/life
682 cp $(DEMODIR)/life/makefile.unx $(DISTDIR)/demos/life
683 cp $(DEMODIR)/life/*.cpp $(DISTDIR)/demos/life
684 cp $(DEMODIR)/life/*.h $(DISTDIR)/demos/life
685 cp $(DEMODIR)/life/*.xpm $(DISTDIR)/demos/life
491e9f50 686 cp $(DEMODIR)/life/*.inc $(DISTDIR)/demos/life
f6bcfd97 687 cp $(DEMODIR)/life/*.lif $(DISTDIR)/demos/life
dfd6b52f
RR
688 cp $(DEMODIR)/life/bitmaps/*.xpm $(DISTDIR)/demos/life/bitmaps
689
690 mkdir $(DISTDIR)/demos/poem
691 cp $(DEMODIR)/poem/Makefile.in $(DISTDIR)/demos/poem
88413fec 692 cp $(DEMODIR)/poem/makefile.unx $(DISTDIR)/demos/poem
491e9f50 693 cp $(DEMODIR)/poem/*.h $(DISTDIR)/demos/poem
dfd6b52f
RR
694 cp $(DEMODIR)/poem/*.cpp $(DISTDIR)/demos/poem
695 cp $(DEMODIR)/poem/*.xpm $(DISTDIR)/demos/poem
696 cp $(DEMODIR)/poem/*.dat $(DISTDIR)/demos/poem
697 cp $(DEMODIR)/poem/*.txt $(DISTDIR)/demos/poem
698
699 mkdir $(DISTDIR)/demos/fractal
700 cp $(DEMODIR)/fractal/Makefile.in $(DISTDIR)/demos/fractal
701 cp $(DEMODIR)/fractal/makefile.unx $(DISTDIR)/demos/fractal
702 cp $(DEMODIR)/fractal/*.cpp $(DISTDIR)/demos/fractal
703
2224580a 704SAMPLES_DIST: ALL_GUI_DIST
4cb122de
RR
705 mkdir $(DISTDIR)/samples
706 cp $(SAMPDIR)/Makefile.in $(DISTDIR)/samples
2224580a
VZ
707 cp $(SAMPDIR)/configure $(DISTDIR)/samples
708 cp $(SAMPDIR)/configure.in $(DISTDIR)/samples
c661ecca
RR
709
710 mkdir $(DISTDIR)/samples/calendar
711 cp $(SAMPDIR)/calendar/Makefile.in $(DISTDIR)/samples/calendar
712 cp $(SAMPDIR)/calendar/makefile.unx $(DISTDIR)/samples/calendar
713 cp $(SAMPDIR)/calendar/*.cpp $(DISTDIR)/samples/calendar
714
4cb122de
RR
715 mkdir $(DISTDIR)/samples/caret
716 cp $(SAMPDIR)/caret/Makefile.in $(DISTDIR)/samples/caret
c4fda16b 717 cp $(SAMPDIR)/caret/makefile.unx $(DISTDIR)/samples/caret
4cb122de
RR
718 cp $(SAMPDIR)/caret/*.cpp $(DISTDIR)/samples/caret
719 cp $(SAMPDIR)/caret/*.xpm $(DISTDIR)/samples/caret
c661ecca
RR
720
721 mkdir $(DISTDIR)/samples/checklst
722 cp $(SAMPDIR)/checklst/Makefile.in $(DISTDIR)/samples/checklst
723 cp $(SAMPDIR)/checklst/makefile.unx $(DISTDIR)/samples/checklst
724 cp $(SAMPDIR)/checklst/*.cpp $(DISTDIR)/samples/checklst
725 cp $(SAMPDIR)/checklst/*.xpm $(DISTDIR)/samples/checklst
6e7b6cc6 726 cp $(SAMPDIR)/checklst/*.mms $(DISTDIR)/samples/checklst
c661ecca 727
4cb122de
RR
728 mkdir $(DISTDIR)/samples/config
729 cp $(SAMPDIR)/config/Makefile.in $(DISTDIR)/samples/config
c4fda16b 730 cp $(SAMPDIR)/config/makefile.unx $(DISTDIR)/samples/config
4cb122de 731 cp $(SAMPDIR)/config/*.cpp $(DISTDIR)/samples/config
c661ecca 732
1e8d2f69
RR
733 mkdir $(DISTDIR)/samples/console
734 cp $(SAMPDIR)/console/Makefile.in $(DISTDIR)/samples/console
735 cp $(SAMPDIR)/console/makefile.unx $(DISTDIR)/samples/console
736 cp $(SAMPDIR)/console/*.cpp $(DISTDIR)/samples/console
c661ecca 737
4cb122de
RR
738 mkdir $(DISTDIR)/samples/controls
739 mkdir $(DISTDIR)/samples/controls/icons
740 cp $(SAMPDIR)/controls/Makefile.in $(DISTDIR)/samples/controls
c4fda16b 741 cp $(SAMPDIR)/controls/makefile.unx $(DISTDIR)/samples/controls
4cb122de
RR
742 cp $(SAMPDIR)/controls/*.cpp $(DISTDIR)/samples/controls
743 cp $(SAMPDIR)/controls/*.xpm $(DISTDIR)/samples/controls
6e7b6cc6 744 cp $(SAMPDIR)/controls/*.mms $(DISTDIR)/samples/controls
4cb122de 745 cp $(SAMPDIR)/controls/icons/*.??? $(DISTDIR)/samples/controls/icons
c661ecca 746
79144b8a
RR
747 mkdir $(DISTDIR)/samples/db
748 cp $(SAMPDIR)/db/Makefile.in $(DISTDIR)/samples/db
c4fda16b 749 cp $(SAMPDIR)/db/makefile.unx $(DISTDIR)/samples/db
79144b8a
RR
750 cp $(SAMPDIR)/db/*.cpp $(DISTDIR)/samples/db
751 cp $(SAMPDIR)/db/*.h $(DISTDIR)/samples/db
752 cp $(SAMPDIR)/db/*.xpm $(DISTDIR)/samples/db
c661ecca 753
641d87d8
RR
754 mkdir $(DISTDIR)/samples/dialogs
755 cp $(SAMPDIR)/dialogs/Makefile.in $(DISTDIR)/samples/dialogs
c4fda16b 756 cp $(SAMPDIR)/dialogs/makefile.unx $(DISTDIR)/samples/dialogs
641d87d8
RR
757 cp $(SAMPDIR)/dialogs/*.cpp $(DISTDIR)/samples/dialogs
758 cp $(SAMPDIR)/dialogs/*.h $(DISTDIR)/samples/dialogs
759 cp $(SAMPDIR)/dialogs/*.txt $(DISTDIR)/samples/dialogs
6e7b6cc6 760 cp $(SAMPDIR)/dialogs/*.mms $(DISTDIR)/samples/dialogs
c661ecca 761
641d87d8
RR
762 mkdir $(DISTDIR)/samples/dnd
763 cp $(SAMPDIR)/dnd/Makefile.in $(DISTDIR)/samples/dnd
c4fda16b 764 cp $(SAMPDIR)/dnd/makefile.unx $(DISTDIR)/samples/dnd
4b59bea3 765 cp $(SAMPDIR)/dnd/*.wxr $(DISTDIR)/samples/dnd
641d87d8
RR
766 cp $(SAMPDIR)/dnd/*.cpp $(DISTDIR)/samples/dnd
767 cp $(SAMPDIR)/dnd/*.xpm $(DISTDIR)/samples/dnd
768 cp $(SAMPDIR)/dnd/*.txt $(DISTDIR)/samples/dnd
769 cp $(SAMPDIR)/dnd/*.png $(DISTDIR)/samples/dnd
c661ecca 770
641d87d8
RR
771 mkdir $(DISTDIR)/samples/docview
772 cp $(SAMPDIR)/docview/Makefile.in $(DISTDIR)/samples/docview
e9093718 773 cp $(SAMPDIR)/docview/makefile.unx $(DISTDIR)/samples/docview
641d87d8
RR
774 cp $(SAMPDIR)/docview/*.cpp $(DISTDIR)/samples/docview
775 cp $(SAMPDIR)/docview/*.h $(DISTDIR)/samples/docview
776 cp $(SAMPDIR)/docview/*.xpm $(DISTDIR)/samples/docview
c661ecca 777
641d87d8
RR
778 mkdir $(DISTDIR)/samples/docvwmdi
779 cp $(SAMPDIR)/docvwmdi/Makefile.in $(DISTDIR)/samples/docvwmdi
e9093718 780 cp $(SAMPDIR)/docvwmdi/makefile.unx $(DISTDIR)/samples/docvwmdi
641d87d8
RR
781 cp $(SAMPDIR)/docvwmdi/*.cpp $(DISTDIR)/samples/docvwmdi
782 cp $(SAMPDIR)/docvwmdi/*.h $(DISTDIR)/samples/docvwmdi
c661ecca
RR
783
784 mkdir $(DISTDIR)/samples/dragimag
785 cp $(SAMPDIR)/dragimag/Makefile.in $(DISTDIR)/samples/dragimag
786 cp $(SAMPDIR)/dragimag/makefile.unx $(DISTDIR)/samples/dragimag
787 cp $(SAMPDIR)/dragimag/*.cpp $(DISTDIR)/samples/dragimag
788 cp $(SAMPDIR)/dragimag/*.h $(DISTDIR)/samples/dragimag
789 cp $(SAMPDIR)/dragimag/*.xpm $(DISTDIR)/samples/dragimag
790 cp $(SAMPDIR)/dragimag/*.png $(DISTDIR)/samples/dragimag
791
641d87d8
RR
792 mkdir $(DISTDIR)/samples/drawing
793 cp $(SAMPDIR)/drawing/Makefile.in $(DISTDIR)/samples/drawing
e9093718 794 cp $(SAMPDIR)/drawing/makefile.unx $(DISTDIR)/samples/drawing
641d87d8
RR
795 cp $(SAMPDIR)/drawing/*.cpp $(DISTDIR)/samples/drawing
796 cp $(SAMPDIR)/drawing/*.xpm $(DISTDIR)/samples/drawing
b6fa52db 797 cp $(SAMPDIR)/drawing/*.bmp $(DISTDIR)/samples/drawing
c661ecca 798
641d87d8
RR
799 mkdir $(DISTDIR)/samples/dynamic
800 cp $(SAMPDIR)/dynamic/Makefile.in $(DISTDIR)/samples/dynamic
e9093718 801 cp $(SAMPDIR)/dynamic/makefile.unx $(DISTDIR)/samples/dynamic
641d87d8
RR
802 cp $(SAMPDIR)/dynamic/*.cpp $(DISTDIR)/samples/dynamic
803 cp $(SAMPDIR)/dynamic/*.xpm $(DISTDIR)/samples/dynamic
c661ecca 804
88413fec
RR
805 mkdir $(DISTDIR)/samples/exec
806 cp $(SAMPDIR)/exec/Makefile.in $(DISTDIR)/samples/exec
e893cd66 807 cp $(SAMPDIR)/exec/makefile.unx $(DISTDIR)/samples/exec
88413fec 808 cp $(SAMPDIR)/exec/*.cpp $(DISTDIR)/samples/exec
c661ecca 809
1e8d2f69
RR
810 mkdir $(DISTDIR)/samples/font
811 cp $(SAMPDIR)/font/Makefile.in $(DISTDIR)/samples/font
812 cp $(SAMPDIR)/font/makefile.unx $(DISTDIR)/samples/font
813 cp $(SAMPDIR)/font/*.cpp $(DISTDIR)/samples/font
c661ecca 814
1e8d2f69
RR
815 mkdir $(DISTDIR)/samples/grid
816 cp $(SAMPDIR)/grid/Makefile.in $(DISTDIR)/samples/grid
817 cp $(SAMPDIR)/grid/makefile.unx $(DISTDIR)/samples/grid
818 cp $(SAMPDIR)/grid/*.cpp $(DISTDIR)/samples/grid
c661ecca 819
e9093718
RR
820 mkdir $(DISTDIR)/samples/help
821 mkdir $(DISTDIR)/samples/help/doc
822 cp $(SAMPDIR)/help/Makefile.in $(DISTDIR)/samples/help
823 cp $(SAMPDIR)/help/makefile.unx $(DISTDIR)/samples/help
824 cp $(SAMPDIR)/help/*.cpp $(DISTDIR)/samples/help
825 cp $(SAMPDIR)/help/*.xpm $(DISTDIR)/samples/help
826 cp $(SAMPDIR)/help/doc/*.* $(DISTDIR)/samples/help/doc
c661ecca 827
641d87d8
RR
828 mkdir $(DISTDIR)/samples/html
829 cp $(SAMPDIR)/html/Makefile.in $(DISTDIR)/samples/html
830 mkdir $(DISTDIR)/samples/html/about
831 cp $(SAMPDIR)/html/about/Makefile.in $(DISTDIR)/samples/html/about
832 cp $(SAMPDIR)/html/about/*.cpp $(DISTDIR)/samples/html/about
833 mkdir $(DISTDIR)/samples/html/about/data
834 cp $(SAMPDIR)/html/about/data/*.htm $(DISTDIR)/samples/html/about/data
835 cp $(SAMPDIR)/html/about/data/*.png $(DISTDIR)/samples/html/about/data
836 mkdir $(DISTDIR)/samples/html/help
837 cp $(SAMPDIR)/html/help/Makefile.in $(DISTDIR)/samples/html/help
838 cp $(SAMPDIR)/html/help/*.cpp $(DISTDIR)/samples/html/help
839 mkdir $(DISTDIR)/samples/html/help/helpfiles
840 cp $(SAMPDIR)/html/help/helpfiles/*.??? $(DISTDIR)/samples/html/help/helpfiles
fc9c7c09
RR
841 mkdir $(DISTDIR)/samples/html/helpview
842 cp $(SAMPDIR)/html/helpview/Makefile.in $(DISTDIR)/samples/html/helpview
843 cp $(SAMPDIR)/html/helpview/*.cpp $(DISTDIR)/samples/html/helpview
844 cp $(SAMPDIR)/html/helpview/*.zip $(DISTDIR)/samples/html/helpview
641d87d8
RR
845 mkdir $(DISTDIR)/samples/html/printing
846 cp $(SAMPDIR)/html/printing/Makefile.in $(DISTDIR)/samples/html/printing
641d87d8 847 cp $(SAMPDIR)/html/printing/*.cpp $(DISTDIR)/samples/html/printing
641d87d8
RR
848 cp $(SAMPDIR)/html/printing/*.htm $(DISTDIR)/samples/html/printing
849 mkdir $(DISTDIR)/samples/html/test
850 cp $(SAMPDIR)/html/test/Makefile.in $(DISTDIR)/samples/html/test
851 cp $(SAMPDIR)/html/test/*.cpp $(DISTDIR)/samples/html/test
852 cp $(SAMPDIR)/html/test/*.bmp $(DISTDIR)/samples/html/test
853 cp $(SAMPDIR)/html/test/*.png $(DISTDIR)/samples/html/test
b6fa52db 854 cp $(SAMPDIR)/html/test/*.gif $(DISTDIR)/samples/html/test
641d87d8
RR
855 cp $(SAMPDIR)/html/test/*.htm $(DISTDIR)/samples/html/test
856 cp $(SAMPDIR)/html/test/*.html $(DISTDIR)/samples/html/test
857 mkdir $(DISTDIR)/samples/html/virtual
858 cp $(SAMPDIR)/html/virtual/Makefile.in $(DISTDIR)/samples/html/virtual
859 cp $(SAMPDIR)/html/virtual/*.cpp $(DISTDIR)/samples/html/virtual
860 cp $(SAMPDIR)/html/virtual/*.htm $(DISTDIR)/samples/html/virtual
861 mkdir $(DISTDIR)/samples/html/widget
862 cp $(SAMPDIR)/html/widget/Makefile.in $(DISTDIR)/samples/html/widget
863 cp $(SAMPDIR)/html/widget/*.cpp $(DISTDIR)/samples/html/widget
864 cp $(SAMPDIR)/html/widget/*.htm $(DISTDIR)/samples/html/widget
865 mkdir $(DISTDIR)/samples/html/zip
866 cp $(SAMPDIR)/html/zip/Makefile.in $(DISTDIR)/samples/html/zip
867 cp $(SAMPDIR)/html/zip/*.cpp $(DISTDIR)/samples/html/zip
868 cp $(SAMPDIR)/html/zip/*.htm $(DISTDIR)/samples/html/zip
869 cp $(SAMPDIR)/html/zip/*.zip $(DISTDIR)/samples/html/zip
c661ecca 870
641d87d8
RR
871 mkdir $(DISTDIR)/samples/image
872 cp $(SAMPDIR)/image/Makefile.in $(DISTDIR)/samples/image
e9093718 873 cp $(SAMPDIR)/image/makefile.unx $(DISTDIR)/samples/image
641d87d8 874 cp $(SAMPDIR)/image/*.cpp $(DISTDIR)/samples/image
6e7b6cc6 875 cp $(SAMPDIR)/image/*.mms $(DISTDIR)/samples/image
641d87d8 876 cp $(SAMPDIR)/image/horse.* $(DISTDIR)/samples/image
1e8d2f69 877 cp $(SAMPDIR)/image/smile.xbm $(DISTDIR)/samples/image
ff7c6c9c 878 cp $(SAMPDIR)/image/smile.xpm $(DISTDIR)/samples/image
1e8d2f69 879
c09ab26a
RR
880 mkdir $(DISTDIR)/samples/internat
881 mkdir $(DISTDIR)/samples/internat/de
882 mkdir $(DISTDIR)/samples/internat/fr
883 cp $(SAMPDIR)/internat/Makefile.in $(DISTDIR)/samples/internat
e9093718 884 cp $(SAMPDIR)/internat/makefile.unx $(DISTDIR)/samples/internat
c09ab26a
RR
885 cp $(SAMPDIR)/internat/*.cpp $(DISTDIR)/samples/internat
886 cp $(SAMPDIR)/internat/*.xpm $(DISTDIR)/samples/internat
887 cp $(SAMPDIR)/internat/*.txt $(DISTDIR)/samples/internat
888 cp $(SAMPDIR)/internat/*.po $(DISTDIR)/samples/internat
b6fa52db 889 cp $(SAMPDIR)/internat/fr/*.mo $(DISTDIR)/samples/internat/fr
c09ab26a
RR
890 cp $(SAMPDIR)/internat/de/*.mo $(DISTDIR)/samples/internat/de
891 cp $(SAMPDIR)/internat/fr/*.po $(DISTDIR)/samples/internat/fr
b6fa52db 892 cp $(SAMPDIR)/internat/de/*.po $(DISTDIR)/samples/internat/de
c661ecca
RR
893
894 mkdir $(DISTDIR)/samples/ipc
895 cp $(SAMPDIR)/ipc/Makefile.in $(DISTDIR)/samples/ipc
e893cd66 896 cp $(SAMPDIR)/ipc/makefile.unx $(DISTDIR)/samples/ipc
c661ecca
RR
897 cp $(SAMPDIR)/ipc/*.cpp $(DISTDIR)/samples/ipc
898 cp $(SAMPDIR)/ipc/*.h $(DISTDIR)/samples/ipc
899 cp $(SAMPDIR)/ipc/*.xpm $(DISTDIR)/samples/ipc
900
ceded8b9
RL
901 mkdir $(DISTDIR)/samples/joytest
902 cp $(SAMPDIR)/joytest/Makefile.in $(DISTDIR)/samples/joytest
903 cp $(SAMPDIR)/joytest/makefile.unx $(DISTDIR)/samples/joytest
904 cp $(SAMPDIR)/joytest/*.cpp $(DISTDIR)/samples/joytest
905 cp $(SAMPDIR)/joytest/*.h $(DISTDIR)/samples/joytest
906 cp $(SAMPDIR)/joytest/*.wav $(DISTDIR)/samples/joytest
907
641d87d8
RR
908 mkdir $(DISTDIR)/samples/layout
909 cp $(SAMPDIR)/layout/Makefile.in $(DISTDIR)/samples/layout
e9093718 910 cp $(SAMPDIR)/layout/makefile.unx $(DISTDIR)/samples/layout
641d87d8
RR
911 cp $(SAMPDIR)/layout/*.cpp $(DISTDIR)/samples/layout
912 cp $(SAMPDIR)/layout/*.h $(DISTDIR)/samples/layout
c661ecca 913
641d87d8 914 mkdir $(DISTDIR)/samples/listctrl
e9093718 915 mkdir $(DISTDIR)/samples/listctrl/bitmaps
641d87d8 916 cp $(SAMPDIR)/listctrl/Makefile.in $(DISTDIR)/samples/listctrl
e9093718 917 cp $(SAMPDIR)/listctrl/makefile.unx $(DISTDIR)/samples/listctrl
641d87d8
RR
918 cp $(SAMPDIR)/listctrl/*.cpp $(DISTDIR)/samples/listctrl
919 cp $(SAMPDIR)/listctrl/*.h $(DISTDIR)/samples/listctrl
920 cp $(SAMPDIR)/listctrl/*.xpm $(DISTDIR)/samples/listctrl
d8d474af 921 cp $(SAMPDIR)/listctrl/bitmaps/*.xpm $(DISTDIR)/samples/listctrl/bitmaps
c661ecca 922
641d87d8 923 mkdir $(DISTDIR)/samples/mdi
e9093718 924 mkdir $(DISTDIR)/samples/mdi/bitmaps
641d87d8 925 cp $(SAMPDIR)/mdi/Makefile.in $(DISTDIR)/samples/mdi
e9093718 926 cp $(SAMPDIR)/mdi/makefile.unx $(DISTDIR)/samples/mdi
641d87d8
RR
927 cp $(SAMPDIR)/mdi/*.cpp $(DISTDIR)/samples/mdi
928 cp $(SAMPDIR)/mdi/*.h $(DISTDIR)/samples/mdi
929 cp $(SAMPDIR)/mdi/*.xpm $(DISTDIR)/samples/mdi
d8d474af 930 cp $(SAMPDIR)/mdi/bitmaps/*.xpm $(DISTDIR)/samples/mdi/bitmaps
c661ecca 931
e9093718
RR
932 mkdir $(DISTDIR)/samples/memcheck
933 cp $(SAMPDIR)/memcheck/Makefile.in $(DISTDIR)/samples/memcheck
934 cp $(SAMPDIR)/memcheck/makefile.unx $(DISTDIR)/samples/memcheck
935 cp $(SAMPDIR)/memcheck/*.cpp $(DISTDIR)/samples/memcheck
936 cp $(SAMPDIR)/memcheck/*.xpm $(DISTDIR)/samples/memcheck
c661ecca 937
e9093718
RR
938 mkdir $(DISTDIR)/samples/menu
939 cp $(SAMPDIR)/menu/Makefile.in $(DISTDIR)/samples/menu
940 cp $(SAMPDIR)/menu/makefile.unx $(DISTDIR)/samples/menu
941 cp $(SAMPDIR)/menu/*.cpp $(DISTDIR)/samples/menu
c661ecca 942
641d87d8 943 mkdir $(DISTDIR)/samples/minifram
e9093718 944 mkdir $(DISTDIR)/samples/minifram/bitmaps
641d87d8 945 cp $(SAMPDIR)/minifram/Makefile.in $(DISTDIR)/samples/minifram
e9093718 946 cp $(SAMPDIR)/minifram/makefile.unx $(DISTDIR)/samples/minifram
641d87d8
RR
947 cp $(SAMPDIR)/minifram/*.cpp $(DISTDIR)/samples/minifram
948 cp $(SAMPDIR)/minifram/*.h $(DISTDIR)/samples/minifram
949 cp $(SAMPDIR)/minifram/*.xpm $(DISTDIR)/samples/minifram
d8d474af 950 cp $(SAMPDIR)/minifram/bitmaps/*.xpm $(DISTDIR)/samples/minifram/bitmaps
c661ecca 951
641d87d8
RR
952 mkdir $(DISTDIR)/samples/minimal
953 cp $(SAMPDIR)/minimal/Makefile.in $(DISTDIR)/samples/minimal
e9093718 954 cp $(SAMPDIR)/minimal/makefile.unx $(DISTDIR)/samples/minimal
641d87d8
RR
955 cp $(SAMPDIR)/minimal/*.cpp $(DISTDIR)/samples/minimal
956 cp $(SAMPDIR)/minimal/*.xpm $(DISTDIR)/samples/minimal
6e7b6cc6 957 cp $(SAMPDIR)/minimal/*.mms $(DISTDIR)/samples/minimal
c661ecca 958
dfd6b52f
RR
959 mkdir $(DISTDIR)/samples/dialup
960 cp $(SAMPDIR)/dialup/Makefile.in $(DISTDIR)/samples/dialup
961 cp $(SAMPDIR)/dialup/makefile.unx $(DISTDIR)/samples/dialup
962 cp $(SAMPDIR)/dialup/*.cpp $(DISTDIR)/samples/dialup
c661ecca 963
f85afd4e
MB
964 mkdir $(DISTDIR)/samples/newgrid
965 cp $(SAMPDIR)/newgrid/Makefile.in $(DISTDIR)/samples/newgrid
1e8d2f69 966 cp $(SAMPDIR)/newgrid/makefile.unx $(DISTDIR)/samples/newgrid
f85afd4e
MB
967 cp $(SAMPDIR)/newgrid/*.cpp $(DISTDIR)/samples/newgrid
968 cp $(SAMPDIR)/newgrid/*.h $(DISTDIR)/samples/newgrid
c661ecca 969
641d87d8
RR
970 mkdir $(DISTDIR)/samples/notebook
971 cp $(SAMPDIR)/notebook/Makefile.in $(DISTDIR)/samples/notebook
1e8d2f69 972 cp $(SAMPDIR)/notebook/makefile.unx $(DISTDIR)/samples/notebook
641d87d8
RR
973 cp $(SAMPDIR)/notebook/*.cpp $(DISTDIR)/samples/notebook
974 cp $(SAMPDIR)/notebook/*.h $(DISTDIR)/samples/notebook
c661ecca
RR
975
976 mkdir $(DISTDIR)/samples/opengl
977 cp $(SAMPDIR)/opengl/Makefile.in $(DISTDIR)/samples/opengl
978 mkdir $(DISTDIR)/samples/opengl/penguin
979 cp $(SAMPDIR)/opengl/penguin/Makefile.in $(DISTDIR)/samples/opengl/penguin
980 cp $(SAMPDIR)/opengl/penguin/makefile.unx $(DISTDIR)/samples/opengl/penguin
981 cp $(SAMPDIR)/opengl/penguin/*.cpp $(DISTDIR)/samples/opengl/penguin
982 cp $(SAMPDIR)/opengl/penguin/*.c $(DISTDIR)/samples/opengl/penguin
983 cp $(SAMPDIR)/opengl/penguin/*.h $(DISTDIR)/samples/opengl/penguin
984 cp $(SAMPDIR)/opengl/penguin/*.lwo $(DISTDIR)/samples/opengl/penguin
985 mkdir $(DISTDIR)/samples/opengl/cube
986 cp $(SAMPDIR)/opengl/cube/Makefile.in $(DISTDIR)/samples/opengl/cube
987 cp $(SAMPDIR)/opengl/cube/makefile.unx $(DISTDIR)/samples/opengl/cube
988 cp $(SAMPDIR)/opengl/cube/*.cpp $(DISTDIR)/samples/opengl/cube
989 cp $(SAMPDIR)/opengl/cube/*.h $(DISTDIR)/samples/opengl/cube
990 mkdir $(DISTDIR)/samples/opengl/isosurf
991 cp $(SAMPDIR)/opengl/isosurf/Makefile.in $(DISTDIR)/samples/opengl/isosurf
992 cp $(SAMPDIR)/opengl/isosurf/makefile.unx $(DISTDIR)/samples/opengl/isosurf
993 cp $(SAMPDIR)/opengl/isosurf/*.cpp $(DISTDIR)/samples/opengl/isosurf
994 cp $(SAMPDIR)/opengl/isosurf/*.h $(DISTDIR)/samples/opengl/isosurf
995 cp $(SAMPDIR)/opengl/isosurf/*.gz $(DISTDIR)/samples/opengl/isosurf
996
997 mkdir $(DISTDIR)/samples/plot
998 cp $(SAMPDIR)/plot/Makefile.in $(DISTDIR)/samples/plot
999 cp $(SAMPDIR)/plot/makefile.unx $(DISTDIR)/samples/plot
1000 cp $(SAMPDIR)/plot/*.cpp $(DISTDIR)/samples/plot
1001
79144b8a
RR
1002 mkdir $(DISTDIR)/samples/png
1003 cp $(SAMPDIR)/png/Makefile.in $(DISTDIR)/samples/png
1e8d2f69 1004 cp $(SAMPDIR)/png/makefile.unx $(DISTDIR)/samples/png
79144b8a
RR
1005 cp $(SAMPDIR)/png/*.cpp $(DISTDIR)/samples/png
1006 cp $(SAMPDIR)/png/*.h $(DISTDIR)/samples/png
1007 cp $(SAMPDIR)/png/*.png $(DISTDIR)/samples/png
c661ecca 1008
1e8d2f69
RR
1009 mkdir $(DISTDIR)/samples/printing
1010 cp $(SAMPDIR)/printing/Makefile.in $(DISTDIR)/samples/printing
1011 cp $(SAMPDIR)/printing/makefile.unx $(DISTDIR)/samples/printing
1012 cp $(SAMPDIR)/printing/*.cpp $(DISTDIR)/samples/printing
1013 cp $(SAMPDIR)/printing/*.h $(DISTDIR)/samples/printing
1014 cp $(SAMPDIR)/printing/*.xpm $(DISTDIR)/samples/printing
1015 cp $(SAMPDIR)/printing/*.xbm $(DISTDIR)/samples/printing
c661ecca 1016
3fd528b9
RR
1017 mkdir $(DISTDIR)/samples/resource
1018 cp $(SAMPDIR)/resource/Makefile.in $(DISTDIR)/samples/resource
1e8d2f69 1019 cp $(SAMPDIR)/resource/makefile.unx $(DISTDIR)/samples/resource
3fd528b9
RR
1020 cp $(SAMPDIR)/resource/*.cpp $(DISTDIR)/samples/resource
1021 cp $(SAMPDIR)/resource/*.h $(DISTDIR)/samples/resource
1022 cp $(SAMPDIR)/resource/*.wxr $(DISTDIR)/samples/resource
c661ecca 1023
46132182
RR
1024 mkdir $(DISTDIR)/samples/rotate
1025 cp $(SAMPDIR)/rotate/Makefile.in $(DISTDIR)/samples/rotate
1026 cp $(SAMPDIR)/rotate/makefile.unx $(DISTDIR)/samples/rotate
1027 cp $(SAMPDIR)/rotate/*.cpp $(DISTDIR)/samples/rotate
1028 cp $(SAMPDIR)/rotate/*.bmp $(DISTDIR)/samples/rotate
1029
3fd528b9
RR
1030 mkdir $(DISTDIR)/samples/richedit
1031 cp $(SAMPDIR)/richedit/Makefile.in $(DISTDIR)/samples/richedit
e893cd66 1032 cp $(SAMPDIR)/richedit/makefile.unx $(DISTDIR)/samples/richedit
3fd528b9
RR
1033 cp $(SAMPDIR)/richedit/*.cpp $(DISTDIR)/samples/richedit
1034 cp $(SAMPDIR)/richedit/*.h $(DISTDIR)/samples/richedit
1035 cp $(SAMPDIR)/richedit/*.xpm $(DISTDIR)/samples/richedit
1036 cp $(SAMPDIR)/richedit/README $(DISTDIR)/samples/richedit
1037 cp $(SAMPDIR)/richedit/TODO $(DISTDIR)/samples/richedit
1e8d2f69 1038
641d87d8
RR
1039 mkdir $(DISTDIR)/samples/proplist
1040 cp $(SAMPDIR)/proplist/Makefile.in $(DISTDIR)/samples/proplist
e893cd66 1041 cp $(SAMPDIR)/proplist/makefile.unx $(DISTDIR)/samples/proplist
641d87d8
RR
1042 cp $(SAMPDIR)/proplist/*.cpp $(DISTDIR)/samples/proplist
1043 cp $(SAMPDIR)/proplist/*.h $(DISTDIR)/samples/proplist
1e8d2f69 1044
ba0e7d41
RR
1045 mkdir $(DISTDIR)/samples/propsize
1046 cp $(SAMPDIR)/propsize/Makefile.in $(DISTDIR)/samples/propsize
e893cd66 1047 cp $(SAMPDIR)/propsize/makefile.unx $(DISTDIR)/samples/propsize
ba0e7d41
RR
1048 cp $(SAMPDIR)/propsize/*.cpp $(DISTDIR)/samples/propsize
1049 cp $(SAMPDIR)/propsize/*.xpm $(DISTDIR)/samples/propsize
1e8d2f69 1050
641d87d8
RR
1051 mkdir $(DISTDIR)/samples/sashtest
1052 cp $(SAMPDIR)/sashtest/Makefile.in $(DISTDIR)/samples/sashtest
e893cd66 1053 cp $(SAMPDIR)/sashtest/makefile.unx $(DISTDIR)/samples/sashtest
641d87d8
RR
1054 cp $(SAMPDIR)/sashtest/*.cpp $(DISTDIR)/samples/sashtest
1055 cp $(SAMPDIR)/sashtest/*.h $(DISTDIR)/samples/sashtest
1e8d2f69 1056
641d87d8
RR
1057 mkdir $(DISTDIR)/samples/scroll
1058 cp $(SAMPDIR)/scroll/Makefile.in $(DISTDIR)/samples/scroll
1e8d2f69 1059 cp $(SAMPDIR)/scroll/makefile.unx $(DISTDIR)/samples/scroll
641d87d8 1060 cp $(SAMPDIR)/scroll/*.cpp $(DISTDIR)/samples/scroll
1e8d2f69 1061
d8d474af
RR
1062 mkdir $(DISTDIR)/samples/scrollsub
1063 cp $(SAMPDIR)/scrollsub/Makefile.in $(DISTDIR)/samples/scrollsub
1e8d2f69 1064 cp $(SAMPDIR)/scrollsub/makefile.unx $(DISTDIR)/samples/scrollsub
d8d474af 1065 cp $(SAMPDIR)/scrollsub/*.cpp $(DISTDIR)/samples/scrollsub
1e8d2f69 1066
c661ecca
RR
1067 mkdir $(DISTDIR)/samples/sockets
1068 cp $(SAMPDIR)/sockets/Makefile.in $(DISTDIR)/samples/sockets
e893cd66 1069 cp $(SAMPDIR)/sockets/makefile.unx $(DISTDIR)/samples/sockets
c661ecca
RR
1070 cp $(SAMPDIR)/sockets/*.cpp $(DISTDIR)/samples/sockets
1071 cp $(SAMPDIR)/sockets/*.xpm $(DISTDIR)/samples/sockets
1072
641d87d8
RR
1073 mkdir $(DISTDIR)/samples/splitter
1074 cp $(SAMPDIR)/splitter/Makefile.in $(DISTDIR)/samples/splitter
e893cd66 1075 cp $(SAMPDIR)/splitter/makefile.unx $(DISTDIR)/samples/splitter
641d87d8 1076 cp $(SAMPDIR)/splitter/*.cpp $(DISTDIR)/samples/splitter
1e8d2f69 1077
2286341c
VZ
1078 mkdir $(DISTDIR)/samples/statbar
1079 cp $(SAMPDIR)/statbar/Makefile.in $(DISTDIR)/samples/statbar
e893cd66 1080 cp $(SAMPDIR)/statbar/makefile.unx $(DISTDIR)/samples/statbar
2286341c
VZ
1081 cp $(SAMPDIR)/statbar/*.cpp $(DISTDIR)/samples/statbar
1082 cp $(SAMPDIR)/statbar/*.xpm $(DISTDIR)/samples/statbar
1083
641d87d8
RR
1084 mkdir $(DISTDIR)/samples/text
1085 cp $(SAMPDIR)/text/Makefile.in $(DISTDIR)/samples/text
1e8d2f69 1086 cp $(SAMPDIR)/text/makefile.unx $(DISTDIR)/samples/text
641d87d8
RR
1087 cp $(SAMPDIR)/text/*.cpp $(DISTDIR)/samples/text
1088 cp $(SAMPDIR)/text/*.xpm $(DISTDIR)/samples/text
1e8d2f69 1089
641d87d8
RR
1090 mkdir $(DISTDIR)/samples/thread
1091 cp $(SAMPDIR)/thread/Makefile.in $(DISTDIR)/samples/thread
1e8d2f69 1092 cp $(SAMPDIR)/thread/makefile.unx $(DISTDIR)/samples/thread
641d87d8 1093 cp $(SAMPDIR)/thread/*.cpp $(DISTDIR)/samples/thread
1e8d2f69 1094
641d87d8
RR
1095 mkdir $(DISTDIR)/samples/toolbar
1096 cp $(SAMPDIR)/toolbar/Makefile.in $(DISTDIR)/samples/toolbar
e893cd66 1097 cp $(SAMPDIR)/toolbar/makefile.unx $(DISTDIR)/samples/toolbar
641d87d8 1098 cp $(SAMPDIR)/toolbar/*.cpp $(DISTDIR)/samples/toolbar
641d87d8 1099 cp $(SAMPDIR)/toolbar/*.xpm $(DISTDIR)/samples/toolbar
d8d474af
RR
1100 mkdir $(DISTDIR)/samples/toolbar/bitmaps
1101 cp $(SAMPDIR)/toolbar/bitmaps/*.xpm $(DISTDIR)/samples/toolbar/bitmaps
1e8d2f69 1102
641d87d8
RR
1103 mkdir $(DISTDIR)/samples/treectrl
1104 cp $(SAMPDIR)/treectrl/Makefile.in $(DISTDIR)/samples/treectrl
e893cd66 1105 cp $(SAMPDIR)/treectrl/makefile.unx $(DISTDIR)/samples/treectrl
641d87d8
RR
1106 cp $(SAMPDIR)/treectrl/*.cpp $(DISTDIR)/samples/treectrl
1107 cp $(SAMPDIR)/treectrl/*.h $(DISTDIR)/samples/treectrl
1108 cp $(SAMPDIR)/treectrl/*.xpm $(DISTDIR)/samples/treectrl
c661ecca
RR
1109 mkdir $(DISTDIR)/samples/treectrl/bitmaps
1110 cp $(SAMPDIR)/treectrl/bitmaps/*.bmp $(DISTDIR)/samples/treectrl/bitmaps
1111
1112 mkdir $(DISTDIR)/samples/treelay
1113 cp $(SAMPDIR)/treelay/Makefile.in $(DISTDIR)/samples/treelay
1114 cp $(SAMPDIR)/treelay/makefile.unx $(DISTDIR)/samples/treelay
1115 cp $(SAMPDIR)/treelay/*.cpp $(DISTDIR)/samples/treelay
1116 cp $(SAMPDIR)/treelay/*.h $(DISTDIR)/samples/treelay
1e8d2f69 1117
641d87d8
RR
1118 mkdir $(DISTDIR)/samples/typetest
1119 cp $(SAMPDIR)/typetest/Makefile.in $(DISTDIR)/samples/typetest
e893cd66 1120 cp $(SAMPDIR)/typetest/makefile.unx $(DISTDIR)/samples/typetest
641d87d8
RR
1121 cp $(SAMPDIR)/typetest/*.cpp $(DISTDIR)/samples/typetest
1122 cp $(SAMPDIR)/typetest/*.h $(DISTDIR)/samples/typetest
1123 cp $(SAMPDIR)/typetest/*.xpm $(DISTDIR)/samples/typetest
1e8d2f69 1124
641d87d8
RR
1125 mkdir $(DISTDIR)/samples/validate
1126 cp $(SAMPDIR)/validate/Makefile.in $(DISTDIR)/samples/validate
e893cd66 1127 cp $(SAMPDIR)/validate/makefile.unx $(DISTDIR)/samples/validate
641d87d8
RR
1128 cp $(SAMPDIR)/validate/*.cpp $(DISTDIR)/samples/validate
1129 cp $(SAMPDIR)/validate/*.h $(DISTDIR)/samples/validate
1130 cp $(SAMPDIR)/validate/*.xpm $(DISTDIR)/samples/validate
1e8d2f69 1131
641d87d8
RR
1132 mkdir $(DISTDIR)/samples/wizard
1133 cp $(SAMPDIR)/wizard/Makefile.in $(DISTDIR)/samples/wizard
e893cd66 1134 cp $(SAMPDIR)/wizard/makefile.unx $(DISTDIR)/samples/wizard
641d87d8
RR
1135 cp $(SAMPDIR)/wizard/*.cpp $(DISTDIR)/samples/wizard
1136 cp $(SAMPDIR)/wizard/*.xpm $(DISTDIR)/samples/wizard
1e8d2f69 1137
2224580a 1138UTILS_DIST: ALL_GUI_DIST
39fc1a6a
RL
1139 mkdir $(DISTDIR)/utils
1140 cp $(UTILSDIR)/Makefile.in $(DISTDIR)/utils
1141 cp $(UTILSDIR)/configure $(DISTDIR)/utils
1142 cp $(UTILSDIR)/configure.in $(DISTDIR)/utils
1143
1144 mkdir $(DISTDIR)/utils/tex2rtf
1145 mkdir $(DISTDIR)/utils/tex2rtf/src
1146 cp $(UTILSDIR)/tex2rtf/*.in $(DISTDIR)/utils/tex2rtf
1147 cp $(UTILSDIR)/tex2rtf/src/*.h $(DISTDIR)/utils/tex2rtf/src
1148 cp $(UTILSDIR)/tex2rtf/src/*.in $(DISTDIR)/utils/tex2rtf/src
1149 cp $(UTILSDIR)/tex2rtf/src/*.cpp $(DISTDIR)/utils/tex2rtf/src
1150 cp $(UTILSDIR)/tex2rtf/src/tex2rtf.* $(DISTDIR)/utils/tex2rtf/src
1151
1152 mkdir $(DISTDIR)/utils/makegen
1153 mkdir $(DISTDIR)/utils/makegen/templates
1154 cp $(UTILSDIR)/makegen/Makefile.in $(DISTDIR)/utils/makegen
1155 cp $(UTILSDIR)/makegen/*.cpp $(DISTDIR)/utils/makegen
1156 cp $(UTILSDIR)/makegen/templates/*.* $(DISTDIR)/utils/makegen/templates
bdad4e7e 1157
5d9fe089
RR
1158 mkdir $(DISTDIR)/utils/hhp2cached
1159 cp $(UTILSDIR)/hhp2cached/*.* $(DISTDIR)/utils/hhp2cached
1160
1161 mkdir $(DISTDIR)/utils/HelpGen
1162 mkdir $(DISTDIR)/utils/HelpGen/src
1163 cp $(UTILSDIR)/HelpGen/Makefile.in $(DISTDIR)/utils/HelpGen
1164 cp $(UTILSDIR)/HelpGen/src/*.* $(DISTDIR)/utils/HelpGen/src
1165
1166 cp -R $(UTILSDIR)/dialoged $(DISTDIR)/utils/dialoged
1167
2224580a 1168MISC_DIST: ALL_GUI_DIST
a6f3598d
RR
1169 mkdir $(DISTDIR)/misc
1170 mkdir $(DISTDIR)/misc/afm
1171 cp $(MISCDIR)/afm/*.afm $(DISTDIR)/misc/afm
1172 mkdir $(DISTDIR)/misc/gs_afm
1173 cp $(MISCDIR)/gs_afm/*.afm $(DISTDIR)/misc/gs_afm
2224580a 1174
f6bcfd97
BP
1175INTL_DIST:
1176 mkdir $(DISTDIR)/locale
1177 cp $(INTLDIR)/Makefile $(DISTDIR)/locale
1178 cp $(INTLDIR)/*.po $(DISTDIR)/locale
1179 -cp $(INTLDIR)/*.mo $(DISTDIR)/locale
1180
e4c4c1c6
RL
1181MANUAL_DIST:
1182 mkdir $(DISTDIR)/docs
1183 mkdir $(DISTDIR)/docs/latex
1184 mkdir $(DISTDIR)/docs/latex/wx
1185 cp $(DOCDIR)/latex/wx/*.tex $(DISTDIR)/docs/latex/wx
1186 cp $(DOCDIR)/latex/wx/*.gif $(DISTDIR)/docs/latex/wx
1187 cp $(DOCDIR)/latex/wx/*.ini $(DISTDIR)/docs/latex/wx
1188 cp $(DOCDIR)/latex/wx/*.bib $(DISTDIR)/docs/latex/wx
1189 cp $(DOCDIR)/latex/wx/*.sty $(DISTDIR)/docs/latex/wx
1190
9b0326f7
RL
1191# this target does not generate a complete wxPython dist, it only includes
1192# those files needed for the Debian source package.
1193# see utils/wxPython/distrib for scripts to make a proper wxPython dist.
1194PYTHON_DIST:
f6bcfd97
BP
1195 mkdir $(DISTDIR)/wxPython
1196 mkdir $(DISTDIR)/wxPython/contrib
1197 mkdir $(DISTDIR)/wxPython/contrib/glcanvas
1198 mkdir $(DISTDIR)/wxPython/contrib/glcanvas/gtk
1199 mkdir $(DISTDIR)/wxPython/contrib/ogl
1200 mkdir $(DISTDIR)/wxPython/contrib/stc
1201 mkdir $(DISTDIR)/wxPython/demo
1202 mkdir $(DISTDIR)/wxPython/demo/bitmaps
1203 mkdir $(DISTDIR)/wxPython/demo/data
1204 mkdir $(DISTDIR)/wxPython/distrib
1205 mkdir $(DISTDIR)/wxPython/src
1206 mkdir $(DISTDIR)/wxPython/src/gtk
1207 mkdir $(DISTDIR)/wxPython/wxPython
1208 mkdir $(DISTDIR)/wxPython/wxPython/lib
1209 mkdir $(DISTDIR)/wxPython/wxPython/lib/editor
1210 mkdir $(DISTDIR)/wxPython/wxPython/lib/sizers
1211
1212 cp $(WXDIR)/wxPython/*.txt $(DISTDIR)/wxPython
1213 cp $(WXDIR)/wxPython/contrib/buildall.py $(DISTDIR)/wxPython/contrib
1214 -cp $(WXDIR)/wxPython/contrib/glcanvas/* $(DISTDIR)/wxPython/contrib/glcanvas
1215 cp $(WXDIR)/wxPython/contrib/glcanvas/gtk/glcanvas.* $(DISTDIR)/wxPython/contrib/glcanvas/gtk
1216 -cp $(WXDIR)/wxPython/contrib/ogl/* $(DISTDIR)/wxPython/contrib/ogl
1217 -cp $(WXDIR)/wxPython/contrib/stc/* $(DISTDIR)/wxPython/contrib/stc
1218 -cp $(WXDIR)/wxPython/demo/* $(DISTDIR)/wxPython/demo
1219 -cp $(WXDIR)/wxPython/demo/bitmaps/* $(DISTDIR)/wxPython/demo/bitmaps
1220 -cp $(WXDIR)/wxPython/demo/data/* $(DISTDIR)/wxPython/demo/data
1221 cp $(WXDIR)/wxPython/distrib/build.py $(DISTDIR)/wxPython/distrib
1222 -cp $(WXDIR)/wxPython/src/* $(DISTDIR)/wxPython/src
1223 cp $(WXDIR)/wxPython/src/gtk/*.py $(DISTDIR)/wxPython/src/gtk
1224 cp $(WXDIR)/wxPython/src/gtk/*.cpp $(DISTDIR)/wxPython/src/gtk
1225 cp $(WXDIR)/wxPython/wxPython/lib/*.py $(DISTDIR)/wxPython/wxPython/lib
1226 cp $(WXDIR)/wxPython/wxPython/lib/editor/*.py $(DISTDIR)/wxPython/wxPython/lib/editor
1227 cp $(WXDIR)/wxPython/wxPython/lib/sizers/*.py $(DISTDIR)/wxPython/wxPython/lib/sizers
9b0326f7 1228
2224580a 1229distclean:
8b17ba72 1230 $(RM) -r _dist_dir
a4aad961 1231
2224580a 1232dist: @GUIDIST@
f6bcfd97 1233 cp $(WXDIR)/src/files.lst $(DISTDIR)/src/
2224580a
VZ
1234 @echo "*** Creating wxWindows distribution in $(DISTDIR)..."
1235 cd _dist_dir; tar ch @DISTDIR@ | gzip -f9 > $(WXARCHIVE); mv $(WXARCHIVE) ..
1236 @if test "$(USE_GUI)" = 1; then \
1237 cd $(DISTDIR); \
1238 mv samples wxSamples; \
1239 tar ch wxSamples | gzip -f9 > ../../$(WXSAMPLES); \
1240 mv wxSamples samples; \
1241 mv demos wxDemos; \
1242 tar ch wxDemos | gzip -f9 > ../../$(WXDEMOS); \
1243 mv wxDemos demos; \
1244 fi
1245
f6bcfd97
BP
1246bzip-dist: @GUIDIST@
1247 cp $(WXDIR)/src/files.lst $(DISTDIR)/src/
1248 @echo "*** Creating wxWindows distribution in $(DISTDIR)..."
1249 cd _dist_dir; tar ch @DISTDIR@ | bzip2 -f9 > $(WXARCHIVE_BZIP); mv $(WXARCHIVE_BZIP) ..
1250 @if test "$(USE_GUI)" = 1; then \
1251 cd $(DISTDIR); \
1252 mv samples wxSamples; \
1253 tar ch wxSamples | bzip2 -f9 > ../../$(WXSAMPLES_BZIP); \
1254 mv wxSamples samples; \
1255 mv demos wxDemos; \
1256 tar ch wxDemos | bzip2 -f9 > ../../$(WXDEMOS_BZIP); \
1257 mv wxDemos demos; \
1258 fi
1259
9b0326f7 1260debian-dist: @GUIDIST@ MANUAL_DIST PYTHON_DIST
e4c4c1c6 1261 mkdir $(DISTDIR)/debian
676b8fb6 1262 -cp $(WXDIR)/debian/* $(DISTDIR)/debian
6be0044c 1263 cp $(WXDIR)/src/files.lst $(DISTDIR)/src/
e4c4c1c6
RL
1264 cp $(DOCDIR)/licence.txt $(DISTDIR)/docs
1265 cp $(DOCDIR)/licendoc.txt $(DISTDIR)/docs
1266 cp $(DOCDIR)/preamble.txt $(DISTDIR)/docs
6be0044c 1267 rm -f $(DISTDIR)/*.spec
9b0326f7
RL
1268 rm -rf $(WXDIR)/../wxwindows$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER)-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER)
1269 mv $(DISTDIR) $(WXDIR)/../wxwindows$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER)-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER)
e4c4c1c6 1270
ad9edf45 1271clean:
8b17ba72 1272 $(RM) *.o
5586805b 1273 $(RM) *.d
8b17ba72
RR
1274 $(RM) parser.c
1275 $(RM) lexer.c
e8482f24 1276 $(RM) -r ./lib/*
ad9edf45
RR
1277
1278cleanall: clean