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