]>
Commit | Line | Data |
---|---|---|
78d14f80 VS |
1 | # |
2 | # File: makefile.g95 | |
3 | # Author: Julian Smart | |
4 | # Created: 2000 | |
5 | # Updated: | |
6 | # Copyright: (c) Julian Smart, 2000 | |
7 | # | |
8 | # Makefile for wxWindows wxXML library (Cygwin/Mingw32). | |
9 | ||
10 | WXDIR = ../../.. | |
11 | ||
12 | expat_dir = $(WXDIR)/contrib/src/xrc/expat | |
13 | XMLPARSEDIR = $(expat_dir)/xmlparse | |
14 | XMLTOKDIR=$(expat_dir)/xmltok | |
15 | ||
16 | EXPAT_DEFS=-I$(expat_dir)/xmlparse -I$(expat_dir)/xmltok | |
17 | ||
18 | EXTRACPPFLAGS=$(EXPAT_DEFS) | |
19 | XMLPARSEDIR_OBJECTS=xmlparse.o | |
20 | XMLTOKDIR_OBJECTS=xmltok.o xmlrole.o | |
21 | ||
22 | LIBTARGET=$(WXDIR)/lib/libwxxrc.a | |
23 | ||
24 | OBJECTS= $(XMLPARSEDIR_OBJECTS) $(XMLTOKDIR_OBJECTS) \ | |
25 | xml.o xmlbin.o xmlbinz.o xmlexpat.o xmlwrite.o xmlres.o xmlrsall.o \ | |
26 | xh_bttn.o xh_chckb.o xh_chckl.o xh_choic.o xh_combo.o xh_dlg.o \ | |
27 | xh_gauge.o xh_html.o xh_menu.o xh_notbk.o xh_panel.o xh_radbt.o \ | |
28 | xh_radbx.o xh_sizer.o xh_slidr.o xh_spin.o xh_stbmp.o xh_sttxt.o \ | |
29 | xh_text.o xh_listb.o xh_toolb.o xh_stlin.o xh_bmp.o xh_unkwn.o \ | |
30 | xh_bmpbt.o xh_cald.o xh_listc.o xh_scrol.o xh_stbox.o xh_tree.o \ | |
31 | xh_frame.o | |
32 | ||
33 | include $(WXDIR)/src/makelib.g95 | |
34 | ||
35 | $(XMLPARSEDIR_OBJECTS): | |
36 | $(CC) -g $(EXPAT_DEFS) -c -o $@ $(XMLPARSEDIR)/$(patsubst %.o,%.c, $@) | |
37 | ||
38 | $(XMLTOKDIR_OBJECTS): | |
39 | $(CC) -g $(EXPAT_DEFS) -c -o $@ $(XMLTOKDIR)/$(patsubst %.o,%.c, $@) | |
40 |