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