]> git.saurik.com Git - wxWidgets.git/blob - Makefile.in
icons fix for unix
[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 IODBC_OBJS = \
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 ############################## Rules ##################################
286
287 BURNT_LIBRARY_NAME = @BURNT_LIBRARY_NAME@
288
289 all: @WX_ALL@
290
291 @WX_LIBRARY_NAME_STATIC@: $(OBJECTS)
292 @$(INSTALL) -d ./lib
293 $(AR) $(AROPTIONS) ./lib/$@ $(OBJECTS)
294 $(RANLIB) ./lib/$@
295
296 @WX_LIBRARY_NAME_SHARED@: $(OBJECTS)
297 @$(INSTALL) -d ./lib
298 $(SHARED_LD) ./lib/$@ $(BURNT_LIBRARY_NAME) $(OBJECTS) $(EXTRALIBS)
299
300 CREATE_LINKS: @WX_LIBRARY_NAME_SHARED@
301 @$(RM) ./lib/@WX_LIBRARY_LINK1@
302 @$(RM) ./lib/@WX_LIBRARY_LINK2@
303 @$(RM) ./lib/@WX_LIBRARY_LINK3@
304 $(LN_S) @WX_TARGET_LIBRARY@ ./lib/@WX_LIBRARY_LINK1@
305 $(LN_S) @WX_TARGET_LIBRARY@ ./lib/@WX_LIBRARY_LINK2@
306 $(LN_S) @WX_TARGET_LIBRARY@ ./lib/@WX_LIBRARY_LINK3@
307
308 CREATE_INSTALLED_LINKS: preinstall
309 $(RM) $(libdir)/@WX_LIBRARY_LINK1@
310 $(RM) $(libdir)/@WX_LIBRARY_LINK2@
311 $(RM) $(libdir)/@WX_LIBRARY_LINK3@
312 $(LN_S) @WX_LIBRARY_NAME_SHARED@ $(libdir)/@WX_LIBRARY_LINK1@
313 $(LN_S) @WX_LIBRARY_NAME_SHARED@ $(libdir)/@WX_LIBRARY_LINK2@
314 $(LN_S) @WX_LIBRARY_NAME_SHARED@ $(libdir)/@WX_LIBRARY_LINK3@
315
316 $(OBJECTS): $(WXDIR)/include/wx/defs.h $(WXDIR)/include/wx/object.h
317
318 parser.o: parser.c lexer.c
319 $(CCLEX) -c $(CFLAGS) $(PICFLAGS) -o $@ parser.c
320
321 parser.c: $(COMMDIR)/parser.y lexer.c
322 $(YACC) $(COMMDIR)/parser.y
323 @sed -e "s;$(COMMDIR)/y.tab.c;parser.y;g" < y.tab.c | \
324 sed -e "s/BUFSIZ/5000/g" | \
325 sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \
326 sed -e "s/yy/PROIO_yy/g" | \
327 sed -e "s/input/PROIO_input/g" | \
328 sed -e "s/unput/PROIO_unput/g" > parser.c
329 @$(RM) y.tab.c
330
331 lexer.c: $(COMMDIR)/lexer.l
332 $(LEX) $(COMMDIR)/lexer.l
333 @sed -e "s;$(COMMDIR)/@LEX_STEM@.c;lexer.l;g" < @LEX_STEM@.c | \
334 sed -e "s/yy/PROIO_yy/g" | \
335 sed -e "s/input/PROIO_input/g" | \
336 sed -e "s/unput/PROIO_unput/g" > lexer.c
337 @$(RM) @LEX_STEM@.c
338
339 -include $(DEPFILES)
340
341 afminstall: preinstall
342 $(INSTALL) -d $(datadir)
343 $(INSTALL) -d $(datadir)/wx
344 $(INSTALL) -d $(datadir)/wx/afm
345 $(INSTALL) -d $(datadir)/wx/gs_afm
346 $(INSTALL_DATA) $(top_srcdir)/misc/afm/*.afm $(datadir)/wx/afm
347 $(INSTALL_DATA) $(top_srcdir)/misc/gs_afm/*.afm $(datadir)/wx/gs_afm
348
349 # this is the real install target: copies the library, wx-config and the
350 # headers to the installation directory
351 preinstall: $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(top_builddir)/wx-config
352 @echo " "
353 @echo " Installing wxWindows..."
354 @echo " "
355
356 $(INSTALL) -d $(prefix)
357 $(INSTALL) -d $(bindir)
358 $(INSTALL) -d $(libdir)
359
360 $(INSTALL_SCRIPT) $(top_builddir)/wx-config $(bindir)/wx-config
361 $(INSTALL_PROGRAM) $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(libdir)/@WX_TARGET_LIBRARY@
362
363 $(INSTALL) -d $(libdir)/wx
364 $(INSTALL) -d $(libdir)/wx/include
365 $(INSTALL) -d $(libdir)/wx/include/wx
366 $(INSTALL) -d $(libdir)/wx/include/wx/@TOOLKIT_DIR@
367 $(INSTALL_DATA) $(top_builddir)/include/wx/@TOOLKIT_DIR@/setup.h $(libdir)/wx/include/wx/@TOOLKIT_DIR@/setup.h
368
369 $(INSTALL) -d $(includedir)/wx
370 @if test "$(USE_GUI)" = 1; then $(INSTALL) -d $(includedir)/wx/@TOOLKIT_DIR@; fi
371 @if test "$(USE_GUI)" = 1; then $(INSTALL) -d $(includedir)/wx/html; fi
372 @if test "$(USE_GUI)" = 1; then $(INSTALL) -d $(includedir)/wx/generic; fi
373 $(INSTALL) -d $(includedir)/wx/protocol
374 $(INSTALL) -d $(includedir)/wx/unix
375 @list='$(HEADERS)'; for p in $$list; do \
376 $(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p; \
377 echo "$(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p"; \
378 done
379
380 install: @AFMINSTALL@ @WX_ALL_INSTALLED@
381 @echo " "
382 @echo " The installation of wxWindows is finished. On certain"
383 @echo " platforms (e.g. Linux) you'll now have to run ldconfig"
384 @echo " if you installed a shared library and also modify"
385 @echo " LD_LIBRARY_PATH (or equivalent) environment variable."
386 @echo " "
387 @echo " wxWindows comes with no guarantees and doesn't claim"
388 @echo " to be suitable for any purpose."
389 @echo " "
390 @echo " Read the wxWindows Licence on licencing conditions."
391 @echo " "
392
393 uninstall:
394 @echo " "
395 @echo " Uninstalling wxWindows..."
396 @echo " "
397 @echo " Removing library..."
398 @$(RM) $(libdir)/@WX_TARGET_LIBRARY@
399 @$(RM) $(libdir)/@WX_LIBRARY_LINK1@
400 @$(RM) $(libdir)/@WX_LIBRARY_LINK2@
401 @$(RM) $(libdir)/@WX_LIBRARY_LINK3@
402 @echo " Removing helper files..."
403 @$(RM) $(libdir)/wx/include/wx/@TOOLKIT_DIR@/setup.h
404 @$(RM) $(bindir)/wx-config
405 @$(RM) $(datadir)/wx/afm/*
406 @$(RM) $(datadir)/wx/gs_afm/*
407 @rmdir $(datadir)/wx/gs_afm
408 @rmdir $(datadir)/wx/afm
409 @rmdir $(datadir)/wx
410 @echo " Removing headers..."
411 @list='$(HEADERS)'; for p in $$list; do \
412 $(RM) $(includedir)/wx/$$p; \
413 done
414 @echo " Removing directories..."
415 @if test -d $(libdir)/wx/include/wx/@TOOLKIT_DIR@; then rmdir $(libdir)/wx/include/wx/@TOOLKIT_DIR@; fi
416 @if test -d $(libdir)/wx/include/wx; then rmdir $(libdir)/wx/include/wx; fi
417 @if test -d $(libdir)/wx/include; then rmdir $(libdir)/wx/include; fi
418 @if test -d $(libdir)/wx; then rmdir $(libdir)/wx; fi
419 @if test -d $(includedir)/wx/gtk; then rmdir $(includedir)/wx/gtk; fi
420 @if test -d $(includedir)/wx/motif; then rmdir $(includedir)/wx/motif; fi
421 @if test -d $(includedir)/wx/msw; then rmdir $(includedir)/wx/msw; fi
422 @if test -d $(includedir)/wx/html; then rmdir $(includedir)/wx/html; fi
423 @if test -d $(includedir)/wx/unix; then rmdir $(includedir)/wx/unix; fi
424 @if test -d $(includedir)/wx/generic; then rmdir $(includedir)/wx/generic; fi
425 @if test -d $(includedir)/wx/protocol; then rmdir $(includedir)/wx/protocol; fi
426 @if test -d $(includedir)/wx; then rmdir $(includedir)/wx; fi
427
428 # this target should copy only the files common to really all ports (including
429 # wxBase) to the dist dir
430 ALL_DIST: distclean
431 mkdir _dist_dir
432 mkdir $(DISTDIR)
433 cp $(WXDIR)/configure.in $(DISTDIR)
434 cp $(WXDIR)/configure $(DISTDIR)
435 cp $(WXDIR)/config.sub $(DISTDIR)
436 cp $(WXDIR)/config.guess $(DISTDIR)
437 cp $(WXDIR)/install-sh $(DISTDIR)
438 cp $(WXDIR)/mkinstalldirs $(DISTDIR)
439 cp $(WXDIR)/wx-config.in $(DISTDIR)
440 cp $(WXDIR)/setup.h.in $(DISTDIR)
441 cp $(WXDIR)/Makefile.in $(DISTDIR)
442 cp $(DOCDIR)/lgpl.txt $(DISTDIR)/COPYING.LIB
443 cp $(DOCDIR)/licence.txt $(DISTDIR)/LICENCE.txt
444 cp $(DOCDIR)/symbols.txt $(DISTDIR)/SYMBOLS.txt
445
446 # this target is the common part of distribution script for all GUI toolkits,
447 # but is not used when building wxBase distribution
448 ALL_GUI_DIST: ALL_DIST
449 cp $(WXDIR)/wx$(TOOLKIT).spec $(DISTDIR)
450 cp $(DOCDIR)/$(TOOLKITDIR)/install.txt $(DISTDIR)/INSTALL.txt
451 cp $(DOCDIR)/$(TOOLKITDIR)/changes.txt $(DISTDIR)/CHANGES.txt
452 cp $(DOCDIR)/$(TOOLKITDIR)/readme.txt $(DISTDIR)/README.txt
453 cp $(DOCDIR)/$(TOOLKITDIR)/todo.txt $(DISTDIR)/TODO.txt
454 mkdir $(DISTDIR)/include
455 mkdir $(DISTDIR)/include/wx
456 mkdir $(DISTDIR)/include/wx/$(TOOLKITDIR)
457 mkdir $(DISTDIR)/include/wx/generic
458 mkdir $(DISTDIR)/include/wx/html
459 mkdir $(DISTDIR)/include/wx/protocol
460 mkdir $(DISTDIR)/include/wx/unix
461 cp $(INCDIR)/wx/*.h $(DISTDIR)/include/wx
462 cp $(INCDIR)/wx/*.inl $(DISTDIR)/include/wx
463 cp $(INCDIR)/wx/*.cpp $(DISTDIR)/include/wx
464 cp $(INCDIR)/wx/generic/*.h $(DISTDIR)/include/wx/generic
465 cp $(INCDIR)/wx/generic/*.xpm $(DISTDIR)/include/wx/generic
466 cp $(INCDIR)/wx/html/*.h $(DISTDIR)/include/wx/html
467 cp $(INCDIR)/wx/unix/*.h $(DISTDIR)/include/wx/unix
468 cp $(INCDIR)/wx/protocol/*.h $(DISTDIR)/include/wx/protocol
469 mkdir $(DISTDIR)/src
470 mkdir $(DISTDIR)/src/common
471 mkdir $(DISTDIR)/src/generic
472 mkdir $(DISTDIR)/src/html
473 mkdir $(DISTDIR)/src/html/bitmaps
474 mkdir $(DISTDIR)/src/$(TOOLKITDIR)
475 mkdir $(DISTDIR)/src/png
476 mkdir $(DISTDIR)/src/jpeg
477 mkdir $(DISTDIR)/src/tiff
478 mkdir $(DISTDIR)/src/zlib
479 mkdir $(DISTDIR)/src/iodbc
480 mkdir $(DISTDIR)/src/unix
481 cp $(WXDIR)/@PORT_FILES@ $(DISTDIR)/@PORT_FILES@
482 cp $(SRCDIR)/*.in $(DISTDIR)/src
483 cp $(COMMDIR)/*.cpp $(DISTDIR)/src/common
484 cp $(COMMDIR)/*.c $(DISTDIR)/src/common
485 cp $(UNIXDIR)/*.c $(DISTDIR)/src/unix
486 cp $(UNIXDIR)/*.cpp $(DISTDIR)/src/unix
487 cp $(COMMDIR)/*.inc $(DISTDIR)/src/common
488 cp $(COMMDIR)/*.l $(DISTDIR)/src/common
489 cp $(COMMDIR)/*.h $(DISTDIR)/src/common
490 cp $(COMMDIR)/*.y $(DISTDIR)/src/common
491 cp $(GENDIR)/*.cpp $(DISTDIR)/src/generic
492 cp $(HTMLDIR)/*.cpp $(DISTDIR)/src/html
493 cp $(HTMLDIR)/bitmaps/*.xpm $(DISTDIR)/src/html/bitmaps
494 cp $(PNGDIR)/*.h $(DISTDIR)/src/png
495 cp $(PNGDIR)/*.c $(DISTDIR)/src/png
496 cp $(PNGDIR)/README $(DISTDIR)/src/png
497 cp $(ZLIBDIR)/*.h $(DISTDIR)/src/zlib
498 cp $(ZLIBDIR)/*.c $(DISTDIR)/src/zlib
499 cp $(ZLIBDIR)/README $(DISTDIR)/src/zlib
500 cp $(JPEGDIR)/*.h $(DISTDIR)/src/jpeg
501 cp $(JPEGDIR)/*.c $(DISTDIR)/src/jpeg
502 cp $(JPEGDIR)/README $(DISTDIR)/src/jpeg
503 cp $(TIFFDIR)/*.h $(DISTDIR)/src/tiff
504 cp $(TIFFDIR)/*.c $(DISTDIR)/src/tiff
505 cp $(TIFFDIR)/README $(DISTDIR)/src/tiff
506 cp $(ODBCDIR)/*.h $(DISTDIR)/src/iodbc
507 cp $(ODBCDIR)/*.c $(DISTDIR)/src/iodbc
508 cp $(ODBCDIR)/*.ci $(DISTDIR)/src/iodbc
509 cp $(ODBCDIR)/*.exp $(DISTDIR)/src/iodbc
510 cp $(ODBCDIR)/README $(DISTDIR)/src/iodbc
511 cp $(ODBCDIR)/NEWS $(DISTDIR)/src/iodbc
512 cp $(ODBCDIR)/Changes.log $(DISTDIR)/src/iodbc
513
514 BASE_DIST: ALL_DIST
515 mkdir $(DISTDIR)/include
516 mkdir $(DISTDIR)/include/wx
517 mkdir $(DISTDIR)/include/wx/protocol
518 mkdir $(DISTDIR)/include/wx/unix
519 mkdir $(DISTDIR)/src
520 mkdir $(DISTDIR)/src/common
521 mkdir $(DISTDIR)/src/unix
522 cp $(WXDIR)/@PORT_FILES@ $(DISTDIR)/@PORT_FILES@
523 cp $(WXDIR)/@RPM_FILES@ $(DISTDIR)/@RPM_FILES@
524 cp $(WXDIR)/@RPM_SPEC@ $(DISTDIR)/@RPM_SPEC@
525 cp $(WXDIR)/wxBase.dsp $(DISTDIR)
526 cp $(DOCDIR)/install.txt $(DISTDIR)/INSTALL.txt
527 cp $(DOCDIR)/changes.txt $(DISTDIR)/CHANGES.txt
528 cp $(DOCDIR)/readme.txt $(DISTDIR)/README.txt
529 cp $(DOCDIR)/todo.txt $(DISTDIR)/TODO.txt
530 cp $(SRCDIR)/*.in $(DISTDIR)/src
531 list='$(HEADERS)'; for p in $$list; do \
532 cp $(WXDIR)/include/wx/$$p $(DISTDIR)/include/wx/$$p; \
533 done
534 list='$(SOURCES)'; for p in $$list; do \
535 cp $(WXDIR)/src/$$p $(DISTDIR)/src/$$p; \
536 done
537
538 GTK_DIST: ALL_GUI_DIST
539 cp $(WXDIR)/wxGTK.spec $(DISTDIR)
540 cp $(INCDIR)/wx/gtk/*.h $(DISTDIR)/include/wx/gtk
541 cp $(INCDIR)/wx/gtk/*.xpm $(DISTDIR)/include/wx/gtk
542 cp $(GTKDIR)/*.cpp $(DISTDIR)/src/gtk
543 cp $(GTKDIR)/*.c $(DISTDIR)/src/gtk
544 cp $(GTKDIR)/*.xbm $(DISTDIR)/src/gtk
545
546 MOTIF_DIST: ALL_GUI_DIST
547 cp $(WXDIR)/wxMOTIF.spec $(DISTDIR)
548 cp $(INCDIR)/wx/motif/*.h $(DISTDIR)/include/wx/motif
549 cp $(MOTIFDIR)/*.cpp $(DISTDIR)/src/motif
550 cp $(MOTIFDIR)/*.xbm $(DISTDIR)/src/motif
551 mkdir $(DISTDIR)/src/motif/xmcombo
552 cp $(MOTIFDIR)/xmcombo/*.c $(DISTDIR)/src/motif/xmcombo
553 cp $(MOTIFDIR)/xmcombo/*.h $(DISTDIR)/src/motif/xmcombo
554 cp $(MOTIFDIR)/xmcombo/copying.txt $(DISTDIR)/src/motif/xmcombo
555
556 MSW_DIST: ALL_GUI_DIST
557 cp $(WXDIR)/wxWINE.spec $(DISTDIR)
558 cp $(INCDIR)/wx/msw/*.h $(DISTDIR)/include/wx/msw
559 cp $(INCDIR)/wx/msw/*.cur $(DISTDIR)/include/wx/msw
560 cp $(INCDIR)/wx/msw/*.ico $(DISTDIR)/include/wx/msw
561 cp $(INCDIR)/wx/msw/*.bmp $(DISTDIR)/include/wx/msw
562 cp $(INCDIR)/wx/msw/*.rc $(DISTDIR)/include/wx/msw
563 cp $(MSWDIR)/*.cpp $(DISTDIR)/src/msw
564 cp $(MSWDIR)/*.c $(DISTDIR)/src/msw
565 cp $(MSWDIR)/*.def $(DISTDIR)/src/msw
566 mkdir $(DISTDIR)/src/msw/ole
567 cp $(MSWDIR)/ole/*.cpp $(DISTDIR)/src/msw/ole
568
569 DEMOS_DIST: ALL_GUI_DIST
570 mkdir $(DISTDIR)/demos
571 cp $(DEMODIR)/Makefile.in $(DISTDIR)/demos
572 cp $(DEMODIR)/configure $(DISTDIR)/samples
573 cp $(DEMODIR)/configure.in $(DISTDIR)/samples
574
575 mkdir $(DISTDIR)/demos/bombs
576 cp $(DEMODIR)/bombs/Makefile.in $(DISTDIR)/demos/bombs
577 cp $(DEMODIR)/bombs/makefile.unx $(DISTDIR)/demos/bombs
578 cp $(DEMODIR)/bombs/*.cpp $(DISTDIR)/demos/bombs
579 cp $(DEMODIR)/bombs/*.h $(DISTDIR)/demos/bombs
580 cp $(DEMODIR)/bombs/*.xpm $(DISTDIR)/demos/bombs
581 cp $(DEMODIR)/bombs/readme.txt $(DISTDIR)/demos/bombs
582
583 mkdir $(DISTDIR)/demos/forty
584 cp $(DEMODIR)/forty/Makefile.in $(DISTDIR)/demos/forty
585 cp $(DEMODIR)/forty/makefile.unx $(DISTDIR)/demos/forty
586 cp $(DEMODIR)/forty/*.h $(DISTDIR)/demos/forty
587 cp $(DEMODIR)/forty/*.cpp $(DISTDIR)/demos/forty
588 cp $(DEMODIR)/forty/*.xpm $(DISTDIR)/demos/forty
589 cp $(DEMODIR)/forty/*.xbm $(DISTDIR)/demos/forty
590
591 mkdir $(DISTDIR)/demos/life
592 mkdir $(DISTDIR)/demos/life/bitmaps
593 cp $(DEMODIR)/life/Makefile.in $(DISTDIR)/demos/life
594 cp $(DEMODIR)/life/makefile.unx $(DISTDIR)/demos/life
595 cp $(DEMODIR)/life/*.cpp $(DISTDIR)/demos/life
596 cp $(DEMODIR)/life/*.h $(DISTDIR)/demos/life
597 cp $(DEMODIR)/life/*.xpm $(DISTDIR)/demos/life
598 cp $(DEMODIR)/life/bitmaps/*.xpm $(DISTDIR)/demos/life/bitmaps
599
600 mkdir $(DISTDIR)/demos/poem
601 cp $(DEMODIR)/poem/Makefile.in $(DISTDIR)/demos/poem
602 cp $(DEMODIR)/poem/makefile.unx $(DISTDIR)/demos/poem
603 cp $(DEMODIR)/poem/*.cpp $(DISTDIR)/demos/poem
604 cp $(DEMODIR)/poem/*.xpm $(DISTDIR)/demos/poem
605 cp $(DEMODIR)/poem/*.dat $(DISTDIR)/demos/poem
606 cp $(DEMODIR)/poem/*.txt $(DISTDIR)/demos/poem
607
608 mkdir $(DISTDIR)/demos/fractal
609 cp $(DEMODIR)/fractal/Makefile.in $(DISTDIR)/demos/fractal
610 cp $(DEMODIR)/fractal/makefile.unx $(DISTDIR)/demos/fractal
611 cp $(DEMODIR)/fractal/*.cpp $(DISTDIR)/demos/fractal
612
613 SAMPLES_DIST: ALL_GUI_DIST
614 mkdir $(DISTDIR)/samples
615 cp $(SAMPDIR)/Makefile.in $(DISTDIR)/samples
616 cp $(SAMPDIR)/configure $(DISTDIR)/samples
617 cp $(SAMPDIR)/configure.in $(DISTDIR)/samples
618
619 mkdir $(DISTDIR)/samples/caret
620 cp $(SAMPDIR)/caret/Makefile.in $(DISTDIR)/samples/caret
621 cp $(SAMPDIR)/caret/makefile.unx $(DISTDIR)/samples/caret
622 cp $(SAMPDIR)/caret/*.cpp $(DISTDIR)/samples/caret
623 cp $(SAMPDIR)/caret/*.xpm $(DISTDIR)/samples/caret
624
625 mkdir $(DISTDIR)/samples/calendar
626 cp $(SAMPDIR)/calendar/Makefile.in $(DISTDIR)/samples/calendar
627 cp $(SAMPDIR)/calendar/makefile.unx $(DISTDIR)/samples/calendar
628 cp $(SAMPDIR)/calendar/*.cpp $(DISTDIR)/samples/calendar
629
630 mkdir $(DISTDIR)/samples/config
631 cp $(SAMPDIR)/config/Makefile.in $(DISTDIR)/samples/config
632 cp $(SAMPDIR)/config/makefile.unx $(DISTDIR)/samples/config
633 cp $(SAMPDIR)/config/*.cpp $(DISTDIR)/samples/config
634
635 mkdir $(DISTDIR)/samples/console
636 cp $(SAMPDIR)/console/Makefile.in $(DISTDIR)/samples/console
637 cp $(SAMPDIR)/console/makefile.unx $(DISTDIR)/samples/console
638 cp $(SAMPDIR)/console/*.cpp $(DISTDIR)/samples/console
639
640 mkdir $(DISTDIR)/samples/controls
641 mkdir $(DISTDIR)/samples/controls/icons
642 cp $(SAMPDIR)/controls/Makefile.in $(DISTDIR)/samples/controls
643 cp $(SAMPDIR)/controls/makefile.unx $(DISTDIR)/samples/controls
644 cp $(SAMPDIR)/controls/*.cpp $(DISTDIR)/samples/controls
645 cp $(SAMPDIR)/controls/*.xpm $(DISTDIR)/samples/controls
646 cp $(SAMPDIR)/controls/icons/*.??? $(DISTDIR)/samples/controls/icons
647
648 mkdir $(DISTDIR)/samples/checklst
649 cp $(SAMPDIR)/checklst/Makefile.in $(DISTDIR)/samples/checklst
650 cp $(SAMPDIR)/checklst/makefile.unx $(DISTDIR)/samples/checklst
651 cp $(SAMPDIR)/checklst/*.cpp $(DISTDIR)/samples/checklst
652 cp $(SAMPDIR)/checklst/*.xpm $(DISTDIR)/samples/checklst
653
654 mkdir $(DISTDIR)/samples/db
655 cp $(SAMPDIR)/db/Makefile.in $(DISTDIR)/samples/db
656 cp $(SAMPDIR)/db/makefile.unx $(DISTDIR)/samples/db
657 cp $(SAMPDIR)/db/*.cpp $(DISTDIR)/samples/db
658 cp $(SAMPDIR)/db/*.h $(DISTDIR)/samples/db
659 cp $(SAMPDIR)/db/*.xpm $(DISTDIR)/samples/db
660
661 mkdir $(DISTDIR)/samples/dialogs
662 cp $(SAMPDIR)/dialogs/Makefile.in $(DISTDIR)/samples/dialogs
663 cp $(SAMPDIR)/dialogs/makefile.unx $(DISTDIR)/samples/dialogs
664 cp $(SAMPDIR)/dialogs/*.cpp $(DISTDIR)/samples/dialogs
665 cp $(SAMPDIR)/dialogs/*.h $(DISTDIR)/samples/dialogs
666 cp $(SAMPDIR)/dialogs/*.txt $(DISTDIR)/samples/dialogs
667
668 mkdir $(DISTDIR)/samples/dnd
669 cp $(SAMPDIR)/dnd/Makefile.in $(DISTDIR)/samples/dnd
670 cp $(SAMPDIR)/dnd/makefile.unx $(DISTDIR)/samples/dnd
671 cp $(SAMPDIR)/dnd/*.wxr $(DISTDIR)/samples/dnd
672 cp $(SAMPDIR)/dnd/*.cpp $(DISTDIR)/samples/dnd
673 cp $(SAMPDIR)/dnd/*.xpm $(DISTDIR)/samples/dnd
674 cp $(SAMPDIR)/dnd/*.txt $(DISTDIR)/samples/dnd
675 cp $(SAMPDIR)/dnd/*.png $(DISTDIR)/samples/dnd
676
677 mkdir $(DISTDIR)/samples/docview
678 cp $(SAMPDIR)/docview/Makefile.in $(DISTDIR)/samples/docview
679 cp $(SAMPDIR)/docview/makefile.unx $(DISTDIR)/samples/docview
680 cp $(SAMPDIR)/docview/*.cpp $(DISTDIR)/samples/docview
681 cp $(SAMPDIR)/docview/*.h $(DISTDIR)/samples/docview
682 cp $(SAMPDIR)/docview/*.xpm $(DISTDIR)/samples/docview
683
684 mkdir $(DISTDIR)/samples/docvwmdi
685 cp $(SAMPDIR)/docvwmdi/Makefile.in $(DISTDIR)/samples/docvwmdi
686 cp $(SAMPDIR)/docvwmdi/makefile.unx $(DISTDIR)/samples/docvwmdi
687 cp $(SAMPDIR)/docvwmdi/*.cpp $(DISTDIR)/samples/docvwmdi
688 cp $(SAMPDIR)/docvwmdi/*.h $(DISTDIR)/samples/docvwmdi
689
690 mkdir $(DISTDIR)/samples/drawing
691 cp $(SAMPDIR)/drawing/Makefile.in $(DISTDIR)/samples/drawing
692 cp $(SAMPDIR)/drawing/makefile.unx $(DISTDIR)/samples/drawing
693 cp $(SAMPDIR)/drawing/*.cpp $(DISTDIR)/samples/drawing
694 cp $(SAMPDIR)/drawing/*.xpm $(DISTDIR)/samples/drawing
695
696 mkdir $(DISTDIR)/samples/dynamic
697 cp $(SAMPDIR)/dynamic/Makefile.in $(DISTDIR)/samples/dynamic
698 cp $(SAMPDIR)/dynamic/makefile.unx $(DISTDIR)/samples/dynamic
699 cp $(SAMPDIR)/dynamic/*.cpp $(DISTDIR)/samples/dynamic
700 cp $(SAMPDIR)/dynamic/*.xpm $(DISTDIR)/samples/dynamic
701
702 mkdir $(DISTDIR)/samples/exec
703 cp $(SAMPDIR)/exec/Makefile.in $(DISTDIR)/samples/exec
704 cp $(SAMPDIR)/exec/*.cpp $(DISTDIR)/samples/exec
705
706 mkdir $(DISTDIR)/samples/ipc
707 cp $(SAMPDIR)/ipc/Makefile.in $(DISTDIR)/samples/ipc
708 cp $(SAMPDIR)/ipc/*.xpm $(DISTDIR)/samples/ipc
709 cp $(SAMPDIR)/ipc/*.h $(DISTDIR)/samples/ipc
710 cp $(SAMPDIR)/ipc/*.cpp $(DISTDIR)/samples/ipc
711
712 mkdir $(DISTDIR)/samples/font
713 cp $(SAMPDIR)/font/Makefile.in $(DISTDIR)/samples/font
714 cp $(SAMPDIR)/font/makefile.unx $(DISTDIR)/samples/font
715 cp $(SAMPDIR)/font/*.cpp $(DISTDIR)/samples/font
716
717 mkdir $(DISTDIR)/samples/grid
718 cp $(SAMPDIR)/grid/Makefile.in $(DISTDIR)/samples/grid
719 cp $(SAMPDIR)/grid/makefile.unx $(DISTDIR)/samples/grid
720 cp $(SAMPDIR)/grid/*.cpp $(DISTDIR)/samples/grid
721
722 mkdir $(DISTDIR)/samples/help
723 mkdir $(DISTDIR)/samples/help/doc
724 cp $(SAMPDIR)/help/Makefile.in $(DISTDIR)/samples/help
725 cp $(SAMPDIR)/help/makefile.unx $(DISTDIR)/samples/help
726 cp $(SAMPDIR)/help/*.cpp $(DISTDIR)/samples/help
727 cp $(SAMPDIR)/help/*.xpm $(DISTDIR)/samples/help
728 cp $(SAMPDIR)/help/doc/*.* $(DISTDIR)/samples/help/doc
729
730 mkdir $(DISTDIR)/samples/html
731 cp $(SAMPDIR)/html/Makefile.in $(DISTDIR)/samples/html
732 mkdir $(DISTDIR)/samples/html/about
733 cp $(SAMPDIR)/html/about/Makefile.in $(DISTDIR)/samples/html/about
734 cp $(SAMPDIR)/html/about/*.cpp $(DISTDIR)/samples/html/about
735 mkdir $(DISTDIR)/samples/html/about/data
736 cp $(SAMPDIR)/html/about/data/*.htm $(DISTDIR)/samples/html/about/data
737 cp $(SAMPDIR)/html/about/data/*.png $(DISTDIR)/samples/html/about/data
738 mkdir $(DISTDIR)/samples/html/help
739 cp $(SAMPDIR)/html/help/Makefile.in $(DISTDIR)/samples/html/help
740 cp $(SAMPDIR)/html/help/*.cpp $(DISTDIR)/samples/html/help
741 mkdir $(DISTDIR)/samples/html/help/helpfiles
742 cp $(SAMPDIR)/html/help/helpfiles/*.??? $(DISTDIR)/samples/html/help/helpfiles
743 mkdir $(DISTDIR)/samples/html/helpview
744 cp $(SAMPDIR)/html/helpview/Makefile.in $(DISTDIR)/samples/html/helpview
745 cp $(SAMPDIR)/html/helpview/*.cpp $(DISTDIR)/samples/html/helpview
746 cp $(SAMPDIR)/html/helpview/*.zip $(DISTDIR)/samples/html/helpview
747 mkdir $(DISTDIR)/samples/html/printing
748 cp $(SAMPDIR)/html/printing/Makefile.in $(DISTDIR)/samples/html/printing
749 cp $(SAMPDIR)/html/printing/*.cpp $(DISTDIR)/samples/html/printing
750 cp $(SAMPDIR)/html/printing/*.htm $(DISTDIR)/samples/html/printing
751 mkdir $(DISTDIR)/samples/html/test
752 cp $(SAMPDIR)/html/test/Makefile.in $(DISTDIR)/samples/html/test
753 cp $(SAMPDIR)/html/test/*.cpp $(DISTDIR)/samples/html/test
754 cp $(SAMPDIR)/html/test/*.bmp $(DISTDIR)/samples/html/test
755 cp $(SAMPDIR)/html/test/*.png $(DISTDIR)/samples/html/test
756 cp $(SAMPDIR)/html/test/*.htm $(DISTDIR)/samples/html/test
757 cp $(SAMPDIR)/html/test/*.html $(DISTDIR)/samples/html/test
758 mkdir $(DISTDIR)/samples/html/virtual
759 cp $(SAMPDIR)/html/virtual/Makefile.in $(DISTDIR)/samples/html/virtual
760 cp $(SAMPDIR)/html/virtual/*.cpp $(DISTDIR)/samples/html/virtual
761 cp $(SAMPDIR)/html/virtual/*.htm $(DISTDIR)/samples/html/virtual
762 mkdir $(DISTDIR)/samples/html/widget
763 cp $(SAMPDIR)/html/widget/Makefile.in $(DISTDIR)/samples/html/widget
764 cp $(SAMPDIR)/html/widget/*.cpp $(DISTDIR)/samples/html/widget
765 cp $(SAMPDIR)/html/widget/*.htm $(DISTDIR)/samples/html/widget
766 mkdir $(DISTDIR)/samples/html/zip
767 cp $(SAMPDIR)/html/zip/Makefile.in $(DISTDIR)/samples/html/zip
768 cp $(SAMPDIR)/html/zip/*.cpp $(DISTDIR)/samples/html/zip
769 cp $(SAMPDIR)/html/zip/*.htm $(DISTDIR)/samples/html/zip
770 cp $(SAMPDIR)/html/zip/*.zip $(DISTDIR)/samples/html/zip
771
772 mkdir $(DISTDIR)/samples/image
773 cp $(SAMPDIR)/image/Makefile.in $(DISTDIR)/samples/image
774 cp $(SAMPDIR)/image/makefile.unx $(DISTDIR)/samples/image
775 cp $(SAMPDIR)/image/*.cpp $(DISTDIR)/samples/image
776 cp $(SAMPDIR)/image/horse.* $(DISTDIR)/samples/image
777 cp $(SAMPDIR)/image/smile.xbm $(DISTDIR)/samples/image
778 cp $(SAMPDIR)/image/smile.xpm $(DISTDIR)/samples/image
779
780 mkdir $(DISTDIR)/samples/internat
781 mkdir $(DISTDIR)/samples/internat/de
782 mkdir $(DISTDIR)/samples/internat/fr
783 cp $(SAMPDIR)/internat/Makefile.in $(DISTDIR)/samples/internat
784 cp $(SAMPDIR)/internat/makefile.unx $(DISTDIR)/samples/internat
785 cp $(SAMPDIR)/internat/*.cpp $(DISTDIR)/samples/internat
786 cp $(SAMPDIR)/internat/*.xpm $(DISTDIR)/samples/internat
787 cp $(SAMPDIR)/internat/*.txt $(DISTDIR)/samples/internat
788 cp $(SAMPDIR)/internat/*.po $(DISTDIR)/samples/internat
789 cp $(SAMPDIR)/internat/fr/*.po $(DISTDIR)/samples/internat/fr
790 cp $(SAMPDIR)/internat/de/*.mo $(DISTDIR)/samples/internat/de
791 cp $(SAMPDIR)/internat/fr/*.po $(DISTDIR)/samples/internat/fr
792 cp $(SAMPDIR)/internat/de/*.mo $(DISTDIR)/samples/internat/de
793
794 mkdir $(DISTDIR)/samples/layout
795 cp $(SAMPDIR)/layout/Makefile.in $(DISTDIR)/samples/layout
796 cp $(SAMPDIR)/layout/makefile.unx $(DISTDIR)/samples/layout
797 cp $(SAMPDIR)/layout/*.cpp $(DISTDIR)/samples/layout
798 cp $(SAMPDIR)/layout/*.h $(DISTDIR)/samples/layout
799
800 mkdir $(DISTDIR)/samples/listctrl
801 mkdir $(DISTDIR)/samples/listctrl/bitmaps
802 cp $(SAMPDIR)/listctrl/Makefile.in $(DISTDIR)/samples/listctrl
803 cp $(SAMPDIR)/listctrl/makefile.unx $(DISTDIR)/samples/listctrl
804 cp $(SAMPDIR)/listctrl/*.cpp $(DISTDIR)/samples/listctrl
805 cp $(SAMPDIR)/listctrl/*.h $(DISTDIR)/samples/listctrl
806 cp $(SAMPDIR)/listctrl/*.xpm $(DISTDIR)/samples/listctrl
807 cp $(SAMPDIR)/listctrl/bitmaps/*.xpm $(DISTDIR)/samples/listctrl/bitmaps
808
809 mkdir $(DISTDIR)/samples/mdi
810 mkdir $(DISTDIR)/samples/mdi/bitmaps
811 cp $(SAMPDIR)/mdi/Makefile.in $(DISTDIR)/samples/mdi
812 cp $(SAMPDIR)/mdi/makefile.unx $(DISTDIR)/samples/mdi
813 cp $(SAMPDIR)/mdi/*.cpp $(DISTDIR)/samples/mdi
814 cp $(SAMPDIR)/mdi/*.h $(DISTDIR)/samples/mdi
815 cp $(SAMPDIR)/mdi/*.xpm $(DISTDIR)/samples/mdi
816 cp $(SAMPDIR)/mdi/bitmaps/*.xpm $(DISTDIR)/samples/mdi/bitmaps
817
818 mkdir $(DISTDIR)/samples/memcheck
819 cp $(SAMPDIR)/memcheck/Makefile.in $(DISTDIR)/samples/memcheck
820 cp $(SAMPDIR)/memcheck/makefile.unx $(DISTDIR)/samples/memcheck
821 cp $(SAMPDIR)/memcheck/*.cpp $(DISTDIR)/samples/memcheck
822 cp $(SAMPDIR)/memcheck/*.xpm $(DISTDIR)/samples/memcheck
823
824 mkdir $(DISTDIR)/samples/menu
825 cp $(SAMPDIR)/menu/Makefile.in $(DISTDIR)/samples/menu
826 cp $(SAMPDIR)/menu/makefile.unx $(DISTDIR)/samples/menu
827 cp $(SAMPDIR)/menu/*.cpp $(DISTDIR)/samples/menu
828
829 mkdir $(DISTDIR)/samples/minifram
830 mkdir $(DISTDIR)/samples/minifram/bitmaps
831 cp $(SAMPDIR)/minifram/Makefile.in $(DISTDIR)/samples/minifram
832 cp $(SAMPDIR)/minifram/makefile.unx $(DISTDIR)/samples/minifram
833 cp $(SAMPDIR)/minifram/*.cpp $(DISTDIR)/samples/minifram
834 cp $(SAMPDIR)/minifram/*.h $(DISTDIR)/samples/minifram
835 cp $(SAMPDIR)/minifram/*.xpm $(DISTDIR)/samples/minifram
836 cp $(SAMPDIR)/minifram/bitmaps/*.xpm $(DISTDIR)/samples/minifram/bitmaps
837
838 mkdir $(DISTDIR)/samples/minimal
839 cp $(SAMPDIR)/minimal/Makefile.in $(DISTDIR)/samples/minimal
840 cp $(SAMPDIR)/minimal/makefile.unx $(DISTDIR)/samples/minimal
841 cp $(SAMPDIR)/minimal/*.cpp $(DISTDIR)/samples/minimal
842 cp $(SAMPDIR)/minimal/*.xpm $(DISTDIR)/samples/minimal
843
844 mkdir $(DISTDIR)/samples/dialup
845 cp $(SAMPDIR)/dialup/Makefile.in $(DISTDIR)/samples/dialup
846 cp $(SAMPDIR)/dialup/makefile.unx $(DISTDIR)/samples/dialup
847 cp $(SAMPDIR)/dialup/*.cpp $(DISTDIR)/samples/dialup
848
849 mkdir $(DISTDIR)/samples/newgrid
850 cp $(SAMPDIR)/newgrid/Makefile.in $(DISTDIR)/samples/newgrid
851 cp $(SAMPDIR)/newgrid/makefile.unx $(DISTDIR)/samples/newgrid
852 cp $(SAMPDIR)/newgrid/*.cpp $(DISTDIR)/samples/newgrid
853 cp $(SAMPDIR)/newgrid/*.h $(DISTDIR)/samples/newgrid
854
855 mkdir $(DISTDIR)/samples/notebook
856 cp $(SAMPDIR)/notebook/Makefile.in $(DISTDIR)/samples/notebook
857 cp $(SAMPDIR)/notebook/makefile.unx $(DISTDIR)/samples/notebook
858 cp $(SAMPDIR)/notebook/*.cpp $(DISTDIR)/samples/notebook
859 cp $(SAMPDIR)/notebook/*.h $(DISTDIR)/samples/notebook
860
861 mkdir $(DISTDIR)/samples/png
862 cp $(SAMPDIR)/png/Makefile.in $(DISTDIR)/samples/png
863 cp $(SAMPDIR)/png/makefile.unx $(DISTDIR)/samples/png
864 cp $(SAMPDIR)/png/*.cpp $(DISTDIR)/samples/png
865 cp $(SAMPDIR)/png/*.h $(DISTDIR)/samples/png
866 cp $(SAMPDIR)/png/*.png $(DISTDIR)/samples/png
867
868 mkdir $(DISTDIR)/samples/printing
869 cp $(SAMPDIR)/printing/Makefile.in $(DISTDIR)/samples/printing
870 cp $(SAMPDIR)/printing/makefile.unx $(DISTDIR)/samples/printing
871 cp $(SAMPDIR)/printing/*.cpp $(DISTDIR)/samples/printing
872 cp $(SAMPDIR)/printing/*.h $(DISTDIR)/samples/printing
873 cp $(SAMPDIR)/printing/*.xpm $(DISTDIR)/samples/printing
874 cp $(SAMPDIR)/printing/*.xbm $(DISTDIR)/samples/printing
875
876 mkdir $(DISTDIR)/samples/resource
877 cp $(SAMPDIR)/resource/Makefile.in $(DISTDIR)/samples/resource
878 cp $(SAMPDIR)/resource/makefile.unx $(DISTDIR)/samples/resource
879 cp $(SAMPDIR)/resource/*.cpp $(DISTDIR)/samples/resource
880 cp $(SAMPDIR)/resource/*.h $(DISTDIR)/samples/resource
881 cp $(SAMPDIR)/resource/*.wxr $(DISTDIR)/samples/resource
882
883 mkdir $(DISTDIR)/samples/richedit
884 cp $(SAMPDIR)/richedit/Makefile.in $(DISTDIR)/samples/richedit
885 cp $(SAMPDIR)/richedit/*.cpp $(DISTDIR)/samples/richedit
886 cp $(SAMPDIR)/richedit/*.h $(DISTDIR)/samples/richedit
887 cp $(SAMPDIR)/richedit/*.xpm $(DISTDIR)/samples/richedit
888 cp $(SAMPDIR)/richedit/README $(DISTDIR)/samples/richedit
889 cp $(SAMPDIR)/richedit/TODO $(DISTDIR)/samples/richedit
890
891 mkdir $(DISTDIR)/samples/proplist
892 cp $(SAMPDIR)/proplist/Makefile.in $(DISTDIR)/samples/proplist
893 cp $(SAMPDIR)/proplist/*.cpp $(DISTDIR)/samples/proplist
894 cp $(SAMPDIR)/proplist/*.h $(DISTDIR)/samples/proplist
895
896 mkdir $(DISTDIR)/samples/propsize
897 cp $(SAMPDIR)/propsize/Makefile.in $(DISTDIR)/samples/propsize
898 cp $(SAMPDIR)/propsize/*.cpp $(DISTDIR)/samples/propsize
899 cp $(SAMPDIR)/propsize/*.xpm $(DISTDIR)/samples/propsize
900
901 mkdir $(DISTDIR)/samples/sashtest
902 cp $(SAMPDIR)/sashtest/Makefile.in $(DISTDIR)/samples/sashtest
903 cp $(SAMPDIR)/sashtest/*.cpp $(DISTDIR)/samples/sashtest
904 cp $(SAMPDIR)/sashtest/*.h $(DISTDIR)/samples/sashtest
905
906 mkdir $(DISTDIR)/samples/scroll
907 cp $(SAMPDIR)/scroll/Makefile.in $(DISTDIR)/samples/scroll
908 cp $(SAMPDIR)/scroll/makefile.unx $(DISTDIR)/samples/scroll
909 cp $(SAMPDIR)/scroll/*.cpp $(DISTDIR)/samples/scroll
910
911 mkdir $(DISTDIR)/samples/scrollsub
912 cp $(SAMPDIR)/scrollsub/Makefile.in $(DISTDIR)/samples/scrollsub
913 cp $(SAMPDIR)/scrollsub/makefile.unx $(DISTDIR)/samples/scrollsub
914 cp $(SAMPDIR)/scrollsub/*.cpp $(DISTDIR)/samples/scrollsub
915
916 mkdir $(DISTDIR)/samples/splitter
917 cp $(SAMPDIR)/splitter/makefile.unx $(DISTDIR)/samples/splitter
918 cp $(SAMPDIR)/splitter/Makefile.in $(DISTDIR)/samples/splitter
919 cp $(SAMPDIR)/splitter/*.cpp $(DISTDIR)/samples/splitter
920
921 mkdir $(DISTDIR)/samples/text
922 cp $(SAMPDIR)/text/Makefile.in $(DISTDIR)/samples/text
923 cp $(SAMPDIR)/text/makefile.unx $(DISTDIR)/samples/text
924 cp $(SAMPDIR)/text/*.cpp $(DISTDIR)/samples/text
925 cp $(SAMPDIR)/text/*.xpm $(DISTDIR)/samples/text
926
927 mkdir $(DISTDIR)/samples/thread
928 cp $(SAMPDIR)/thread/Makefile.in $(DISTDIR)/samples/thread
929 cp $(SAMPDIR)/thread/makefile.unx $(DISTDIR)/samples/thread
930 cp $(SAMPDIR)/thread/*.cpp $(DISTDIR)/samples/thread
931
932 mkdir $(DISTDIR)/samples/toolbar
933 cp $(SAMPDIR)/toolbar/Makefile.in $(DISTDIR)/samples/toolbar
934 cp $(SAMPDIR)/toolbar/*.cpp $(DISTDIR)/samples/toolbar
935 cp $(SAMPDIR)/toolbar/*.xpm $(DISTDIR)/samples/toolbar
936 mkdir $(DISTDIR)/samples/toolbar/bitmaps
937 cp $(SAMPDIR)/toolbar/bitmaps/*.xpm $(DISTDIR)/samples/toolbar/bitmaps
938
939 mkdir $(DISTDIR)/samples/treectrl
940 cp $(SAMPDIR)/treectrl/Makefile.in $(DISTDIR)/samples/treectrl
941 cp $(SAMPDIR)/treectrl/*.cpp $(DISTDIR)/samples/treectrl
942 cp $(SAMPDIR)/treectrl/*.h $(DISTDIR)/samples/treectrl
943 cp $(SAMPDIR)/treectrl/*.xpm $(DISTDIR)/samples/treectrl
944
945 mkdir $(DISTDIR)/samples/typetest
946 cp $(SAMPDIR)/typetest/Makefile.in $(DISTDIR)/samples/typetest
947 cp $(SAMPDIR)/typetest/*.cpp $(DISTDIR)/samples/typetest
948 cp $(SAMPDIR)/typetest/*.h $(DISTDIR)/samples/typetest
949 cp $(SAMPDIR)/typetest/*.xpm $(DISTDIR)/samples/typetest
950
951 mkdir $(DISTDIR)/samples/validate
952 cp $(SAMPDIR)/validate/Makefile.in $(DISTDIR)/samples/validate
953 cp $(SAMPDIR)/validate/*.cpp $(DISTDIR)/samples/validate
954 cp $(SAMPDIR)/validate/*.h $(DISTDIR)/samples/validate
955 cp $(SAMPDIR)/validate/*.xpm $(DISTDIR)/samples/validate
956
957 mkdir $(DISTDIR)/samples/wizard
958 cp $(SAMPDIR)/wizard/Makefile.in $(DISTDIR)/samples/wizard
959 cp $(SAMPDIR)/wizard/*.cpp $(DISTDIR)/samples/wizard
960 cp $(SAMPDIR)/wizard/*.xpm $(DISTDIR)/samples/wizard
961
962 mkdir $(DISTDIR)/samples/sockets
963 cp $(SAMPDIR)/sockets/Makefile.in $(DISTDIR)/samples/sockets
964 cp $(SAMPDIR)/sockets/*.cpp $(DISTDIR)/samples/sockets
965 cp $(SAMPDIR)/sockets/*.xpm $(DISTDIR)/samples/sockets
966
967 UTILS_DIST: ALL_GUI_DIST
968 mkdir $(DISTDIR)/utils
969 cp $(UTILSDIR)/Makefile.in $(DISTDIR)/utils
970 cp $(UTILSDIR)/configure $(DISTDIR)/samples
971 cp $(UTILSDIR)/configure.in $(DISTDIR)/samples
972
973 mkdir $(DISTDIR)/utils/wxMMedia2
974 mkdir $(DISTDIR)/utils/wxMMedia2/lib
975 mkdir $(DISTDIR)/utils/wxMMedia2/sample
976 cp $(UTILSDIR)/wxMMedia2/Makefile.in $(DISTDIR)/utils/wxMMedia2
977 cp $(UTILSDIR)/wxMMedia2/lib/Makefile.in $(DISTDIR)/utils/wxMMedia2/lib
978 cp $(UTILSDIR)/wxMMedia2/lib/*.h $(DISTDIR)/utils/wxMMedia2/lib
979 cp $(UTILSDIR)/wxMMedia2/lib/*.cpp $(DISTDIR)/utils/wxMMedia2/lib
980 cp $(UTILSDIR)/wxMMedia2/lib/*.def $(DISTDIR)/utils/wxMMedia2/lib
981 cp $(UTILSDIR)/wxMMedia2/sample/Makefile.in $(DISTDIR)/utils/wxMMedia2/sample
982 cp $(UTILSDIR)/wxMMedia2/sample/*.cpp $(DISTDIR)/utils/wxMMedia2/sample
983
984 mkdir $(DISTDIR)/utils/glcanvas
985 mkdir $(DISTDIR)/utils/glcanvas/$(TOOLKITDIR)
986 cp $(UTILSDIR)/glcanvas/Makefile.in $(DISTDIR)/utils/glcanvas
987 cp $(UTILSDIR)/glcanvas/docs/notes.txt $(DISTDIR)/utils/glcanvas/NOTES.txt
988 cp $(UTILSDIR)/glcanvas/$(TOOLKITDIR)/Makefile.in $(DISTDIR)/utils/glcanvas/$(TOOLKITDIR)
989 cp $(UTILSDIR)/glcanvas/$(TOOLKITDIR)/*.h $(DISTDIR)/utils/glcanvas/$(TOOLKITDIR)
990 cp $(UTILSDIR)/glcanvas/$(TOOLKITDIR)/*.cpp $(DISTDIR)/utils/glcanvas/$(TOOLKITDIR)
991
992 mkdir $(DISTDIR)/utils/ogl
993 mkdir $(DISTDIR)/utils/ogl/src
994 cp $(UTILSDIR)/ogl/Makefile.in $(DISTDIR)/utils/ogl
995 cp $(UTILSDIR)/ogl/src/Makefile.in $(DISTDIR)/utils/ogl/src
996 cp $(UTILSDIR)/ogl/src/*.h $(DISTDIR)/utils/ogl/src
997 cp $(UTILSDIR)/ogl/src/*.cpp $(DISTDIR)/utils/ogl/src
998
999 MISC_DIST: ALL_GUI_DIST
1000 mkdir $(DISTDIR)/misc
1001 mkdir $(DISTDIR)/misc/afm
1002 cp $(MISCDIR)/afm/*.afm $(DISTDIR)/misc/afm
1003 mkdir $(DISTDIR)/misc/gs_afm
1004 cp $(MISCDIR)/gs_afm/*.afm $(DISTDIR)/misc/gs_afm
1005
1006 distclean:
1007 $(RM) -r _dist_dir
1008
1009 dist: @GUIDIST@
1010 @echo "*** Creating wxWindows distribution in $(DISTDIR)..."
1011 cd _dist_dir; tar ch @DISTDIR@ | gzip -f9 > $(WXARCHIVE); mv $(WXARCHIVE) ..
1012 @if test "$(USE_GUI)" = 1; then \
1013 cd $(DISTDIR); \
1014 mv samples wxSamples; \
1015 tar ch wxSamples | gzip -f9 > ../../$(WXSAMPLES); \
1016 mv wxSamples samples; \
1017 mv demos wxDemos; \
1018 tar ch wxDemos | gzip -f9 > ../../$(WXDEMOS); \
1019 mv wxDemos demos; \
1020 fi
1021
1022 clean:
1023 $(RM) *.o
1024 $(RM) *.d
1025 $(RM) parser.c
1026 $(RM) lexer.c
1027 $(RM) ./lib/*
1028
1029 cleanall: clean