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