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