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