4 # $(INSTALL_DATA) $(INCDIR)/wx/window.h $(includedir)/wx/window.h
6 # foreach $file (sort keys %wxINCLUDE) {
7 # next if $wxINCLUDE{$file} =~ /\b(GTK|MSW|MOT|PM|MAC|GEN|HTM|UNX)\b/;
9 # $project{"WXINSTALLWX"} .= "$(INSTALL_DATA)" . " " . "\$(INCDIR)/wx/" . $file . " \$(includedir)/wx/" . $file . "\n"
14 # This file was automatically generated by tmake at 18:19, 1999/08/11
15 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE UNX.T!
19 # Author: Julian Smart, Robert Roebling, Vadim Zeitlin
22 # Copyright:(c) 1993, AIAI, University of Edinburgh,
23 # Copyright:(c) 1999, Vadim Zeitlin
24 # Copyright:(c) 1999, Robert Roebling
26 # Makefile for libwx_gtk.a, libwx_motif.a and libwx_msw.a
28 ###################################################################
32 ############## override make.env for PIC ##########################
34 # Clears all default suffixes
35 .SUFFIXES: .o .cpp .c .cxx
38 $(CCC) -c $(CFLAGS) $(PICFLAGS) -o $@ $<
41 $(CC) -c $(CPPFLAGS) $(PICFLAGS) -o $@ $<
44 $(CC) -c $(CPPFLAGS) $(PICFLAGS) -o $@ $<
46 ########################### Paths #################################
52 top_srcdir = @top_srcdir@
54 exec_prefix = @exec_prefix@
58 libexecdir = @libexecdir@
60 sysconfdir = @sysconfdir@
61 sharedstatedir = @sharedstatedir@
62 localstatedir = @localstatedir@
66 includedir = @includedir@
67 oldincludedir = /usr/include
71 pkgdatadir = $(datadir)/@PACKAGE@
72 pkglibdir = $(libdir)/@PACKAGE@
73 pkgincludedir = $(includedir)/@PACKAGE@
78 INSTALL_PROGRAM = @INSTALL_PROGRAM@
79 INSTALL_DATA = @INSTALL_DATA@
80 INSTALL_SCRIPT = @INSTALL_SCRIPT@
81 transform = @program_transform_name@
89 build_alias = @build_alias@
90 build_triplet = @build@
91 host_alias = @host_alias@
93 target_alias = @target_alias@
94 target_triplet = @target@
96 ############################# Dirs #################################
98 WXDIR = $(srcdir)/../..
100 # Subordinate library possibilities
102 GENDIR = $(WXDIR)/src/generic
103 COMMDIR = $(WXDIR)/src/common
104 HTMLDIR = $(WXDIR)/src/html
105 UNIXDIR = $(WXDIR)/src/unix
106 PNGDIR = $(WXDIR)/src/png
107 JPEGDIR = $(WXDIR)/src/jpeg
108 ZLIBDIR = $(WXDIR)/src/zlib
109 GTKDIR = $(WXDIR)/src/gtk
110 MOTIFDIR = $(WXDIR)/src/motif
111 INCDIR = $(WXDIR)/include
113 DOCDIR = $(WXDIR)/docs
115 ############################## Files ##################################
118 ../generic/busyinfo.o \
120 ../generic/choicdgg.o \
121 ../generic/colrdlgg.o \
123 ../generic/dirdlgg.o \
124 ../generic/fontdlgg.o \
126 ../generic/imaglist.o \
127 ../generic/laywin.o \
128 ../generic/listctrl.o \
129 ../generic/msgdlgg.o \
130 ../generic/numdlgg.o \
131 ../generic/panelg.o \
132 ../generic/printps.o \
133 ../generic/prntdlgg.o \
134 ../generic/progdlgg.o \
136 ../generic/propform.o \
137 ../generic/proplist.o \
138 ../generic/sashwin.o \
139 ../generic/scrolwin.o \
140 ../generic/splitter.o \
141 ../generic/statusbr.o \
142 ../generic/textdlgg.o \
143 ../generic/tipdlg.o \
144 ../generic/treectrl.o
148 ../common/cmndata.o \
151 ../common/datstrm.o \
153 ../common/dbtable.o \
157 ../common/docview.o \
158 ../common/dynarray.o \
161 ../common/extended.o \
164 ../common/fileconf.o \
166 ../common/filesys.o \
167 ../common/framecmn.o \
168 ../common/fs_inet.o \
173 ../common/helpbase.o \
175 ../common/imagbmp.o \
177 ../common/imaggif.o \
178 ../common/imagjpeg.o \
179 ../common/imagpng.o \
181 ../common/ipcbase.o \
186 ../common/mimetype.o \
188 ../common/mstream.o \
190 ../common/objstrm.o \
192 ../common/prntbase.o \
193 ../common/process.o \
194 ../common/protocol.o \
195 ../common/resource.o \
196 ../common/sckaddr.o \
197 ../common/sckfile.o \
199 ../common/sckstrm.o \
202 ../common/strconv.o \
205 ../common/tbarbase.o \
206 ../common/tbarsmpl.o \
207 ../common/textcmn.o \
208 ../common/textfile.o \
210 ../common/timercmn.o \
211 ../common/tokenzr.o \
212 ../common/txtstrm.o \
215 ../common/utilscmn.o \
217 ../common/validate.o \
218 ../common/valtext.o \
219 ../common/variant.o \
220 ../common/wfstream.o \
224 ../common/zipstrm.o \
286 MOTIF_GENERICOBJS = \
287 ../generic/busyinfo.o \
289 ../generic/choicdgg.o \
290 ../generic/colrdlgg.o \
292 ../generic/dirdlgg.o \
293 ../generic/fontdlgg.o \
295 ../generic/helpxlp.o \
296 ../generic/imaglist.o \
297 ../generic/laywin.o \
298 ../generic/listctrl.o \
299 ../generic/msgdlgg.o \
300 ../generic/notebook.o \
301 ../generic/numdlgg.o \
302 ../generic/panelg.o \
303 ../generic/printps.o \
304 ../generic/prntdlgg.o \
305 ../generic/progdlgg.o \
307 ../generic/propform.o \
308 ../generic/proplist.o \
309 ../generic/sashwin.o \
310 ../generic/scrolwin.o \
311 ../generic/splitter.o \
312 ../generic/statusbr.o \
314 ../generic/textdlgg.o \
315 ../generic/tipdlg.o \
316 ../generic/treectrl.o
320 ../common/choiccmn.o \
321 ../common/cmndata.o \
323 ../common/ctrlcmn.o \
325 ../common/datstrm.o \
327 ../common/dbtable.o \
331 ../common/docview.o \
332 ../common/dynarray.o \
335 ../common/extended.o \
338 ../common/fileconf.o \
340 ../common/filesys.o \
341 ../common/framecmn.o \
342 ../common/fs_inet.o \
347 ../common/helpbase.o \
349 ../common/imagbmp.o \
351 ../common/imaggif.o \
352 ../common/imagjpeg.o \
353 ../common/imagpng.o \
355 ../common/ipcbase.o \
360 ../common/mimetype.o \
362 ../common/mstream.o \
364 ../common/objstrm.o \
367 ../common/prntbase.o \
368 ../common/process.o \
369 ../common/protocol.o \
370 ../common/resource.o \
371 ../common/sckaddr.o \
372 ../common/sckfile.o \
374 ../common/sckstrm.o \
377 ../common/strconv.o \
380 ../common/tbarbase.o \
381 ../common/tbarsmpl.o \
382 ../common/textcmn.o \
383 ../common/textfile.o \
385 ../common/timercmn.o \
386 ../common/tokenzr.o \
387 ../common/txtstrm.o \
390 ../common/utilscmn.o \
392 ../common/validate.o \
393 ../common/valtext.o \
394 ../common/variant.o \
395 ../common/wfstream.o \
399 ../common/zipstrm.o \
403 ../motif/xmcombo/xmcombo.o \
407 ../motif/bmpbuttn.o \
410 ../motif/checkbox.o \
414 ../motif/combobox.o \
420 ../motif/dcclient.o \
421 ../motif/dcmemory.o \
422 ../motif/dcscreen.o \
429 ../motif/gsockmot.o \
435 ../motif/menuitem.o \
436 ../motif/minifram.o \
440 ../motif/radiobox.o \
441 ../motif/radiobut.o \
443 ../motif/scrolbar.o \
444 ../motif/settings.o \
448 ../motif/stattext.o \
449 ../motif/textctrl.o \
457 ../html/htmlfilter.o \
459 ../html/htmlhelp_io.o \
460 ../html/htmlparser.o \
463 ../html/htmlwinparser.o \
464 ../html/mod_fonts.o \
465 ../html/mod_hline.o \
466 ../html/mod_image.o \
467 ../html/mod_layout.o \
468 ../html/mod_links.o \
471 ../html/mod_tables.o \
476 ../unix/threadpsx.o \
562 OBJECTS = $(@GUIOBJS@) $(@COMMONOBJS@) $(@GENERICOBJS@) $(HTMLOBJS) $(UNIXOBJS) \
563 $(JPEGOBJS) $(PNGOBJS) $(ZLIBOBJS)
566 REQUIRED_DIRS = ../../lib ../../src ../../src/common ../../src/gtk ../../src/motif \
567 ../../src/generic ../../src/unix ../../src/motif/xmombo ../../src/html \
568 ../../src/zlib ../../src/jpeg ../../src/png
570 all: $(REQUIRED_DIRS) $(OBJECTS) @WX_TARGET_LIBRARY@ @WX_CREATE_LINKS@
572 $(REQUIRED_DIRS): $(WXDIR)/include/wx/defs.h $(WXDIR)/include/wx/object.h $(WXDIR)/include/wx/setup.h
573 @if test ! -d ../../lib; then mkdir ../../lib; fi
574 @if test ! -d ../../src; then mkdir ../../src; fi
575 @if test ! -d ../../src/common; then mkdir ../../src/common; fi
576 @if test ! -d ../../src/gtk; then mkdir ../../src/gtk; fi
577 @if test ! -d ../../src/motif; then mkdir ../../src/motif; fi
578 @if test ! -d ../../src/motif/xmcombo; then mkdir ../../src/motif/xmcombo; fi
579 @if test ! -d ../../src/generic; then mkdir ../../src/generic; fi
580 @if test ! -d ../../src/unix; then mkdir ../../src/unix; fi
581 @if test ! -d ../../src/html; then mkdir ../../src/html; fi
582 @if test ! -d ../../src/png; then mkdir ../../src/png; fi
583 @if test ! -d ../../src/jpeg; then mkdir ../../src/jpeg; fi
584 @if test ! -d ../../src/zlib; then mkdir ../../src/zlib; fi
586 @WX_LIBRARY_NAME_STATIC@: $(OBJECTS)
587 $(AR) $(AROPTIONS) ../../lib/$@ $(OBJECTS)
588 $(RANLIB) ../../lib/$@
590 @WX_LIBRARY_NAME_SHARED@: $(OBJECTS)
591 $(SHARED_LD) ../../lib/$@ $(OBJECTS) $(EXTRALIBS)
593 CREATE_LINKS: $(OBJECTS)
594 @if test -e ../../lib/@WX_LIBRARY_LINK1@; then rm -f ../../lib/@WX_LIBRARY_LINK1@; fi
595 @if test -e ../../lib/@WX_LIBRARY_LINK2@; then rm -f ../../lib/@WX_LIBRARY_LINK2@; fi
596 @if test -e ../../lib/@WX_LIBRARY_LINK3@; then rm -f ../../lib/@WX_LIBRARY_LINK3@; fi
597 $(LN_S) @WX_TARGET_LIBRARY@ ../../lib/@WX_LIBRARY_LINK1@
598 $(LN_S) @WX_TARGET_LIBRARY@ ../../lib/@WX_LIBRARY_LINK2@
599 $(LN_S) @WX_TARGET_LIBRARY@ ../../lib/@WX_LIBRARY_LINK3@
601 $(OBJECTS): $(WXDIR)/include/wx/defs.h $(WXDIR)/include/wx/object.h $(WXDIR)/include/wx/setup.h
603 parser.o: parser.c lexer.c
604 $(CCLEX) -c $(CFLAGS) -o $@ parser.c
606 parser.c: $(COMMDIR)/parser.y lexer.c
607 $(YACC) $(COMMDIR)/parser.y
608 @sed -e "s;$(COMMDIR)/y.tab.c;parser.y;g" < y.tab.c | \
609 sed -e "s/BUFSIZ/5000/g" | \
610 sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \
611 sed -e "s/yy/PROIO_yy/g" | \
612 sed -e "s/input/PROIO_input/g" | \
613 sed -e "s/unput/PROIO_unput/g" > parser.c
616 lexer.c: $(COMMDIR)/lexer.l
617 $(LEX) $(COMMDIR)/lexer.l
618 @sed -e "s;$(COMMDIR)/lex.yy.c;lexer.l;g" < lex.yy.c | \
619 sed -e "s/yy/PROIO_yy/g" | \
620 sed -e "s/input/PROIO_input/g" | \
621 sed -e "s/unput/PROIO_unput/g" > lexer.c
625 @if test ! -e ../../samples/dialog/dialog.cpp; \
626 then cp -f -r $(WXDIR)/samples ../..; \
629 install: @WX_TARGET_LIBRARY@