]> git.saurik.com Git - wxWidgets.git/blob - Makefile.in
latest wxWindow updates
[wxWidgets.git] / Makefile.in
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
14 include ./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 :
22 $(CCC) -c @DEP_INFO_FLAGS@ $(CFLAGS) $(PICFLAGS) -o $@ $<
23
24 .cpp.o :
25 $(CC) -c @DEP_INFO_FLAGS@ $(CPPFLAGS) $(PICFLAGS) -o $@ $<
26
27 .cxx.o :
28 $(CC) -c @DEP_INFO_FLAGS@ $(CPPFLAGS) $(PICFLAGS) -o $@ $<
29
30 ########################### Paths #################################
31
32 srcdir = @srcdir@
33
34 VP1 = @top_srcdir@/src/common
35 VP2 = @top_srcdir@/src/@TOOLKIT_DIR@
36 VP3 = @top_srcdir@/src/motif/xmcombo
37 VP4 = @top_srcdir@/src/generic
38 VP5 = @top_srcdir@/src/unix
39 VP6 = @top_srcdir@/src/html
40 VP7 = @top_srcdir@/src/png
41 VP8 = @top_srcdir@/src/jpeg
42 VP9 = @top_srcdir@/src/tiff
43 VP10 = @top_srcdir@/src/zlib
44 VP11 = @top_srcdir@/src/iodbc
45
46 # the comment at the end of the next line is needed because otherwise autoconf
47 # would remove this line completely - it contains a built-in hack to remove
48 # any VPATH assignment not containing ':'
49 VPATH = $(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) # ':' for autoconf
50
51 top_srcdir = @top_srcdir@
52 prefix = @prefix@
53 exec_prefix = @exec_prefix@
54
55 bindir = @bindir@
56 sbindir = @sbindir@
57 libexecdir = @libexecdir@
58 datadir = @datadir@
59 sysconfdir = @sysconfdir@
60 sharedstatedir = @sharedstatedir@
61 localstatedir = @localstatedir@
62 libdir = @libdir@
63 infodir = @infodir@
64 mandir = @mandir@
65 includedir = @includedir@
66 oldincludedir = /usr/include
67
68 DESTDIR =
69
70 pkgdatadir = $(datadir)/@PACKAGE@
71 pkglibdir = $(libdir)/@PACKAGE@
72 pkgincludedir = $(includedir)/@PACKAGE@
73
74 top_builddir = .
75
76 INSTALL = @INSTALL@
77 INSTALL_PROGRAM = @INSTALL_PROGRAM@
78 INSTALL_DATA = @INSTALL_DATA@
79 # my autoconf doesn't set this
80 #INSTALL_SCRIPT = @INSTALL_SCRIPT@
81 # maybe do an additional chmod if needed?
82 INSTALL_SCRIPT = @INSTALL@
83 transform = @program_transform_name@
84
85 NORMAL_INSTALL = :
86 PRE_INSTALL = :
87 POST_INSTALL = :
88 NORMAL_UNINSTALL = :
89 PRE_UNINSTALL = :
90 POST_UNINSTALL = :
91 build_alias = @build_alias@
92 build_triplet = @build@
93 host_alias = @host_alias@
94 host_triplet = @host@
95 target_alias = @target_alias@
96 target_triplet = @target@
97
98 USE_GUI=@USE_GUI@
99
100 ############################# Dirs #################################
101
102 WXDIR = $(top_srcdir)
103
104 # Subordinate library possibilities
105
106 SRCDIR = $(WXDIR)/src
107 GENDIR = $(WXDIR)/src/generic
108 COMMDIR = $(WXDIR)/src/common
109 HTMLDIR = $(WXDIR)/src/html
110 UNIXDIR = $(WXDIR)/src/unix
111 PNGDIR = $(WXDIR)/src/png
112 JPEGDIR = $(WXDIR)/src/jpeg
113 TIFFDIR = $(WXDIR)/src/tiff
114 ZLIBDIR = $(WXDIR)/src/zlib
115 GTKDIR = $(WXDIR)/src/gtk
116 MOTIFDIR = $(WXDIR)/src/motif
117 MSWDIR = $(WXDIR)/src/msw
118 PMDIR = $(WXDIR)/src/os2
119 ODBCDIR = $(WXDIR)/src/iodbc
120 INCDIR = $(WXDIR)/include
121 SAMPDIR = $(WXDIR)/samples
122 DEMODIR = $(WXDIR)/demos
123 UTILSDIR = $(WXDIR)/utils
124 MISCDIR = $(WXDIR)/misc
125
126 DOCDIR = $(WXDIR)/docs
127
128 ########################## Archive name ###############################
129
130 WXARCHIVE = @DISTDIR@-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER).tgz
131 WXSAMPLES = wx$(TOOLKIT)-samples-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER).tgz
132 WXDEMOS = wx$(TOOLKIT)-demos-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER).tgz
133 DISTDIR = ./_dist_dir/@DISTDIR@
134
135 ############################## Files ##################################
136
137 # this line will include a file which defines ALL_SOURCES, ALL_OBJECTS,
138 # ALL_DEPFILES and ALL_HEADERS variables with the complete list of .cpp, .o,
139 # .d and .h/.inl files for the current toolkit
140 include $(top_srcdir)/@PORT_FILES@
141
142 SOURCES = $(ALL_SOURCES)
143 HEADERS = $(ALL_HEADERS)
144
145 # for the objects and depfiles, we might be bulding only part of them
146 # depending on configure arguments, so select a subset of ALL
147 OBJECTS = @ALL_OBJECTS@
148 DEPFILES = @ALL_DEPFILES@
149
150 # the object files of sublibraries (we assume that they don't change [often],
151 # so we don't generate these lists with tmake but embed them here)
152 ZLIBOBJS = \
153 adler32.o \
154 compress.o \
155 crc32.o \
156 gzio.o \
157 uncompr.o \
158 deflate.o \
159 trees.o \
160 zutil.o \
161 inflate.o \
162 infblock.o \
163 inftrees.o \
164 infcodes.o \
165 infutil.o \
166 inffast.o
167
168 PNGOBJS = \
169 png.o \
170 pngread.o \
171 pngrtran.o \
172 pngrutil.o \
173 pngpread.o \
174 pngtrans.o \
175 pngwrite.o \
176 pngwtran.o \
177 pngwutil.o \
178 pngerror.o \
179 pngmem.o \
180 pngwio.o \
181 pngrio.o \
182 pngget.o \
183 pngset.o
184
185
186 JPEGOBJS = \
187 jcomapi.o \
188 jutils.o \
189 jerror.o \
190 jmemmgr.o \
191 jmemnobs.o \
192 jcapimin.o \
193 jcapistd.o \
194 jctrans.o \
195 jcparam.o \
196 jdatadst.o \
197 jcinit.o \
198 jcmaster.o \
199 jcmarker.o \
200 jcmainct.o \
201 jcprepct.o \
202 jccoefct.o \
203 jccolor.o \
204 jcsample.o \
205 jchuff.o \
206 jcphuff.o \
207 jcdctmgr.o \
208 jfdctfst.o \
209 jfdctflt.o \
210 jfdctint.o \
211 jdapimin.o \
212 jdapistd.o \
213 jdtrans.o \
214 jdatasrc.o \
215 jdmaster.o \
216 jdinput.o \
217 jdmarker.o \
218 jdhuff.o \
219 jdphuff.o \
220 jdmainct.o \
221 jdcoefct.o \
222 jdpostct.o \
223 jddctmgr.o \
224 jidctfst.o \
225 jidctflt.o \
226 jidctint.o \
227 jidctred.o \
228 jdsample.o \
229 jdcolor.o \
230 jquant1.o \
231 jquant2.o \
232 jdmerge.o
233
234 TIFFOBJS = \
235 tif_aux.o \
236 tif_close.o \
237 tif_codec.o \
238 tif_compress.o \
239 tif_dir.o \
240 tif_dirinfo.o \
241 tif_dirread.o \
242 tif_dirwrite.o \
243 tif_dumpmode.o \
244 tif_error.o \
245 tif_fax3.o \
246 tif_fax3sm.o \
247 tif_getimage.o \
248 tif_jpeg.o \
249 tif_flush.o \
250 tif_lzw.o \
251 tif_luv.o \
252 tif_next.o \
253 tif_open.o \
254 tif_packbits.o \
255 tif_pixarlog.o \
256 tif_predict.o \
257 tif_print.o \
258 tif_read.o \
259 tif_swab.o \
260 tif_strip.o \
261 tif_thunder.o \
262 tif_tile.o \
263 tif_unix.o \
264 tif_version.o \
265 tif_warning.o \
266 tif_write.o \
267 tif_zip.o
268
269 IODBCOBJS = \
270 catalog.o \
271 connect.o \
272 dlf.o \
273 dlproc.o \
274 execute.o \
275 fetch.o \
276 hdbc.o \
277 henv.o \
278 herr.o \
279 hstmt.o \
280 info.o \
281 itrace.o \
282 misc.o \
283 prepare.o \
284 result.o
285
286 ############################## Rules ##################################
287
288 BURNT_LIBRARY_NAME = @BURNT_LIBRARY_NAME@
289
290 all: @WX_ALL@
291
292 @WX_LIBRARY_NAME_STATIC@: $(OBJECTS)
293 @$(INSTALL) -d ./lib
294 $(AR) $(AROPTIONS) ./lib/$@ $(OBJECTS)
295 $(RANLIB) ./lib/$@
296
297 @WX_LIBRARY_NAME_SHARED@: $(OBJECTS)
298 @$(INSTALL) -d ./lib
299 $(SHARED_LD) $(LDFLAGS) ./lib/$@ $(BURNT_LIBRARY_NAME) $(OBJECTS) $(EXTRALIBS)
300
301 CREATE_LINKS: @WX_LIBRARY_NAME_SHARED@
302 @$(RM) ./lib/@WX_LIBRARY_LINK1@
303 @$(RM) ./lib/@WX_LIBRARY_LINK2@
304 @$(RM) ./lib/@WX_LIBRARY_LINK3@
305 cd lib \
306 && $(LN_S) @WX_TARGET_LIBRARY@ @WX_LIBRARY_LINK1@ \
307 && $(LN_S) @WX_TARGET_LIBRARY@ @WX_LIBRARY_LINK2@ \
308 && $(LN_S) @WX_TARGET_LIBRARY@ @WX_LIBRARY_LINK3@
309
310 CREATE_INSTALLED_LINKS: preinstall
311 $(RM) $(libdir)/@WX_LIBRARY_LINK1@
312 $(RM) $(libdir)/@WX_LIBRARY_LINK2@
313 $(RM) $(libdir)/@WX_LIBRARY_LINK3@
314 cd $(libdir) \
315 && $(LN_S) @WX_LIBRARY_NAME_SHARED@ @WX_LIBRARY_LINK1@ \
316 && $(LN_S) @WX_LIBRARY_NAME_SHARED@ @WX_LIBRARY_LINK2@ \
317 && $(LN_S) @WX_LIBRARY_NAME_SHARED@ @WX_LIBRARY_LINK3@
318
319 $(OBJECTS): $(WXDIR)/include/wx/defs.h $(WXDIR)/include/wx/object.h
320
321 parser.o: parser.c lexer.c
322 $(CCLEX) -c $(CFLAGS) $(PICFLAGS) -o $@ parser.c
323
324 parser.c: $(COMMDIR)/parser.y lexer.c
325 $(YACC) $(COMMDIR)/parser.y
326 @sed -e "s;$(COMMDIR)/y.tab.c;parser.y;g" < y.tab.c | \
327 sed -e "s/BUFSIZ/5000/g" | \
328 sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \
329 sed -e "s/yy/PROIO_yy/g" | \
330 sed -e "s/input/PROIO_input/g" | \
331 sed -e "s/unput/PROIO_unput/g" > parser.c
332 @$(RM) y.tab.c
333
334 lexer.c: $(COMMDIR)/lexer.l
335 $(LEX) $(COMMDIR)/lexer.l
336 @sed -e "s;$(COMMDIR)/@LEX_STEM@.c;lexer.l;g" < @LEX_STEM@.c | \
337 sed -e "s/yy/PROIO_yy/g" | \
338 sed -e "s/input/PROIO_input/g" | \
339 sed -e "s/unput/PROIO_unput/g" > lexer.c
340 @$(RM) @LEX_STEM@.c
341
342 -include $(DEPFILES)
343
344 afminstall: preinstall
345 $(INSTALL) -d $(datadir)
346 $(INSTALL) -d $(datadir)/wx
347 $(INSTALL) -d $(datadir)/wx/afm
348 $(INSTALL) -d $(datadir)/wx/gs_afm
349 $(INSTALL_DATA) $(top_srcdir)/misc/afm/*.afm $(datadir)/wx/afm
350 $(INSTALL_DATA) $(top_srcdir)/misc/gs_afm/*.afm $(datadir)/wx/gs_afm
351
352 # this is the real install target: copies the library, wx-config and the
353 # headers to the installation directory
354 preinstall: $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(top_builddir)/wx@TOOLKIT_DIR@-config
355 @echo " "
356 @echo " Installing wxWindows..."
357 @echo " "
358
359 $(INSTALL) -d $(prefix)
360 $(INSTALL) -d $(bindir)
361 $(INSTALL) -d $(libdir)
362
363 $(INSTALL_SCRIPT) $(top_builddir)/wx@TOOLKIT_DIR@-config $(bindir)/wx@TOOLKIT_DIR@-config
364 cd $(bindir) && rm -f wx-config && $(LN_S) wx@TOOLKIT_DIR@-config wx-config
365 $(INSTALL_PROGRAM) $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(libdir)/@WX_TARGET_LIBRARY@
366
367 $(INSTALL) -d $(libdir)/wx
368 $(INSTALL) -d $(libdir)/wx/include
369 $(INSTALL) -d $(libdir)/wx/include/wx
370 $(INSTALL) -d $(libdir)/wx/include/wx/@TOOLKIT_DIR@
371 $(INSTALL_DATA) $(top_builddir)/include/wx/@TOOLKIT_DIR@/setup.h $(libdir)/wx/include/wx/@TOOLKIT_DIR@/setup.h
372
373 $(INSTALL) -d $(includedir)/wx
374 @if test "$(USE_GUI)" = 1; then $(INSTALL) -d $(includedir)/wx/@TOOLKIT_DIR@; fi
375 @if test "$(USE_GUI)" = 1; then $(INSTALL) -d $(includedir)/wx/html; fi
376 @if test "$(USE_GUI)" = 1; then $(INSTALL) -d $(includedir)/wx/generic; fi
377 $(INSTALL) -d $(includedir)/wx/protocol
378 $(INSTALL) -d $(includedir)/wx/unix
379 @list='$(HEADERS)'; for p in $$list; do \
380 $(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p; \
381 echo "$(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p"; \
382 done
383
384 install: @AFMINSTALL@ @WX_ALL_INSTALLED@
385 @echo " "
386 @echo " The installation of wxWindows is finished. On certain"
387 @echo " platforms (e.g. Linux) you'll now have to run ldconfig"
388 @echo " if you installed a shared library and also modify"
389 @echo " LD_LIBRARY_PATH (or equivalent) environment variable."
390 @echo " "
391 @echo " wxWindows comes with no guarantees and doesn't claim"
392 @echo " to be suitable for any purpose."
393 @echo " "
394 @echo " Read the wxWindows Licence on licencing conditions."
395 @echo " "
396
397 uninstall:
398 @echo " "
399 @echo " Uninstalling wxWindows..."
400 @echo " "
401 @echo " Removing library..."
402 @$(RM) $(libdir)/@WX_TARGET_LIBRARY@
403 @$(RM) $(libdir)/@WX_LIBRARY_LINK1@
404 @$(RM) $(libdir)/@WX_LIBRARY_LINK2@
405 @$(RM) $(libdir)/@WX_LIBRARY_LINK3@
406 @echo " Removing helper files..."
407 @$(RM) $(libdir)/wx/include/wx/@TOOLKIT_DIR@/setup.h
408 @$(RM) $(bindir)/wx-config
409 @$(RM) $(bindir)/wx@TOOLKIT_DIR@-config
410 @$(RM) $(datadir)/wx/afm/*
411 @$(RM) $(datadir)/wx/gs_afm/*
412 # FIXME: wxBase doesnt install these next 3 dirs.
413 @-rmdir $(datadir)/wx/gs_afm
414 @-rmdir $(datadir)/wx/afm
415 @-rmdir $(datadir)/wx
416 @echo " Removing headers..."
417 @list='$(HEADERS)'; for p in $$list; do \
418 $(RM) $(includedir)/wx/$$p; \
419 done
420 @echo " Removing directories..."
421 @if test -d $(libdir)/wx/include/wx/@TOOLKIT_DIR@; then rmdir $(libdir)/wx/include/wx/@TOOLKIT_DIR@; fi
422 @if test -d $(libdir)/wx/include/wx; then rmdir $(libdir)/wx/include/wx; fi
423 @if test -d $(libdir)/wx/include; then rmdir $(libdir)/wx/include; fi
424 @if test -d $(libdir)/wx; then rmdir $(libdir)/wx; fi
425 @if test -d $(includedir)/wx/gtk; then rmdir $(includedir)/wx/gtk; fi
426 @if test -d $(includedir)/wx/motif; then rmdir $(includedir)/wx/motif; fi
427 @if test -d $(includedir)/wx/msw; then rmdir $(includedir)/wx/msw; fi
428 @if test -d $(includedir)/wx/html; then rmdir $(includedir)/wx/html; fi
429 @if test -d $(includedir)/wx/unix; then rmdir $(includedir)/wx/unix; fi
430 @if test -d $(includedir)/wx/generic; then rmdir $(includedir)/wx/generic; fi
431 @if test -d $(includedir)/wx/protocol; then rmdir $(includedir)/wx/protocol; fi
432 @if test -d $(includedir)/wx; then rmdir $(includedir)/wx; fi
433
434 # this target should copy only the files common to really all ports (including
435 # wxBase) to the dist dir
436 ALL_DIST: distclean
437 mkdir _dist_dir
438 mkdir $(DISTDIR)
439 cp $(WXDIR)/configure.in $(DISTDIR)
440 cp $(WXDIR)/configure $(DISTDIR)
441 cp $(WXDIR)/config.sub $(DISTDIR)
442 cp $(WXDIR)/config.guess $(DISTDIR)
443 cp $(WXDIR)/install-sh $(DISTDIR)
444 cp $(WXDIR)/mkinstalldirs $(DISTDIR)
445 cp $(WXDIR)/wx-config.in $(DISTDIR)
446 cp $(WXDIR)/setup.h.in $(DISTDIR)
447 cp $(WXDIR)/Makefile.in $(DISTDIR)
448 cp $(DOCDIR)/lgpl.txt $(DISTDIR)/COPYING.LIB
449 cp $(DOCDIR)/licence.txt $(DISTDIR)/LICENCE.txt
450 cp $(DOCDIR)/symbols.txt $(DISTDIR)/SYMBOLS.txt
451
452 # this target is the common part of distribution script for all GUI toolkits,
453 # but is not used when building wxBase distribution
454 ALL_GUI_DIST: ALL_DIST
455 cp $(WXDIR)/wx$(TOOLKIT).spec $(DISTDIR)
456 cp $(DOCDIR)/$(TOOLKITDIR)/install.txt $(DISTDIR)/INSTALL.txt
457 cp $(DOCDIR)/$(TOOLKITDIR)/changes.txt $(DISTDIR)/CHANGES.txt
458 cp $(DOCDIR)/$(TOOLKITDIR)/readme.txt $(DISTDIR)/README.txt
459 cp $(DOCDIR)/$(TOOLKITDIR)/todo.txt $(DISTDIR)/TODO.txt
460 mkdir $(DISTDIR)/include
461 mkdir $(DISTDIR)/include/wx
462 mkdir $(DISTDIR)/include/wx/$(TOOLKITDIR)
463 mkdir $(DISTDIR)/include/wx/generic
464 mkdir $(DISTDIR)/include/wx/html
465 mkdir $(DISTDIR)/include/wx/protocol
466 mkdir $(DISTDIR)/include/wx/unix
467 cp $(INCDIR)/wx/*.h $(DISTDIR)/include/wx
468 cp $(INCDIR)/wx/*.inl $(DISTDIR)/include/wx
469 cp $(INCDIR)/wx/*.cpp $(DISTDIR)/include/wx
470 cp $(INCDIR)/wx/generic/*.h $(DISTDIR)/include/wx/generic
471 cp $(INCDIR)/wx/generic/*.xpm $(DISTDIR)/include/wx/generic
472 cp $(INCDIR)/wx/html/*.h $(DISTDIR)/include/wx/html
473 cp $(INCDIR)/wx/unix/*.h $(DISTDIR)/include/wx/unix
474 cp $(INCDIR)/wx/protocol/*.h $(DISTDIR)/include/wx/protocol
475 mkdir $(DISTDIR)/src
476 mkdir $(DISTDIR)/src/common
477 mkdir $(DISTDIR)/src/generic
478 mkdir $(DISTDIR)/src/html
479 mkdir $(DISTDIR)/src/html/bitmaps
480 mkdir $(DISTDIR)/src/$(TOOLKITDIR)
481 mkdir $(DISTDIR)/src/png
482 mkdir $(DISTDIR)/src/jpeg
483 mkdir $(DISTDIR)/src/tiff
484 mkdir $(DISTDIR)/src/zlib
485 mkdir $(DISTDIR)/src/iodbc
486 mkdir $(DISTDIR)/src/unix
487 cp $(WXDIR)/@PORT_FILES@ $(DISTDIR)/@PORT_FILES@
488 cp $(SRCDIR)/*.in $(DISTDIR)/src
489 cp $(COMMDIR)/*.cpp $(DISTDIR)/src/common
490 cp $(COMMDIR)/*.c $(DISTDIR)/src/common
491 cp $(UNIXDIR)/*.c $(DISTDIR)/src/unix
492 cp $(UNIXDIR)/*.cpp $(DISTDIR)/src/unix
493 cp $(COMMDIR)/*.inc $(DISTDIR)/src/common
494 cp $(COMMDIR)/*.l $(DISTDIR)/src/common
495 cp $(COMMDIR)/*.h $(DISTDIR)/src/common
496 cp $(COMMDIR)/*.y $(DISTDIR)/src/common
497 cp $(GENDIR)/*.cpp $(DISTDIR)/src/generic
498 cp $(HTMLDIR)/*.cpp $(DISTDIR)/src/html
499 cp $(HTMLDIR)/bitmaps/*.xpm $(DISTDIR)/src/html/bitmaps
500 cp $(PNGDIR)/*.h $(DISTDIR)/src/png
501 cp $(PNGDIR)/*.c $(DISTDIR)/src/png
502 cp $(PNGDIR)/README $(DISTDIR)/src/png
503 cp $(ZLIBDIR)/*.h $(DISTDIR)/src/zlib
504 cp $(ZLIBDIR)/*.c $(DISTDIR)/src/zlib
505 cp $(ZLIBDIR)/README $(DISTDIR)/src/zlib
506 cp $(JPEGDIR)/*.h $(DISTDIR)/src/jpeg
507 cp $(JPEGDIR)/*.c $(DISTDIR)/src/jpeg
508 cp $(JPEGDIR)/README $(DISTDIR)/src/jpeg
509 cp $(TIFFDIR)/*.h $(DISTDIR)/src/tiff
510 cp $(TIFFDIR)/*.c $(DISTDIR)/src/tiff
511 cp $(TIFFDIR)/README $(DISTDIR)/src/tiff
512 cp $(ODBCDIR)/*.h $(DISTDIR)/src/iodbc
513 cp $(ODBCDIR)/*.c $(DISTDIR)/src/iodbc
514 cp $(ODBCDIR)/*.ci $(DISTDIR)/src/iodbc
515 cp $(ODBCDIR)/*.exp $(DISTDIR)/src/iodbc
516 cp $(ODBCDIR)/README $(DISTDIR)/src/iodbc
517 cp $(ODBCDIR)/NEWS $(DISTDIR)/src/iodbc
518 cp $(ODBCDIR)/Changes.log $(DISTDIR)/src/iodbc
519
520 BASE_DIST: ALL_DIST
521 mkdir $(DISTDIR)/include
522 mkdir $(DISTDIR)/include/wx
523 mkdir $(DISTDIR)/include/wx/protocol
524 mkdir $(DISTDIR)/include/wx/unix
525 mkdir $(DISTDIR)/src
526 mkdir $(DISTDIR)/src/common
527 mkdir $(DISTDIR)/src/unix
528 cp $(WXDIR)/@PORT_FILES@ $(DISTDIR)/@PORT_FILES@
529 cp $(WXDIR)/@RPM_FILES@ $(DISTDIR)/@RPM_FILES@
530 cp $(WXDIR)/@RPM_SPEC@ $(DISTDIR)/@RPM_SPEC@
531 cp $(WXDIR)/wxBase.dsp $(DISTDIR)
532 cp $(DOCDIR)/install.txt $(DISTDIR)/INSTALL.txt
533 cp $(DOCDIR)/changes.txt $(DISTDIR)/CHANGES.txt
534 cp $(DOCDIR)/readme.txt $(DISTDIR)/README.txt
535 cp $(DOCDIR)/todo.txt $(DISTDIR)/TODO.txt
536 cp $(SRCDIR)/*.in $(DISTDIR)/src
537 list='$(HEADERS)'; for p in $$list; do \
538 cp $(WXDIR)/include/wx/$$p $(DISTDIR)/include/wx/$$p; \
539 done
540 list='$(SOURCES)'; for p in $$list; do \
541 cp $(WXDIR)/src/$$p $(DISTDIR)/src/$$p; \
542 done
543
544 GTK_DIST: ALL_GUI_DIST
545 cp $(WXDIR)/wxGTK.spec $(DISTDIR)
546 cp $(INCDIR)/wx/gtk/*.h $(DISTDIR)/include/wx/gtk
547 cp $(INCDIR)/wx/gtk/*.xpm $(DISTDIR)/include/wx/gtk
548 cp $(GTKDIR)/*.cpp $(DISTDIR)/src/gtk
549 cp $(GTKDIR)/*.c $(DISTDIR)/src/gtk
550 cp $(GTKDIR)/*.xbm $(DISTDIR)/src/gtk
551
552 MOTIF_DIST: ALL_GUI_DIST
553 cp $(WXDIR)/wxMOTIF.spec $(DISTDIR)
554 cp $(INCDIR)/wx/motif/*.h $(DISTDIR)/include/wx/motif
555 cp $(MOTIFDIR)/*.cpp $(DISTDIR)/src/motif
556 cp $(MOTIFDIR)/*.xbm $(DISTDIR)/src/motif
557 mkdir $(DISTDIR)/src/motif/xmcombo
558 cp $(MOTIFDIR)/xmcombo/*.c $(DISTDIR)/src/motif/xmcombo
559 cp $(MOTIFDIR)/xmcombo/*.h $(DISTDIR)/src/motif/xmcombo
560 cp $(MOTIFDIR)/xmcombo/copying.txt $(DISTDIR)/src/motif/xmcombo
561
562 MSW_DIST: ALL_GUI_DIST
563 cp $(WXDIR)/wxWINE.spec $(DISTDIR)
564 cp $(INCDIR)/wx/msw/*.h $(DISTDIR)/include/wx/msw
565 cp $(INCDIR)/wx/msw/*.cur $(DISTDIR)/include/wx/msw
566 cp $(INCDIR)/wx/msw/*.ico $(DISTDIR)/include/wx/msw
567 cp $(INCDIR)/wx/msw/*.bmp $(DISTDIR)/include/wx/msw
568 cp $(INCDIR)/wx/msw/*.rc $(DISTDIR)/include/wx/msw
569 cp $(MSWDIR)/*.cpp $(DISTDIR)/src/msw
570 cp $(MSWDIR)/*.c $(DISTDIR)/src/msw
571 cp $(MSWDIR)/*.def $(DISTDIR)/src/msw
572 mkdir $(DISTDIR)/src/msw/ole
573 cp $(MSWDIR)/ole/*.cpp $(DISTDIR)/src/msw/ole
574
575 DEMOS_DIST: ALL_GUI_DIST
576 mkdir $(DISTDIR)/demos
577 cp $(DEMODIR)/Makefile.in $(DISTDIR)/demos
578 cp $(DEMODIR)/configure $(DISTDIR)/demos
579 cp $(DEMODIR)/configure.in $(DISTDIR)/demos
580
581 cp -R $(DEMODIR)/dbbrowse $(DISTDIR)/demos/dbbrowse
582
583 mkdir $(DISTDIR)/demos/bombs
584 cp $(DEMODIR)/bombs/Makefile.in $(DISTDIR)/demos/bombs
585 cp $(DEMODIR)/bombs/makefile.unx $(DISTDIR)/demos/bombs
586 cp $(DEMODIR)/bombs/*.cpp $(DISTDIR)/demos/bombs
587 cp $(DEMODIR)/bombs/*.h $(DISTDIR)/demos/bombs
588 cp $(DEMODIR)/bombs/*.xpm $(DISTDIR)/demos/bombs
589 cp $(DEMODIR)/bombs/readme.txt $(DISTDIR)/demos/bombs
590
591 mkdir $(DISTDIR)/demos/forty
592 cp $(DEMODIR)/forty/Makefile.in $(DISTDIR)/demos/forty
593 cp $(DEMODIR)/forty/makefile.unx $(DISTDIR)/demos/forty
594 cp $(DEMODIR)/forty/*.h $(DISTDIR)/demos/forty
595 cp $(DEMODIR)/forty/*.cpp $(DISTDIR)/demos/forty
596 cp $(DEMODIR)/forty/*.xpm $(DISTDIR)/demos/forty
597 cp $(DEMODIR)/forty/*.xbm $(DISTDIR)/demos/forty
598
599 mkdir $(DISTDIR)/demos/life
600 mkdir $(DISTDIR)/demos/life/bitmaps
601 cp $(DEMODIR)/life/Makefile.in $(DISTDIR)/demos/life
602 cp $(DEMODIR)/life/makefile.unx $(DISTDIR)/demos/life
603 cp $(DEMODIR)/life/*.cpp $(DISTDIR)/demos/life
604 cp $(DEMODIR)/life/*.h $(DISTDIR)/demos/life
605 cp $(DEMODIR)/life/*.xpm $(DISTDIR)/demos/life
606 cp $(DEMODIR)/life/*.inc $(DISTDIR)/demos/life
607 cp $(DEMODIR)/life/bitmaps/*.xpm $(DISTDIR)/demos/life/bitmaps
608
609 mkdir $(DISTDIR)/demos/poem
610 cp $(DEMODIR)/poem/Makefile.in $(DISTDIR)/demos/poem
611 cp $(DEMODIR)/poem/makefile.unx $(DISTDIR)/demos/poem
612 cp $(DEMODIR)/poem/*.h $(DISTDIR)/demos/poem
613 cp $(DEMODIR)/poem/*.cpp $(DISTDIR)/demos/poem
614 cp $(DEMODIR)/poem/*.xpm $(DISTDIR)/demos/poem
615 cp $(DEMODIR)/poem/*.dat $(DISTDIR)/demos/poem
616 cp $(DEMODIR)/poem/*.txt $(DISTDIR)/demos/poem
617
618 mkdir $(DISTDIR)/demos/fractal
619 cp $(DEMODIR)/fractal/Makefile.in $(DISTDIR)/demos/fractal
620 cp $(DEMODIR)/fractal/makefile.unx $(DISTDIR)/demos/fractal
621 cp $(DEMODIR)/fractal/*.cpp $(DISTDIR)/demos/fractal
622
623 SAMPLES_DIST: ALL_GUI_DIST
624 mkdir $(DISTDIR)/samples
625 cp $(SAMPDIR)/Makefile.in $(DISTDIR)/samples
626 cp $(SAMPDIR)/configure $(DISTDIR)/samples
627 cp $(SAMPDIR)/configure.in $(DISTDIR)/samples
628
629 mkdir $(DISTDIR)/samples/caret
630 cp $(SAMPDIR)/caret/Makefile.in $(DISTDIR)/samples/caret
631 cp $(SAMPDIR)/caret/makefile.unx $(DISTDIR)/samples/caret
632 cp $(SAMPDIR)/caret/*.cpp $(DISTDIR)/samples/caret
633 cp $(SAMPDIR)/caret/*.xpm $(DISTDIR)/samples/caret
634
635 mkdir $(DISTDIR)/samples/calendar
636 cp $(SAMPDIR)/calendar/Makefile.in $(DISTDIR)/samples/calendar
637 cp $(SAMPDIR)/calendar/makefile.unx $(DISTDIR)/samples/calendar
638 cp $(SAMPDIR)/calendar/*.cpp $(DISTDIR)/samples/calendar
639
640 mkdir $(DISTDIR)/samples/config
641 cp $(SAMPDIR)/config/Makefile.in $(DISTDIR)/samples/config
642 cp $(SAMPDIR)/config/makefile.unx $(DISTDIR)/samples/config
643 cp $(SAMPDIR)/config/*.cpp $(DISTDIR)/samples/config
644
645 mkdir $(DISTDIR)/samples/console
646 cp $(SAMPDIR)/console/Makefile.in $(DISTDIR)/samples/console
647 cp $(SAMPDIR)/console/makefile.unx $(DISTDIR)/samples/console
648 cp $(SAMPDIR)/console/*.cpp $(DISTDIR)/samples/console
649
650 mkdir $(DISTDIR)/samples/controls
651 mkdir $(DISTDIR)/samples/controls/icons
652 cp $(SAMPDIR)/controls/Makefile.in $(DISTDIR)/samples/controls
653 cp $(SAMPDIR)/controls/makefile.unx $(DISTDIR)/samples/controls
654 cp $(SAMPDIR)/controls/*.cpp $(DISTDIR)/samples/controls
655 cp $(SAMPDIR)/controls/*.xpm $(DISTDIR)/samples/controls
656 cp $(SAMPDIR)/controls/icons/*.??? $(DISTDIR)/samples/controls/icons
657
658 mkdir $(DISTDIR)/samples/checklst
659 cp $(SAMPDIR)/checklst/Makefile.in $(DISTDIR)/samples/checklst
660 cp $(SAMPDIR)/checklst/makefile.unx $(DISTDIR)/samples/checklst
661 cp $(SAMPDIR)/checklst/*.cpp $(DISTDIR)/samples/checklst
662 cp $(SAMPDIR)/checklst/*.xpm $(DISTDIR)/samples/checklst
663
664 mkdir $(DISTDIR)/samples/db
665 cp $(SAMPDIR)/db/Makefile.in $(DISTDIR)/samples/db
666 cp $(SAMPDIR)/db/makefile.unx $(DISTDIR)/samples/db
667 cp $(SAMPDIR)/db/*.cpp $(DISTDIR)/samples/db
668 cp $(SAMPDIR)/db/*.h $(DISTDIR)/samples/db
669 cp $(SAMPDIR)/db/*.xpm $(DISTDIR)/samples/db
670
671 mkdir $(DISTDIR)/samples/dialogs
672 cp $(SAMPDIR)/dialogs/Makefile.in $(DISTDIR)/samples/dialogs
673 cp $(SAMPDIR)/dialogs/makefile.unx $(DISTDIR)/samples/dialogs
674 cp $(SAMPDIR)/dialogs/*.cpp $(DISTDIR)/samples/dialogs
675 cp $(SAMPDIR)/dialogs/*.h $(DISTDIR)/samples/dialogs
676 cp $(SAMPDIR)/dialogs/*.txt $(DISTDIR)/samples/dialogs
677
678 mkdir $(DISTDIR)/samples/dnd
679 cp $(SAMPDIR)/dnd/Makefile.in $(DISTDIR)/samples/dnd
680 cp $(SAMPDIR)/dnd/makefile.unx $(DISTDIR)/samples/dnd
681 cp $(SAMPDIR)/dnd/*.wxr $(DISTDIR)/samples/dnd
682 cp $(SAMPDIR)/dnd/*.cpp $(DISTDIR)/samples/dnd
683 cp $(SAMPDIR)/dnd/*.xpm $(DISTDIR)/samples/dnd
684 cp $(SAMPDIR)/dnd/*.txt $(DISTDIR)/samples/dnd
685 cp $(SAMPDIR)/dnd/*.png $(DISTDIR)/samples/dnd
686
687 mkdir $(DISTDIR)/samples/docview
688 cp $(SAMPDIR)/docview/Makefile.in $(DISTDIR)/samples/docview
689 cp $(SAMPDIR)/docview/makefile.unx $(DISTDIR)/samples/docview
690 cp $(SAMPDIR)/docview/*.cpp $(DISTDIR)/samples/docview
691 cp $(SAMPDIR)/docview/*.h $(DISTDIR)/samples/docview
692 cp $(SAMPDIR)/docview/*.xpm $(DISTDIR)/samples/docview
693
694 mkdir $(DISTDIR)/samples/docvwmdi
695 cp $(SAMPDIR)/docvwmdi/Makefile.in $(DISTDIR)/samples/docvwmdi
696 cp $(SAMPDIR)/docvwmdi/makefile.unx $(DISTDIR)/samples/docvwmdi
697 cp $(SAMPDIR)/docvwmdi/*.cpp $(DISTDIR)/samples/docvwmdi
698 cp $(SAMPDIR)/docvwmdi/*.h $(DISTDIR)/samples/docvwmdi
699
700 mkdir $(DISTDIR)/samples/drawing
701 cp $(SAMPDIR)/drawing/Makefile.in $(DISTDIR)/samples/drawing
702 cp $(SAMPDIR)/drawing/makefile.unx $(DISTDIR)/samples/drawing
703 cp $(SAMPDIR)/drawing/*.cpp $(DISTDIR)/samples/drawing
704 cp $(SAMPDIR)/drawing/*.xpm $(DISTDIR)/samples/drawing
705
706 mkdir $(DISTDIR)/samples/dynamic
707 cp $(SAMPDIR)/dynamic/Makefile.in $(DISTDIR)/samples/dynamic
708 cp $(SAMPDIR)/dynamic/makefile.unx $(DISTDIR)/samples/dynamic
709 cp $(SAMPDIR)/dynamic/*.cpp $(DISTDIR)/samples/dynamic
710 cp $(SAMPDIR)/dynamic/*.xpm $(DISTDIR)/samples/dynamic
711
712 mkdir $(DISTDIR)/samples/exec
713 cp $(SAMPDIR)/exec/Makefile.in $(DISTDIR)/samples/exec
714 cp $(SAMPDIR)/exec/*.cpp $(DISTDIR)/samples/exec
715
716 mkdir $(DISTDIR)/samples/ipc
717 cp $(SAMPDIR)/ipc/Makefile.in $(DISTDIR)/samples/ipc
718 cp $(SAMPDIR)/ipc/*.xpm $(DISTDIR)/samples/ipc
719 cp $(SAMPDIR)/ipc/*.h $(DISTDIR)/samples/ipc
720 cp $(SAMPDIR)/ipc/*.cpp $(DISTDIR)/samples/ipc
721
722 mkdir $(DISTDIR)/samples/font
723 cp $(SAMPDIR)/font/Makefile.in $(DISTDIR)/samples/font
724 cp $(SAMPDIR)/font/makefile.unx $(DISTDIR)/samples/font
725 cp $(SAMPDIR)/font/*.cpp $(DISTDIR)/samples/font
726
727 mkdir $(DISTDIR)/samples/grid
728 cp $(SAMPDIR)/grid/Makefile.in $(DISTDIR)/samples/grid
729 cp $(SAMPDIR)/grid/makefile.unx $(DISTDIR)/samples/grid
730 cp $(SAMPDIR)/grid/*.cpp $(DISTDIR)/samples/grid
731
732 mkdir $(DISTDIR)/samples/help
733 mkdir $(DISTDIR)/samples/help/doc
734 cp $(SAMPDIR)/help/Makefile.in $(DISTDIR)/samples/help
735 cp $(SAMPDIR)/help/makefile.unx $(DISTDIR)/samples/help
736 cp $(SAMPDIR)/help/*.cpp $(DISTDIR)/samples/help
737 cp $(SAMPDIR)/help/*.xpm $(DISTDIR)/samples/help
738 cp $(SAMPDIR)/help/doc/*.* $(DISTDIR)/samples/help/doc
739
740 mkdir $(DISTDIR)/samples/html
741 cp $(SAMPDIR)/html/Makefile.in $(DISTDIR)/samples/html
742 mkdir $(DISTDIR)/samples/html/about
743 cp $(SAMPDIR)/html/about/Makefile.in $(DISTDIR)/samples/html/about
744 cp $(SAMPDIR)/html/about/*.cpp $(DISTDIR)/samples/html/about
745 mkdir $(DISTDIR)/samples/html/about/data
746 cp $(SAMPDIR)/html/about/data/*.htm $(DISTDIR)/samples/html/about/data
747 cp $(SAMPDIR)/html/about/data/*.png $(DISTDIR)/samples/html/about/data
748 mkdir $(DISTDIR)/samples/html/help
749 cp $(SAMPDIR)/html/help/Makefile.in $(DISTDIR)/samples/html/help
750 cp $(SAMPDIR)/html/help/*.cpp $(DISTDIR)/samples/html/help
751 mkdir $(DISTDIR)/samples/html/help/helpfiles
752 cp $(SAMPDIR)/html/help/helpfiles/*.??? $(DISTDIR)/samples/html/help/helpfiles
753 mkdir $(DISTDIR)/samples/html/helpview
754 cp $(SAMPDIR)/html/helpview/Makefile.in $(DISTDIR)/samples/html/helpview
755 cp $(SAMPDIR)/html/helpview/*.cpp $(DISTDIR)/samples/html/helpview
756 cp $(SAMPDIR)/html/helpview/*.zip $(DISTDIR)/samples/html/helpview
757 mkdir $(DISTDIR)/samples/html/printing
758 cp $(SAMPDIR)/html/printing/Makefile.in $(DISTDIR)/samples/html/printing
759 cp $(SAMPDIR)/html/printing/*.cpp $(DISTDIR)/samples/html/printing
760 cp $(SAMPDIR)/html/printing/*.htm $(DISTDIR)/samples/html/printing
761 mkdir $(DISTDIR)/samples/html/test
762 cp $(SAMPDIR)/html/test/Makefile.in $(DISTDIR)/samples/html/test
763 cp $(SAMPDIR)/html/test/*.cpp $(DISTDIR)/samples/html/test
764 cp $(SAMPDIR)/html/test/*.bmp $(DISTDIR)/samples/html/test
765 cp $(SAMPDIR)/html/test/*.png $(DISTDIR)/samples/html/test
766 cp $(SAMPDIR)/html/test/*.htm $(DISTDIR)/samples/html/test
767 cp $(SAMPDIR)/html/test/*.html $(DISTDIR)/samples/html/test
768 mkdir $(DISTDIR)/samples/html/virtual
769 cp $(SAMPDIR)/html/virtual/Makefile.in $(DISTDIR)/samples/html/virtual
770 cp $(SAMPDIR)/html/virtual/*.cpp $(DISTDIR)/samples/html/virtual
771 cp $(SAMPDIR)/html/virtual/*.htm $(DISTDIR)/samples/html/virtual
772 mkdir $(DISTDIR)/samples/html/widget
773 cp $(SAMPDIR)/html/widget/Makefile.in $(DISTDIR)/samples/html/widget
774 cp $(SAMPDIR)/html/widget/*.cpp $(DISTDIR)/samples/html/widget
775 cp $(SAMPDIR)/html/widget/*.htm $(DISTDIR)/samples/html/widget
776 mkdir $(DISTDIR)/samples/html/zip
777 cp $(SAMPDIR)/html/zip/Makefile.in $(DISTDIR)/samples/html/zip
778 cp $(SAMPDIR)/html/zip/*.cpp $(DISTDIR)/samples/html/zip
779 cp $(SAMPDIR)/html/zip/*.htm $(DISTDIR)/samples/html/zip
780 cp $(SAMPDIR)/html/zip/*.zip $(DISTDIR)/samples/html/zip
781
782 mkdir $(DISTDIR)/samples/image
783 cp $(SAMPDIR)/image/Makefile.in $(DISTDIR)/samples/image
784 cp $(SAMPDIR)/image/makefile.unx $(DISTDIR)/samples/image
785 cp $(SAMPDIR)/image/*.cpp $(DISTDIR)/samples/image
786 cp $(SAMPDIR)/image/horse.* $(DISTDIR)/samples/image
787 cp $(SAMPDIR)/image/smile.xbm $(DISTDIR)/samples/image
788 cp $(SAMPDIR)/image/smile.xpm $(DISTDIR)/samples/image
789
790 mkdir $(DISTDIR)/samples/internat
791 mkdir $(DISTDIR)/samples/internat/de
792 mkdir $(DISTDIR)/samples/internat/fr
793 cp $(SAMPDIR)/internat/Makefile.in $(DISTDIR)/samples/internat
794 cp $(SAMPDIR)/internat/makefile.unx $(DISTDIR)/samples/internat
795 cp $(SAMPDIR)/internat/*.cpp $(DISTDIR)/samples/internat
796 cp $(SAMPDIR)/internat/*.xpm $(DISTDIR)/samples/internat
797 cp $(SAMPDIR)/internat/*.txt $(DISTDIR)/samples/internat
798 cp $(SAMPDIR)/internat/*.po $(DISTDIR)/samples/internat
799 cp $(SAMPDIR)/internat/fr/*.po $(DISTDIR)/samples/internat/fr
800 cp $(SAMPDIR)/internat/de/*.mo $(DISTDIR)/samples/internat/de
801 cp $(SAMPDIR)/internat/fr/*.po $(DISTDIR)/samples/internat/fr
802 cp $(SAMPDIR)/internat/de/*.mo $(DISTDIR)/samples/internat/de
803
804 mkdir $(DISTDIR)/samples/layout
805 cp $(SAMPDIR)/layout/Makefile.in $(DISTDIR)/samples/layout
806 cp $(SAMPDIR)/layout/makefile.unx $(DISTDIR)/samples/layout
807 cp $(SAMPDIR)/layout/*.cpp $(DISTDIR)/samples/layout
808 cp $(SAMPDIR)/layout/*.h $(DISTDIR)/samples/layout
809
810 mkdir $(DISTDIR)/samples/listctrl
811 mkdir $(DISTDIR)/samples/listctrl/bitmaps
812 cp $(SAMPDIR)/listctrl/Makefile.in $(DISTDIR)/samples/listctrl
813 cp $(SAMPDIR)/listctrl/makefile.unx $(DISTDIR)/samples/listctrl
814 cp $(SAMPDIR)/listctrl/*.cpp $(DISTDIR)/samples/listctrl
815 cp $(SAMPDIR)/listctrl/*.h $(DISTDIR)/samples/listctrl
816 cp $(SAMPDIR)/listctrl/*.xpm $(DISTDIR)/samples/listctrl
817 cp $(SAMPDIR)/listctrl/bitmaps/*.xpm $(DISTDIR)/samples/listctrl/bitmaps
818
819 mkdir $(DISTDIR)/samples/mdi
820 mkdir $(DISTDIR)/samples/mdi/bitmaps
821 cp $(SAMPDIR)/mdi/Makefile.in $(DISTDIR)/samples/mdi
822 cp $(SAMPDIR)/mdi/makefile.unx $(DISTDIR)/samples/mdi
823 cp $(SAMPDIR)/mdi/*.cpp $(DISTDIR)/samples/mdi
824 cp $(SAMPDIR)/mdi/*.h $(DISTDIR)/samples/mdi
825 cp $(SAMPDIR)/mdi/*.xpm $(DISTDIR)/samples/mdi
826 cp $(SAMPDIR)/mdi/bitmaps/*.xpm $(DISTDIR)/samples/mdi/bitmaps
827
828 mkdir $(DISTDIR)/samples/memcheck
829 cp $(SAMPDIR)/memcheck/Makefile.in $(DISTDIR)/samples/memcheck
830 cp $(SAMPDIR)/memcheck/makefile.unx $(DISTDIR)/samples/memcheck
831 cp $(SAMPDIR)/memcheck/*.cpp $(DISTDIR)/samples/memcheck
832 cp $(SAMPDIR)/memcheck/*.xpm $(DISTDIR)/samples/memcheck
833
834 mkdir $(DISTDIR)/samples/menu
835 cp $(SAMPDIR)/menu/Makefile.in $(DISTDIR)/samples/menu
836 cp $(SAMPDIR)/menu/makefile.unx $(DISTDIR)/samples/menu
837 cp $(SAMPDIR)/menu/*.cpp $(DISTDIR)/samples/menu
838
839 mkdir $(DISTDIR)/samples/minifram
840 mkdir $(DISTDIR)/samples/minifram/bitmaps
841 cp $(SAMPDIR)/minifram/Makefile.in $(DISTDIR)/samples/minifram
842 cp $(SAMPDIR)/minifram/makefile.unx $(DISTDIR)/samples/minifram
843 cp $(SAMPDIR)/minifram/*.cpp $(DISTDIR)/samples/minifram
844 cp $(SAMPDIR)/minifram/*.h $(DISTDIR)/samples/minifram
845 cp $(SAMPDIR)/minifram/*.xpm $(DISTDIR)/samples/minifram
846 cp $(SAMPDIR)/minifram/bitmaps/*.xpm $(DISTDIR)/samples/minifram/bitmaps
847
848 mkdir $(DISTDIR)/samples/minimal
849 cp $(SAMPDIR)/minimal/Makefile.in $(DISTDIR)/samples/minimal
850 cp $(SAMPDIR)/minimal/makefile.unx $(DISTDIR)/samples/minimal
851 cp $(SAMPDIR)/minimal/*.cpp $(DISTDIR)/samples/minimal
852 cp $(SAMPDIR)/minimal/*.xpm $(DISTDIR)/samples/minimal
853
854 mkdir $(DISTDIR)/samples/dialup
855 cp $(SAMPDIR)/dialup/Makefile.in $(DISTDIR)/samples/dialup
856 cp $(SAMPDIR)/dialup/makefile.unx $(DISTDIR)/samples/dialup
857 cp $(SAMPDIR)/dialup/*.cpp $(DISTDIR)/samples/dialup
858
859 mkdir $(DISTDIR)/samples/newgrid
860 cp $(SAMPDIR)/newgrid/Makefile.in $(DISTDIR)/samples/newgrid
861 cp $(SAMPDIR)/newgrid/makefile.unx $(DISTDIR)/samples/newgrid
862 cp $(SAMPDIR)/newgrid/*.cpp $(DISTDIR)/samples/newgrid
863 cp $(SAMPDIR)/newgrid/*.h $(DISTDIR)/samples/newgrid
864
865 mkdir $(DISTDIR)/samples/notebook
866 cp $(SAMPDIR)/notebook/Makefile.in $(DISTDIR)/samples/notebook
867 cp $(SAMPDIR)/notebook/makefile.unx $(DISTDIR)/samples/notebook
868 cp $(SAMPDIR)/notebook/*.cpp $(DISTDIR)/samples/notebook
869 cp $(SAMPDIR)/notebook/*.h $(DISTDIR)/samples/notebook
870
871 mkdir $(DISTDIR)/samples/png
872 cp $(SAMPDIR)/png/Makefile.in $(DISTDIR)/samples/png
873 cp $(SAMPDIR)/png/makefile.unx $(DISTDIR)/samples/png
874 cp $(SAMPDIR)/png/*.cpp $(DISTDIR)/samples/png
875 cp $(SAMPDIR)/png/*.h $(DISTDIR)/samples/png
876 cp $(SAMPDIR)/png/*.png $(DISTDIR)/samples/png
877
878 mkdir $(DISTDIR)/samples/printing
879 cp $(SAMPDIR)/printing/Makefile.in $(DISTDIR)/samples/printing
880 cp $(SAMPDIR)/printing/makefile.unx $(DISTDIR)/samples/printing
881 cp $(SAMPDIR)/printing/*.cpp $(DISTDIR)/samples/printing
882 cp $(SAMPDIR)/printing/*.h $(DISTDIR)/samples/printing
883 cp $(SAMPDIR)/printing/*.xpm $(DISTDIR)/samples/printing
884 cp $(SAMPDIR)/printing/*.xbm $(DISTDIR)/samples/printing
885
886 mkdir $(DISTDIR)/samples/resource
887 cp $(SAMPDIR)/resource/Makefile.in $(DISTDIR)/samples/resource
888 cp $(SAMPDIR)/resource/makefile.unx $(DISTDIR)/samples/resource
889 cp $(SAMPDIR)/resource/*.cpp $(DISTDIR)/samples/resource
890 cp $(SAMPDIR)/resource/*.h $(DISTDIR)/samples/resource
891 cp $(SAMPDIR)/resource/*.wxr $(DISTDIR)/samples/resource
892
893 mkdir $(DISTDIR)/samples/rotate
894 cp $(SAMPDIR)/rotate/Makefile.in $(DISTDIR)/samples/rotate
895 cp $(SAMPDIR)/rotate/makefile.unx $(DISTDIR)/samples/rotate
896 cp $(SAMPDIR)/rotate/*.cpp $(DISTDIR)/samples/rotate
897 cp $(SAMPDIR)/rotate/*.bmp $(DISTDIR)/samples/rotate
898
899 mkdir $(DISTDIR)/samples/richedit
900 cp $(SAMPDIR)/richedit/Makefile.in $(DISTDIR)/samples/richedit
901 cp $(SAMPDIR)/richedit/*.cpp $(DISTDIR)/samples/richedit
902 cp $(SAMPDIR)/richedit/*.h $(DISTDIR)/samples/richedit
903 cp $(SAMPDIR)/richedit/*.xpm $(DISTDIR)/samples/richedit
904 cp $(SAMPDIR)/richedit/README $(DISTDIR)/samples/richedit
905 cp $(SAMPDIR)/richedit/TODO $(DISTDIR)/samples/richedit
906
907 mkdir $(DISTDIR)/samples/plot
908 cp $(SAMPDIR)/plot/Makefile.in $(DISTDIR)/samples/plot
909 cp $(SAMPDIR)/plot/makefile.unx $(DISTDIR)/samples/plot
910 cp $(SAMPDIR)/plot/*.cpp $(DISTDIR)/samples/plot
911
912 mkdir $(DISTDIR)/samples/proplist
913 cp $(SAMPDIR)/proplist/Makefile.in $(DISTDIR)/samples/proplist
914 cp $(SAMPDIR)/proplist/*.cpp $(DISTDIR)/samples/proplist
915 cp $(SAMPDIR)/proplist/*.h $(DISTDIR)/samples/proplist
916
917 mkdir $(DISTDIR)/samples/propsize
918 cp $(SAMPDIR)/propsize/Makefile.in $(DISTDIR)/samples/propsize
919 cp $(SAMPDIR)/propsize/*.cpp $(DISTDIR)/samples/propsize
920 cp $(SAMPDIR)/propsize/*.xpm $(DISTDIR)/samples/propsize
921
922 mkdir $(DISTDIR)/samples/sashtest
923 cp $(SAMPDIR)/sashtest/Makefile.in $(DISTDIR)/samples/sashtest
924 cp $(SAMPDIR)/sashtest/*.cpp $(DISTDIR)/samples/sashtest
925 cp $(SAMPDIR)/sashtest/*.h $(DISTDIR)/samples/sashtest
926
927 mkdir $(DISTDIR)/samples/scroll
928 cp $(SAMPDIR)/scroll/Makefile.in $(DISTDIR)/samples/scroll
929 cp $(SAMPDIR)/scroll/makefile.unx $(DISTDIR)/samples/scroll
930 cp $(SAMPDIR)/scroll/*.cpp $(DISTDIR)/samples/scroll
931
932 mkdir $(DISTDIR)/samples/scrollsub
933 cp $(SAMPDIR)/scrollsub/Makefile.in $(DISTDIR)/samples/scrollsub
934 cp $(SAMPDIR)/scrollsub/makefile.unx $(DISTDIR)/samples/scrollsub
935 cp $(SAMPDIR)/scrollsub/*.cpp $(DISTDIR)/samples/scrollsub
936
937 mkdir $(DISTDIR)/samples/splitter
938 cp $(SAMPDIR)/splitter/makefile.unx $(DISTDIR)/samples/splitter
939 cp $(SAMPDIR)/splitter/Makefile.in $(DISTDIR)/samples/splitter
940 cp $(SAMPDIR)/splitter/*.cpp $(DISTDIR)/samples/splitter
941
942 mkdir $(DISTDIR)/samples/statbar
943 cp $(SAMPDIR)/statbar/Makefile.in $(DISTDIR)/samples/statbar
944 cp $(SAMPDIR)/statbar/*.cpp $(DISTDIR)/samples/statbar
945 cp $(SAMPDIR)/statbar/*.xpm $(DISTDIR)/samples/statbar
946
947 mkdir $(DISTDIR)/samples/text
948 cp $(SAMPDIR)/text/Makefile.in $(DISTDIR)/samples/text
949 cp $(SAMPDIR)/text/makefile.unx $(DISTDIR)/samples/text
950 cp $(SAMPDIR)/text/*.cpp $(DISTDIR)/samples/text
951 cp $(SAMPDIR)/text/*.xpm $(DISTDIR)/samples/text
952
953 mkdir $(DISTDIR)/samples/thread
954 cp $(SAMPDIR)/thread/Makefile.in $(DISTDIR)/samples/thread
955 cp $(SAMPDIR)/thread/makefile.unx $(DISTDIR)/samples/thread
956 cp $(SAMPDIR)/thread/*.cpp $(DISTDIR)/samples/thread
957
958 mkdir $(DISTDIR)/samples/toolbar
959 cp $(SAMPDIR)/toolbar/Makefile.in $(DISTDIR)/samples/toolbar
960 cp $(SAMPDIR)/toolbar/*.cpp $(DISTDIR)/samples/toolbar
961 cp $(SAMPDIR)/toolbar/*.xpm $(DISTDIR)/samples/toolbar
962 mkdir $(DISTDIR)/samples/toolbar/bitmaps
963 cp $(SAMPDIR)/toolbar/bitmaps/*.xpm $(DISTDIR)/samples/toolbar/bitmaps
964
965 mkdir $(DISTDIR)/samples/treectrl
966 cp $(SAMPDIR)/treectrl/Makefile.in $(DISTDIR)/samples/treectrl
967 cp $(SAMPDIR)/treectrl/*.cpp $(DISTDIR)/samples/treectrl
968 cp $(SAMPDIR)/treectrl/*.h $(DISTDIR)/samples/treectrl
969 cp $(SAMPDIR)/treectrl/*.xpm $(DISTDIR)/samples/treectrl
970
971 mkdir $(DISTDIR)/samples/typetest
972 cp $(SAMPDIR)/typetest/Makefile.in $(DISTDIR)/samples/typetest
973 cp $(SAMPDIR)/typetest/*.cpp $(DISTDIR)/samples/typetest
974 cp $(SAMPDIR)/typetest/*.h $(DISTDIR)/samples/typetest
975 cp $(SAMPDIR)/typetest/*.xpm $(DISTDIR)/samples/typetest
976
977 mkdir $(DISTDIR)/samples/validate
978 cp $(SAMPDIR)/validate/Makefile.in $(DISTDIR)/samples/validate
979 cp $(SAMPDIR)/validate/*.cpp $(DISTDIR)/samples/validate
980 cp $(SAMPDIR)/validate/*.h $(DISTDIR)/samples/validate
981 cp $(SAMPDIR)/validate/*.xpm $(DISTDIR)/samples/validate
982
983 mkdir $(DISTDIR)/samples/wizard
984 cp $(SAMPDIR)/wizard/Makefile.in $(DISTDIR)/samples/wizard
985 cp $(SAMPDIR)/wizard/*.cpp $(DISTDIR)/samples/wizard
986 cp $(SAMPDIR)/wizard/*.xpm $(DISTDIR)/samples/wizard
987
988 mkdir $(DISTDIR)/samples/sockets
989 cp $(SAMPDIR)/sockets/Makefile.in $(DISTDIR)/samples/sockets
990 cp $(SAMPDIR)/sockets/*.cpp $(DISTDIR)/samples/sockets
991 cp $(SAMPDIR)/sockets/*.xpm $(DISTDIR)/samples/sockets
992
993 UTILS_DIST: ALL_GUI_DIST
994 mkdir $(DISTDIR)/utils
995 cp $(UTILSDIR)/Makefile.in $(DISTDIR)/utils
996 cp $(UTILSDIR)/configure $(DISTDIR)/utils
997 cp $(UTILSDIR)/configure.in $(DISTDIR)/utils
998
999 mkdir $(DISTDIR)/utils/wxMMedia2
1000 mkdir $(DISTDIR)/utils/wxMMedia2/lib
1001 mkdir $(DISTDIR)/utils/wxMMedia2/sample
1002 cp $(UTILSDIR)/wxMMedia2/Makefile.in $(DISTDIR)/utils/wxMMedia2
1003 cp $(UTILSDIR)/wxMMedia2/lib/Makefile.in $(DISTDIR)/utils/wxMMedia2/lib
1004 cp $(UTILSDIR)/wxMMedia2/lib/*.h $(DISTDIR)/utils/wxMMedia2/lib
1005 cp $(UTILSDIR)/wxMMedia2/lib/*.cpp $(DISTDIR)/utils/wxMMedia2/lib
1006 cp $(UTILSDIR)/wxMMedia2/lib/*.def $(DISTDIR)/utils/wxMMedia2/lib
1007 cp $(UTILSDIR)/wxMMedia2/sample/Makefile.in $(DISTDIR)/utils/wxMMedia2/sample
1008 cp $(UTILSDIR)/wxMMedia2/sample/*.cpp $(DISTDIR)/utils/wxMMedia2/sample
1009
1010 mkdir $(DISTDIR)/utils/glcanvas
1011 mkdir $(DISTDIR)/utils/glcanvas/$(TOOLKITDIR)
1012 cp $(UTILSDIR)/glcanvas/Makefile.in $(DISTDIR)/utils/glcanvas
1013 cp $(UTILSDIR)/glcanvas/docs/notes.txt $(DISTDIR)/utils/glcanvas/NOTES.txt
1014 cp $(UTILSDIR)/glcanvas/$(TOOLKITDIR)/Makefile.in $(DISTDIR)/utils/glcanvas/$(TOOLKITDIR)
1015 cp $(UTILSDIR)/glcanvas/$(TOOLKITDIR)/*.h $(DISTDIR)/utils/glcanvas/$(TOOLKITDIR)
1016 cp $(UTILSDIR)/glcanvas/$(TOOLKITDIR)/*.cpp $(DISTDIR)/utils/glcanvas/$(TOOLKITDIR)
1017
1018 mkdir $(DISTDIR)/utils/ogl
1019 mkdir $(DISTDIR)/utils/ogl/src
1020 cp $(UTILSDIR)/ogl/Makefile.in $(DISTDIR)/utils/ogl
1021 cp $(UTILSDIR)/ogl/src/Makefile.in $(DISTDIR)/utils/ogl/src
1022 cp $(UTILSDIR)/ogl/src/*.h $(DISTDIR)/utils/ogl/src
1023 cp $(UTILSDIR)/ogl/src/*.cpp $(DISTDIR)/utils/ogl/src
1024
1025 MISC_DIST: ALL_GUI_DIST
1026 mkdir $(DISTDIR)/misc
1027 mkdir $(DISTDIR)/misc/afm
1028 cp $(MISCDIR)/afm/*.afm $(DISTDIR)/misc/afm
1029 mkdir $(DISTDIR)/misc/gs_afm
1030 cp $(MISCDIR)/gs_afm/*.afm $(DISTDIR)/misc/gs_afm
1031
1032 MANUAL_DIST:
1033 mkdir $(DISTDIR)/docs
1034 mkdir $(DISTDIR)/docs/latex
1035 mkdir $(DISTDIR)/docs/latex/wx
1036 cp $(DOCDIR)/latex/wx/*.tex $(DISTDIR)/docs/latex/wx
1037 cp $(DOCDIR)/latex/wx/*.gif $(DISTDIR)/docs/latex/wx
1038 cp $(DOCDIR)/latex/wx/*.ini $(DISTDIR)/docs/latex/wx
1039 cp $(DOCDIR)/latex/wx/*.bib $(DISTDIR)/docs/latex/wx
1040 cp $(DOCDIR)/latex/wx/*.sty $(DISTDIR)/docs/latex/wx
1041
1042 -mkdir $(DISTDIR)/utils
1043 mkdir $(DISTDIR)/utils/tex2rtf
1044 mkdir $(DISTDIR)/utils/tex2rtf/src
1045 cp $(UTILSDIR)/tex2rtf/*.in $(DISTDIR)/utils/tex2rtf
1046 cp $(UTILSDIR)/tex2rtf/src/*.h $(DISTDIR)/utils/tex2rtf/src
1047 cp $(UTILSDIR)/tex2rtf/src/*.in $(DISTDIR)/utils/tex2rtf/src
1048 cp $(UTILSDIR)/tex2rtf/src/*.cpp $(DISTDIR)/utils/tex2rtf/src
1049 cp $(UTILSDIR)/tex2rtf/src/tex2rtf.* $(DISTDIR)/utils/tex2rtf/src
1050
1051 # this target does not generate a complete wxPython dist, it only includes
1052 # those files needed for the Debian source package.
1053 # see utils/wxPython/distrib for scripts to make a proper wxPython dist.
1054 PYTHON_DIST:
1055 mkdir $(DISTDIR)/utils/wxPython
1056 mkdir $(DISTDIR)/utils/wxPython/demo
1057 mkdir $(DISTDIR)/utils/wxPython/demo/bitmaps
1058 mkdir $(DISTDIR)/utils/wxPython/demo/data
1059 mkdir $(DISTDIR)/utils/wxPython/distrib
1060 mkdir $(DISTDIR)/utils/wxPython/lib
1061 mkdir $(DISTDIR)/utils/wxPython/lib/editor
1062 mkdir $(DISTDIR)/utils/wxPython/lib/sizers
1063 mkdir $(DISTDIR)/utils/wxPython/modules
1064 mkdir $(DISTDIR)/utils/wxPython/modules/html
1065 mkdir $(DISTDIR)/utils/wxPython/modules/utils
1066 mkdir $(DISTDIR)/utils/wxPython/modules/utils/gtk
1067 mkdir $(DISTDIR)/utils/wxPython/src
1068 mkdir $(DISTDIR)/utils/wxPython/src/gtk
1069
1070 cp $(UTILSDIR)/wxPython/*.txt $(DISTDIR)/utils/wxPython
1071 -cp $(UTILSDIR)/wxPython/demo/* $(DISTDIR)/utils/wxPython/demo
1072 -cp $(UTILSDIR)/wxPython/demo/bitmaps/* $(DISTDIR)/utils/wxPython/demo/bitmaps
1073 -cp $(UTILSDIR)/wxPython/demo/data/* $(DISTDIR)/utils/wxPython/demo/data
1074 cp $(UTILSDIR)/wxPython/distrib/build.py $(DISTDIR)/utils/wxPython/distrib
1075 cp $(UTILSDIR)/wxPython/lib/*.py $(DISTDIR)/utils/wxPython/lib
1076 cp $(UTILSDIR)/wxPython/lib/editor/*.py $(DISTDIR)/utils/wxPython/lib/editor
1077 cp $(UTILSDIR)/wxPython/lib/sizers/*.py $(DISTDIR)/utils/wxPython/lib/sizers
1078 -cp $(UTILSDIR)/wxPython/modules/html/* $(DISTDIR)/utils/wxPython/modules/html
1079 -cp $(UTILSDIR)/wxPython/modules/utils/* $(DISTDIR)/utils/wxPython/modules/utils
1080 cp $(UTILSDIR)/wxPython/modules/utils/gtk/utils.* $(DISTDIR)/utils/wxPython/modules/utils/gtk
1081 -cp $(UTILSDIR)/wxPython/src/* $(DISTDIR)/utils/wxPython/src
1082 cp $(UTILSDIR)/wxPython/src/gtk/*.py $(DISTDIR)/utils/wxPython/src/gtk
1083 cp $(UTILSDIR)/wxPython/src/gtk/*.cpp $(DISTDIR)/utils/wxPython/src/gtk
1084
1085 distclean:
1086 $(RM) -r _dist_dir
1087
1088 dist: @GUIDIST@
1089 @echo "*** Creating wxWindows distribution in $(DISTDIR)..."
1090 cd _dist_dir; tar ch @DISTDIR@ | gzip -f9 > $(WXARCHIVE); mv $(WXARCHIVE) ..
1091 @if test "$(USE_GUI)" = 1; then \
1092 cd $(DISTDIR); \
1093 mv samples wxSamples; \
1094 tar ch wxSamples | gzip -f9 > ../../$(WXSAMPLES); \
1095 mv wxSamples samples; \
1096 mv demos wxDemos; \
1097 tar ch wxDemos | gzip -f9 > ../../$(WXDEMOS); \
1098 mv wxDemos demos; \
1099 fi
1100
1101 debian-dist: @GUIDIST@ MANUAL_DIST PYTHON_DIST
1102 mkdir $(DISTDIR)/debian
1103 -cp $(WXDIR)/debian/* $(DISTDIR)/debian
1104 cp $(WXDIR)/src/files.lst $(DISTDIR)/src/
1105 cp $(DOCDIR)/licence.txt $(DISTDIR)/docs
1106 cp $(DOCDIR)/licendoc.txt $(DISTDIR)/docs
1107 cp $(DOCDIR)/preamble.txt $(DISTDIR)/docs
1108 rm -f $(DISTDIR)/*.spec
1109 rm -rf $(WXDIR)/../wxwindows$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER)-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER)
1110 mv $(DISTDIR) $(WXDIR)/../wxwindows$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER)-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER)
1111
1112 clean:
1113 $(RM) *.o
1114 $(RM) *.d
1115 $(RM) parser.c
1116 $(RM) lexer.c
1117 $(RM) ./lib/*
1118
1119 cleanall: clean