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