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