]> git.saurik.com Git - wxWidgets.git/blame - src/expat/bcb5/expatw_static.mak
Merge in from trunk r64802 - r68625
[wxWidgets.git] / src / expat / bcb5 / expatw_static.mak
CommitLineData
5e9f2524
VS
1# ---------------------------------------------------------------------------
2!if !$d(BCB)
3BCB = $(MAKEDIR)\..
4!endif
5
6# ---------------------------------------------------------------------------
7# IDE SECTION
8# ---------------------------------------------------------------------------
9# The following section of the project makefile is managed by the BCB IDE.
10# It is recommended to use the IDE to change any of the values in this
11# section.
12# ---------------------------------------------------------------------------
13
14VERSION = BCB.05.03
15# ---------------------------------------------------------------------------
16PROJECT = Release\libexpatws_mtd.lib
17OBJFILES = Release\obj\libexpatw_static\xmlparse.obj \
18 Release\obj\libexpatw_static\xmlrole.obj \
19 Release\obj\libexpatw_static\xmltok.obj
20RESFILES =
21MAINSOURCE = expatw_static.bpf
22RESDEPEN = $(RESFILES)
23LIBFILES =
24IDLFILES =
25IDLGENFILES =
26LIBRARIES =
27PACKAGES =
28SPARELIBS =
29DEFFILE =
30# ---------------------------------------------------------------------------
31PATHCPP = .;..\lib
32PATHASM = .;
33PATHPAS = .;
34PATHRC = .;
35LINKER = TLib
36DEBUGLIBPATH = $(BCB)\lib\debug
37RELEASELIBPATH = $(BCB)\lib\release
38USERDEFINES = _WINDOWS;WIN32;NDEBUG;_LIB;COMPILED_FROM_DSP;XML_STATIC;XML_UNICODE_WCHAR_T
39SYSDEFINES = _NO_VCL;_ASSERTE;NO_STRICT;_RTLDLL
40INCLUDEPATH = ..\lib;$(BCB)\include
41LIBPATH = ..\lib;$(BCB)\lib;$(RELEASELIBPATH)
42WARNINGS = -w-rch -w-par -w-8027 -w-8026 -w-ccc
43LISTFILE =
44# ---------------------------------------------------------------------------
45CFLAG1 = -O2 -X- -a8 -b -k- -vi -q -tWM -c
46IDLCFLAGS = -I$(BCB)\include
47PFLAGS = -N2Release\obj\libexpatw_static -N0Release\obj\libexpatw_static -$Y- -$L- \
48 -$D-
49RFLAGS = /l 0x409 /d "NDEBUG" /i$(BCB)\include
50AFLAGS = /mx /w2 /zn
51LFLAGS =
52# ---------------------------------------------------------------------------
53ALLOBJ = $(OBJFILES)
54ALLRES = $(RESFILES)
55ALLLIB = $(LIBFILES) $(LIBRARIES)
56# ---------------------------------------------------------------------------
57!ifdef IDEOPTIONS
58
59[Version Info]
60IncludeVerInfo=0
61AutoIncBuild=0
62MajorVer=1
63MinorVer=0
64Release=0
65Build=0
66Debug=0
67PreRelease=0
68Special=0
69Private=0
70DLL=0
71
72[Version Info Keys]
73CompanyName=
74FileDescription=
75FileVersion=1.0.0.0
76InternalName=
77LegalCopyright=
78LegalTrademarks=
79OriginalFilename=
80ProductName=
81ProductVersion=1.0.0.0
82Comments=
83
84[Debugging]
85DebugSourceDirs=$(BCB)\source\vcl
86
87!endif
88
89
90
91
92
93# ---------------------------------------------------------------------------
94# MAKE SECTION
95# ---------------------------------------------------------------------------
96# This section of the project file is not used by the BCB IDE. It is for
97# the benefit of building from the command-line using the MAKE utility.
98# ---------------------------------------------------------------------------
99
100.autodepend
101# ---------------------------------------------------------------------------
102!if "$(USERDEFINES)" != ""
103AUSERDEFINES = -d$(USERDEFINES:;= -d)
104!else
105AUSERDEFINES =
106!endif
107
108!if !$d(BCC32)
109BCC32 = bcc32
110!endif
111
112!if !$d(CPP32)
113CPP32 = cpp32
114!endif
115
116!if !$d(DCC32)
117DCC32 = dcc32
118!endif
119
120!if !$d(TASM32)
121TASM32 = tasm32
122!endif
123
124!if !$d(LINKER)
125LINKER = TLib
126!endif
127
128!if !$d(BRCC32)
129BRCC32 = brcc32
130!endif
131
132
133# ---------------------------------------------------------------------------
134!if $d(PATHCPP)
135.PATH.CPP = $(PATHCPP)
136.PATH.C = $(PATHCPP)
137!endif
138
139!if $d(PATHPAS)
140.PATH.PAS = $(PATHPAS)
141!endif
142
143!if $d(PATHASM)
144.PATH.ASM = $(PATHASM)
145!endif
146
147!if $d(PATHRC)
148.PATH.RC = $(PATHRC)
149!endif
150# ---------------------------------------------------------------------------
151!if "$(LISTFILE)" == ""
152COMMA =
153!else
154COMMA = ,
155!endif
156
157$(PROJECT): $(IDLGENFILES) $(OBJFILES) $(RESDEPEN) $(DEFFILE)
158 $(BCB)\BIN\$(LINKER) /u $@ @&&!
159 $(LFLAGS) $? $(COMMA) $(LISTFILE)
160
161!
162# ---------------------------------------------------------------------------
163.pas.hpp:
164 $(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< }
165
166.pas.obj:
167 $(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< }
168
169.cpp.obj:
170 $(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< }
171
172.c.obj:
173 $(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< }
174
175.c.i:
176 $(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< }
177
178.cpp.i:
179 $(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< }
180
181.asm.obj:
182 $(BCB)\BIN\$(TASM32) $(AFLAGS) -i$(INCLUDEPATH:;= -i) $(AUSERDEFINES) -d$(SYSDEFINES:;= -d) $<, $@
183
184.rc.res:
185 $(BCB)\BIN\$(BRCC32) $(RFLAGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -fo$@ $<
186# ---------------------------------------------------------------------------
187
188
189
190