]> git.saurik.com Git - wxWidgets.git/blame - src/msw/makefile.wat
wxFileConfig ctor now (again) uses the files in the correct locations if the
[wxWidgets.git] / src / msw / makefile.wat
CommitLineData
2bda0e17
KB
1#!/binb/wmake.exe
2#
3# File: makefile.wat
4# Author: Edward C. Zimmermann <edz@crg.net>
5# Created: 1994
6# Updated: Dmitri Chubraev, Nov.1994 <chubraev@iem.ee.ethz.ch>
7# RCS_ID $Id$
8#
9# Makefile : Builds wxWindows library for Windows 3.1
10# and Watcom C++
11
12WXDIR = ..\..
13
14!include $(WXDIR)\src\makewat.env
15
16WXLIB = $(WXDIR)\lib
17
18LIBTARGET = $(WXLIB)\wx$(LEVEL).lib
19DUMMY=dummydll
20#CTL3DOBJ = ..\..\contrib\ctl3d\ctl3d32.obj
21#CTL3DLIB = ..\..\contrib\ctl3d\win32s\ctl3d32.lib
22FAFALIB = ..\..\contrib\fafa\fafa.lib
23#ODBCLIB = ..\..\contrib\odbc\odbc32.lib
24GAUGELIB = ..\..\contrib\gauge\gauge.lib
25ITSYLIB = ..\..\contrib\itsybits\itsy.lib
26WXSTRINGLIB = ..\..\contrib\wxstring\wxstring.lib
27WXXPMLIB = ..\..\contrib\wxxpm\wxxpm.lib
28PROIOLIB = ..\..\utils\prologio\lib\prologio.lib
29DIBLIB = ..\..\utils\dib\dib.lib
30RCPARSERLIB = ..\..\utils\rcparser\lib\rcparser.lib
31
32EXTRAMODULES = $(GAUGELIB) $(ITSYLIB) $(PROIOLIB) $(DIBLIB) $(WXSTRINGLIB) $(RCPARSERLIB) $(FAFALIB) # $(WXXPMLIB)
33EXTRATARGETS = fafa gauge itsy prologio dib rcparser wxstring # wxxpm
34EXTRATARGETSCLEAN = clean_fafa clean_gauge clean_itsy clean_proio clean_dib clean_rcp clean_wxstring # clean_wxxpm
35
36OBJECTS = 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
42
43BASEOBJECTS = ..\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
54
55# This now replaced by contrib\wxstring
56#..\base\wxstring.obj
57
58all: base $(EXTRATARGETS) erasepch $(LIBTARGET)
59
60base: .SYMBOLIC
61 cd ..\base
62 wmake -f makefile.wat all OPTIONS="$(OPTIONS)" DEBUG="$(DEBUG)" LEVEL=$(LEVEL)
63 cd ..\msw
64
65$(LIBTARGET) : $(OBJECTS) $(BASEOBJECTS) $(EXTRAMODULES)
66 %create tmp.lbc
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
71
72clean: .SYMBOLIC
73 -erase *.obj *.bak *.err *.pch
74 cd ..\base
75 wmake -f makefile.wat clean
76 -erase $(LIBTARGET)
77 cd ..\msw
78
79cleanall: clean $(EXTRATARGETSCLEAN)
80
81fafa: .SYMBOLIC
82 cd $(WXDIR)\contrib\fafa
83 wmake -f makefile.wat all
84 cd $(WXDIR)\src\msw
85
86clean_fafa: .SYMBOLIC
87 cd $(WXDIR)\contrib\fafa
88 wmake -f makefile.wat clean
89 cd $(WXDIR)\src\msw
90
91itsy: .SYMBOLIC
92 cd $(WXDIR)\contrib\itsybits
93 wmake -f makefile.wat all
94 cd $(WXDIR)\src\msw
95
96clean_itsy: .SYMBOLIC
97 cd $(WXDIR)\contrib\itsybits
98 wmake -f makefile.wat clean
99 cd $(WXDIR)\src\msw
100
101gauge: .SYMBOLIC
102 cd $(WXDIR)\contrib\gauge
103 wmake -f makefile.wat all
104 cd $(WXDIR)\src\msw
105
106clean_gauge: .SYMBOLIC
107 cd $(WXDIR)\contrib\gauge
108 wmake -f makefile.wat clean
109 cd $(WXDIR)\src\msw
110
111wxxpm: .SYMBOLIC
112 cd $(WXDIR)\contrib\wxxpm
113 wmake -f makefile.wat all
114 cd $(WXDIR)\src\msw
115
116clean_wxxpm: .SYMBOLIC
117 cd $(WXDIR)\contrib\wxxpm
118 wmake -f makefile.wat clean
119 cd $(WXDIR)\src\msw
120
121dib: .SYMBOLIC
122 cd $(WXDIR)\utils\dib
123 wmake -f makefile.wat all
124 cd $(WXDIR)\src\msw
125
126clean_dib: .SYMBOLIC
127 cd $(WXDIR)\utils\dib
128 wmake -f makefile.wat clean
129 cd $(WXDIR)\src\msw
130
131prologio: .SYMBOLIC
132 cd $(WXDIR)\utils\prologio\src
133 wmake -f makefile.wat all
134 cd $(WXDIR)\src\msw
135
136clean_proio: .SYMBOLIC
137 cd $(WXDIR)\utils\prologio\src
138 wmake -f makefile.wat clean
139 cd $(WXDIR)\src\msw
140
141rcparser: .SYMBOLIC
142 cd $(WXDIR)\utils\rcparser\src
143 wmake -f makefile.wat all
144 cd $(WXDIR)\src\msw
145
146wxstring: .SYMBOLIC
147 cd $(WXDIR)\contrib\wxstring
148 wmake -f makefile.wat all OPTIONS="$(OPTIONS)" DEBUG="$(DEBUG)"
149 cd $(WXDIR)\src\msw
150
151clean_wxstring: .SYMBOLIC
152 cd $(WXDIR)\contrib\wxstring
153 wmake -f makefile.wat clean
154 cd $(WXDIR)\src\msw
155
156clean_rcp: .SYMBOLIC
157 cd $(WXDIR)\utils\rcparser\src
158 wmake -f makefile.wat clean
159 cd $(WXDIR)\src\msw