4 # Author: Edward C. Zimmermann <edz@crg.net>
6 # Updated: Dmitri Chubraev, Nov.1994 <chubraev@iem.ee.ethz.ch>
9 # Makefile : Builds wxWindows library for Windows 3.1
14 !include $(WXDIR)\src\makewat.env
18 LIBTARGET = $(WXLIB)\wx$(LEVEL).lib
20 #CTL3DOBJ = ..\..\contrib\ctl3d\ctl3d32.obj
21 #CTL3DLIB = ..\..\contrib\ctl3d\win32s\ctl3d32.lib
22 FAFALIB = ..\..\contrib\fafa\fafa.lib
23 #ODBCLIB = ..\..\contrib\odbc\odbc32.lib
24 GAUGELIB = ..\..\contrib\gauge\gauge.lib
25 ITSYLIB = ..\..\contrib\itsybits\itsy.lib
26 WXSTRINGLIB = ..\..\contrib\wxstring\wxstring.lib
27 WXXPMLIB = ..\..\contrib\wxxpm\wxxpm.lib
28 PROIOLIB = ..\..\utils\prologio\lib\prologio.lib
29 DIBLIB = ..\..\utils\dib\dib.lib
30 RCPARSERLIB = ..\..\utils\rcparser\lib\rcparser.lib
32 EXTRAMODULES = $(GAUGELIB) $(ITSYLIB) $(PROIOLIB) $(DIBLIB) $(WXSTRINGLIB) $(RCPARSERLIB) $(FAFALIB) # $(WXXPMLIB)
33 EXTRATARGETS = fafa gauge itsy prologio dib rcparser wxstring # wxxpm
34 EXTRATARGETSCLEAN = clean_fafa clean_gauge clean_itsy clean_proio clean_dib clean_rcp clean_wxstring # clean_wxxpm
36 OBJECTS = wx_win.obj wx_frame.obj wx_panel.obj wx_utils.obj &
37 wx_item.obj wx_text.obj wx_gdi.obj wx_dialg.obj wx_canvs.obj wx_dc.obj &
38 wx_mf.obj wx_ipc.obj wx_timer.obj wx_clipb.obj wx_vlbox.obj &
39 wx_stat.obj wx_scrol.obj wx_buttn.obj wx_messg.obj wx_check.obj wx_choic.obj &
40 wx_rbox.obj wx_lbox.obj wx_group.obj wx_gauge.obj wx_txt.obj wx_mtxt.obj &
41 wx_slidr.obj wx_menu.obj wx_db.obj wx_cmdlg.obj wx_main.obj wx_combo.obj
43 BASEOBJECTS = ..\base\wb_win.obj ..\base\wb_frame.obj ..\base\wb_panel.obj &
44 ..\base\wb_utils.obj ..\base\wx_lay.obj ..\base\wx_doc.obj ..\base\wb_res.obj &
45 ..\base\wb_main.obj ..\base\wb_item.obj ..\base\wb_list.obj ..\base\wb_obj.obj &
46 ..\base\wb_text.obj ..\base\wb_gdi.obj ..\base\wb_dialg.obj ..\base\wb_canvs.obj &
47 ..\base\wb_dc.obj ..\base\wb_mf.obj ..\base\wb_ps.obj ..\base\wx_enhdg.obj &
48 ..\base\wb_hash.obj ..\base\wb_ipc.obj ..\base\wb_form.obj ..\base\wb_timer.obj &
49 ..\base\wb_help.obj ..\base\wb_sysev.obj ..\base\wb_stdev.obj ..\base\wb_types.obj &
50 ..\base\wb_mgstr.obj ..\base\wb_data.obj ..\base\wb_stat.obj &
51 ..\base\wb_scrol.obj ..\base\wb_vlbox.obj ..\base\wb_print.obj ..\base\wx_tbar.obj &
52 ..\base\wx_bbar.obj ..\base\wx_mem.obj ..\base\wx_date.obj ..\base\wb_cmdlg.obj &
53 ..\base\wx_time.obj ..\base\wx_frac.obj
55 # This now replaced by contrib\wxstring
58 all: base $(EXTRATARGETS) erasepch $(LIBTARGET)
62 wmake -f makefile.wat all OPTIONS="$(OPTIONS)" DEBUG="$(DEBUG)" LEVEL=$(LEVEL)
65 $(LIBTARGET) : $(OBJECTS) $(BASEOBJECTS) $(EXTRAMODULES)
67 @for %i in ( $(OBJECTS) ) do @%append tmp.lbc +%i
68 @for %i in ( $(BASEOBJECTS) ) do @%append tmp.lbc +%i
69 @for %i in ( $(EXTRAMODULES) ) do @%append tmp.lbc +%i
70 wlib /b /c /n /p=512 $^@ @tmp.lbc
73 -erase *.obj *.bak *.err *.pch
75 wmake -f makefile.wat clean
79 cleanall: clean $(EXTRATARGETSCLEAN)
82 cd $(WXDIR)\contrib\fafa
83 wmake -f makefile.wat all
87 cd $(WXDIR)\contrib\fafa
88 wmake -f makefile.wat clean
92 cd $(WXDIR)\contrib\itsybits
93 wmake -f makefile.wat all
97 cd $(WXDIR)\contrib\itsybits
98 wmake -f makefile.wat clean
102 cd $(WXDIR)\contrib\gauge
103 wmake -f makefile.wat all
106 clean_gauge: .SYMBOLIC
107 cd $(WXDIR)\contrib\gauge
108 wmake -f makefile.wat clean
112 cd $(WXDIR)\contrib\wxxpm
113 wmake -f makefile.wat all
116 clean_wxxpm: .SYMBOLIC
117 cd $(WXDIR)\contrib\wxxpm
118 wmake -f makefile.wat clean
122 cd $(WXDIR)\utils\dib
123 wmake -f makefile.wat all
127 cd $(WXDIR)\utils\dib
128 wmake -f makefile.wat clean
132 cd $(WXDIR)\utils\prologio\src
133 wmake -f makefile.wat all
136 clean_proio: .SYMBOLIC
137 cd $(WXDIR)\utils\prologio\src
138 wmake -f makefile.wat clean
142 cd $(WXDIR)\utils\rcparser\src
143 wmake -f makefile.wat all
147 cd $(WXDIR)\contrib\wxstring
148 wmake -f makefile.wat all OPTIONS="$(OPTIONS)" DEBUG="$(DEBUG)"
151 clean_wxstring: .SYMBOLIC
152 cd $(WXDIR)\contrib\wxstring
153 wmake -f makefile.wat clean
157 cd $(WXDIR)\utils\rcparser\src
158 wmake -f makefile.wat clean