]> git.saurik.com Git - wxWidgets.git/blame - Makefile.in
Some Unicode compilation fixes. This Unicode stuff in file functions is
[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
b64f0a5f 45VP12 = @top_srcdir@/src/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
103aab26 340
2224580a 341############################## Rules ##################################
f85afd4e 342
1d62a8b4 343BURNT_LIBRARY_NAME = @BURNT_LIBRARY_NAME@
bdad4e7e 344BURNT_LIBRARY_NAME_GL = @BURNT_LIBRARY_NAME_GL@
1d62a8b4 345
de87c353 346all: @WX_ALL@
ad9edf45
RR
347
348@WX_LIBRARY_NAME_STATIC@: $(OBJECTS)
4130b487 349 @$(INSTALL) -d ./lib
ad9edf45
RR
350 $(AR) $(AROPTIONS) ./lib/$@ $(OBJECTS)
351 $(RANLIB) ./lib/$@
352
bdad4e7e
RR
353@WX_LIBRARY_NAME_STATIC_GL@: glcanvas.o
354 @$(INSTALL) -d ./lib
355 $(AR) $(AROPTIONS) ./lib/$@ glcanvas.o
356 $(RANLIB) ./lib/$@
357
ad9edf45 358@WX_LIBRARY_NAME_SHARED@: $(OBJECTS)
4130b487 359 @$(INSTALL) -d ./lib
d5a5af9d 360 $(SHARED_LD) ./lib/$@ $(BURNT_LIBRARY_NAME) $(OBJECTS) $(EXTRALIBS)
b4085ce6 361
bdad4e7e
RR
362@WX_LIBRARY_NAME_SHARED_GL@: glcanvas.o
363 @$(INSTALL) -d ./lib
364 $(SHARED_LD) ./lib/$@ $(BURNT_LIBRARY_NAME_GL) glcanvas.o $(EXTRALIBS)
b4085ce6 365
de87c353 366CREATE_LINKS: @WX_LIBRARY_NAME_SHARED@
4130b487
RR
367 @$(RM) ./lib/@WX_LIBRARY_LINK1@
368 @$(RM) ./lib/@WX_LIBRARY_LINK2@
369 @$(RM) ./lib/@WX_LIBRARY_LINK3@
07eb77a6
RL
370 cd lib \
371 && $(LN_S) @WX_TARGET_LIBRARY@ @WX_LIBRARY_LINK1@ \
372 && $(LN_S) @WX_TARGET_LIBRARY@ @WX_LIBRARY_LINK2@ \
373 && $(LN_S) @WX_TARGET_LIBRARY@ @WX_LIBRARY_LINK3@
b4085ce6 374
bdad4e7e
RR
375CREATE_LINKS_GL: @WX_LIBRARY_NAME_SHARED_GL@
376 @$(RM) ./lib/@WX_LIBRARY_LINK1_GL@
377 @$(RM) ./lib/@WX_LIBRARY_LINK2_GL@
378 @$(RM) ./lib/@WX_LIBRARY_LINK3_GL@
379 cd lib \
380 && $(LN_S) @WX_TARGET_LIBRARY_GL@ @WX_LIBRARY_LINK1_GL@ \
381 && $(LN_S) @WX_TARGET_LIBRARY_GL@ @WX_LIBRARY_LINK2_GL@ \
382 && $(LN_S) @WX_TARGET_LIBRARY_GL@ @WX_LIBRARY_LINK3_GL@
b4085ce6 383
2224580a 384CREATE_INSTALLED_LINKS: preinstall
5586805b
RR
385 $(RM) $(libdir)/@WX_LIBRARY_LINK1@
386 $(RM) $(libdir)/@WX_LIBRARY_LINK2@
387 $(RM) $(libdir)/@WX_LIBRARY_LINK3@
07eb77a6
RL
388 cd $(libdir) \
389 && $(LN_S) @WX_LIBRARY_NAME_SHARED@ @WX_LIBRARY_LINK1@ \
390 && $(LN_S) @WX_LIBRARY_NAME_SHARED@ @WX_LIBRARY_LINK2@ \
391 && $(LN_S) @WX_LIBRARY_NAME_SHARED@ @WX_LIBRARY_LINK3@
b4085ce6 392
c661ecca 393CREATE_INSTALLED_LINKS_GL: preinstall_gl
bdad4e7e
RR
394 $(RM) $(libdir)/@WX_LIBRARY_LINK1_GL@
395 $(RM) $(libdir)/@WX_LIBRARY_LINK2_GL@
396 $(RM) $(libdir)/@WX_LIBRARY_LINK3_GL@
397 cd $(libdir) \
398 && $(LN_S) @WX_LIBRARY_NAME_SHARED_GL@ @WX_LIBRARY_LINK1_GL@ \
399 && $(LN_S) @WX_LIBRARY_NAME_SHARED_GL@ @WX_LIBRARY_LINK2_GL@ \
400 && $(LN_S) @WX_LIBRARY_NAME_SHARED_GL@ @WX_LIBRARY_LINK3_GL@
b4085ce6 401
257980e6 402$(OBJECTS): $(WXDIR)/include/wx/defs.h $(WXDIR)/include/wx/object.h
ad9edf45
RR
403
404parser.o: parser.c lexer.c
8636aed8 405 $(CCLEX) -c $(CFLAGS) $(PICFLAGS) -o $@ parser.c
ad9edf45
RR
406
407parser.c: $(COMMDIR)/parser.y lexer.c
408 $(YACC) $(COMMDIR)/parser.y
409 @sed -e "s;$(COMMDIR)/y.tab.c;parser.y;g" < y.tab.c | \
410 sed -e "s/BUFSIZ/5000/g" | \
411 sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \
412 sed -e "s/yy/PROIO_yy/g" | \
413 sed -e "s/input/PROIO_input/g" | \
414 sed -e "s/unput/PROIO_unput/g" > parser.c
415 @$(RM) y.tab.c
416
417lexer.c: $(COMMDIR)/lexer.l
418 $(LEX) $(COMMDIR)/lexer.l
9260520f 419 @sed -e "s;$(COMMDIR)/@LEX_STEM@.c;lexer.l;g" < @LEX_STEM@.c | \
ad9edf45
RR
420 sed -e "s/yy/PROIO_yy/g" | \
421 sed -e "s/input/PROIO_input/g" | \
422 sed -e "s/unput/PROIO_unput/g" > lexer.c
9260520f 423 @$(RM) @LEX_STEM@.c
ad9edf45 424
5586805b
RR
425-include $(DEPFILES)
426
2224580a 427afminstall: preinstall
dad6c0ea
VZ
428 $(INSTALL) -d $(datadir)
429 $(INSTALL) -d $(datadir)/wx
430 $(INSTALL) -d $(datadir)/wx/afm
431 $(INSTALL) -d $(datadir)/wx/gs_afm
432 $(INSTALL_DATA) $(top_srcdir)/misc/afm/*.afm $(datadir)/wx/afm
433 $(INSTALL_DATA) $(top_srcdir)/misc/gs_afm/*.afm $(datadir)/wx/gs_afm
2224580a
VZ
434
435# this is the real install target: copies the library, wx-config and the
436# headers to the installation directory
f6bcfd97 437preinstall: $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(top_builddir)/wx@TOOLKIT_NAME@-config
ad9edf45
RR
438 @echo " "
439 @echo " Installing wxWindows..."
440 @echo " "
441
8b17ba72
RR
442 $(INSTALL) -d $(prefix)
443 $(INSTALL) -d $(bindir)
444 $(INSTALL) -d $(libdir)
445
f6bcfd97
BP
446 $(INSTALL_SCRIPT) $(top_builddir)/wx@TOOLKIT_NAME@-config $(bindir)/wx@TOOLKIT_NAME@-config
447 cd $(bindir) && rm -f wx-config && $(LN_S) wx@TOOLKIT_NAME@-config wx-config
ad9edf45 448 $(INSTALL_PROGRAM) $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(libdir)/@WX_TARGET_LIBRARY@
8b17ba72
RR
449
450 $(INSTALL) -d $(libdir)/wx
451 $(INSTALL) -d $(libdir)/wx/include
452 $(INSTALL) -d $(libdir)/wx/include/wx
f6bcfd97
BP
453 $(INSTALL) -d $(libdir)/wx/include/wx/@TOOLKIT_NAME@
454 $(INSTALL_DATA) $(top_builddir)/include/wx/@TOOLKIT_DIR@/setup.h $(libdir)/wx/include/wx/@TOOLKIT_NAME@/setup.h
b4085ce6 455
8b17ba72 456 $(INSTALL) -d $(includedir)/wx
9260520f
VZ
457 @if test "$(USE_GUI)" = 1; then $(INSTALL) -d $(includedir)/wx/@TOOLKIT_DIR@; fi
458 @if test "$(USE_GUI)" = 1; then $(INSTALL) -d $(includedir)/wx/html; fi
9260520f 459 @if test "$(USE_GUI)" = 1; then $(INSTALL) -d $(includedir)/wx/generic; fi
2224580a
VZ
460 $(INSTALL) -d $(includedir)/wx/protocol
461 $(INSTALL) -d $(includedir)/wx/unix
ad9edf45
RR
462 @list='$(HEADERS)'; for p in $$list; do \
463 $(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p; \
464 echo "$(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p"; \
465 done
9260520f 466
f6bcfd97
BP
467 $(INSTALL) -d $(localedir)
468 @for p in $(WX_LINGUAS); do \
469 $(INSTALL) -d $(localedir)/$$p; \
470 $(INSTALL) -d $(localedir)/$$p/LC_MESSAGES; \
471 $(INSTALL_DATA) $(top_srcdir)/locale/$$p.mo $(localedir)/$$p/LC_MESSAGES/wxstd.mo; \
472 echo "$(INSTALL_DATA) $(top_srcdir)/locale/$$p.mo $(localedir)/$$p/LC_MESSAGES/wxstd.mo"; \
473 done
474
c661ecca
RR
475preinstall_gl: $(top_builddir)/lib/@WX_TARGET_LIBRARY_GL@
476 @echo " "
477 @echo " Installing wxWindows OpenGl add-on..."
478 @echo " "
479 $(INSTALL) -d $(libdir)
480 $(INSTALL_PROGRAM) $(top_builddir)/lib/@WX_TARGET_LIBRARY_GL@ $(libdir)/@WX_TARGET_LIBRARY_GL@
481
2224580a 482install: @AFMINSTALL@ @WX_ALL_INSTALLED@
549c6f67 483 @echo " "
ad9edf45 484 @echo " The installation of wxWindows is finished. On certain"
c09ab26a 485 @echo " platforms (e.g. Linux) you'll now have to run ldconfig"
2224580a
VZ
486 @echo " if you installed a shared library and also modify"
487 @echo " LD_LIBRARY_PATH (or equivalent) environment variable."
ad9edf45 488 @echo " "
2224580a 489 @echo " wxWindows comes with no guarantees and doesn't claim"
ad9edf45
RR
490 @echo " to be suitable for any purpose."
491 @echo " "
492 @echo " Read the wxWindows Licence on licencing conditions."
493 @echo " "
494
ad9edf45
RR
495uninstall:
496 @echo " "
497 @echo " Uninstalling wxWindows..."
498 @echo " "
499 @echo " Removing library..."
8b17ba72
RR
500 @$(RM) $(libdir)/@WX_TARGET_LIBRARY@
501 @$(RM) $(libdir)/@WX_LIBRARY_LINK1@
502 @$(RM) $(libdir)/@WX_LIBRARY_LINK2@
503 @$(RM) $(libdir)/@WX_LIBRARY_LINK3@
bdad4e7e
RR
504 @echo " Removing GL library..."
505 @$(RM) $(libdir)/@WX_TARGET_LIBRARY_GL@
506 @$(RM) $(libdir)/@WX_LIBRARY_LINK1_GL@
507 @$(RM) $(libdir)/@WX_LIBRARY_LINK2_GL@
508 @$(RM) $(libdir)/@WX_LIBRARY_LINK3_GL@
ad9edf45 509 @echo " Removing helper files..."
f6bcfd97 510 @$(RM) $(libdir)/wx/include/wx/@TOOLKIT_NAME@/setup.h
8b17ba72 511 @$(RM) $(bindir)/wx-config
f6bcfd97 512 @$(RM) $(bindir)/wx@TOOLKIT_NAME@-config
a6f3598d
RR
513 @$(RM) $(datadir)/wx/afm/*
514 @$(RM) $(datadir)/wx/gs_afm/*
07eb77a6
RL
515# FIXME: wxBase doesnt install these next 3 dirs.
516 @-rmdir $(datadir)/wx/gs_afm
517 @-rmdir $(datadir)/wx/afm
518 @-rmdir $(datadir)/wx
ad9edf45
RR
519 @echo " Removing headers..."
520 @list='$(HEADERS)'; for p in $$list; do \
8b17ba72 521 $(RM) $(includedir)/wx/$$p; \
ad9edf45 522 done
f6bcfd97
BP
523 @echo " Removing i18n files..."
524 @-for p in $(WX_LINGUAS); do \
525 $(RM) $(localedir)/$$p/LC_MESSAGES/wxstd.mo; \
526 rmdir $(localedir)/$$p/LC_MESSAGES; \
527 rmdir $(localedir)/$$p; \
528 done
ad9edf45 529 @echo " Removing directories..."
f6bcfd97
BP
530 @-rmdir $(localedir)
531 @if test -d $(libdir)/wx/include/wx/@TOOLKIT_NAME@; then rmdir $(libdir)/wx/include/wx/@TOOLKIT_NAME@; fi
ad9edf45
RR
532 @if test -d $(libdir)/wx/include/wx; then rmdir $(libdir)/wx/include/wx; fi
533 @if test -d $(libdir)/wx/include; then rmdir $(libdir)/wx/include; fi
534 @if test -d $(libdir)/wx; then rmdir $(libdir)/wx; fi
535 @if test -d $(includedir)/wx/gtk; then rmdir $(includedir)/wx/gtk; fi
536 @if test -d $(includedir)/wx/motif; then rmdir $(includedir)/wx/motif; fi
a6f3598d 537 @if test -d $(includedir)/wx/msw; then rmdir $(includedir)/wx/msw; fi
ad9edf45
RR
538 @if test -d $(includedir)/wx/html; then rmdir $(includedir)/wx/html; fi
539 @if test -d $(includedir)/wx/unix; then rmdir $(includedir)/wx/unix; fi
540 @if test -d $(includedir)/wx/generic; then rmdir $(includedir)/wx/generic; fi
541 @if test -d $(includedir)/wx/protocol; then rmdir $(includedir)/wx/protocol; fi
542 @if test -d $(includedir)/wx; then rmdir $(includedir)/wx; fi
543
2224580a
VZ
544# this target should copy only the files common to really all ports (including
545# wxBase) to the dist dir
546ALL_DIST: distclean
a4aad961
RR
547 mkdir _dist_dir
548 mkdir $(DISTDIR)
257980e6 549 cp $(WXDIR)/configure.in $(DISTDIR)
a4aad961
RR
550 cp $(WXDIR)/configure $(DISTDIR)
551 cp $(WXDIR)/config.sub $(DISTDIR)
552 cp $(WXDIR)/config.guess $(DISTDIR)
553 cp $(WXDIR)/install-sh $(DISTDIR)
554 cp $(WXDIR)/mkinstalldirs $(DISTDIR)
555 cp $(WXDIR)/wx-config.in $(DISTDIR)
556 cp $(WXDIR)/setup.h.in $(DISTDIR)
6e7b6cc6
RR
557 cp $(WXDIR)/setup.h_vms $(DISTDIR)
558 cp $(WXDIR)/descrip.mms $(DISTDIR)
a4aad961
RR
559 cp $(WXDIR)/Makefile.in $(DISTDIR)
560 cp $(DOCDIR)/lgpl.txt $(DISTDIR)/COPYING.LIB
561 cp $(DOCDIR)/licence.txt $(DISTDIR)/LICENCE.txt
562 cp $(DOCDIR)/symbols.txt $(DISTDIR)/SYMBOLS.txt
6e7b6cc6
RR
563 mkdir $(DISTDIR)/lib
564 cp $(WXDIR)/lib/vms.opt $(DISTDIR)/lib
565 cp $(WXDIR)/lib/vms_gtk.opt $(DISTDIR)/lib
dc3d889d
VZ
566 mkdir $(DISTDIR)/src
567 mkdir $(DISTDIR)/src/zlib
568 cp $(ZLIBDIR)/*.h $(DISTDIR)/src/zlib
569 cp $(ZLIBDIR)/*.c $(DISTDIR)/src/zlib
570 cp $(ZLIBDIR)/README $(DISTDIR)/src/zlib
571 cp $(ZLIBDIR)/*.mms $(DISTDIR)/src/zlib
2224580a
VZ
572
573# this target is the common part of distribution script for all GUI toolkits,
574# but is not used when building wxBase distribution
575ALL_GUI_DIST: ALL_DIST
576 cp $(WXDIR)/wx$(TOOLKIT).spec $(DISTDIR)
5a7faf1e 577 cp $(WXDIR)/wxBase.spec $(DISTDIR)
a4aad961
RR
578 cp $(DOCDIR)/$(TOOLKITDIR)/install.txt $(DISTDIR)/INSTALL.txt
579 cp $(DOCDIR)/$(TOOLKITDIR)/changes.txt $(DISTDIR)/CHANGES.txt
580 cp $(DOCDIR)/$(TOOLKITDIR)/readme.txt $(DISTDIR)/README.txt
581 cp $(DOCDIR)/$(TOOLKITDIR)/todo.txt $(DISTDIR)/TODO.txt
582 mkdir $(DISTDIR)/include
583 mkdir $(DISTDIR)/include/wx
584 mkdir $(DISTDIR)/include/wx/$(TOOLKITDIR)
585 mkdir $(DISTDIR)/include/wx/generic
586 mkdir $(DISTDIR)/include/wx/html
a4aad961 587 mkdir $(DISTDIR)/include/wx/protocol
2224580a
VZ
588 mkdir $(DISTDIR)/include/wx/unix
589 cp $(INCDIR)/wx/*.h $(DISTDIR)/include/wx
590 cp $(INCDIR)/wx/*.inl $(DISTDIR)/include/wx
a4aad961
RR
591 cp $(INCDIR)/wx/*.cpp $(DISTDIR)/include/wx
592 cp $(INCDIR)/wx/generic/*.h $(DISTDIR)/include/wx/generic
593 cp $(INCDIR)/wx/generic/*.xpm $(DISTDIR)/include/wx/generic
594 cp $(INCDIR)/wx/html/*.h $(DISTDIR)/include/wx/html
595 cp $(INCDIR)/wx/unix/*.h $(DISTDIR)/include/wx/unix
596 cp $(INCDIR)/wx/protocol/*.h $(DISTDIR)/include/wx/protocol
4cb122de
RR
597 mkdir $(DISTDIR)/src/common
598 mkdir $(DISTDIR)/src/generic
599 mkdir $(DISTDIR)/src/html
600 mkdir $(DISTDIR)/src/html/bitmaps
601 mkdir $(DISTDIR)/src/$(TOOLKITDIR)
4cb122de
RR
602 mkdir $(DISTDIR)/src/png
603 mkdir $(DISTDIR)/src/jpeg
1d62a8b4 604 mkdir $(DISTDIR)/src/tiff
c09ab26a 605 mkdir $(DISTDIR)/src/iodbc
2224580a
VZ
606 mkdir $(DISTDIR)/src/unix
607 cp $(WXDIR)/@PORT_FILES@ $(DISTDIR)/@PORT_FILES@
4cb122de
RR
608 cp $(SRCDIR)/*.in $(DISTDIR)/src
609 cp $(COMMDIR)/*.cpp $(DISTDIR)/src/common
610 cp $(COMMDIR)/*.c $(DISTDIR)/src/common
611 cp $(COMMDIR)/*.inc $(DISTDIR)/src/common
612 cp $(COMMDIR)/*.l $(DISTDIR)/src/common
613 cp $(COMMDIR)/*.h $(DISTDIR)/src/common
614 cp $(COMMDIR)/*.y $(DISTDIR)/src/common
6e7b6cc6
RR
615 cp $(COMMDIR)/*.mms $(DISTDIR)/src/common
616 cp $(UNIXDIR)/*.c $(DISTDIR)/src/unix
617 cp $(UNIXDIR)/*.cpp $(DISTDIR)/src/unix
618 cp $(UNIXDIR)/*.mms $(DISTDIR)/src/unix
4cb122de 619 cp $(GENDIR)/*.cpp $(DISTDIR)/src/generic
6e7b6cc6 620 cp $(GENDIR)/*.mms $(DISTDIR)/src/generic
4cb122de 621 cp $(HTMLDIR)/*.cpp $(DISTDIR)/src/html
4cb122de 622 cp $(HTMLDIR)/bitmaps/*.xpm $(DISTDIR)/src/html/bitmaps
4cb122de
RR
623 cp $(PNGDIR)/*.h $(DISTDIR)/src/png
624 cp $(PNGDIR)/*.c $(DISTDIR)/src/png
625 cp $(PNGDIR)/README $(DISTDIR)/src/png
4cb122de
RR
626 cp $(JPEGDIR)/*.h $(DISTDIR)/src/jpeg
627 cp $(JPEGDIR)/*.c $(DISTDIR)/src/jpeg
628 cp $(JPEGDIR)/README $(DISTDIR)/src/jpeg
1d62a8b4
RR
629 cp $(TIFFDIR)/*.h $(DISTDIR)/src/tiff
630 cp $(TIFFDIR)/*.c $(DISTDIR)/src/tiff
631 cp $(TIFFDIR)/README $(DISTDIR)/src/tiff
c09ab26a
RR
632 cp $(ODBCDIR)/*.h $(DISTDIR)/src/iodbc
633 cp $(ODBCDIR)/*.c $(DISTDIR)/src/iodbc
634 cp $(ODBCDIR)/*.ci $(DISTDIR)/src/iodbc
635 cp $(ODBCDIR)/*.exp $(DISTDIR)/src/iodbc
636 cp $(ODBCDIR)/README $(DISTDIR)/src/iodbc
637 cp $(ODBCDIR)/NEWS $(DISTDIR)/src/iodbc
638 cp $(ODBCDIR)/Changes.log $(DISTDIR)/src/iodbc
a4aad961 639
2224580a
VZ
640BASE_DIST: ALL_DIST
641 mkdir $(DISTDIR)/include
642 mkdir $(DISTDIR)/include/wx
643 mkdir $(DISTDIR)/include/wx/protocol
644 mkdir $(DISTDIR)/include/wx/unix
2224580a
VZ
645 mkdir $(DISTDIR)/src/common
646 mkdir $(DISTDIR)/src/unix
647 cp $(WXDIR)/@PORT_FILES@ $(DISTDIR)/@PORT_FILES@
648 cp $(WXDIR)/@RPM_FILES@ $(DISTDIR)/@RPM_FILES@
649 cp $(WXDIR)/@RPM_SPEC@ $(DISTDIR)/@RPM_SPEC@
5a7faf1e 650 cp $(WXDIR)/wxBase*.ds[pw] $(DISTDIR)
2224580a
VZ
651 cp $(DOCDIR)/changes.txt $(DISTDIR)/CHANGES.txt
652 cp $(DOCDIR)/readme.txt $(DISTDIR)/README.txt
2224580a 653 cp $(SRCDIR)/*.in $(DISTDIR)/src
5a7faf1e
VZ
654 cp $(WXDIR)/src/common/*.inc $(DISTDIR)/src/common
655 cp $(WXDIR)/src/common/base.rc $(DISTDIR)/src/common
656 cp $(WXDIR)/src/common/unzip.h $(DISTDIR)/src/common
2224580a
VZ
657 list='$(HEADERS)'; for p in $$list; do \
658 cp $(WXDIR)/include/wx/$$p $(DISTDIR)/include/wx/$$p; \
659 done
660 list='$(SOURCES)'; for p in $$list; do \
661 cp $(WXDIR)/src/$$p $(DISTDIR)/src/$$p; \
662 done
663
5a7faf1e
VZ
664 mkdir $(DISTDIR)/samples
665 cp $(SAMPDIR)/Makefile.in $(DISTDIR)/samples
666 cp $(SAMPDIR)/configure $(DISTDIR)/samples
667 cp $(SAMPDIR)/configure.in $(DISTDIR)/samples
668
669 mkdir $(DISTDIR)/samples/console
670 cp $(SAMPDIR)/console/Makefile.in $(DISTDIR)/samples/console
671 cp $(SAMPDIR)/console/makefile.unx $(DISTDIR)/samples/console
672 cp $(SAMPDIR)/console/console.cpp $(DISTDIR)/samples/console
673 cp $(SAMPDIR)/console/testdata.fc $(DISTDIR)/samples/console
674
2224580a 675GTK_DIST: ALL_GUI_DIST
a4aad961 676 cp $(INCDIR)/wx/gtk/*.h $(DISTDIR)/include/wx/gtk
4cb122de
RR
677 cp $(INCDIR)/wx/gtk/*.xpm $(DISTDIR)/include/wx/gtk
678 cp $(GTKDIR)/*.cpp $(DISTDIR)/src/gtk
679 cp $(GTKDIR)/*.c $(DISTDIR)/src/gtk
680 cp $(GTKDIR)/*.xbm $(DISTDIR)/src/gtk
6e7b6cc6
RR
681 cp $(GTKDIR)/*.mms $(DISTDIR)/src/gtk
682 mkdir $(DISTDIR)/contrib
683 cp -R $(WXDIR)/contrib $(DISTDIR)
a4aad961 684
2224580a 685MOTIF_DIST: ALL_GUI_DIST
4cb122de 686 cp $(WXDIR)/wxMOTIF.spec $(DISTDIR)
a4aad961 687 cp $(INCDIR)/wx/motif/*.h $(DISTDIR)/include/wx/motif
4cb122de
RR
688 cp $(MOTIFDIR)/*.cpp $(DISTDIR)/src/motif
689 cp $(MOTIFDIR)/*.xbm $(DISTDIR)/src/motif
690 mkdir $(DISTDIR)/src/motif/xmcombo
691 cp $(MOTIFDIR)/xmcombo/*.c $(DISTDIR)/src/motif/xmcombo
692 cp $(MOTIFDIR)/xmcombo/*.h $(DISTDIR)/src/motif/xmcombo
693 cp $(MOTIFDIR)/xmcombo/copying.txt $(DISTDIR)/src/motif/xmcombo
a4aad961 694
c521c494 695MACX_DIST: ALL_GUI_DIST
b4085ce6
GD
696 echo "Apple Mac OS X specific distribution not complete"
697
2224580a 698MSW_DIST: ALL_GUI_DIST
4cb122de 699 cp $(WXDIR)/wxWINE.spec $(DISTDIR)
a4aad961
RR
700 cp $(INCDIR)/wx/msw/*.h $(DISTDIR)/include/wx/msw
701 cp $(INCDIR)/wx/msw/*.cur $(DISTDIR)/include/wx/msw
702 cp $(INCDIR)/wx/msw/*.ico $(DISTDIR)/include/wx/msw
703 cp $(INCDIR)/wx/msw/*.bmp $(DISTDIR)/include/wx/msw
704 cp $(INCDIR)/wx/msw/*.rc $(DISTDIR)/include/wx/msw
4cb122de
RR
705 cp $(MSWDIR)/*.cpp $(DISTDIR)/src/msw
706 cp $(MSWDIR)/*.c $(DISTDIR)/src/msw
707 cp $(MSWDIR)/*.def $(DISTDIR)/src/msw
708 mkdir $(DISTDIR)/src/msw/ole
709 cp $(MSWDIR)/ole/*.cpp $(DISTDIR)/src/msw/ole
710
2224580a 711DEMOS_DIST: ALL_GUI_DIST
dfd6b52f
RR
712 mkdir $(DISTDIR)/demos
713 cp $(DEMODIR)/Makefile.in $(DISTDIR)/demos
cc977e5f
RR
714 cp $(DEMODIR)/configure $(DISTDIR)/demos
715 cp $(DEMODIR)/configure.in $(DISTDIR)/demos
b4085ce6 716
cc977e5f 717 cp -R $(DEMODIR)/dbbrowse $(DISTDIR)/demos/dbbrowse
b4085ce6 718
dfd6b52f
RR
719 mkdir $(DISTDIR)/demos/bombs
720 cp $(DEMODIR)/bombs/Makefile.in $(DISTDIR)/demos/bombs
721 cp $(DEMODIR)/bombs/makefile.unx $(DISTDIR)/demos/bombs
722 cp $(DEMODIR)/bombs/*.cpp $(DISTDIR)/demos/bombs
723 cp $(DEMODIR)/bombs/*.h $(DISTDIR)/demos/bombs
724 cp $(DEMODIR)/bombs/*.xpm $(DISTDIR)/demos/bombs
725 cp $(DEMODIR)/bombs/readme.txt $(DISTDIR)/demos/bombs
b4085ce6 726
dfd6b52f
RR
727 mkdir $(DISTDIR)/demos/forty
728 cp $(DEMODIR)/forty/Makefile.in $(DISTDIR)/demos/forty
729 cp $(DEMODIR)/forty/makefile.unx $(DISTDIR)/demos/forty
730 cp $(DEMODIR)/forty/*.h $(DISTDIR)/demos/forty
731 cp $(DEMODIR)/forty/*.cpp $(DISTDIR)/demos/forty
732 cp $(DEMODIR)/forty/*.xpm $(DISTDIR)/demos/forty
733 cp $(DEMODIR)/forty/*.xbm $(DISTDIR)/demos/forty
b4085ce6 734
dfd6b52f
RR
735 mkdir $(DISTDIR)/demos/life
736 mkdir $(DISTDIR)/demos/life/bitmaps
737 cp $(DEMODIR)/life/Makefile.in $(DISTDIR)/demos/life
738 cp $(DEMODIR)/life/makefile.unx $(DISTDIR)/demos/life
739 cp $(DEMODIR)/life/*.cpp $(DISTDIR)/demos/life
740 cp $(DEMODIR)/life/*.h $(DISTDIR)/demos/life
741 cp $(DEMODIR)/life/*.xpm $(DISTDIR)/demos/life
491e9f50 742 cp $(DEMODIR)/life/*.inc $(DISTDIR)/demos/life
f6bcfd97 743 cp $(DEMODIR)/life/*.lif $(DISTDIR)/demos/life
dfd6b52f 744 cp $(DEMODIR)/life/bitmaps/*.xpm $(DISTDIR)/demos/life/bitmaps
b4085ce6 745
dfd6b52f
RR
746 mkdir $(DISTDIR)/demos/poem
747 cp $(DEMODIR)/poem/Makefile.in $(DISTDIR)/demos/poem
88413fec 748 cp $(DEMODIR)/poem/makefile.unx $(DISTDIR)/demos/poem
491e9f50 749 cp $(DEMODIR)/poem/*.h $(DISTDIR)/demos/poem
dfd6b52f
RR
750 cp $(DEMODIR)/poem/*.cpp $(DISTDIR)/demos/poem
751 cp $(DEMODIR)/poem/*.xpm $(DISTDIR)/demos/poem
752 cp $(DEMODIR)/poem/*.dat $(DISTDIR)/demos/poem
753 cp $(DEMODIR)/poem/*.txt $(DISTDIR)/demos/poem
b4085ce6 754
dfd6b52f
RR
755 mkdir $(DISTDIR)/demos/fractal
756 cp $(DEMODIR)/fractal/Makefile.in $(DISTDIR)/demos/fractal
757 cp $(DEMODIR)/fractal/makefile.unx $(DISTDIR)/demos/fractal
758 cp $(DEMODIR)/fractal/*.cpp $(DISTDIR)/demos/fractal
b4085ce6 759
2224580a 760SAMPLES_DIST: ALL_GUI_DIST
4cb122de
RR
761 mkdir $(DISTDIR)/samples
762 cp $(SAMPDIR)/Makefile.in $(DISTDIR)/samples
2224580a
VZ
763 cp $(SAMPDIR)/configure $(DISTDIR)/samples
764 cp $(SAMPDIR)/configure.in $(DISTDIR)/samples
c661ecca
RR
765
766 mkdir $(DISTDIR)/samples/calendar
767 cp $(SAMPDIR)/calendar/Makefile.in $(DISTDIR)/samples/calendar
768 cp $(SAMPDIR)/calendar/makefile.unx $(DISTDIR)/samples/calendar
769 cp $(SAMPDIR)/calendar/*.cpp $(DISTDIR)/samples/calendar
770
4cb122de
RR
771 mkdir $(DISTDIR)/samples/caret
772 cp $(SAMPDIR)/caret/Makefile.in $(DISTDIR)/samples/caret
c4fda16b 773 cp $(SAMPDIR)/caret/makefile.unx $(DISTDIR)/samples/caret
4cb122de
RR
774 cp $(SAMPDIR)/caret/*.cpp $(DISTDIR)/samples/caret
775 cp $(SAMPDIR)/caret/*.xpm $(DISTDIR)/samples/caret
c661ecca
RR
776
777 mkdir $(DISTDIR)/samples/checklst
778 cp $(SAMPDIR)/checklst/Makefile.in $(DISTDIR)/samples/checklst
779 cp $(SAMPDIR)/checklst/makefile.unx $(DISTDIR)/samples/checklst
780 cp $(SAMPDIR)/checklst/*.cpp $(DISTDIR)/samples/checklst
781 cp $(SAMPDIR)/checklst/*.xpm $(DISTDIR)/samples/checklst
6e7b6cc6 782 cp $(SAMPDIR)/checklst/*.mms $(DISTDIR)/samples/checklst
c661ecca 783
4cb122de
RR
784 mkdir $(DISTDIR)/samples/config
785 cp $(SAMPDIR)/config/Makefile.in $(DISTDIR)/samples/config
c4fda16b 786 cp $(SAMPDIR)/config/makefile.unx $(DISTDIR)/samples/config
4cb122de 787 cp $(SAMPDIR)/config/*.cpp $(DISTDIR)/samples/config
c661ecca 788
1e8d2f69
RR
789 mkdir $(DISTDIR)/samples/console
790 cp $(SAMPDIR)/console/Makefile.in $(DISTDIR)/samples/console
791 cp $(SAMPDIR)/console/makefile.unx $(DISTDIR)/samples/console
792 cp $(SAMPDIR)/console/*.cpp $(DISTDIR)/samples/console
c661ecca 793
4cb122de
RR
794 mkdir $(DISTDIR)/samples/controls
795 mkdir $(DISTDIR)/samples/controls/icons
796 cp $(SAMPDIR)/controls/Makefile.in $(DISTDIR)/samples/controls
c4fda16b 797 cp $(SAMPDIR)/controls/makefile.unx $(DISTDIR)/samples/controls
4cb122de
RR
798 cp $(SAMPDIR)/controls/*.cpp $(DISTDIR)/samples/controls
799 cp $(SAMPDIR)/controls/*.xpm $(DISTDIR)/samples/controls
6e7b6cc6 800 cp $(SAMPDIR)/controls/*.mms $(DISTDIR)/samples/controls
4cb122de 801 cp $(SAMPDIR)/controls/icons/*.??? $(DISTDIR)/samples/controls/icons
c661ecca 802
79144b8a
RR
803 mkdir $(DISTDIR)/samples/db
804 cp $(SAMPDIR)/db/Makefile.in $(DISTDIR)/samples/db
c4fda16b 805 cp $(SAMPDIR)/db/makefile.unx $(DISTDIR)/samples/db
79144b8a
RR
806 cp $(SAMPDIR)/db/*.cpp $(DISTDIR)/samples/db
807 cp $(SAMPDIR)/db/*.h $(DISTDIR)/samples/db
808 cp $(SAMPDIR)/db/*.xpm $(DISTDIR)/samples/db
c661ecca 809
641d87d8
RR
810 mkdir $(DISTDIR)/samples/dialogs
811 cp $(SAMPDIR)/dialogs/Makefile.in $(DISTDIR)/samples/dialogs
c4fda16b 812 cp $(SAMPDIR)/dialogs/makefile.unx $(DISTDIR)/samples/dialogs
641d87d8
RR
813 cp $(SAMPDIR)/dialogs/*.cpp $(DISTDIR)/samples/dialogs
814 cp $(SAMPDIR)/dialogs/*.h $(DISTDIR)/samples/dialogs
815 cp $(SAMPDIR)/dialogs/*.txt $(DISTDIR)/samples/dialogs
6e7b6cc6 816 cp $(SAMPDIR)/dialogs/*.mms $(DISTDIR)/samples/dialogs
c661ecca 817
641d87d8
RR
818 mkdir $(DISTDIR)/samples/dnd
819 cp $(SAMPDIR)/dnd/Makefile.in $(DISTDIR)/samples/dnd
c4fda16b 820 cp $(SAMPDIR)/dnd/makefile.unx $(DISTDIR)/samples/dnd
4b59bea3 821 cp $(SAMPDIR)/dnd/*.wxr $(DISTDIR)/samples/dnd
641d87d8
RR
822 cp $(SAMPDIR)/dnd/*.cpp $(DISTDIR)/samples/dnd
823 cp $(SAMPDIR)/dnd/*.xpm $(DISTDIR)/samples/dnd
824 cp $(SAMPDIR)/dnd/*.txt $(DISTDIR)/samples/dnd
825 cp $(SAMPDIR)/dnd/*.png $(DISTDIR)/samples/dnd
c661ecca 826
641d87d8
RR
827 mkdir $(DISTDIR)/samples/docview
828 cp $(SAMPDIR)/docview/Makefile.in $(DISTDIR)/samples/docview
e9093718 829 cp $(SAMPDIR)/docview/makefile.unx $(DISTDIR)/samples/docview
641d87d8
RR
830 cp $(SAMPDIR)/docview/*.cpp $(DISTDIR)/samples/docview
831 cp $(SAMPDIR)/docview/*.h $(DISTDIR)/samples/docview
832 cp $(SAMPDIR)/docview/*.xpm $(DISTDIR)/samples/docview
c661ecca 833
641d87d8
RR
834 mkdir $(DISTDIR)/samples/docvwmdi
835 cp $(SAMPDIR)/docvwmdi/Makefile.in $(DISTDIR)/samples/docvwmdi
e9093718 836 cp $(SAMPDIR)/docvwmdi/makefile.unx $(DISTDIR)/samples/docvwmdi
641d87d8
RR
837 cp $(SAMPDIR)/docvwmdi/*.cpp $(DISTDIR)/samples/docvwmdi
838 cp $(SAMPDIR)/docvwmdi/*.h $(DISTDIR)/samples/docvwmdi
c661ecca
RR
839
840 mkdir $(DISTDIR)/samples/dragimag
841 cp $(SAMPDIR)/dragimag/Makefile.in $(DISTDIR)/samples/dragimag
842 cp $(SAMPDIR)/dragimag/makefile.unx $(DISTDIR)/samples/dragimag
843 cp $(SAMPDIR)/dragimag/*.cpp $(DISTDIR)/samples/dragimag
844 cp $(SAMPDIR)/dragimag/*.h $(DISTDIR)/samples/dragimag
845 cp $(SAMPDIR)/dragimag/*.xpm $(DISTDIR)/samples/dragimag
846 cp $(SAMPDIR)/dragimag/*.png $(DISTDIR)/samples/dragimag
847
641d87d8
RR
848 mkdir $(DISTDIR)/samples/drawing
849 cp $(SAMPDIR)/drawing/Makefile.in $(DISTDIR)/samples/drawing
e9093718 850 cp $(SAMPDIR)/drawing/makefile.unx $(DISTDIR)/samples/drawing
641d87d8
RR
851 cp $(SAMPDIR)/drawing/*.cpp $(DISTDIR)/samples/drawing
852 cp $(SAMPDIR)/drawing/*.xpm $(DISTDIR)/samples/drawing
b6fa52db 853 cp $(SAMPDIR)/drawing/*.bmp $(DISTDIR)/samples/drawing
c661ecca 854
641d87d8
RR
855 mkdir $(DISTDIR)/samples/dynamic
856 cp $(SAMPDIR)/dynamic/Makefile.in $(DISTDIR)/samples/dynamic
e9093718 857 cp $(SAMPDIR)/dynamic/makefile.unx $(DISTDIR)/samples/dynamic
641d87d8
RR
858 cp $(SAMPDIR)/dynamic/*.cpp $(DISTDIR)/samples/dynamic
859 cp $(SAMPDIR)/dynamic/*.xpm $(DISTDIR)/samples/dynamic
c661ecca 860
88413fec
RR
861 mkdir $(DISTDIR)/samples/exec
862 cp $(SAMPDIR)/exec/Makefile.in $(DISTDIR)/samples/exec
e893cd66 863 cp $(SAMPDIR)/exec/makefile.unx $(DISTDIR)/samples/exec
88413fec 864 cp $(SAMPDIR)/exec/*.cpp $(DISTDIR)/samples/exec
c661ecca 865
1e8d2f69
RR
866 mkdir $(DISTDIR)/samples/font
867 cp $(SAMPDIR)/font/Makefile.in $(DISTDIR)/samples/font
868 cp $(SAMPDIR)/font/makefile.unx $(DISTDIR)/samples/font
869 cp $(SAMPDIR)/font/*.cpp $(DISTDIR)/samples/font
c661ecca 870
1e8d2f69
RR
871 mkdir $(DISTDIR)/samples/grid
872 cp $(SAMPDIR)/grid/Makefile.in $(DISTDIR)/samples/grid
873 cp $(SAMPDIR)/grid/makefile.unx $(DISTDIR)/samples/grid
874 cp $(SAMPDIR)/grid/*.cpp $(DISTDIR)/samples/grid
c661ecca 875
e9093718
RR
876 mkdir $(DISTDIR)/samples/help
877 mkdir $(DISTDIR)/samples/help/doc
878 cp $(SAMPDIR)/help/Makefile.in $(DISTDIR)/samples/help
879 cp $(SAMPDIR)/help/makefile.unx $(DISTDIR)/samples/help
880 cp $(SAMPDIR)/help/*.cpp $(DISTDIR)/samples/help
881 cp $(SAMPDIR)/help/*.xpm $(DISTDIR)/samples/help
882 cp $(SAMPDIR)/help/doc/*.* $(DISTDIR)/samples/help/doc
c661ecca 883
641d87d8
RR
884 mkdir $(DISTDIR)/samples/html
885 cp $(SAMPDIR)/html/Makefile.in $(DISTDIR)/samples/html
886 mkdir $(DISTDIR)/samples/html/about
887 cp $(SAMPDIR)/html/about/Makefile.in $(DISTDIR)/samples/html/about
888 cp $(SAMPDIR)/html/about/*.cpp $(DISTDIR)/samples/html/about
889 mkdir $(DISTDIR)/samples/html/about/data
890 cp $(SAMPDIR)/html/about/data/*.htm $(DISTDIR)/samples/html/about/data
891 cp $(SAMPDIR)/html/about/data/*.png $(DISTDIR)/samples/html/about/data
892 mkdir $(DISTDIR)/samples/html/help
893 cp $(SAMPDIR)/html/help/Makefile.in $(DISTDIR)/samples/html/help
894 cp $(SAMPDIR)/html/help/*.cpp $(DISTDIR)/samples/html/help
895 mkdir $(DISTDIR)/samples/html/help/helpfiles
896 cp $(SAMPDIR)/html/help/helpfiles/*.??? $(DISTDIR)/samples/html/help/helpfiles
fc9c7c09
RR
897 mkdir $(DISTDIR)/samples/html/helpview
898 cp $(SAMPDIR)/html/helpview/Makefile.in $(DISTDIR)/samples/html/helpview
899 cp $(SAMPDIR)/html/helpview/*.cpp $(DISTDIR)/samples/html/helpview
900 cp $(SAMPDIR)/html/helpview/*.zip $(DISTDIR)/samples/html/helpview
641d87d8
RR
901 mkdir $(DISTDIR)/samples/html/printing
902 cp $(SAMPDIR)/html/printing/Makefile.in $(DISTDIR)/samples/html/printing
641d87d8 903 cp $(SAMPDIR)/html/printing/*.cpp $(DISTDIR)/samples/html/printing
641d87d8
RR
904 cp $(SAMPDIR)/html/printing/*.htm $(DISTDIR)/samples/html/printing
905 mkdir $(DISTDIR)/samples/html/test
906 cp $(SAMPDIR)/html/test/Makefile.in $(DISTDIR)/samples/html/test
907 cp $(SAMPDIR)/html/test/*.cpp $(DISTDIR)/samples/html/test
908 cp $(SAMPDIR)/html/test/*.bmp $(DISTDIR)/samples/html/test
909 cp $(SAMPDIR)/html/test/*.png $(DISTDIR)/samples/html/test
b6fa52db 910 cp $(SAMPDIR)/html/test/*.gif $(DISTDIR)/samples/html/test
641d87d8
RR
911 cp $(SAMPDIR)/html/test/*.htm $(DISTDIR)/samples/html/test
912 cp $(SAMPDIR)/html/test/*.html $(DISTDIR)/samples/html/test
913 mkdir $(DISTDIR)/samples/html/virtual
914 cp $(SAMPDIR)/html/virtual/Makefile.in $(DISTDIR)/samples/html/virtual
915 cp $(SAMPDIR)/html/virtual/*.cpp $(DISTDIR)/samples/html/virtual
916 cp $(SAMPDIR)/html/virtual/*.htm $(DISTDIR)/samples/html/virtual
917 mkdir $(DISTDIR)/samples/html/widget
918 cp $(SAMPDIR)/html/widget/Makefile.in $(DISTDIR)/samples/html/widget
919 cp $(SAMPDIR)/html/widget/*.cpp $(DISTDIR)/samples/html/widget
920 cp $(SAMPDIR)/html/widget/*.htm $(DISTDIR)/samples/html/widget
921 mkdir $(DISTDIR)/samples/html/zip
922 cp $(SAMPDIR)/html/zip/Makefile.in $(DISTDIR)/samples/html/zip
923 cp $(SAMPDIR)/html/zip/*.cpp $(DISTDIR)/samples/html/zip
924 cp $(SAMPDIR)/html/zip/*.htm $(DISTDIR)/samples/html/zip
925 cp $(SAMPDIR)/html/zip/*.zip $(DISTDIR)/samples/html/zip
c661ecca 926
641d87d8
RR
927 mkdir $(DISTDIR)/samples/image
928 cp $(SAMPDIR)/image/Makefile.in $(DISTDIR)/samples/image
e9093718 929 cp $(SAMPDIR)/image/makefile.unx $(DISTDIR)/samples/image
641d87d8 930 cp $(SAMPDIR)/image/*.cpp $(DISTDIR)/samples/image
6e7b6cc6 931 cp $(SAMPDIR)/image/*.mms $(DISTDIR)/samples/image
641d87d8 932 cp $(SAMPDIR)/image/horse.* $(DISTDIR)/samples/image
1e8d2f69 933 cp $(SAMPDIR)/image/smile.xbm $(DISTDIR)/samples/image
ff7c6c9c 934 cp $(SAMPDIR)/image/smile.xpm $(DISTDIR)/samples/image
1e8d2f69 935
c09ab26a
RR
936 mkdir $(DISTDIR)/samples/internat
937 mkdir $(DISTDIR)/samples/internat/de
938 mkdir $(DISTDIR)/samples/internat/fr
939 cp $(SAMPDIR)/internat/Makefile.in $(DISTDIR)/samples/internat
e9093718 940 cp $(SAMPDIR)/internat/makefile.unx $(DISTDIR)/samples/internat
c09ab26a
RR
941 cp $(SAMPDIR)/internat/*.cpp $(DISTDIR)/samples/internat
942 cp $(SAMPDIR)/internat/*.xpm $(DISTDIR)/samples/internat
943 cp $(SAMPDIR)/internat/*.txt $(DISTDIR)/samples/internat
944 cp $(SAMPDIR)/internat/*.po $(DISTDIR)/samples/internat
b6fa52db 945 cp $(SAMPDIR)/internat/fr/*.mo $(DISTDIR)/samples/internat/fr
c09ab26a 946 cp $(SAMPDIR)/internat/de/*.mo $(DISTDIR)/samples/internat/de
d9cde669 947 cp $(SAMPDIR)/internat/ru/*.mo $(DISTDIR)/samples/internat/de
c09ab26a 948 cp $(SAMPDIR)/internat/fr/*.po $(DISTDIR)/samples/internat/fr
b6fa52db 949 cp $(SAMPDIR)/internat/de/*.po $(DISTDIR)/samples/internat/de
d9cde669 950 cp $(SAMPDIR)/internat/ru/*.po $(DISTDIR)/samples/internat/de
c661ecca
RR
951
952 mkdir $(DISTDIR)/samples/ipc
953 cp $(SAMPDIR)/ipc/Makefile.in $(DISTDIR)/samples/ipc
e893cd66 954 cp $(SAMPDIR)/ipc/makefile.unx $(DISTDIR)/samples/ipc
c661ecca
RR
955 cp $(SAMPDIR)/ipc/*.cpp $(DISTDIR)/samples/ipc
956 cp $(SAMPDIR)/ipc/*.h $(DISTDIR)/samples/ipc
957 cp $(SAMPDIR)/ipc/*.xpm $(DISTDIR)/samples/ipc
958
ceded8b9
RL
959 mkdir $(DISTDIR)/samples/joytest
960 cp $(SAMPDIR)/joytest/Makefile.in $(DISTDIR)/samples/joytest
961 cp $(SAMPDIR)/joytest/makefile.unx $(DISTDIR)/samples/joytest
962 cp $(SAMPDIR)/joytest/*.cpp $(DISTDIR)/samples/joytest
963 cp $(SAMPDIR)/joytest/*.h $(DISTDIR)/samples/joytest
964 cp $(SAMPDIR)/joytest/*.wav $(DISTDIR)/samples/joytest
965
641d87d8
RR
966 mkdir $(DISTDIR)/samples/layout
967 cp $(SAMPDIR)/layout/Makefile.in $(DISTDIR)/samples/layout
e9093718 968 cp $(SAMPDIR)/layout/makefile.unx $(DISTDIR)/samples/layout
641d87d8
RR
969 cp $(SAMPDIR)/layout/*.cpp $(DISTDIR)/samples/layout
970 cp $(SAMPDIR)/layout/*.h $(DISTDIR)/samples/layout
c661ecca 971
641d87d8 972 mkdir $(DISTDIR)/samples/listctrl
e9093718 973 mkdir $(DISTDIR)/samples/listctrl/bitmaps
641d87d8 974 cp $(SAMPDIR)/listctrl/Makefile.in $(DISTDIR)/samples/listctrl
e9093718 975 cp $(SAMPDIR)/listctrl/makefile.unx $(DISTDIR)/samples/listctrl
641d87d8
RR
976 cp $(SAMPDIR)/listctrl/*.cpp $(DISTDIR)/samples/listctrl
977 cp $(SAMPDIR)/listctrl/*.h $(DISTDIR)/samples/listctrl
978 cp $(SAMPDIR)/listctrl/*.xpm $(DISTDIR)/samples/listctrl
d8d474af 979 cp $(SAMPDIR)/listctrl/bitmaps/*.xpm $(DISTDIR)/samples/listctrl/bitmaps
c661ecca 980
641d87d8 981 mkdir $(DISTDIR)/samples/mdi
e9093718 982 mkdir $(DISTDIR)/samples/mdi/bitmaps
641d87d8 983 cp $(SAMPDIR)/mdi/Makefile.in $(DISTDIR)/samples/mdi
e9093718 984 cp $(SAMPDIR)/mdi/makefile.unx $(DISTDIR)/samples/mdi
641d87d8
RR
985 cp $(SAMPDIR)/mdi/*.cpp $(DISTDIR)/samples/mdi
986 cp $(SAMPDIR)/mdi/*.h $(DISTDIR)/samples/mdi
987 cp $(SAMPDIR)/mdi/*.xpm $(DISTDIR)/samples/mdi
d8d474af 988 cp $(SAMPDIR)/mdi/bitmaps/*.xpm $(DISTDIR)/samples/mdi/bitmaps
c661ecca 989
e9093718
RR
990 mkdir $(DISTDIR)/samples/memcheck
991 cp $(SAMPDIR)/memcheck/Makefile.in $(DISTDIR)/samples/memcheck
992 cp $(SAMPDIR)/memcheck/makefile.unx $(DISTDIR)/samples/memcheck
993 cp $(SAMPDIR)/memcheck/*.cpp $(DISTDIR)/samples/memcheck
994 cp $(SAMPDIR)/memcheck/*.xpm $(DISTDIR)/samples/memcheck
c661ecca 995
e9093718
RR
996 mkdir $(DISTDIR)/samples/menu
997 cp $(SAMPDIR)/menu/Makefile.in $(DISTDIR)/samples/menu
998 cp $(SAMPDIR)/menu/makefile.unx $(DISTDIR)/samples/menu
999 cp $(SAMPDIR)/menu/*.cpp $(DISTDIR)/samples/menu
c661ecca 1000
641d87d8 1001 mkdir $(DISTDIR)/samples/minifram
e9093718 1002 mkdir $(DISTDIR)/samples/minifram/bitmaps
641d87d8 1003 cp $(SAMPDIR)/minifram/Makefile.in $(DISTDIR)/samples/minifram
e9093718 1004 cp $(SAMPDIR)/minifram/makefile.unx $(DISTDIR)/samples/minifram
641d87d8
RR
1005 cp $(SAMPDIR)/minifram/*.cpp $(DISTDIR)/samples/minifram
1006 cp $(SAMPDIR)/minifram/*.h $(DISTDIR)/samples/minifram
1007 cp $(SAMPDIR)/minifram/*.xpm $(DISTDIR)/samples/minifram
d8d474af 1008 cp $(SAMPDIR)/minifram/bitmaps/*.xpm $(DISTDIR)/samples/minifram/bitmaps
c661ecca 1009
641d87d8
RR
1010 mkdir $(DISTDIR)/samples/minimal
1011 cp $(SAMPDIR)/minimal/Makefile.in $(DISTDIR)/samples/minimal
e9093718 1012 cp $(SAMPDIR)/minimal/makefile.unx $(DISTDIR)/samples/minimal
641d87d8
RR
1013 cp $(SAMPDIR)/minimal/*.cpp $(DISTDIR)/samples/minimal
1014 cp $(SAMPDIR)/minimal/*.xpm $(DISTDIR)/samples/minimal
6e7b6cc6 1015 cp $(SAMPDIR)/minimal/*.mms $(DISTDIR)/samples/minimal
c661ecca 1016
dfd6b52f
RR
1017 mkdir $(DISTDIR)/samples/dialup
1018 cp $(SAMPDIR)/dialup/Makefile.in $(DISTDIR)/samples/dialup
1019 cp $(SAMPDIR)/dialup/makefile.unx $(DISTDIR)/samples/dialup
1020 cp $(SAMPDIR)/dialup/*.cpp $(DISTDIR)/samples/dialup
c661ecca 1021
f85afd4e
MB
1022 mkdir $(DISTDIR)/samples/newgrid
1023 cp $(SAMPDIR)/newgrid/Makefile.in $(DISTDIR)/samples/newgrid
1e8d2f69 1024 cp $(SAMPDIR)/newgrid/makefile.unx $(DISTDIR)/samples/newgrid
f85afd4e
MB
1025 cp $(SAMPDIR)/newgrid/*.cpp $(DISTDIR)/samples/newgrid
1026 cp $(SAMPDIR)/newgrid/*.h $(DISTDIR)/samples/newgrid
c661ecca 1027
641d87d8
RR
1028 mkdir $(DISTDIR)/samples/notebook
1029 cp $(SAMPDIR)/notebook/Makefile.in $(DISTDIR)/samples/notebook
1e8d2f69 1030 cp $(SAMPDIR)/notebook/makefile.unx $(DISTDIR)/samples/notebook
641d87d8
RR
1031 cp $(SAMPDIR)/notebook/*.cpp $(DISTDIR)/samples/notebook
1032 cp $(SAMPDIR)/notebook/*.h $(DISTDIR)/samples/notebook
c661ecca
RR
1033
1034 mkdir $(DISTDIR)/samples/opengl
1035 cp $(SAMPDIR)/opengl/Makefile.in $(DISTDIR)/samples/opengl
1036 mkdir $(DISTDIR)/samples/opengl/penguin
1037 cp $(SAMPDIR)/opengl/penguin/Makefile.in $(DISTDIR)/samples/opengl/penguin
1038 cp $(SAMPDIR)/opengl/penguin/makefile.unx $(DISTDIR)/samples/opengl/penguin
1039 cp $(SAMPDIR)/opengl/penguin/*.cpp $(DISTDIR)/samples/opengl/penguin
1040 cp $(SAMPDIR)/opengl/penguin/*.c $(DISTDIR)/samples/opengl/penguin
1041 cp $(SAMPDIR)/opengl/penguin/*.h $(DISTDIR)/samples/opengl/penguin
1042 cp $(SAMPDIR)/opengl/penguin/*.lwo $(DISTDIR)/samples/opengl/penguin
1043 mkdir $(DISTDIR)/samples/opengl/cube
1044 cp $(SAMPDIR)/opengl/cube/Makefile.in $(DISTDIR)/samples/opengl/cube
1045 cp $(SAMPDIR)/opengl/cube/makefile.unx $(DISTDIR)/samples/opengl/cube
1046 cp $(SAMPDIR)/opengl/cube/*.cpp $(DISTDIR)/samples/opengl/cube
1047 cp $(SAMPDIR)/opengl/cube/*.h $(DISTDIR)/samples/opengl/cube
1048 mkdir $(DISTDIR)/samples/opengl/isosurf
1049 cp $(SAMPDIR)/opengl/isosurf/Makefile.in $(DISTDIR)/samples/opengl/isosurf
1050 cp $(SAMPDIR)/opengl/isosurf/makefile.unx $(DISTDIR)/samples/opengl/isosurf
1051 cp $(SAMPDIR)/opengl/isosurf/*.cpp $(DISTDIR)/samples/opengl/isosurf
1052 cp $(SAMPDIR)/opengl/isosurf/*.h $(DISTDIR)/samples/opengl/isosurf
1053 cp $(SAMPDIR)/opengl/isosurf/*.gz $(DISTDIR)/samples/opengl/isosurf
1054
79144b8a
RR
1055 mkdir $(DISTDIR)/samples/png
1056 cp $(SAMPDIR)/png/Makefile.in $(DISTDIR)/samples/png
1e8d2f69 1057 cp $(SAMPDIR)/png/makefile.unx $(DISTDIR)/samples/png
79144b8a
RR
1058 cp $(SAMPDIR)/png/*.cpp $(DISTDIR)/samples/png
1059 cp $(SAMPDIR)/png/*.h $(DISTDIR)/samples/png
1060 cp $(SAMPDIR)/png/*.png $(DISTDIR)/samples/png
c661ecca 1061
1e8d2f69
RR
1062 mkdir $(DISTDIR)/samples/printing
1063 cp $(SAMPDIR)/printing/Makefile.in $(DISTDIR)/samples/printing
1064 cp $(SAMPDIR)/printing/makefile.unx $(DISTDIR)/samples/printing
1065 cp $(SAMPDIR)/printing/*.cpp $(DISTDIR)/samples/printing
1066 cp $(SAMPDIR)/printing/*.h $(DISTDIR)/samples/printing
1067 cp $(SAMPDIR)/printing/*.xpm $(DISTDIR)/samples/printing
1068 cp $(SAMPDIR)/printing/*.xbm $(DISTDIR)/samples/printing
c661ecca 1069
3fd528b9
RR
1070 mkdir $(DISTDIR)/samples/resource
1071 cp $(SAMPDIR)/resource/Makefile.in $(DISTDIR)/samples/resource
1e8d2f69 1072 cp $(SAMPDIR)/resource/makefile.unx $(DISTDIR)/samples/resource
3fd528b9
RR
1073 cp $(SAMPDIR)/resource/*.cpp $(DISTDIR)/samples/resource
1074 cp $(SAMPDIR)/resource/*.h $(DISTDIR)/samples/resource
1075 cp $(SAMPDIR)/resource/*.wxr $(DISTDIR)/samples/resource
c661ecca 1076
46132182
RR
1077 mkdir $(DISTDIR)/samples/rotate
1078 cp $(SAMPDIR)/rotate/Makefile.in $(DISTDIR)/samples/rotate
1079 cp $(SAMPDIR)/rotate/makefile.unx $(DISTDIR)/samples/rotate
1080 cp $(SAMPDIR)/rotate/*.cpp $(DISTDIR)/samples/rotate
1081 cp $(SAMPDIR)/rotate/*.bmp $(DISTDIR)/samples/rotate
1082
3fd528b9
RR
1083 mkdir $(DISTDIR)/samples/richedit
1084 cp $(SAMPDIR)/richedit/Makefile.in $(DISTDIR)/samples/richedit
e893cd66 1085 cp $(SAMPDIR)/richedit/makefile.unx $(DISTDIR)/samples/richedit
3fd528b9
RR
1086 cp $(SAMPDIR)/richedit/*.cpp $(DISTDIR)/samples/richedit
1087 cp $(SAMPDIR)/richedit/*.h $(DISTDIR)/samples/richedit
1088 cp $(SAMPDIR)/richedit/*.xpm $(DISTDIR)/samples/richedit
1089 cp $(SAMPDIR)/richedit/README $(DISTDIR)/samples/richedit
1090 cp $(SAMPDIR)/richedit/TODO $(DISTDIR)/samples/richedit
1e8d2f69 1091
641d87d8
RR
1092 mkdir $(DISTDIR)/samples/proplist
1093 cp $(SAMPDIR)/proplist/Makefile.in $(DISTDIR)/samples/proplist
e893cd66 1094 cp $(SAMPDIR)/proplist/makefile.unx $(DISTDIR)/samples/proplist
641d87d8
RR
1095 cp $(SAMPDIR)/proplist/*.cpp $(DISTDIR)/samples/proplist
1096 cp $(SAMPDIR)/proplist/*.h $(DISTDIR)/samples/proplist
1e8d2f69 1097
ba0e7d41
RR
1098 mkdir $(DISTDIR)/samples/propsize
1099 cp $(SAMPDIR)/propsize/Makefile.in $(DISTDIR)/samples/propsize
e893cd66 1100 cp $(SAMPDIR)/propsize/makefile.unx $(DISTDIR)/samples/propsize
ba0e7d41
RR
1101 cp $(SAMPDIR)/propsize/*.cpp $(DISTDIR)/samples/propsize
1102 cp $(SAMPDIR)/propsize/*.xpm $(DISTDIR)/samples/propsize
1e8d2f69 1103
641d87d8
RR
1104 mkdir $(DISTDIR)/samples/sashtest
1105 cp $(SAMPDIR)/sashtest/Makefile.in $(DISTDIR)/samples/sashtest
e893cd66 1106 cp $(SAMPDIR)/sashtest/makefile.unx $(DISTDIR)/samples/sashtest
641d87d8
RR
1107 cp $(SAMPDIR)/sashtest/*.cpp $(DISTDIR)/samples/sashtest
1108 cp $(SAMPDIR)/sashtest/*.h $(DISTDIR)/samples/sashtest
1e8d2f69 1109
641d87d8
RR
1110 mkdir $(DISTDIR)/samples/scroll
1111 cp $(SAMPDIR)/scroll/Makefile.in $(DISTDIR)/samples/scroll
1e8d2f69 1112 cp $(SAMPDIR)/scroll/makefile.unx $(DISTDIR)/samples/scroll
641d87d8 1113 cp $(SAMPDIR)/scroll/*.cpp $(DISTDIR)/samples/scroll
1e8d2f69 1114
d8d474af
RR
1115 mkdir $(DISTDIR)/samples/scrollsub
1116 cp $(SAMPDIR)/scrollsub/Makefile.in $(DISTDIR)/samples/scrollsub
1e8d2f69 1117 cp $(SAMPDIR)/scrollsub/makefile.unx $(DISTDIR)/samples/scrollsub
d8d474af 1118 cp $(SAMPDIR)/scrollsub/*.cpp $(DISTDIR)/samples/scrollsub
1e8d2f69 1119
c661ecca
RR
1120 mkdir $(DISTDIR)/samples/sockets
1121 cp $(SAMPDIR)/sockets/Makefile.in $(DISTDIR)/samples/sockets
e893cd66 1122 cp $(SAMPDIR)/sockets/makefile.unx $(DISTDIR)/samples/sockets
c661ecca
RR
1123 cp $(SAMPDIR)/sockets/*.cpp $(DISTDIR)/samples/sockets
1124 cp $(SAMPDIR)/sockets/*.xpm $(DISTDIR)/samples/sockets
1125
641d87d8
RR
1126 mkdir $(DISTDIR)/samples/splitter
1127 cp $(SAMPDIR)/splitter/Makefile.in $(DISTDIR)/samples/splitter
e893cd66 1128 cp $(SAMPDIR)/splitter/makefile.unx $(DISTDIR)/samples/splitter
641d87d8 1129 cp $(SAMPDIR)/splitter/*.cpp $(DISTDIR)/samples/splitter
1e8d2f69 1130
2286341c
VZ
1131 mkdir $(DISTDIR)/samples/statbar
1132 cp $(SAMPDIR)/statbar/Makefile.in $(DISTDIR)/samples/statbar
e893cd66 1133 cp $(SAMPDIR)/statbar/makefile.unx $(DISTDIR)/samples/statbar
2286341c
VZ
1134 cp $(SAMPDIR)/statbar/*.cpp $(DISTDIR)/samples/statbar
1135 cp $(SAMPDIR)/statbar/*.xpm $(DISTDIR)/samples/statbar
1136
641d87d8
RR
1137 mkdir $(DISTDIR)/samples/text
1138 cp $(SAMPDIR)/text/Makefile.in $(DISTDIR)/samples/text
1e8d2f69 1139 cp $(SAMPDIR)/text/makefile.unx $(DISTDIR)/samples/text
641d87d8
RR
1140 cp $(SAMPDIR)/text/*.cpp $(DISTDIR)/samples/text
1141 cp $(SAMPDIR)/text/*.xpm $(DISTDIR)/samples/text
1e8d2f69 1142
641d87d8
RR
1143 mkdir $(DISTDIR)/samples/thread
1144 cp $(SAMPDIR)/thread/Makefile.in $(DISTDIR)/samples/thread
1e8d2f69 1145 cp $(SAMPDIR)/thread/makefile.unx $(DISTDIR)/samples/thread
641d87d8 1146 cp $(SAMPDIR)/thread/*.cpp $(DISTDIR)/samples/thread
1e8d2f69 1147
641d87d8
RR
1148 mkdir $(DISTDIR)/samples/toolbar
1149 cp $(SAMPDIR)/toolbar/Makefile.in $(DISTDIR)/samples/toolbar
e893cd66 1150 cp $(SAMPDIR)/toolbar/makefile.unx $(DISTDIR)/samples/toolbar
641d87d8 1151 cp $(SAMPDIR)/toolbar/*.cpp $(DISTDIR)/samples/toolbar
641d87d8 1152 cp $(SAMPDIR)/toolbar/*.xpm $(DISTDIR)/samples/toolbar
d8d474af
RR
1153 mkdir $(DISTDIR)/samples/toolbar/bitmaps
1154 cp $(SAMPDIR)/toolbar/bitmaps/*.xpm $(DISTDIR)/samples/toolbar/bitmaps
1e8d2f69 1155
641d87d8
RR
1156 mkdir $(DISTDIR)/samples/treectrl
1157 cp $(SAMPDIR)/treectrl/Makefile.in $(DISTDIR)/samples/treectrl
e893cd66 1158 cp $(SAMPDIR)/treectrl/makefile.unx $(DISTDIR)/samples/treectrl
641d87d8
RR
1159 cp $(SAMPDIR)/treectrl/*.cpp $(DISTDIR)/samples/treectrl
1160 cp $(SAMPDIR)/treectrl/*.h $(DISTDIR)/samples/treectrl
1161 cp $(SAMPDIR)/treectrl/*.xpm $(DISTDIR)/samples/treectrl
c661ecca
RR
1162 mkdir $(DISTDIR)/samples/treectrl/bitmaps
1163 cp $(SAMPDIR)/treectrl/bitmaps/*.bmp $(DISTDIR)/samples/treectrl/bitmaps
1164
1165 mkdir $(DISTDIR)/samples/treelay
1166 cp $(SAMPDIR)/treelay/Makefile.in $(DISTDIR)/samples/treelay
1167 cp $(SAMPDIR)/treelay/makefile.unx $(DISTDIR)/samples/treelay
1168 cp $(SAMPDIR)/treelay/*.cpp $(DISTDIR)/samples/treelay
1169 cp $(SAMPDIR)/treelay/*.h $(DISTDIR)/samples/treelay
1e8d2f69 1170
641d87d8
RR
1171 mkdir $(DISTDIR)/samples/typetest
1172 cp $(SAMPDIR)/typetest/Makefile.in $(DISTDIR)/samples/typetest
e893cd66 1173 cp $(SAMPDIR)/typetest/makefile.unx $(DISTDIR)/samples/typetest
641d87d8
RR
1174 cp $(SAMPDIR)/typetest/*.cpp $(DISTDIR)/samples/typetest
1175 cp $(SAMPDIR)/typetest/*.h $(DISTDIR)/samples/typetest
1176 cp $(SAMPDIR)/typetest/*.xpm $(DISTDIR)/samples/typetest
1e8d2f69 1177
641d87d8
RR
1178 mkdir $(DISTDIR)/samples/validate
1179 cp $(SAMPDIR)/validate/Makefile.in $(DISTDIR)/samples/validate
e893cd66 1180 cp $(SAMPDIR)/validate/makefile.unx $(DISTDIR)/samples/validate
641d87d8
RR
1181 cp $(SAMPDIR)/validate/*.cpp $(DISTDIR)/samples/validate
1182 cp $(SAMPDIR)/validate/*.h $(DISTDIR)/samples/validate
1183 cp $(SAMPDIR)/validate/*.xpm $(DISTDIR)/samples/validate
1e8d2f69 1184
641d87d8
RR
1185 mkdir $(DISTDIR)/samples/wizard
1186 cp $(SAMPDIR)/wizard/Makefile.in $(DISTDIR)/samples/wizard
e893cd66 1187 cp $(SAMPDIR)/wizard/makefile.unx $(DISTDIR)/samples/wizard
641d87d8
RR
1188 cp $(SAMPDIR)/wizard/*.cpp $(DISTDIR)/samples/wizard
1189 cp $(SAMPDIR)/wizard/*.xpm $(DISTDIR)/samples/wizard
1e8d2f69 1190
2224580a 1191UTILS_DIST: ALL_GUI_DIST
39fc1a6a
RL
1192 mkdir $(DISTDIR)/utils
1193 cp $(UTILSDIR)/Makefile.in $(DISTDIR)/utils
1194 cp $(UTILSDIR)/configure $(DISTDIR)/utils
1195 cp $(UTILSDIR)/configure.in $(DISTDIR)/utils
1196
1197 mkdir $(DISTDIR)/utils/tex2rtf
1198 mkdir $(DISTDIR)/utils/tex2rtf/src
1199 cp $(UTILSDIR)/tex2rtf/*.in $(DISTDIR)/utils/tex2rtf
1200 cp $(UTILSDIR)/tex2rtf/src/*.h $(DISTDIR)/utils/tex2rtf/src
1201 cp $(UTILSDIR)/tex2rtf/src/*.in $(DISTDIR)/utils/tex2rtf/src
1202 cp $(UTILSDIR)/tex2rtf/src/*.cpp $(DISTDIR)/utils/tex2rtf/src
1203 cp $(UTILSDIR)/tex2rtf/src/tex2rtf.* $(DISTDIR)/utils/tex2rtf/src
1204
1205 mkdir $(DISTDIR)/utils/makegen
1206 mkdir $(DISTDIR)/utils/makegen/templates
1207 cp $(UTILSDIR)/makegen/Makefile.in $(DISTDIR)/utils/makegen
1208 cp $(UTILSDIR)/makegen/*.cpp $(DISTDIR)/utils/makegen
1209 cp $(UTILSDIR)/makegen/templates/*.* $(DISTDIR)/utils/makegen/templates
bdad4e7e 1210
5d9fe089
RR
1211 mkdir $(DISTDIR)/utils/hhp2cached
1212 cp $(UTILSDIR)/hhp2cached/*.* $(DISTDIR)/utils/hhp2cached
1213
1214 mkdir $(DISTDIR)/utils/HelpGen
1215 mkdir $(DISTDIR)/utils/HelpGen/src
1216 cp $(UTILSDIR)/HelpGen/Makefile.in $(DISTDIR)/utils/HelpGen
1217 cp $(UTILSDIR)/HelpGen/src/*.* $(DISTDIR)/utils/HelpGen/src
1218
1219 cp -R $(UTILSDIR)/dialoged $(DISTDIR)/utils/dialoged
1220
2224580a 1221MISC_DIST: ALL_GUI_DIST
a6f3598d
RR
1222 mkdir $(DISTDIR)/misc
1223 mkdir $(DISTDIR)/misc/afm
1224 cp $(MISCDIR)/afm/*.afm $(DISTDIR)/misc/afm
1225 mkdir $(DISTDIR)/misc/gs_afm
1226 cp $(MISCDIR)/gs_afm/*.afm $(DISTDIR)/misc/gs_afm
2224580a 1227
f6bcfd97
BP
1228INTL_DIST:
1229 mkdir $(DISTDIR)/locale
1230 cp $(INTLDIR)/Makefile $(DISTDIR)/locale
1231 cp $(INTLDIR)/*.po $(DISTDIR)/locale
1232 -cp $(INTLDIR)/*.mo $(DISTDIR)/locale
1233
e4c4c1c6
RL
1234MANUAL_DIST:
1235 mkdir $(DISTDIR)/docs
1236 mkdir $(DISTDIR)/docs/latex
1237 mkdir $(DISTDIR)/docs/latex/wx
1238 cp $(DOCDIR)/latex/wx/*.tex $(DISTDIR)/docs/latex/wx
1239 cp $(DOCDIR)/latex/wx/*.gif $(DISTDIR)/docs/latex/wx
1240 cp $(DOCDIR)/latex/wx/*.ini $(DISTDIR)/docs/latex/wx
1241 cp $(DOCDIR)/latex/wx/*.bib $(DISTDIR)/docs/latex/wx
1242 cp $(DOCDIR)/latex/wx/*.sty $(DISTDIR)/docs/latex/wx
1243
9b0326f7
RL
1244# this target does not generate a complete wxPython dist, it only includes
1245# those files needed for the Debian source package.
1246# see utils/wxPython/distrib for scripts to make a proper wxPython dist.
1247PYTHON_DIST:
f6bcfd97
BP
1248 mkdir $(DISTDIR)/wxPython
1249 mkdir $(DISTDIR)/wxPython/contrib
1250 mkdir $(DISTDIR)/wxPython/contrib/glcanvas
1251 mkdir $(DISTDIR)/wxPython/contrib/glcanvas/gtk
1252 mkdir $(DISTDIR)/wxPython/contrib/ogl
1253 mkdir $(DISTDIR)/wxPython/contrib/stc
1254 mkdir $(DISTDIR)/wxPython/demo
1255 mkdir $(DISTDIR)/wxPython/demo/bitmaps
1256 mkdir $(DISTDIR)/wxPython/demo/data
f6bcfd97
BP
1257 mkdir $(DISTDIR)/wxPython/src
1258 mkdir $(DISTDIR)/wxPython/src/gtk
1259 mkdir $(DISTDIR)/wxPython/wxPython
1260 mkdir $(DISTDIR)/wxPython/wxPython/lib
1261 mkdir $(DISTDIR)/wxPython/wxPython/lib/editor
1262 mkdir $(DISTDIR)/wxPython/wxPython/lib/sizers
1263
1264 cp $(WXDIR)/wxPython/*.txt $(DISTDIR)/wxPython
050207ec
RL
1265 cp $(WXDIR)/wxPython/*.py $(DISTDIR)/wxPython
1266 cp $(WXDIR)/wxPython/setup.cfg $(DISTDIR)/wxPython
1267 cp $(WXDIR)/wxPython/MANIFEST.in $(DISTDIR)/wxPython
f6bcfd97
BP
1268 -cp $(WXDIR)/wxPython/contrib/glcanvas/* $(DISTDIR)/wxPython/contrib/glcanvas
1269 cp $(WXDIR)/wxPython/contrib/glcanvas/gtk/glcanvas.* $(DISTDIR)/wxPython/contrib/glcanvas/gtk
1270 -cp $(WXDIR)/wxPython/contrib/ogl/* $(DISTDIR)/wxPython/contrib/ogl
1271 -cp $(WXDIR)/wxPython/contrib/stc/* $(DISTDIR)/wxPython/contrib/stc
1272 -cp $(WXDIR)/wxPython/demo/* $(DISTDIR)/wxPython/demo
1273 -cp $(WXDIR)/wxPython/demo/bitmaps/* $(DISTDIR)/wxPython/demo/bitmaps
1274 -cp $(WXDIR)/wxPython/demo/data/* $(DISTDIR)/wxPython/demo/data
f6bcfd97
BP
1275 -cp $(WXDIR)/wxPython/src/* $(DISTDIR)/wxPython/src
1276 cp $(WXDIR)/wxPython/src/gtk/*.py $(DISTDIR)/wxPython/src/gtk
1277 cp $(WXDIR)/wxPython/src/gtk/*.cpp $(DISTDIR)/wxPython/src/gtk
1278 cp $(WXDIR)/wxPython/wxPython/lib/*.py $(DISTDIR)/wxPython/wxPython/lib
1279 cp $(WXDIR)/wxPython/wxPython/lib/editor/*.py $(DISTDIR)/wxPython/wxPython/lib/editor
9b0326f7 1280
2224580a 1281distclean:
8b17ba72 1282 $(RM) -r _dist_dir
a4aad961 1283
2224580a 1284dist: @GUIDIST@
f6bcfd97 1285 cp $(WXDIR)/src/files.lst $(DISTDIR)/src/
2224580a 1286 @echo "*** Creating wxWindows distribution in $(DISTDIR)..."
31fe72b6
VZ
1287 @cd _dist_dir; \
1288 mv @DISTDIR@ @DISTDIR@-$(VER_SUFFIX); \
1289 tar ch @DISTDIR@-$(VER_SUFFIX) | gzip -f9 > ../$(WXARCHIVE); \
1290 mv @DISTDIR@-$(VER_SUFFIX) @DISTDIR@
2224580a
VZ
1291 @if test "$(USE_GUI)" = 1; then \
1292 cd $(DISTDIR); \
31fe72b6
VZ
1293 mv samples wxSamples-$(VER_SUFFIX); \
1294 tar ch wxSamples-$(VER_SUFFIX) | gzip -f9 > ../../$(WXSAMPLES); \
1295 mv wxSamples-$(VER_SUFFIX) samples; \
1296 mv demos wxDemos-$(VER_SUFFIX); \
1297 tar ch wxDemos-$(VER_SUFFIX) | gzip -f9 > ../../$(WXDEMOS); \
1298 mv wxDemos-$(VER_SUFFIX) demos; \
2224580a
VZ
1299 fi
1300
f6bcfd97
BP
1301bzip-dist: @GUIDIST@
1302 cp $(WXDIR)/src/files.lst $(DISTDIR)/src/
1303 @echo "*** Creating wxWindows distribution in $(DISTDIR)..."
1304 cd _dist_dir; tar ch @DISTDIR@ | bzip2 -f9 > $(WXARCHIVE_BZIP); mv $(WXARCHIVE_BZIP) ..
1305 @if test "$(USE_GUI)" = 1; then \
1306 cd $(DISTDIR); \
1307 mv samples wxSamples; \
1308 tar ch wxSamples | bzip2 -f9 > ../../$(WXSAMPLES_BZIP); \
1309 mv wxSamples samples; \
1310 mv demos wxDemos; \
1311 tar ch wxDemos | bzip2 -f9 > ../../$(WXDEMOS_BZIP); \
1312 mv wxDemos demos; \
1313 fi
1314
9b0326f7 1315debian-dist: @GUIDIST@ MANUAL_DIST PYTHON_DIST
e4c4c1c6 1316 mkdir $(DISTDIR)/debian
676b8fb6 1317 -cp $(WXDIR)/debian/* $(DISTDIR)/debian
6be0044c 1318 cp $(WXDIR)/src/files.lst $(DISTDIR)/src/
e4c4c1c6
RL
1319 cp $(DOCDIR)/licence.txt $(DISTDIR)/docs
1320 cp $(DOCDIR)/licendoc.txt $(DISTDIR)/docs
1321 cp $(DOCDIR)/preamble.txt $(DISTDIR)/docs
6be0044c 1322 rm -f $(DISTDIR)/*.spec
9b0326f7
RL
1323 rm -rf $(WXDIR)/../wxwindows$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER)-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER)
1324 mv $(DISTDIR) $(WXDIR)/../wxwindows$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER)-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER)
e4c4c1c6 1325
ad9edf45 1326clean:
8b17ba72 1327 $(RM) *.o
5586805b 1328 $(RM) *.d
8b17ba72
RR
1329 $(RM) parser.c
1330 $(RM) lexer.c
5a7faf1e 1331 $(RM) -r ./lib/wx/*
91c9bd3d 1332 $(RM) ./lib/lib*
ad9edf45
RR
1333
1334cleanall: clean