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