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