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