]>
Commit | Line | Data |
---|---|---|
ad9edf45 RR |
1 | # |
2 | # File: makefile.unx | |
3 | # Author: Julian Smart, Robert Roebling, Vadim Zeitlin | |
4 | # Created: 1993 | |
5 | # Updated: 1999 | |
6 | # Copyright:(c) 1993, AIAI, University of Edinburgh, | |
7 | # Copyright:(c) 1999, Vadim Zeitlin | |
8 | # Copyright:(c) 1999, Robert Roebling | |
9 | # | |
10 | # Makefile for libwx_gtk.a, libwx_motif.a and libwx_msw.a | |
11 | ||
12 | ################################################################### | |
13 | ||
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 : | |
5586805b | 22 | $(CCC) -c @DEP_INFO_FLAGS@ $(CFLAGS) $(PICFLAGS) -o $@ $< |
ad9edf45 RR |
23 | |
24 | .cpp.o : | |
5586805b | 25 | $(CC) -c @DEP_INFO_FLAGS@ $(CPPFLAGS) $(PICFLAGS) -o $@ $< |
ad9edf45 RR |
26 | |
27 | .cxx.o : | |
5586805b | 28 | $(CC) -c @DEP_INFO_FLAGS@ $(CPPFLAGS) $(PICFLAGS) -o $@ $< |
ad9edf45 RR |
29 | |
30 | ########################### Paths ################################# | |
31 | ||
32 | srcdir = @srcdir@ | |
33 | ||
5586805b RR |
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 | |
c7a2bf27 RR |
42 | VP9 = @top_srcdir@/src/tiff |
43 | VP10 = @top_srcdir@/src/zlib | |
44 | VP11 = @top_srcdir@/src/iodbc | |
5586805b | 45 | |
e183484e VZ |
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 | |
ad9edf45 RR |
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@ | |
8b17ba72 RR |
79 | # my autoconf doesn't set this |
80 | #INSTALL_SCRIPT = @INSTALL_SCRIPT@ | |
81 | # maybe do an additional chmod if needed? | |
2224580a | 82 | INSTALL_SCRIPT = @INSTALL@ |
ad9edf45 RR |
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 | ||
dad6c0ea VZ |
98 | USE_GUI=@USE_GUI@ |
99 | ||
ad9edf45 RR |
100 | ############################# Dirs ################################# |
101 | ||
102 | WXDIR = $(top_srcdir) | |
103 | ||
104 | # Subordinate library possibilities | |
105 | ||
4cb122de RR |
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 | |
1d62a8b4 | 113 | TIFFDIR = $(WXDIR)/src/tiff |
4cb122de RR |
114 | ZLIBDIR = $(WXDIR)/src/zlib |
115 | GTKDIR = $(WXDIR)/src/gtk | |
ad9edf45 | 116 | MOTIFDIR = $(WXDIR)/src/motif |
4cb122de | 117 | MSWDIR = $(WXDIR)/src/msw |
9260520f | 118 | PMDIR = $(WXDIR)/src/os2 |
c09ab26a | 119 | ODBCDIR = $(WXDIR)/src/iodbc |
4cb122de RR |
120 | INCDIR = $(WXDIR)/include |
121 | SAMPDIR = $(WXDIR)/samples | |
dfd6b52f | 122 | DEMODIR = $(WXDIR)/demos |
641d87d8 | 123 | UTILSDIR = $(WXDIR)/utils |
a6f3598d | 124 | MISCDIR = $(WXDIR)/misc |
ad9edf45 RR |
125 | |
126 | DOCDIR = $(WXDIR)/docs | |
127 | ||
a4aad961 RR |
128 | ########################## Archive name ############################### |
129 | ||
2224580a | 130 | WXARCHIVE = @DISTDIR@-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER).tgz |
ba0e7d41 | 131 | WXSAMPLES = wx$(TOOLKIT)-samples-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER).tgz |
dfd6b52f | 132 | WXDEMOS = wx$(TOOLKIT)-demos-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER).tgz |
2224580a | 133 | DISTDIR = ./_dist_dir/@DISTDIR@ |
a4aad961 | 134 | |
ad9edf45 RR |
135 | ############################## Files ################################## |
136 | ||
2224580a VZ |
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@ | |
ad9edf45 | 149 | |
2224580a VZ |
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) | |
ad9edf45 | 152 | ZLIBOBJS = \ |
5586805b RR |
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 | |
ad9edf45 RR |
167 | |
168 | PNGOBJS = \ | |
5586805b RR |
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 | |
ad9edf45 RR |
184 | |
185 | ||
186 | JPEGOBJS = \ | |
5586805b RR |
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 | |
ad9edf45 | 233 | |
c7a2bf27 RR |
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 \ | |
b47c832e | 251 | tif_luv.o \ |
c7a2bf27 RR |
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 | ||
103aab26 | 269 | IODBCOBJS = \ |
e115e771 RR |
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 | |
103aab26 | 285 | |
2224580a | 286 | ############################## Rules ################################## |
f85afd4e | 287 | |
1d62a8b4 RR |
288 | BURNT_LIBRARY_NAME = @BURNT_LIBRARY_NAME@ |
289 | ||
de87c353 | 290 | all: @WX_ALL@ |
ad9edf45 RR |
291 | |
292 | @WX_LIBRARY_NAME_STATIC@: $(OBJECTS) | |
4130b487 | 293 | @$(INSTALL) -d ./lib |
ad9edf45 RR |
294 | $(AR) $(AROPTIONS) ./lib/$@ $(OBJECTS) |
295 | $(RANLIB) ./lib/$@ | |
296 | ||
297 | @WX_LIBRARY_NAME_SHARED@: $(OBJECTS) | |
4130b487 | 298 | @$(INSTALL) -d ./lib |
1d62a8b4 | 299 | $(SHARED_LD) ./lib/$@ $(BURNT_LIBRARY_NAME) $(OBJECTS) $(EXTRALIBS) |
af563b66 | 300 | |
de87c353 | 301 | CREATE_LINKS: @WX_LIBRARY_NAME_SHARED@ |
4130b487 RR |
302 | @$(RM) ./lib/@WX_LIBRARY_LINK1@ |
303 | @$(RM) ./lib/@WX_LIBRARY_LINK2@ | |
304 | @$(RM) ./lib/@WX_LIBRARY_LINK3@ | |
ad9edf45 RR |
305 | $(LN_S) @WX_TARGET_LIBRARY@ ./lib/@WX_LIBRARY_LINK1@ |
306 | $(LN_S) @WX_TARGET_LIBRARY@ ./lib/@WX_LIBRARY_LINK2@ | |
307 | $(LN_S) @WX_TARGET_LIBRARY@ ./lib/@WX_LIBRARY_LINK3@ | |
af563b66 | 308 | |
2224580a | 309 | CREATE_INSTALLED_LINKS: preinstall |
5586805b RR |
310 | $(RM) $(libdir)/@WX_LIBRARY_LINK1@ |
311 | $(RM) $(libdir)/@WX_LIBRARY_LINK2@ | |
312 | $(RM) $(libdir)/@WX_LIBRARY_LINK3@ | |
de87c353 RR |
313 | $(LN_S) @WX_LIBRARY_NAME_SHARED@ $(libdir)/@WX_LIBRARY_LINK1@ |
314 | $(LN_S) @WX_LIBRARY_NAME_SHARED@ $(libdir)/@WX_LIBRARY_LINK2@ | |
315 | $(LN_S) @WX_LIBRARY_NAME_SHARED@ $(libdir)/@WX_LIBRARY_LINK3@ | |
af563b66 | 316 | |
257980e6 | 317 | $(OBJECTS): $(WXDIR)/include/wx/defs.h $(WXDIR)/include/wx/object.h |
ad9edf45 RR |
318 | |
319 | parser.o: parser.c lexer.c | |
8636aed8 | 320 | $(CCLEX) -c $(CFLAGS) $(PICFLAGS) -o $@ parser.c |
ad9edf45 RR |
321 | |
322 | parser.c: $(COMMDIR)/parser.y lexer.c | |
323 | $(YACC) $(COMMDIR)/parser.y | |
324 | @sed -e "s;$(COMMDIR)/y.tab.c;parser.y;g" < y.tab.c | \ | |
325 | sed -e "s/BUFSIZ/5000/g" | \ | |
326 | sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \ | |
327 | sed -e "s/yy/PROIO_yy/g" | \ | |
328 | sed -e "s/input/PROIO_input/g" | \ | |
329 | sed -e "s/unput/PROIO_unput/g" > parser.c | |
330 | @$(RM) y.tab.c | |
331 | ||
332 | lexer.c: $(COMMDIR)/lexer.l | |
333 | $(LEX) $(COMMDIR)/lexer.l | |
9260520f | 334 | @sed -e "s;$(COMMDIR)/@LEX_STEM@.c;lexer.l;g" < @LEX_STEM@.c | \ |
ad9edf45 RR |
335 | sed -e "s/yy/PROIO_yy/g" | \ |
336 | sed -e "s/input/PROIO_input/g" | \ | |
337 | sed -e "s/unput/PROIO_unput/g" > lexer.c | |
9260520f | 338 | @$(RM) @LEX_STEM@.c |
ad9edf45 | 339 | |
5586805b RR |
340 | -include $(DEPFILES) |
341 | ||
2224580a | 342 | afminstall: preinstall |
dad6c0ea VZ |
343 | $(INSTALL) -d $(datadir) |
344 | $(INSTALL) -d $(datadir)/wx | |
345 | $(INSTALL) -d $(datadir)/wx/afm | |
346 | $(INSTALL) -d $(datadir)/wx/gs_afm | |
347 | $(INSTALL_DATA) $(top_srcdir)/misc/afm/*.afm $(datadir)/wx/afm | |
348 | $(INSTALL_DATA) $(top_srcdir)/misc/gs_afm/*.afm $(datadir)/wx/gs_afm | |
2224580a VZ |
349 | |
350 | # this is the real install target: copies the library, wx-config and the | |
351 | # headers to the installation directory | |
257980e6 | 352 | preinstall: $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(top_builddir)/wx-config |
ad9edf45 RR |
353 | @echo " " |
354 | @echo " Installing wxWindows..." | |
355 | @echo " " | |
356 | ||
8b17ba72 RR |
357 | $(INSTALL) -d $(prefix) |
358 | $(INSTALL) -d $(bindir) | |
359 | $(INSTALL) -d $(libdir) | |
360 | ||
ad9edf45 RR |
361 | $(INSTALL_SCRIPT) $(top_builddir)/wx-config $(bindir)/wx-config |
362 | $(INSTALL_PROGRAM) $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(libdir)/@WX_TARGET_LIBRARY@ | |
8b17ba72 RR |
363 | |
364 | $(INSTALL) -d $(libdir)/wx | |
365 | $(INSTALL) -d $(libdir)/wx/include | |
366 | $(INSTALL) -d $(libdir)/wx/include/wx | |
367 | $(INSTALL) -d $(libdir)/wx/include/wx/@TOOLKIT_DIR@ | |
257980e6 | 368 | $(INSTALL_DATA) $(top_builddir)/include/wx/@TOOLKIT_DIR@/setup.h $(libdir)/wx/include/wx/@TOOLKIT_DIR@/setup.h |
af563b66 | 369 | |
8b17ba72 | 370 | $(INSTALL) -d $(includedir)/wx |
9260520f VZ |
371 | @if test "$(USE_GUI)" = 1; then $(INSTALL) -d $(includedir)/wx/@TOOLKIT_DIR@; fi |
372 | @if test "$(USE_GUI)" = 1; then $(INSTALL) -d $(includedir)/wx/html; fi | |
9260520f | 373 | @if test "$(USE_GUI)" = 1; then $(INSTALL) -d $(includedir)/wx/generic; fi |
2224580a VZ |
374 | $(INSTALL) -d $(includedir)/wx/protocol |
375 | $(INSTALL) -d $(includedir)/wx/unix | |
ad9edf45 RR |
376 | @list='$(HEADERS)'; for p in $$list; do \ |
377 | $(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p; \ | |
378 | echo "$(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p"; \ | |
379 | done | |
9260520f | 380 | |
2224580a | 381 | install: @AFMINSTALL@ @WX_ALL_INSTALLED@ |
549c6f67 | 382 | @echo " " |
ad9edf45 | 383 | @echo " The installation of wxWindows is finished. On certain" |
c09ab26a | 384 | @echo " platforms (e.g. Linux) you'll now have to run ldconfig" |
2224580a VZ |
385 | @echo " if you installed a shared library and also modify" |
386 | @echo " LD_LIBRARY_PATH (or equivalent) environment variable." | |
ad9edf45 | 387 | @echo " " |
2224580a | 388 | @echo " wxWindows comes with no guarantees and doesn't claim" |
ad9edf45 RR |
389 | @echo " to be suitable for any purpose." |
390 | @echo " " | |
391 | @echo " Read the wxWindows Licence on licencing conditions." | |
392 | @echo " " | |
393 | ||
ad9edf45 RR |
394 | uninstall: |
395 | @echo " " | |
396 | @echo " Uninstalling wxWindows..." | |
397 | @echo " " | |
398 | @echo " Removing library..." | |
8b17ba72 RR |
399 | @$(RM) $(libdir)/@WX_TARGET_LIBRARY@ |
400 | @$(RM) $(libdir)/@WX_LIBRARY_LINK1@ | |
401 | @$(RM) $(libdir)/@WX_LIBRARY_LINK2@ | |
402 | @$(RM) $(libdir)/@WX_LIBRARY_LINK3@ | |
ad9edf45 | 403 | @echo " Removing helper files..." |
8b17ba72 RR |
404 | @$(RM) $(libdir)/wx/include/wx/@TOOLKIT_DIR@/setup.h |
405 | @$(RM) $(bindir)/wx-config | |
a6f3598d RR |
406 | @$(RM) $(datadir)/wx/afm/* |
407 | @$(RM) $(datadir)/wx/gs_afm/* | |
408 | @rmdir $(datadir)/wx/gs_afm | |
409 | @rmdir $(datadir)/wx/afm | |
410 | @rmdir $(datadir)/wx | |
ad9edf45 RR |
411 | @echo " Removing headers..." |
412 | @list='$(HEADERS)'; for p in $$list; do \ | |
8b17ba72 | 413 | $(RM) $(includedir)/wx/$$p; \ |
ad9edf45 RR |
414 | done |
415 | @echo " Removing directories..." | |
416 | @if test -d $(libdir)/wx/include/wx/@TOOLKIT_DIR@; then rmdir $(libdir)/wx/include/wx/@TOOLKIT_DIR@; fi | |
417 | @if test -d $(libdir)/wx/include/wx; then rmdir $(libdir)/wx/include/wx; fi | |
418 | @if test -d $(libdir)/wx/include; then rmdir $(libdir)/wx/include; fi | |
419 | @if test -d $(libdir)/wx; then rmdir $(libdir)/wx; fi | |
420 | @if test -d $(includedir)/wx/gtk; then rmdir $(includedir)/wx/gtk; fi | |
421 | @if test -d $(includedir)/wx/motif; then rmdir $(includedir)/wx/motif; fi | |
a6f3598d | 422 | @if test -d $(includedir)/wx/msw; then rmdir $(includedir)/wx/msw; fi |
ad9edf45 RR |
423 | @if test -d $(includedir)/wx/html; then rmdir $(includedir)/wx/html; fi |
424 | @if test -d $(includedir)/wx/unix; then rmdir $(includedir)/wx/unix; fi | |
425 | @if test -d $(includedir)/wx/generic; then rmdir $(includedir)/wx/generic; fi | |
426 | @if test -d $(includedir)/wx/protocol; then rmdir $(includedir)/wx/protocol; fi | |
427 | @if test -d $(includedir)/wx; then rmdir $(includedir)/wx; fi | |
428 | ||
2224580a VZ |
429 | # this target should copy only the files common to really all ports (including |
430 | # wxBase) to the dist dir | |
431 | ALL_DIST: distclean | |
a4aad961 RR |
432 | mkdir _dist_dir |
433 | mkdir $(DISTDIR) | |
257980e6 | 434 | cp $(WXDIR)/configure.in $(DISTDIR) |
a4aad961 RR |
435 | cp $(WXDIR)/configure $(DISTDIR) |
436 | cp $(WXDIR)/config.sub $(DISTDIR) | |
437 | cp $(WXDIR)/config.guess $(DISTDIR) | |
438 | cp $(WXDIR)/install-sh $(DISTDIR) | |
439 | cp $(WXDIR)/mkinstalldirs $(DISTDIR) | |
440 | cp $(WXDIR)/wx-config.in $(DISTDIR) | |
441 | cp $(WXDIR)/setup.h.in $(DISTDIR) | |
442 | cp $(WXDIR)/Makefile.in $(DISTDIR) | |
443 | cp $(DOCDIR)/lgpl.txt $(DISTDIR)/COPYING.LIB | |
444 | cp $(DOCDIR)/licence.txt $(DISTDIR)/LICENCE.txt | |
445 | cp $(DOCDIR)/symbols.txt $(DISTDIR)/SYMBOLS.txt | |
2224580a VZ |
446 | |
447 | # this target is the common part of distribution script for all GUI toolkits, | |
448 | # but is not used when building wxBase distribution | |
449 | ALL_GUI_DIST: ALL_DIST | |
450 | cp $(WXDIR)/wx$(TOOLKIT).spec $(DISTDIR) | |
a4aad961 RR |
451 | cp $(DOCDIR)/$(TOOLKITDIR)/install.txt $(DISTDIR)/INSTALL.txt |
452 | cp $(DOCDIR)/$(TOOLKITDIR)/changes.txt $(DISTDIR)/CHANGES.txt | |
453 | cp $(DOCDIR)/$(TOOLKITDIR)/readme.txt $(DISTDIR)/README.txt | |
454 | cp $(DOCDIR)/$(TOOLKITDIR)/todo.txt $(DISTDIR)/TODO.txt | |
455 | mkdir $(DISTDIR)/include | |
456 | mkdir $(DISTDIR)/include/wx | |
457 | mkdir $(DISTDIR)/include/wx/$(TOOLKITDIR) | |
458 | mkdir $(DISTDIR)/include/wx/generic | |
459 | mkdir $(DISTDIR)/include/wx/html | |
a4aad961 | 460 | mkdir $(DISTDIR)/include/wx/protocol |
2224580a VZ |
461 | mkdir $(DISTDIR)/include/wx/unix |
462 | cp $(INCDIR)/wx/*.h $(DISTDIR)/include/wx | |
463 | cp $(INCDIR)/wx/*.inl $(DISTDIR)/include/wx | |
a4aad961 RR |
464 | cp $(INCDIR)/wx/*.cpp $(DISTDIR)/include/wx |
465 | cp $(INCDIR)/wx/generic/*.h $(DISTDIR)/include/wx/generic | |
466 | cp $(INCDIR)/wx/generic/*.xpm $(DISTDIR)/include/wx/generic | |
467 | cp $(INCDIR)/wx/html/*.h $(DISTDIR)/include/wx/html | |
468 | cp $(INCDIR)/wx/unix/*.h $(DISTDIR)/include/wx/unix | |
469 | cp $(INCDIR)/wx/protocol/*.h $(DISTDIR)/include/wx/protocol | |
4cb122de RR |
470 | mkdir $(DISTDIR)/src |
471 | mkdir $(DISTDIR)/src/common | |
472 | mkdir $(DISTDIR)/src/generic | |
473 | mkdir $(DISTDIR)/src/html | |
474 | mkdir $(DISTDIR)/src/html/bitmaps | |
475 | mkdir $(DISTDIR)/src/$(TOOLKITDIR) | |
4cb122de RR |
476 | mkdir $(DISTDIR)/src/png |
477 | mkdir $(DISTDIR)/src/jpeg | |
1d62a8b4 | 478 | mkdir $(DISTDIR)/src/tiff |
4cb122de | 479 | mkdir $(DISTDIR)/src/zlib |
c09ab26a | 480 | mkdir $(DISTDIR)/src/iodbc |
2224580a VZ |
481 | mkdir $(DISTDIR)/src/unix |
482 | cp $(WXDIR)/@PORT_FILES@ $(DISTDIR)/@PORT_FILES@ | |
4cb122de RR |
483 | cp $(SRCDIR)/*.in $(DISTDIR)/src |
484 | cp $(COMMDIR)/*.cpp $(DISTDIR)/src/common | |
485 | cp $(COMMDIR)/*.c $(DISTDIR)/src/common | |
2224580a VZ |
486 | cp $(UNIXDIR)/*.c $(DISTDIR)/src/unix |
487 | cp $(UNIXDIR)/*.cpp $(DISTDIR)/src/unix | |
4cb122de RR |
488 | cp $(COMMDIR)/*.inc $(DISTDIR)/src/common |
489 | cp $(COMMDIR)/*.l $(DISTDIR)/src/common | |
490 | cp $(COMMDIR)/*.h $(DISTDIR)/src/common | |
491 | cp $(COMMDIR)/*.y $(DISTDIR)/src/common | |
492 | cp $(GENDIR)/*.cpp $(DISTDIR)/src/generic | |
493 | cp $(HTMLDIR)/*.cpp $(DISTDIR)/src/html | |
4cb122de | 494 | cp $(HTMLDIR)/bitmaps/*.xpm $(DISTDIR)/src/html/bitmaps |
4cb122de RR |
495 | cp $(PNGDIR)/*.h $(DISTDIR)/src/png |
496 | cp $(PNGDIR)/*.c $(DISTDIR)/src/png | |
497 | cp $(PNGDIR)/README $(DISTDIR)/src/png | |
498 | cp $(ZLIBDIR)/*.h $(DISTDIR)/src/zlib | |
499 | cp $(ZLIBDIR)/*.c $(DISTDIR)/src/zlib | |
500 | cp $(ZLIBDIR)/README $(DISTDIR)/src/zlib | |
501 | cp $(JPEGDIR)/*.h $(DISTDIR)/src/jpeg | |
502 | cp $(JPEGDIR)/*.c $(DISTDIR)/src/jpeg | |
503 | cp $(JPEGDIR)/README $(DISTDIR)/src/jpeg | |
1d62a8b4 RR |
504 | cp $(TIFFDIR)/*.h $(DISTDIR)/src/tiff |
505 | cp $(TIFFDIR)/*.c $(DISTDIR)/src/tiff | |
506 | cp $(TIFFDIR)/README $(DISTDIR)/src/tiff | |
c09ab26a RR |
507 | cp $(ODBCDIR)/*.h $(DISTDIR)/src/iodbc |
508 | cp $(ODBCDIR)/*.c $(DISTDIR)/src/iodbc | |
509 | cp $(ODBCDIR)/*.ci $(DISTDIR)/src/iodbc | |
510 | cp $(ODBCDIR)/*.exp $(DISTDIR)/src/iodbc | |
511 | cp $(ODBCDIR)/README $(DISTDIR)/src/iodbc | |
512 | cp $(ODBCDIR)/NEWS $(DISTDIR)/src/iodbc | |
513 | cp $(ODBCDIR)/Changes.log $(DISTDIR)/src/iodbc | |
a4aad961 | 514 | |
2224580a VZ |
515 | BASE_DIST: ALL_DIST |
516 | mkdir $(DISTDIR)/include | |
517 | mkdir $(DISTDIR)/include/wx | |
518 | mkdir $(DISTDIR)/include/wx/protocol | |
519 | mkdir $(DISTDIR)/include/wx/unix | |
520 | mkdir $(DISTDIR)/src | |
521 | mkdir $(DISTDIR)/src/common | |
522 | mkdir $(DISTDIR)/src/unix | |
523 | cp $(WXDIR)/@PORT_FILES@ $(DISTDIR)/@PORT_FILES@ | |
524 | cp $(WXDIR)/@RPM_FILES@ $(DISTDIR)/@RPM_FILES@ | |
525 | cp $(WXDIR)/@RPM_SPEC@ $(DISTDIR)/@RPM_SPEC@ | |
f83b9a77 | 526 | cp $(WXDIR)/wxBase.dsp $(DISTDIR) |
2224580a VZ |
527 | cp $(DOCDIR)/install.txt $(DISTDIR)/INSTALL.txt |
528 | cp $(DOCDIR)/changes.txt $(DISTDIR)/CHANGES.txt | |
529 | cp $(DOCDIR)/readme.txt $(DISTDIR)/README.txt | |
530 | cp $(DOCDIR)/todo.txt $(DISTDIR)/TODO.txt | |
531 | cp $(SRCDIR)/*.in $(DISTDIR)/src | |
532 | list='$(HEADERS)'; for p in $$list; do \ | |
533 | cp $(WXDIR)/include/wx/$$p $(DISTDIR)/include/wx/$$p; \ | |
534 | done | |
535 | list='$(SOURCES)'; for p in $$list; do \ | |
536 | cp $(WXDIR)/src/$$p $(DISTDIR)/src/$$p; \ | |
537 | done | |
538 | ||
539 | GTK_DIST: ALL_GUI_DIST | |
4cb122de | 540 | cp $(WXDIR)/wxGTK.spec $(DISTDIR) |
a4aad961 | 541 | cp $(INCDIR)/wx/gtk/*.h $(DISTDIR)/include/wx/gtk |
4cb122de RR |
542 | cp $(INCDIR)/wx/gtk/*.xpm $(DISTDIR)/include/wx/gtk |
543 | cp $(GTKDIR)/*.cpp $(DISTDIR)/src/gtk | |
544 | cp $(GTKDIR)/*.c $(DISTDIR)/src/gtk | |
545 | cp $(GTKDIR)/*.xbm $(DISTDIR)/src/gtk | |
a4aad961 | 546 | |
2224580a | 547 | MOTIF_DIST: ALL_GUI_DIST |
4cb122de | 548 | cp $(WXDIR)/wxMOTIF.spec $(DISTDIR) |
a4aad961 | 549 | cp $(INCDIR)/wx/motif/*.h $(DISTDIR)/include/wx/motif |
4cb122de RR |
550 | cp $(MOTIFDIR)/*.cpp $(DISTDIR)/src/motif |
551 | cp $(MOTIFDIR)/*.xbm $(DISTDIR)/src/motif | |
552 | mkdir $(DISTDIR)/src/motif/xmcombo | |
553 | cp $(MOTIFDIR)/xmcombo/*.c $(DISTDIR)/src/motif/xmcombo | |
554 | cp $(MOTIFDIR)/xmcombo/*.h $(DISTDIR)/src/motif/xmcombo | |
555 | cp $(MOTIFDIR)/xmcombo/copying.txt $(DISTDIR)/src/motif/xmcombo | |
a4aad961 | 556 | |
2224580a | 557 | MSW_DIST: ALL_GUI_DIST |
4cb122de | 558 | cp $(WXDIR)/wxWINE.spec $(DISTDIR) |
a4aad961 RR |
559 | cp $(INCDIR)/wx/msw/*.h $(DISTDIR)/include/wx/msw |
560 | cp $(INCDIR)/wx/msw/*.cur $(DISTDIR)/include/wx/msw | |
561 | cp $(INCDIR)/wx/msw/*.ico $(DISTDIR)/include/wx/msw | |
562 | cp $(INCDIR)/wx/msw/*.bmp $(DISTDIR)/include/wx/msw | |
563 | cp $(INCDIR)/wx/msw/*.rc $(DISTDIR)/include/wx/msw | |
4cb122de RR |
564 | cp $(MSWDIR)/*.cpp $(DISTDIR)/src/msw |
565 | cp $(MSWDIR)/*.c $(DISTDIR)/src/msw | |
566 | cp $(MSWDIR)/*.def $(DISTDIR)/src/msw | |
567 | mkdir $(DISTDIR)/src/msw/ole | |
568 | cp $(MSWDIR)/ole/*.cpp $(DISTDIR)/src/msw/ole | |
569 | ||
2224580a | 570 | DEMOS_DIST: ALL_GUI_DIST |
dfd6b52f RR |
571 | mkdir $(DISTDIR)/demos |
572 | cp $(DEMODIR)/Makefile.in $(DISTDIR)/demos | |
cc977e5f RR |
573 | cp $(DEMODIR)/configure $(DISTDIR)/demos |
574 | cp $(DEMODIR)/configure.in $(DISTDIR)/demos | |
575 | ||
576 | cp -R $(DEMODIR)/dbbrowse $(DISTDIR)/demos/dbbrowse | |
577 | ||
dfd6b52f RR |
578 | mkdir $(DISTDIR)/demos/bombs |
579 | cp $(DEMODIR)/bombs/Makefile.in $(DISTDIR)/demos/bombs | |
580 | cp $(DEMODIR)/bombs/makefile.unx $(DISTDIR)/demos/bombs | |
581 | cp $(DEMODIR)/bombs/*.cpp $(DISTDIR)/demos/bombs | |
582 | cp $(DEMODIR)/bombs/*.h $(DISTDIR)/demos/bombs | |
583 | cp $(DEMODIR)/bombs/*.xpm $(DISTDIR)/demos/bombs | |
584 | cp $(DEMODIR)/bombs/readme.txt $(DISTDIR)/demos/bombs | |
585 | ||
586 | mkdir $(DISTDIR)/demos/forty | |
587 | cp $(DEMODIR)/forty/Makefile.in $(DISTDIR)/demos/forty | |
588 | cp $(DEMODIR)/forty/makefile.unx $(DISTDIR)/demos/forty | |
589 | cp $(DEMODIR)/forty/*.h $(DISTDIR)/demos/forty | |
590 | cp $(DEMODIR)/forty/*.cpp $(DISTDIR)/demos/forty | |
591 | cp $(DEMODIR)/forty/*.xpm $(DISTDIR)/demos/forty | |
592 | cp $(DEMODIR)/forty/*.xbm $(DISTDIR)/demos/forty | |
593 | ||
594 | mkdir $(DISTDIR)/demos/life | |
595 | mkdir $(DISTDIR)/demos/life/bitmaps | |
596 | cp $(DEMODIR)/life/Makefile.in $(DISTDIR)/demos/life | |
597 | cp $(DEMODIR)/life/makefile.unx $(DISTDIR)/demos/life | |
598 | cp $(DEMODIR)/life/*.cpp $(DISTDIR)/demos/life | |
599 | cp $(DEMODIR)/life/*.h $(DISTDIR)/demos/life | |
600 | cp $(DEMODIR)/life/*.xpm $(DISTDIR)/demos/life | |
491e9f50 | 601 | cp $(DEMODIR)/life/*.inc $(DISTDIR)/demos/life |
dfd6b52f RR |
602 | cp $(DEMODIR)/life/bitmaps/*.xpm $(DISTDIR)/demos/life/bitmaps |
603 | ||
604 | mkdir $(DISTDIR)/demos/poem | |
605 | cp $(DEMODIR)/poem/Makefile.in $(DISTDIR)/demos/poem | |
88413fec | 606 | cp $(DEMODIR)/poem/makefile.unx $(DISTDIR)/demos/poem |
491e9f50 | 607 | cp $(DEMODIR)/poem/*.h $(DISTDIR)/demos/poem |
dfd6b52f RR |
608 | cp $(DEMODIR)/poem/*.cpp $(DISTDIR)/demos/poem |
609 | cp $(DEMODIR)/poem/*.xpm $(DISTDIR)/demos/poem | |
610 | cp $(DEMODIR)/poem/*.dat $(DISTDIR)/demos/poem | |
611 | cp $(DEMODIR)/poem/*.txt $(DISTDIR)/demos/poem | |
612 | ||
613 | mkdir $(DISTDIR)/demos/fractal | |
614 | cp $(DEMODIR)/fractal/Makefile.in $(DISTDIR)/demos/fractal | |
615 | cp $(DEMODIR)/fractal/makefile.unx $(DISTDIR)/demos/fractal | |
616 | cp $(DEMODIR)/fractal/*.cpp $(DISTDIR)/demos/fractal | |
617 | ||
2224580a | 618 | SAMPLES_DIST: ALL_GUI_DIST |
4cb122de RR |
619 | mkdir $(DISTDIR)/samples |
620 | cp $(SAMPDIR)/Makefile.in $(DISTDIR)/samples | |
2224580a VZ |
621 | cp $(SAMPDIR)/configure $(DISTDIR)/samples |
622 | cp $(SAMPDIR)/configure.in $(DISTDIR)/samples | |
e9093718 | 623 | |
4cb122de RR |
624 | mkdir $(DISTDIR)/samples/caret |
625 | cp $(SAMPDIR)/caret/Makefile.in $(DISTDIR)/samples/caret | |
c4fda16b | 626 | cp $(SAMPDIR)/caret/makefile.unx $(DISTDIR)/samples/caret |
4cb122de RR |
627 | cp $(SAMPDIR)/caret/*.cpp $(DISTDIR)/samples/caret |
628 | cp $(SAMPDIR)/caret/*.xpm $(DISTDIR)/samples/caret | |
e9093718 | 629 | |
1e8d2f69 RR |
630 | mkdir $(DISTDIR)/samples/calendar |
631 | cp $(SAMPDIR)/calendar/Makefile.in $(DISTDIR)/samples/calendar | |
632 | cp $(SAMPDIR)/calendar/makefile.unx $(DISTDIR)/samples/calendar | |
633 | cp $(SAMPDIR)/calendar/*.cpp $(DISTDIR)/samples/calendar | |
634 | ||
4cb122de RR |
635 | mkdir $(DISTDIR)/samples/config |
636 | cp $(SAMPDIR)/config/Makefile.in $(DISTDIR)/samples/config | |
c4fda16b | 637 | cp $(SAMPDIR)/config/makefile.unx $(DISTDIR)/samples/config |
4cb122de | 638 | cp $(SAMPDIR)/config/*.cpp $(DISTDIR)/samples/config |
e9093718 | 639 | |
1e8d2f69 RR |
640 | mkdir $(DISTDIR)/samples/console |
641 | cp $(SAMPDIR)/console/Makefile.in $(DISTDIR)/samples/console | |
642 | cp $(SAMPDIR)/console/makefile.unx $(DISTDIR)/samples/console | |
643 | cp $(SAMPDIR)/console/*.cpp $(DISTDIR)/samples/console | |
644 | ||
4cb122de RR |
645 | mkdir $(DISTDIR)/samples/controls |
646 | mkdir $(DISTDIR)/samples/controls/icons | |
647 | cp $(SAMPDIR)/controls/Makefile.in $(DISTDIR)/samples/controls | |
c4fda16b | 648 | cp $(SAMPDIR)/controls/makefile.unx $(DISTDIR)/samples/controls |
4cb122de RR |
649 | cp $(SAMPDIR)/controls/*.cpp $(DISTDIR)/samples/controls |
650 | cp $(SAMPDIR)/controls/*.xpm $(DISTDIR)/samples/controls | |
651 | cp $(SAMPDIR)/controls/icons/*.??? $(DISTDIR)/samples/controls/icons | |
e9093718 | 652 | |
4cb122de RR |
653 | mkdir $(DISTDIR)/samples/checklst |
654 | cp $(SAMPDIR)/checklst/Makefile.in $(DISTDIR)/samples/checklst | |
c4fda16b | 655 | cp $(SAMPDIR)/checklst/makefile.unx $(DISTDIR)/samples/checklst |
4cb122de RR |
656 | cp $(SAMPDIR)/checklst/*.cpp $(DISTDIR)/samples/checklst |
657 | cp $(SAMPDIR)/checklst/*.xpm $(DISTDIR)/samples/checklst | |
e9093718 | 658 | |
79144b8a RR |
659 | mkdir $(DISTDIR)/samples/db |
660 | cp $(SAMPDIR)/db/Makefile.in $(DISTDIR)/samples/db | |
c4fda16b | 661 | cp $(SAMPDIR)/db/makefile.unx $(DISTDIR)/samples/db |
79144b8a RR |
662 | cp $(SAMPDIR)/db/*.cpp $(DISTDIR)/samples/db |
663 | cp $(SAMPDIR)/db/*.h $(DISTDIR)/samples/db | |
664 | cp $(SAMPDIR)/db/*.xpm $(DISTDIR)/samples/db | |
e9093718 | 665 | |
641d87d8 RR |
666 | mkdir $(DISTDIR)/samples/dialogs |
667 | cp $(SAMPDIR)/dialogs/Makefile.in $(DISTDIR)/samples/dialogs | |
c4fda16b | 668 | cp $(SAMPDIR)/dialogs/makefile.unx $(DISTDIR)/samples/dialogs |
641d87d8 RR |
669 | cp $(SAMPDIR)/dialogs/*.cpp $(DISTDIR)/samples/dialogs |
670 | cp $(SAMPDIR)/dialogs/*.h $(DISTDIR)/samples/dialogs | |
671 | cp $(SAMPDIR)/dialogs/*.txt $(DISTDIR)/samples/dialogs | |
e9093718 | 672 | |
641d87d8 RR |
673 | mkdir $(DISTDIR)/samples/dnd |
674 | cp $(SAMPDIR)/dnd/Makefile.in $(DISTDIR)/samples/dnd | |
c4fda16b | 675 | cp $(SAMPDIR)/dnd/makefile.unx $(DISTDIR)/samples/dnd |
4b59bea3 | 676 | cp $(SAMPDIR)/dnd/*.wxr $(DISTDIR)/samples/dnd |
641d87d8 RR |
677 | cp $(SAMPDIR)/dnd/*.cpp $(DISTDIR)/samples/dnd |
678 | cp $(SAMPDIR)/dnd/*.xpm $(DISTDIR)/samples/dnd | |
679 | cp $(SAMPDIR)/dnd/*.txt $(DISTDIR)/samples/dnd | |
680 | cp $(SAMPDIR)/dnd/*.png $(DISTDIR)/samples/dnd | |
e9093718 | 681 | |
641d87d8 RR |
682 | mkdir $(DISTDIR)/samples/docview |
683 | cp $(SAMPDIR)/docview/Makefile.in $(DISTDIR)/samples/docview | |
e9093718 | 684 | cp $(SAMPDIR)/docview/makefile.unx $(DISTDIR)/samples/docview |
641d87d8 RR |
685 | cp $(SAMPDIR)/docview/*.cpp $(DISTDIR)/samples/docview |
686 | cp $(SAMPDIR)/docview/*.h $(DISTDIR)/samples/docview | |
687 | cp $(SAMPDIR)/docview/*.xpm $(DISTDIR)/samples/docview | |
e9093718 | 688 | |
641d87d8 RR |
689 | mkdir $(DISTDIR)/samples/docvwmdi |
690 | cp $(SAMPDIR)/docvwmdi/Makefile.in $(DISTDIR)/samples/docvwmdi | |
e9093718 | 691 | cp $(SAMPDIR)/docvwmdi/makefile.unx $(DISTDIR)/samples/docvwmdi |
641d87d8 RR |
692 | cp $(SAMPDIR)/docvwmdi/*.cpp $(DISTDIR)/samples/docvwmdi |
693 | cp $(SAMPDIR)/docvwmdi/*.h $(DISTDIR)/samples/docvwmdi | |
e9093718 | 694 | |
641d87d8 RR |
695 | mkdir $(DISTDIR)/samples/drawing |
696 | cp $(SAMPDIR)/drawing/Makefile.in $(DISTDIR)/samples/drawing | |
e9093718 | 697 | cp $(SAMPDIR)/drawing/makefile.unx $(DISTDIR)/samples/drawing |
641d87d8 RR |
698 | cp $(SAMPDIR)/drawing/*.cpp $(DISTDIR)/samples/drawing |
699 | cp $(SAMPDIR)/drawing/*.xpm $(DISTDIR)/samples/drawing | |
e9093718 | 700 | |
641d87d8 RR |
701 | mkdir $(DISTDIR)/samples/dynamic |
702 | cp $(SAMPDIR)/dynamic/Makefile.in $(DISTDIR)/samples/dynamic | |
e9093718 | 703 | cp $(SAMPDIR)/dynamic/makefile.unx $(DISTDIR)/samples/dynamic |
641d87d8 RR |
704 | cp $(SAMPDIR)/dynamic/*.cpp $(DISTDIR)/samples/dynamic |
705 | cp $(SAMPDIR)/dynamic/*.xpm $(DISTDIR)/samples/dynamic | |
e9093718 | 706 | |
88413fec RR |
707 | mkdir $(DISTDIR)/samples/exec |
708 | cp $(SAMPDIR)/exec/Makefile.in $(DISTDIR)/samples/exec | |
709 | cp $(SAMPDIR)/exec/*.cpp $(DISTDIR)/samples/exec | |
710 | ||
711 | mkdir $(DISTDIR)/samples/ipc | |
712 | cp $(SAMPDIR)/ipc/Makefile.in $(DISTDIR)/samples/ipc | |
713 | cp $(SAMPDIR)/ipc/*.xpm $(DISTDIR)/samples/ipc | |
714 | cp $(SAMPDIR)/ipc/*.h $(DISTDIR)/samples/ipc | |
715 | cp $(SAMPDIR)/ipc/*.cpp $(DISTDIR)/samples/ipc | |
716 | ||
1e8d2f69 RR |
717 | mkdir $(DISTDIR)/samples/font |
718 | cp $(SAMPDIR)/font/Makefile.in $(DISTDIR)/samples/font | |
719 | cp $(SAMPDIR)/font/makefile.unx $(DISTDIR)/samples/font | |
720 | cp $(SAMPDIR)/font/*.cpp $(DISTDIR)/samples/font | |
721 | ||
1e8d2f69 RR |
722 | mkdir $(DISTDIR)/samples/grid |
723 | cp $(SAMPDIR)/grid/Makefile.in $(DISTDIR)/samples/grid | |
724 | cp $(SAMPDIR)/grid/makefile.unx $(DISTDIR)/samples/grid | |
725 | cp $(SAMPDIR)/grid/*.cpp $(DISTDIR)/samples/grid | |
726 | ||
e9093718 RR |
727 | mkdir $(DISTDIR)/samples/help |
728 | mkdir $(DISTDIR)/samples/help/doc | |
729 | cp $(SAMPDIR)/help/Makefile.in $(DISTDIR)/samples/help | |
730 | cp $(SAMPDIR)/help/makefile.unx $(DISTDIR)/samples/help | |
731 | cp $(SAMPDIR)/help/*.cpp $(DISTDIR)/samples/help | |
732 | cp $(SAMPDIR)/help/*.xpm $(DISTDIR)/samples/help | |
733 | cp $(SAMPDIR)/help/doc/*.* $(DISTDIR)/samples/help/doc | |
734 | ||
641d87d8 RR |
735 | mkdir $(DISTDIR)/samples/html |
736 | cp $(SAMPDIR)/html/Makefile.in $(DISTDIR)/samples/html | |
737 | mkdir $(DISTDIR)/samples/html/about | |
738 | cp $(SAMPDIR)/html/about/Makefile.in $(DISTDIR)/samples/html/about | |
739 | cp $(SAMPDIR)/html/about/*.cpp $(DISTDIR)/samples/html/about | |
740 | mkdir $(DISTDIR)/samples/html/about/data | |
741 | cp $(SAMPDIR)/html/about/data/*.htm $(DISTDIR)/samples/html/about/data | |
742 | cp $(SAMPDIR)/html/about/data/*.png $(DISTDIR)/samples/html/about/data | |
743 | mkdir $(DISTDIR)/samples/html/help | |
744 | cp $(SAMPDIR)/html/help/Makefile.in $(DISTDIR)/samples/html/help | |
745 | cp $(SAMPDIR)/html/help/*.cpp $(DISTDIR)/samples/html/help | |
746 | mkdir $(DISTDIR)/samples/html/help/helpfiles | |
747 | cp $(SAMPDIR)/html/help/helpfiles/*.??? $(DISTDIR)/samples/html/help/helpfiles | |
fc9c7c09 RR |
748 | mkdir $(DISTDIR)/samples/html/helpview |
749 | cp $(SAMPDIR)/html/helpview/Makefile.in $(DISTDIR)/samples/html/helpview | |
750 | cp $(SAMPDIR)/html/helpview/*.cpp $(DISTDIR)/samples/html/helpview | |
751 | cp $(SAMPDIR)/html/helpview/*.zip $(DISTDIR)/samples/html/helpview | |
641d87d8 RR |
752 | mkdir $(DISTDIR)/samples/html/printing |
753 | cp $(SAMPDIR)/html/printing/Makefile.in $(DISTDIR)/samples/html/printing | |
641d87d8 | 754 | cp $(SAMPDIR)/html/printing/*.cpp $(DISTDIR)/samples/html/printing |
641d87d8 RR |
755 | cp $(SAMPDIR)/html/printing/*.htm $(DISTDIR)/samples/html/printing |
756 | mkdir $(DISTDIR)/samples/html/test | |
757 | cp $(SAMPDIR)/html/test/Makefile.in $(DISTDIR)/samples/html/test | |
758 | cp $(SAMPDIR)/html/test/*.cpp $(DISTDIR)/samples/html/test | |
759 | cp $(SAMPDIR)/html/test/*.bmp $(DISTDIR)/samples/html/test | |
760 | cp $(SAMPDIR)/html/test/*.png $(DISTDIR)/samples/html/test | |
761 | cp $(SAMPDIR)/html/test/*.htm $(DISTDIR)/samples/html/test | |
762 | cp $(SAMPDIR)/html/test/*.html $(DISTDIR)/samples/html/test | |
763 | mkdir $(DISTDIR)/samples/html/virtual | |
764 | cp $(SAMPDIR)/html/virtual/Makefile.in $(DISTDIR)/samples/html/virtual | |
765 | cp $(SAMPDIR)/html/virtual/*.cpp $(DISTDIR)/samples/html/virtual | |
766 | cp $(SAMPDIR)/html/virtual/*.htm $(DISTDIR)/samples/html/virtual | |
767 | mkdir $(DISTDIR)/samples/html/widget | |
768 | cp $(SAMPDIR)/html/widget/Makefile.in $(DISTDIR)/samples/html/widget | |
769 | cp $(SAMPDIR)/html/widget/*.cpp $(DISTDIR)/samples/html/widget | |
770 | cp $(SAMPDIR)/html/widget/*.htm $(DISTDIR)/samples/html/widget | |
771 | mkdir $(DISTDIR)/samples/html/zip | |
772 | cp $(SAMPDIR)/html/zip/Makefile.in $(DISTDIR)/samples/html/zip | |
773 | cp $(SAMPDIR)/html/zip/*.cpp $(DISTDIR)/samples/html/zip | |
774 | cp $(SAMPDIR)/html/zip/*.htm $(DISTDIR)/samples/html/zip | |
775 | cp $(SAMPDIR)/html/zip/*.zip $(DISTDIR)/samples/html/zip | |
e9093718 | 776 | |
641d87d8 RR |
777 | mkdir $(DISTDIR)/samples/image |
778 | cp $(SAMPDIR)/image/Makefile.in $(DISTDIR)/samples/image | |
e9093718 | 779 | cp $(SAMPDIR)/image/makefile.unx $(DISTDIR)/samples/image |
641d87d8 RR |
780 | cp $(SAMPDIR)/image/*.cpp $(DISTDIR)/samples/image |
781 | cp $(SAMPDIR)/image/horse.* $(DISTDIR)/samples/image | |
1e8d2f69 | 782 | cp $(SAMPDIR)/image/smile.xbm $(DISTDIR)/samples/image |
ff7c6c9c | 783 | cp $(SAMPDIR)/image/smile.xpm $(DISTDIR)/samples/image |
1e8d2f69 | 784 | |
c09ab26a RR |
785 | mkdir $(DISTDIR)/samples/internat |
786 | mkdir $(DISTDIR)/samples/internat/de | |
787 | mkdir $(DISTDIR)/samples/internat/fr | |
788 | cp $(SAMPDIR)/internat/Makefile.in $(DISTDIR)/samples/internat | |
e9093718 | 789 | cp $(SAMPDIR)/internat/makefile.unx $(DISTDIR)/samples/internat |
c09ab26a RR |
790 | cp $(SAMPDIR)/internat/*.cpp $(DISTDIR)/samples/internat |
791 | cp $(SAMPDIR)/internat/*.xpm $(DISTDIR)/samples/internat | |
792 | cp $(SAMPDIR)/internat/*.txt $(DISTDIR)/samples/internat | |
793 | cp $(SAMPDIR)/internat/*.po $(DISTDIR)/samples/internat | |
794 | cp $(SAMPDIR)/internat/fr/*.po $(DISTDIR)/samples/internat/fr | |
795 | cp $(SAMPDIR)/internat/de/*.mo $(DISTDIR)/samples/internat/de | |
796 | cp $(SAMPDIR)/internat/fr/*.po $(DISTDIR)/samples/internat/fr | |
797 | cp $(SAMPDIR)/internat/de/*.mo $(DISTDIR)/samples/internat/de | |
e9093718 | 798 | |
641d87d8 RR |
799 | mkdir $(DISTDIR)/samples/layout |
800 | cp $(SAMPDIR)/layout/Makefile.in $(DISTDIR)/samples/layout | |
e9093718 | 801 | cp $(SAMPDIR)/layout/makefile.unx $(DISTDIR)/samples/layout |
641d87d8 RR |
802 | cp $(SAMPDIR)/layout/*.cpp $(DISTDIR)/samples/layout |
803 | cp $(SAMPDIR)/layout/*.h $(DISTDIR)/samples/layout | |
e9093718 | 804 | |
641d87d8 | 805 | mkdir $(DISTDIR)/samples/listctrl |
e9093718 | 806 | mkdir $(DISTDIR)/samples/listctrl/bitmaps |
641d87d8 | 807 | cp $(SAMPDIR)/listctrl/Makefile.in $(DISTDIR)/samples/listctrl |
e9093718 | 808 | cp $(SAMPDIR)/listctrl/makefile.unx $(DISTDIR)/samples/listctrl |
641d87d8 RR |
809 | cp $(SAMPDIR)/listctrl/*.cpp $(DISTDIR)/samples/listctrl |
810 | cp $(SAMPDIR)/listctrl/*.h $(DISTDIR)/samples/listctrl | |
811 | cp $(SAMPDIR)/listctrl/*.xpm $(DISTDIR)/samples/listctrl | |
d8d474af | 812 | cp $(SAMPDIR)/listctrl/bitmaps/*.xpm $(DISTDIR)/samples/listctrl/bitmaps |
e9093718 | 813 | |
641d87d8 | 814 | mkdir $(DISTDIR)/samples/mdi |
e9093718 | 815 | mkdir $(DISTDIR)/samples/mdi/bitmaps |
641d87d8 | 816 | cp $(SAMPDIR)/mdi/Makefile.in $(DISTDIR)/samples/mdi |
e9093718 | 817 | cp $(SAMPDIR)/mdi/makefile.unx $(DISTDIR)/samples/mdi |
641d87d8 RR |
818 | cp $(SAMPDIR)/mdi/*.cpp $(DISTDIR)/samples/mdi |
819 | cp $(SAMPDIR)/mdi/*.h $(DISTDIR)/samples/mdi | |
820 | cp $(SAMPDIR)/mdi/*.xpm $(DISTDIR)/samples/mdi | |
d8d474af | 821 | cp $(SAMPDIR)/mdi/bitmaps/*.xpm $(DISTDIR)/samples/mdi/bitmaps |
e9093718 RR |
822 | |
823 | mkdir $(DISTDIR)/samples/memcheck | |
824 | cp $(SAMPDIR)/memcheck/Makefile.in $(DISTDIR)/samples/memcheck | |
825 | cp $(SAMPDIR)/memcheck/makefile.unx $(DISTDIR)/samples/memcheck | |
826 | cp $(SAMPDIR)/memcheck/*.cpp $(DISTDIR)/samples/memcheck | |
827 | cp $(SAMPDIR)/memcheck/*.xpm $(DISTDIR)/samples/memcheck | |
828 | ||
829 | mkdir $(DISTDIR)/samples/menu | |
830 | cp $(SAMPDIR)/menu/Makefile.in $(DISTDIR)/samples/menu | |
831 | cp $(SAMPDIR)/menu/makefile.unx $(DISTDIR)/samples/menu | |
832 | cp $(SAMPDIR)/menu/*.cpp $(DISTDIR)/samples/menu | |
833 | ||
641d87d8 | 834 | mkdir $(DISTDIR)/samples/minifram |
e9093718 | 835 | mkdir $(DISTDIR)/samples/minifram/bitmaps |
641d87d8 | 836 | cp $(SAMPDIR)/minifram/Makefile.in $(DISTDIR)/samples/minifram |
e9093718 | 837 | cp $(SAMPDIR)/minifram/makefile.unx $(DISTDIR)/samples/minifram |
641d87d8 RR |
838 | cp $(SAMPDIR)/minifram/*.cpp $(DISTDIR)/samples/minifram |
839 | cp $(SAMPDIR)/minifram/*.h $(DISTDIR)/samples/minifram | |
840 | cp $(SAMPDIR)/minifram/*.xpm $(DISTDIR)/samples/minifram | |
d8d474af | 841 | cp $(SAMPDIR)/minifram/bitmaps/*.xpm $(DISTDIR)/samples/minifram/bitmaps |
e9093718 | 842 | |
641d87d8 RR |
843 | mkdir $(DISTDIR)/samples/minimal |
844 | cp $(SAMPDIR)/minimal/Makefile.in $(DISTDIR)/samples/minimal | |
e9093718 | 845 | cp $(SAMPDIR)/minimal/makefile.unx $(DISTDIR)/samples/minimal |
641d87d8 RR |
846 | cp $(SAMPDIR)/minimal/*.cpp $(DISTDIR)/samples/minimal |
847 | cp $(SAMPDIR)/minimal/*.xpm $(DISTDIR)/samples/minimal | |
e9093718 | 848 | |
dfd6b52f RR |
849 | mkdir $(DISTDIR)/samples/dialup |
850 | cp $(SAMPDIR)/dialup/Makefile.in $(DISTDIR)/samples/dialup | |
851 | cp $(SAMPDIR)/dialup/makefile.unx $(DISTDIR)/samples/dialup | |
852 | cp $(SAMPDIR)/dialup/*.cpp $(DISTDIR)/samples/dialup | |
e9093718 | 853 | |
f85afd4e MB |
854 | mkdir $(DISTDIR)/samples/newgrid |
855 | cp $(SAMPDIR)/newgrid/Makefile.in $(DISTDIR)/samples/newgrid | |
1e8d2f69 | 856 | cp $(SAMPDIR)/newgrid/makefile.unx $(DISTDIR)/samples/newgrid |
f85afd4e MB |
857 | cp $(SAMPDIR)/newgrid/*.cpp $(DISTDIR)/samples/newgrid |
858 | cp $(SAMPDIR)/newgrid/*.h $(DISTDIR)/samples/newgrid | |
e9093718 | 859 | |
641d87d8 RR |
860 | mkdir $(DISTDIR)/samples/notebook |
861 | cp $(SAMPDIR)/notebook/Makefile.in $(DISTDIR)/samples/notebook | |
1e8d2f69 | 862 | cp $(SAMPDIR)/notebook/makefile.unx $(DISTDIR)/samples/notebook |
641d87d8 RR |
863 | cp $(SAMPDIR)/notebook/*.cpp $(DISTDIR)/samples/notebook |
864 | cp $(SAMPDIR)/notebook/*.h $(DISTDIR)/samples/notebook | |
e9093718 | 865 | |
79144b8a RR |
866 | mkdir $(DISTDIR)/samples/png |
867 | cp $(SAMPDIR)/png/Makefile.in $(DISTDIR)/samples/png | |
1e8d2f69 | 868 | cp $(SAMPDIR)/png/makefile.unx $(DISTDIR)/samples/png |
79144b8a RR |
869 | cp $(SAMPDIR)/png/*.cpp $(DISTDIR)/samples/png |
870 | cp $(SAMPDIR)/png/*.h $(DISTDIR)/samples/png | |
871 | cp $(SAMPDIR)/png/*.png $(DISTDIR)/samples/png | |
e9093718 | 872 | |
1e8d2f69 RR |
873 | mkdir $(DISTDIR)/samples/printing |
874 | cp $(SAMPDIR)/printing/Makefile.in $(DISTDIR)/samples/printing | |
875 | cp $(SAMPDIR)/printing/makefile.unx $(DISTDIR)/samples/printing | |
876 | cp $(SAMPDIR)/printing/*.cpp $(DISTDIR)/samples/printing | |
877 | cp $(SAMPDIR)/printing/*.h $(DISTDIR)/samples/printing | |
878 | cp $(SAMPDIR)/printing/*.xpm $(DISTDIR)/samples/printing | |
879 | cp $(SAMPDIR)/printing/*.xbm $(DISTDIR)/samples/printing | |
880 | ||
3fd528b9 RR |
881 | mkdir $(DISTDIR)/samples/resource |
882 | cp $(SAMPDIR)/resource/Makefile.in $(DISTDIR)/samples/resource | |
1e8d2f69 | 883 | cp $(SAMPDIR)/resource/makefile.unx $(DISTDIR)/samples/resource |
3fd528b9 RR |
884 | cp $(SAMPDIR)/resource/*.cpp $(DISTDIR)/samples/resource |
885 | cp $(SAMPDIR)/resource/*.h $(DISTDIR)/samples/resource | |
886 | cp $(SAMPDIR)/resource/*.wxr $(DISTDIR)/samples/resource | |
e9093718 | 887 | |
46132182 RR |
888 | mkdir $(DISTDIR)/samples/rotate |
889 | cp $(SAMPDIR)/rotate/Makefile.in $(DISTDIR)/samples/rotate | |
890 | cp $(SAMPDIR)/rotate/makefile.unx $(DISTDIR)/samples/rotate | |
891 | cp $(SAMPDIR)/rotate/*.cpp $(DISTDIR)/samples/rotate | |
892 | cp $(SAMPDIR)/rotate/*.bmp $(DISTDIR)/samples/rotate | |
893 | ||
3fd528b9 RR |
894 | mkdir $(DISTDIR)/samples/richedit |
895 | cp $(SAMPDIR)/richedit/Makefile.in $(DISTDIR)/samples/richedit | |
896 | cp $(SAMPDIR)/richedit/*.cpp $(DISTDIR)/samples/richedit | |
897 | cp $(SAMPDIR)/richedit/*.h $(DISTDIR)/samples/richedit | |
898 | cp $(SAMPDIR)/richedit/*.xpm $(DISTDIR)/samples/richedit | |
899 | cp $(SAMPDIR)/richedit/README $(DISTDIR)/samples/richedit | |
900 | cp $(SAMPDIR)/richedit/TODO $(DISTDIR)/samples/richedit | |
1e8d2f69 | 901 | |
279ababf RR |
902 | mkdir $(DISTDIR)/samples/plot |
903 | cp $(SAMPDIR)/plot/Makefile.in $(DISTDIR)/samples/plot | |
904 | cp $(SAMPDIR)/plot/makefile.unx $(DISTDIR)/samples/plot | |
905 | cp $(SAMPDIR)/plot/*.cpp $(DISTDIR)/samples/plot | |
906 | ||
641d87d8 RR |
907 | mkdir $(DISTDIR)/samples/proplist |
908 | cp $(SAMPDIR)/proplist/Makefile.in $(DISTDIR)/samples/proplist | |
909 | cp $(SAMPDIR)/proplist/*.cpp $(DISTDIR)/samples/proplist | |
910 | cp $(SAMPDIR)/proplist/*.h $(DISTDIR)/samples/proplist | |
1e8d2f69 | 911 | |
ba0e7d41 RR |
912 | mkdir $(DISTDIR)/samples/propsize |
913 | cp $(SAMPDIR)/propsize/Makefile.in $(DISTDIR)/samples/propsize | |
914 | cp $(SAMPDIR)/propsize/*.cpp $(DISTDIR)/samples/propsize | |
915 | cp $(SAMPDIR)/propsize/*.xpm $(DISTDIR)/samples/propsize | |
1e8d2f69 | 916 | |
641d87d8 RR |
917 | mkdir $(DISTDIR)/samples/sashtest |
918 | cp $(SAMPDIR)/sashtest/Makefile.in $(DISTDIR)/samples/sashtest | |
919 | cp $(SAMPDIR)/sashtest/*.cpp $(DISTDIR)/samples/sashtest | |
920 | cp $(SAMPDIR)/sashtest/*.h $(DISTDIR)/samples/sashtest | |
1e8d2f69 | 921 | |
641d87d8 RR |
922 | mkdir $(DISTDIR)/samples/scroll |
923 | cp $(SAMPDIR)/scroll/Makefile.in $(DISTDIR)/samples/scroll | |
1e8d2f69 | 924 | cp $(SAMPDIR)/scroll/makefile.unx $(DISTDIR)/samples/scroll |
641d87d8 | 925 | cp $(SAMPDIR)/scroll/*.cpp $(DISTDIR)/samples/scroll |
1e8d2f69 | 926 | |
d8d474af RR |
927 | mkdir $(DISTDIR)/samples/scrollsub |
928 | cp $(SAMPDIR)/scrollsub/Makefile.in $(DISTDIR)/samples/scrollsub | |
1e8d2f69 | 929 | cp $(SAMPDIR)/scrollsub/makefile.unx $(DISTDIR)/samples/scrollsub |
d8d474af | 930 | cp $(SAMPDIR)/scrollsub/*.cpp $(DISTDIR)/samples/scrollsub |
1e8d2f69 | 931 | |
641d87d8 | 932 | mkdir $(DISTDIR)/samples/splitter |
1e8d2f69 | 933 | cp $(SAMPDIR)/splitter/makefile.unx $(DISTDIR)/samples/splitter |
641d87d8 RR |
934 | cp $(SAMPDIR)/splitter/Makefile.in $(DISTDIR)/samples/splitter |
935 | cp $(SAMPDIR)/splitter/*.cpp $(DISTDIR)/samples/splitter | |
1e8d2f69 | 936 | |
2286341c VZ |
937 | mkdir $(DISTDIR)/samples/statbar |
938 | cp $(SAMPDIR)/statbar/Makefile.in $(DISTDIR)/samples/statbar | |
939 | cp $(SAMPDIR)/statbar/*.cpp $(DISTDIR)/samples/statbar | |
940 | cp $(SAMPDIR)/statbar/*.xpm $(DISTDIR)/samples/statbar | |
941 | ||
641d87d8 RR |
942 | mkdir $(DISTDIR)/samples/text |
943 | cp $(SAMPDIR)/text/Makefile.in $(DISTDIR)/samples/text | |
1e8d2f69 | 944 | cp $(SAMPDIR)/text/makefile.unx $(DISTDIR)/samples/text |
641d87d8 RR |
945 | cp $(SAMPDIR)/text/*.cpp $(DISTDIR)/samples/text |
946 | cp $(SAMPDIR)/text/*.xpm $(DISTDIR)/samples/text | |
1e8d2f69 | 947 | |
641d87d8 RR |
948 | mkdir $(DISTDIR)/samples/thread |
949 | cp $(SAMPDIR)/thread/Makefile.in $(DISTDIR)/samples/thread | |
1e8d2f69 | 950 | cp $(SAMPDIR)/thread/makefile.unx $(DISTDIR)/samples/thread |
641d87d8 | 951 | cp $(SAMPDIR)/thread/*.cpp $(DISTDIR)/samples/thread |
1e8d2f69 | 952 | |
641d87d8 RR |
953 | mkdir $(DISTDIR)/samples/toolbar |
954 | cp $(SAMPDIR)/toolbar/Makefile.in $(DISTDIR)/samples/toolbar | |
955 | cp $(SAMPDIR)/toolbar/*.cpp $(DISTDIR)/samples/toolbar | |
641d87d8 | 956 | cp $(SAMPDIR)/toolbar/*.xpm $(DISTDIR)/samples/toolbar |
d8d474af RR |
957 | mkdir $(DISTDIR)/samples/toolbar/bitmaps |
958 | cp $(SAMPDIR)/toolbar/bitmaps/*.xpm $(DISTDIR)/samples/toolbar/bitmaps | |
1e8d2f69 | 959 | |
641d87d8 RR |
960 | mkdir $(DISTDIR)/samples/treectrl |
961 | cp $(SAMPDIR)/treectrl/Makefile.in $(DISTDIR)/samples/treectrl | |
962 | cp $(SAMPDIR)/treectrl/*.cpp $(DISTDIR)/samples/treectrl | |
963 | cp $(SAMPDIR)/treectrl/*.h $(DISTDIR)/samples/treectrl | |
964 | cp $(SAMPDIR)/treectrl/*.xpm $(DISTDIR)/samples/treectrl | |
1e8d2f69 | 965 | |
641d87d8 RR |
966 | mkdir $(DISTDIR)/samples/typetest |
967 | cp $(SAMPDIR)/typetest/Makefile.in $(DISTDIR)/samples/typetest | |
968 | cp $(SAMPDIR)/typetest/*.cpp $(DISTDIR)/samples/typetest | |
969 | cp $(SAMPDIR)/typetest/*.h $(DISTDIR)/samples/typetest | |
970 | cp $(SAMPDIR)/typetest/*.xpm $(DISTDIR)/samples/typetest | |
1e8d2f69 | 971 | |
641d87d8 RR |
972 | mkdir $(DISTDIR)/samples/validate |
973 | cp $(SAMPDIR)/validate/Makefile.in $(DISTDIR)/samples/validate | |
974 | cp $(SAMPDIR)/validate/*.cpp $(DISTDIR)/samples/validate | |
975 | cp $(SAMPDIR)/validate/*.h $(DISTDIR)/samples/validate | |
976 | cp $(SAMPDIR)/validate/*.xpm $(DISTDIR)/samples/validate | |
1e8d2f69 | 977 | |
641d87d8 RR |
978 | mkdir $(DISTDIR)/samples/wizard |
979 | cp $(SAMPDIR)/wizard/Makefile.in $(DISTDIR)/samples/wizard | |
980 | cp $(SAMPDIR)/wizard/*.cpp $(DISTDIR)/samples/wizard | |
981 | cp $(SAMPDIR)/wizard/*.xpm $(DISTDIR)/samples/wizard | |
1e8d2f69 | 982 | |
dfd6b52f RR |
983 | mkdir $(DISTDIR)/samples/sockets |
984 | cp $(SAMPDIR)/sockets/Makefile.in $(DISTDIR)/samples/sockets | |
985 | cp $(SAMPDIR)/sockets/*.cpp $(DISTDIR)/samples/sockets | |
986 | cp $(SAMPDIR)/sockets/*.xpm $(DISTDIR)/samples/sockets | |
641d87d8 | 987 | |
2224580a | 988 | UTILS_DIST: ALL_GUI_DIST |
641d87d8 RR |
989 | mkdir $(DISTDIR)/utils |
990 | cp $(UTILSDIR)/Makefile.in $(DISTDIR)/utils | |
b51b78a9 RL |
991 | cp $(UTILSDIR)/configure $(DISTDIR)/utils |
992 | cp $(UTILSDIR)/configure.in $(DISTDIR)/utils | |
af563b66 | 993 | |
641d87d8 | 994 | mkdir $(DISTDIR)/utils/wxMMedia2 |
641d87d8 | 995 | mkdir $(DISTDIR)/utils/wxMMedia2/lib |
c09ab26a RR |
996 | mkdir $(DISTDIR)/utils/wxMMedia2/sample |
997 | cp $(UTILSDIR)/wxMMedia2/Makefile.in $(DISTDIR)/utils/wxMMedia2 | |
641d87d8 RR |
998 | cp $(UTILSDIR)/wxMMedia2/lib/Makefile.in $(DISTDIR)/utils/wxMMedia2/lib |
999 | cp $(UTILSDIR)/wxMMedia2/lib/*.h $(DISTDIR)/utils/wxMMedia2/lib | |
1000 | cp $(UTILSDIR)/wxMMedia2/lib/*.cpp $(DISTDIR)/utils/wxMMedia2/lib | |
1001 | cp $(UTILSDIR)/wxMMedia2/lib/*.def $(DISTDIR)/utils/wxMMedia2/lib | |
641d87d8 RR |
1002 | cp $(UTILSDIR)/wxMMedia2/sample/Makefile.in $(DISTDIR)/utils/wxMMedia2/sample |
1003 | cp $(UTILSDIR)/wxMMedia2/sample/*.cpp $(DISTDIR)/utils/wxMMedia2/sample | |
af563b66 | 1004 | |
641d87d8 | 1005 | mkdir $(DISTDIR)/utils/glcanvas |
c09ab26a | 1006 | mkdir $(DISTDIR)/utils/glcanvas/$(TOOLKITDIR) |
641d87d8 RR |
1007 | cp $(UTILSDIR)/glcanvas/Makefile.in $(DISTDIR)/utils/glcanvas |
1008 | cp $(UTILSDIR)/glcanvas/docs/notes.txt $(DISTDIR)/utils/glcanvas/NOTES.txt | |
641d87d8 RR |
1009 | cp $(UTILSDIR)/glcanvas/$(TOOLKITDIR)/Makefile.in $(DISTDIR)/utils/glcanvas/$(TOOLKITDIR) |
1010 | cp $(UTILSDIR)/glcanvas/$(TOOLKITDIR)/*.h $(DISTDIR)/utils/glcanvas/$(TOOLKITDIR) | |
1011 | cp $(UTILSDIR)/glcanvas/$(TOOLKITDIR)/*.cpp $(DISTDIR)/utils/glcanvas/$(TOOLKITDIR) | |
af563b66 | 1012 | |
c09ab26a RR |
1013 | mkdir $(DISTDIR)/utils/ogl |
1014 | mkdir $(DISTDIR)/utils/ogl/src | |
1015 | cp $(UTILSDIR)/ogl/Makefile.in $(DISTDIR)/utils/ogl | |
1016 | cp $(UTILSDIR)/ogl/src/Makefile.in $(DISTDIR)/utils/ogl/src | |
1017 | cp $(UTILSDIR)/ogl/src/*.h $(DISTDIR)/utils/ogl/src | |
1018 | cp $(UTILSDIR)/ogl/src/*.cpp $(DISTDIR)/utils/ogl/src | |
af563b66 | 1019 | |
2224580a | 1020 | MISC_DIST: ALL_GUI_DIST |
a6f3598d RR |
1021 | mkdir $(DISTDIR)/misc |
1022 | mkdir $(DISTDIR)/misc/afm | |
1023 | cp $(MISCDIR)/afm/*.afm $(DISTDIR)/misc/afm | |
1024 | mkdir $(DISTDIR)/misc/gs_afm | |
1025 | cp $(MISCDIR)/gs_afm/*.afm $(DISTDIR)/misc/gs_afm | |
2224580a | 1026 | |
e4c4c1c6 RL |
1027 | MANUAL_DIST: |
1028 | mkdir $(DISTDIR)/docs | |
1029 | mkdir $(DISTDIR)/docs/latex | |
1030 | mkdir $(DISTDIR)/docs/latex/wx | |
1031 | cp $(DOCDIR)/latex/wx/*.tex $(DISTDIR)/docs/latex/wx | |
1032 | cp $(DOCDIR)/latex/wx/*.gif $(DISTDIR)/docs/latex/wx | |
1033 | cp $(DOCDIR)/latex/wx/*.ini $(DISTDIR)/docs/latex/wx | |
1034 | cp $(DOCDIR)/latex/wx/*.bib $(DISTDIR)/docs/latex/wx | |
1035 | cp $(DOCDIR)/latex/wx/*.sty $(DISTDIR)/docs/latex/wx | |
1036 | ||
1037 | -mkdir $(DISTDIR)/utils | |
1038 | mkdir $(DISTDIR)/utils/tex2rtf | |
1039 | mkdir $(DISTDIR)/utils/tex2rtf/src | |
1040 | cp $(UTILSDIR)/tex2rtf/*.in $(DISTDIR)/utils/tex2rtf | |
1041 | cp $(UTILSDIR)/tex2rtf/src/*.h $(DISTDIR)/utils/tex2rtf/src | |
1042 | cp $(UTILSDIR)/tex2rtf/src/*.in $(DISTDIR)/utils/tex2rtf/src | |
1043 | cp $(UTILSDIR)/tex2rtf/src/*.cpp $(DISTDIR)/utils/tex2rtf/src | |
1044 | cp $(UTILSDIR)/tex2rtf/src/tex2rtf.* $(DISTDIR)/utils/tex2rtf/src | |
1045 | ||
9b0326f7 RL |
1046 | # this target does not generate a complete wxPython dist, it only includes |
1047 | # those files needed for the Debian source package. | |
1048 | # see utils/wxPython/distrib for scripts to make a proper wxPython dist. | |
1049 | PYTHON_DIST: | |
1050 | mkdir $(DISTDIR)/utils/wxPython | |
491e9f50 RL |
1051 | mkdir $(DISTDIR)/utils/wxPython/demo |
1052 | mkdir $(DISTDIR)/utils/wxPython/demo/bitmaps | |
1053 | mkdir $(DISTDIR)/utils/wxPython/demo/data | |
9b0326f7 RL |
1054 | mkdir $(DISTDIR)/utils/wxPython/distrib |
1055 | mkdir $(DISTDIR)/utils/wxPython/lib | |
1056 | mkdir $(DISTDIR)/utils/wxPython/lib/editor | |
1057 | mkdir $(DISTDIR)/utils/wxPython/lib/sizers | |
1058 | mkdir $(DISTDIR)/utils/wxPython/modules | |
1059 | mkdir $(DISTDIR)/utils/wxPython/modules/html | |
1060 | mkdir $(DISTDIR)/utils/wxPython/modules/utils | |
1061 | mkdir $(DISTDIR)/utils/wxPython/modules/utils/gtk | |
1062 | mkdir $(DISTDIR)/utils/wxPython/src | |
1063 | mkdir $(DISTDIR)/utils/wxPython/src/gtk | |
1064 | ||
1065 | cp $(UTILSDIR)/wxPython/*.txt $(DISTDIR)/utils/wxPython | |
491e9f50 RL |
1066 | -cp $(UTILSDIR)/wxPython/demo/* $(DISTDIR)/utils/wxPython/demo |
1067 | -cp $(UTILSDIR)/wxPython/demo/bitmaps/* $(DISTDIR)/utils/wxPython/demo/bitmaps | |
1068 | -cp $(UTILSDIR)/wxPython/demo/data/* $(DISTDIR)/utils/wxPython/demo/data | |
9b0326f7 RL |
1069 | cp $(UTILSDIR)/wxPython/distrib/build.py $(DISTDIR)/utils/wxPython/distrib |
1070 | cp $(UTILSDIR)/wxPython/lib/*.py $(DISTDIR)/utils/wxPython/lib | |
1071 | cp $(UTILSDIR)/wxPython/lib/editor/*.py $(DISTDIR)/utils/wxPython/lib/editor | |
1072 | cp $(UTILSDIR)/wxPython/lib/sizers/*.py $(DISTDIR)/utils/wxPython/lib/sizers | |
1073 | -cp $(UTILSDIR)/wxPython/modules/html/* $(DISTDIR)/utils/wxPython/modules/html | |
1074 | -cp $(UTILSDIR)/wxPython/modules/utils/* $(DISTDIR)/utils/wxPython/modules/utils | |
1075 | cp $(UTILSDIR)/wxPython/modules/utils/gtk/utils.* $(DISTDIR)/utils/wxPython/modules/utils/gtk | |
1076 | -cp $(UTILSDIR)/wxPython/src/* $(DISTDIR)/utils/wxPython/src | |
1077 | cp $(UTILSDIR)/wxPython/src/gtk/*.py $(DISTDIR)/utils/wxPython/src/gtk | |
1078 | cp $(UTILSDIR)/wxPython/src/gtk/*.cpp $(DISTDIR)/utils/wxPython/src/gtk | |
1079 | ||
2224580a | 1080 | distclean: |
8b17ba72 | 1081 | $(RM) -r _dist_dir |
a4aad961 | 1082 | |
2224580a VZ |
1083 | dist: @GUIDIST@ |
1084 | @echo "*** Creating wxWindows distribution in $(DISTDIR)..." | |
1085 | cd _dist_dir; tar ch @DISTDIR@ | gzip -f9 > $(WXARCHIVE); mv $(WXARCHIVE) .. | |
1086 | @if test "$(USE_GUI)" = 1; then \ | |
1087 | cd $(DISTDIR); \ | |
1088 | mv samples wxSamples; \ | |
1089 | tar ch wxSamples | gzip -f9 > ../../$(WXSAMPLES); \ | |
1090 | mv wxSamples samples; \ | |
1091 | mv demos wxDemos; \ | |
1092 | tar ch wxDemos | gzip -f9 > ../../$(WXDEMOS); \ | |
1093 | mv wxDemos demos; \ | |
1094 | fi | |
1095 | ||
9b0326f7 | 1096 | debian-dist: @GUIDIST@ MANUAL_DIST PYTHON_DIST |
e4c4c1c6 | 1097 | mkdir $(DISTDIR)/debian |
676b8fb6 | 1098 | -cp $(WXDIR)/debian/* $(DISTDIR)/debian |
e4c4c1c6 RL |
1099 | cp $(DOCDIR)/licence.txt $(DISTDIR)/docs |
1100 | cp $(DOCDIR)/licendoc.txt $(DISTDIR)/docs | |
1101 | cp $(DOCDIR)/preamble.txt $(DISTDIR)/docs | |
9b0326f7 RL |
1102 | rm -rf $(WXDIR)/../wxwindows$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER)-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER) |
1103 | mv $(DISTDIR) $(WXDIR)/../wxwindows$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER)-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER) | |
e4c4c1c6 | 1104 | |
ad9edf45 | 1105 | clean: |
8b17ba72 | 1106 | $(RM) *.o |
5586805b | 1107 | $(RM) *.d |
8b17ba72 RR |
1108 | $(RM) parser.c |
1109 | $(RM) lexer.c | |
223cb5ed | 1110 | $(RM) ./lib/* |
ad9edf45 RR |
1111 | |
1112 | cleanall: clean |