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