]> git.saurik.com Git - wxWidgets.git/blob - src/expat/bcb5/expatw_static.mak
avoiding potential mismatch between true and expected state of wxGraphicsContext...
[wxWidgets.git] / src / expat / bcb5 / expatw_static.mak
1 # ---------------------------------------------------------------------------
2 !if !$d(BCB)
3 BCB = $(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
14 VERSION = BCB.05.03
15 # ---------------------------------------------------------------------------
16 PROJECT = Release\libexpatws_mtd.lib
17 OBJFILES = Release\obj\libexpatw_static\xmlparse.obj \
18 Release\obj\libexpatw_static\xmlrole.obj \
19 Release\obj\libexpatw_static\xmltok.obj
20 RESFILES =
21 MAINSOURCE = expatw_static.bpf
22 RESDEPEN = $(RESFILES)
23 LIBFILES =
24 IDLFILES =
25 IDLGENFILES =
26 LIBRARIES =
27 PACKAGES =
28 SPARELIBS =
29 DEFFILE =
30 # ---------------------------------------------------------------------------
31 PATHCPP = .;..\lib
32 PATHASM = .;
33 PATHPAS = .;
34 PATHRC = .;
35 LINKER = TLib
36 DEBUGLIBPATH = $(BCB)\lib\debug
37 RELEASELIBPATH = $(BCB)\lib\release
38 USERDEFINES = _WINDOWS;WIN32;NDEBUG;_LIB;COMPILED_FROM_DSP;XML_STATIC;XML_UNICODE_WCHAR_T
39 SYSDEFINES = _NO_VCL;_ASSERTE;NO_STRICT;_RTLDLL
40 INCLUDEPATH = ..\lib;$(BCB)\include
41 LIBPATH = ..\lib;$(BCB)\lib;$(RELEASELIBPATH)
42 WARNINGS = -w-rch -w-par -w-8027 -w-8026 -w-ccc
43 LISTFILE =
44 # ---------------------------------------------------------------------------
45 CFLAG1 = -O2 -X- -a8 -b -k- -vi -q -tWM -c
46 IDLCFLAGS = -I$(BCB)\include
47 PFLAGS = -N2Release\obj\libexpatw_static -N0Release\obj\libexpatw_static -$Y- -$L- \
48 -$D-
49 RFLAGS = /l 0x409 /d "NDEBUG" /i$(BCB)\include
50 AFLAGS = /mx /w2 /zn
51 LFLAGS =
52 # ---------------------------------------------------------------------------
53 ALLOBJ = $(OBJFILES)
54 ALLRES = $(RESFILES)
55 ALLLIB = $(LIBFILES) $(LIBRARIES)
56 # ---------------------------------------------------------------------------
57 !ifdef IDEOPTIONS
58
59 [Version Info]
60 IncludeVerInfo=0
61 AutoIncBuild=0
62 MajorVer=1
63 MinorVer=0
64 Release=0
65 Build=0
66 Debug=0
67 PreRelease=0
68 Special=0
69 Private=0
70 DLL=0
71
72 [Version Info Keys]
73 CompanyName=
74 FileDescription=
75 FileVersion=1.0.0.0
76 InternalName=
77 LegalCopyright=
78 LegalTrademarks=
79 OriginalFilename=
80 ProductName=
81 ProductVersion=1.0.0.0
82 Comments=
83
84 [Debugging]
85 DebugSourceDirs=$(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)" != ""
103 AUSERDEFINES = -d$(USERDEFINES:;= -d)
104 !else
105 AUSERDEFINES =
106 !endif
107
108 !if !$d(BCC32)
109 BCC32 = bcc32
110 !endif
111
112 !if !$d(CPP32)
113 CPP32 = cpp32
114 !endif
115
116 !if !$d(DCC32)
117 DCC32 = dcc32
118 !endif
119
120 !if !$d(TASM32)
121 TASM32 = tasm32
122 !endif
123
124 !if !$d(LINKER)
125 LINKER = TLib
126 !endif
127
128 !if !$d(BRCC32)
129 BRCC32 = 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)" == ""
152 COMMA =
153 !else
154 COMMA = ,
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