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