• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#------------------------------------------------------------------------------
2VERSION = BWS.01
3#------------------------------------------------------------------------------
4!ifndef ROOT
5ROOT = $(MAKEDIR)\..
6!endif
7#------------------------------------------------------------------------------
8MAKE = $(ROOT)\bin\make.exe -$(MAKEFLAGS) -f$**
9DCC = $(ROOT)\bin\dcc32.exe $**
10BRCC = $(ROOT)\bin\brcc32.exe $**
11#------------------------------------------------------------------------------
12PROJECTS = setup libexpat_mtd.dll libexpats_mtd.lib libexpatw_mtd.dll \
13  libexpatws_mtd.lib elements.exe outline.exe xmlwf.exe
14#------------------------------------------------------------------------------
15default: $(PROJECTS)
16#------------------------------------------------------------------------------
17
18libexpat_mtd.dll: expat.bpr
19  $(ROOT)\bin\bpr2mak $**
20  $(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak
21
22libexpats_mtd.lib: expat_static.bpr
23  $(ROOT)\bin\bpr2mak -t$(ROOT)\bin\deflib.bmk $**
24  $(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak
25
26libexpatw_mtd.dll: expatw.bpr
27  $(ROOT)\bin\bpr2mak $**
28  $(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak
29
30libexpatws_mtd.lib: expatw_static.bpr
31  $(ROOT)\bin\bpr2mak -t$(ROOT)\bin\deflib.bmk $**
32  $(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak
33
34elements.exe: elements.bpr
35  $(ROOT)\bin\bpr2mak $**
36  $(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak
37
38outline.exe: outline.bpr
39  $(ROOT)\bin\bpr2mak $**
40  $(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak
41
42xmlwf.exe: xmlwf.bpr
43  $(ROOT)\bin\bpr2mak $**
44  $(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak
45
46setup: setup.bat
47  call $**
48
49
50