xref: /PHP-5.6/ext/ereg/regex/regex.mak (revision aa3eee1d)
1# Microsoft Developer Studio Generated NMAKE File, Based on regex.dsp
2!IF "$(CFG)" == ""
3CFG=regex - Win32 Release
4!MESSAGE No configuration specified. Defaulting to regex - Win32 Release.
5!ENDIF
6
7!IF "$(CFG)" != "regex - Win32 Release" && "$(CFG)" != "regex - Win32 Debug"
8!MESSAGE Invalid configuration "$(CFG)" specified.
9!MESSAGE You can specify a configuration when running NMAKE
10!MESSAGE by defining the macro CFG on the command line. For example:
11!MESSAGE
12!MESSAGE NMAKE /f "regex.mak" CFG="regex - Win32 Release"
13!MESSAGE
14!MESSAGE Possible choices for configuration are:
15!MESSAGE
16!MESSAGE "regex - Win32 Release" (based on "Win32 (x86) Static Library")
17!MESSAGE "regex - Win32 Debug" (based on "Win32 (x86) Static Library")
18!MESSAGE
19!ERROR An invalid configuration is specified.
20!ENDIF
21
22!IF "$(OS)" == "Windows_NT"
23NULL=
24!ELSE
25NULL=nul
26!ENDIF
27
28CPP=cl.exe
29
30!IF  "$(CFG)" == "regex - Win32 Release"
31
32OUTDIR=.\Release
33INTDIR=.\Release
34# Begin Custom Macros
35OutDir=.\.\Release
36# End Custom Macros
37
38!IF "$(RECURSE)" == "0"
39
40ALL : "$(OUTDIR)\regex.lib"
41
42!ELSE
43
44ALL : "$(OUTDIR)\regex.lib"
45
46!ENDIF
47
48CLEAN :
49	-@erase "$(INTDIR)\regcomp.obj"
50	-@erase "$(INTDIR)\regerror.obj"
51	-@erase "$(INTDIR)\regexec.obj"
52	-@erase "$(INTDIR)\regfree.obj"
53	-@erase "$(INTDIR)\vc50.idb"
54	-@erase "$(OUTDIR)\regex.lib"
55
56"$(OUTDIR)" :
57    if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
58
59CPP_PROJ=/nologo /MD /W3 /GX /O2 /I "." /D "WIN32" /D "NDEBUG" /D "_WINDOWS"\
60 /Fp"$(INTDIR)\regex.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
61CPP_OBJS=.\Release/
62CPP_SBRS=.
63BSC32=bscmake.exe
64BSC32_FLAGS=/nologo /o"$(OUTDIR)\regex.bsc"
65BSC32_SBRS= \
66
67LIB32=link.exe -lib
68LIB32_FLAGS=/nologo /out:"$(OUTDIR)\regex.lib"
69LIB32_OBJS= \
70	"$(INTDIR)\regcomp.obj" \
71	"$(INTDIR)\regerror.obj" \
72	"$(INTDIR)\regexec.obj" \
73	"$(INTDIR)\regfree.obj"
74
75"$(OUTDIR)\regex.lib" : "$(OUTDIR)" $(DEF_FILE) $(LIB32_OBJS)
76    $(LIB32) @<<
77  $(LIB32_FLAGS) $(DEF_FLAGS) $(LIB32_OBJS)
78<<
79
80!ELSEIF  "$(CFG)" == "regex - Win32 Debug"
81
82OUTDIR=.\Debug
83INTDIR=.\Debug
84# Begin Custom Macros
85OutDir=.\.\Debug
86# End Custom Macros
87
88!IF "$(RECURSE)" == "0"
89
90ALL : "$(OUTDIR)\regex.lib" "$(OUTDIR)\regex.bsc"
91
92!ELSE
93
94ALL : "$(OUTDIR)\regex.lib" "$(OUTDIR)\regex.bsc"
95
96!ENDIF
97
98CLEAN :
99	-@erase "$(INTDIR)\regcomp.obj"
100	-@erase "$(INTDIR)\regcomp.sbr"
101	-@erase "$(INTDIR)\regerror.obj"
102	-@erase "$(INTDIR)\regerror.sbr"
103	-@erase "$(INTDIR)\regexec.obj"
104	-@erase "$(INTDIR)\regexec.sbr"
105	-@erase "$(INTDIR)\regfree.obj"
106	-@erase "$(INTDIR)\regfree.sbr"
107	-@erase "$(INTDIR)\vc50.idb"
108	-@erase "$(OUTDIR)\regex.bsc"
109	-@erase "$(OUTDIR)\regex.lib"
110
111"$(OUTDIR)" :
112    if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
113
114CPP_PROJ=/nologo /MDd /W3 /GX /Z7 /Od /I "." /D "WIN32" /D "_DEBUG" /D\
115 "_WINDOWS" /FR"$(INTDIR)\\" /Fp"$(INTDIR)\regex.pch" /YX /Fo"$(INTDIR)\\"\
116 /Fd"$(INTDIR)\\" /FD /c
117CPP_OBJS=.\Debug/
118CPP_SBRS=.\Debug/
119BSC32=bscmake.exe
120BSC32_FLAGS=/nologo /o"$(OUTDIR)\regex.bsc"
121BSC32_SBRS= \
122	"$(INTDIR)\regcomp.sbr" \
123	"$(INTDIR)\regerror.sbr" \
124	"$(INTDIR)\regexec.sbr" \
125	"$(INTDIR)\regfree.sbr"
126
127"$(OUTDIR)\regex.bsc" : "$(OUTDIR)" $(BSC32_SBRS)
128    $(BSC32) @<<
129  $(BSC32_FLAGS) $(BSC32_SBRS)
130<<
131
132LIB32=link.exe -lib
133LIB32_FLAGS=/nologo /out:"$(OUTDIR)\regex.lib"
134LIB32_OBJS= \
135	"$(INTDIR)\regcomp.obj" \
136	"$(INTDIR)\regerror.obj" \
137	"$(INTDIR)\regexec.obj" \
138	"$(INTDIR)\regfree.obj"
139
140"$(OUTDIR)\regex.lib" : "$(OUTDIR)" $(DEF_FILE) $(LIB32_OBJS)
141    $(LIB32) @<<
142  $(LIB32_FLAGS) $(DEF_FLAGS) $(LIB32_OBJS)
143<<
144
145!ENDIF
146
147.c{$(CPP_OBJS)}.obj::
148   $(CPP) @<<
149   $(CPP_PROJ) $<
150<<
151
152.cpp{$(CPP_OBJS)}.obj::
153   $(CPP) @<<
154   $(CPP_PROJ) $<
155<<
156
157.cxx{$(CPP_OBJS)}.obj::
158   $(CPP) @<<
159   $(CPP_PROJ) $<
160<<
161
162.c{$(CPP_SBRS)}.sbr::
163   $(CPP) @<<
164   $(CPP_PROJ) $<
165<<
166
167.cpp{$(CPP_SBRS)}.sbr::
168   $(CPP) @<<
169   $(CPP_PROJ) $<
170<<
171
172.cxx{$(CPP_SBRS)}.sbr::
173   $(CPP) @<<
174   $(CPP_PROJ) $<
175<<
176
177
178!IF "$(CFG)" == "regex - Win32 Release" || "$(CFG)" == "regex - Win32 Debug"
179SOURCE=.\regcomp.c
180
181!IF  "$(CFG)" == "regex - Win32 Release"
182
183DEP_CPP_REGCO=\
184	".\cclass.h"\
185	".\cname.h"\
186	".\regcomp.ih"\
187	".\regex.h"\
188	".\regex2.h"\
189	".\utils.h"\
190
191
192"$(INTDIR)\regcomp.obj" : $(SOURCE) $(DEP_CPP_REGCO) "$(INTDIR)"
193
194
195!ELSEIF  "$(CFG)" == "regex - Win32 Debug"
196
197DEP_CPP_REGCO=\
198	".\cclass.h"\
199	".\cname.h"\
200	".\regcomp.ih"\
201	".\regex.h"\
202	".\regex2.h"\
203	".\utils.h"\
204	{$(INCLUDE)}"sys\types.h"\
205
206
207"$(INTDIR)\regcomp.obj"	"$(INTDIR)\regcomp.sbr" : $(SOURCE) $(DEP_CPP_REGCO)\
208 "$(INTDIR)"
209
210
211!ENDIF
212
213SOURCE=.\regerror.c
214
215!IF  "$(CFG)" == "regex - Win32 Release"
216
217DEP_CPP_REGER=\
218	".\regerror.ih"\
219	".\regex.h"\
220	".\utils.h"\
221
222
223"$(INTDIR)\regerror.obj" : $(SOURCE) $(DEP_CPP_REGER) "$(INTDIR)"
224
225
226!ELSEIF  "$(CFG)" == "regex - Win32 Debug"
227
228DEP_CPP_REGER=\
229	".\regerror.ih"\
230	".\regex.h"\
231	".\utils.h"\
232	{$(INCLUDE)}"sys\types.h"\
233
234
235"$(INTDIR)\regerror.obj"	"$(INTDIR)\regerror.sbr" : $(SOURCE) $(DEP_CPP_REGER)\
236 "$(INTDIR)"
237
238
239!ENDIF
240
241SOURCE=.\regexec.c
242
243!IF  "$(CFG)" == "regex - Win32 Release"
244
245DEP_CPP_REGEX=\
246	".\engine.c"\
247	".\engine.ih"\
248	".\regex.h"\
249	".\regex2.h"\
250	".\utils.h"\
251
252
253"$(INTDIR)\regexec.obj" : $(SOURCE) $(DEP_CPP_REGEX) "$(INTDIR)"
254
255
256!ELSEIF  "$(CFG)" == "regex - Win32 Debug"
257
258DEP_CPP_REGEX=\
259	".\engine.c"\
260	".\engine.ih"\
261	".\regex.h"\
262	".\regex2.h"\
263	".\utils.h"\
264	{$(INCLUDE)}"sys\types.h"\
265
266
267"$(INTDIR)\regexec.obj"	"$(INTDIR)\regexec.sbr" : $(SOURCE) $(DEP_CPP_REGEX)\
268 "$(INTDIR)"
269
270
271!ENDIF
272
273SOURCE=.\regfree.c
274
275!IF  "$(CFG)" == "regex - Win32 Release"
276
277DEP_CPP_REGFR=\
278	".\regex.h"\
279	".\regex2.h"\
280	".\utils.h"\
281
282
283"$(INTDIR)\regfree.obj" : $(SOURCE) $(DEP_CPP_REGFR) "$(INTDIR)"
284
285
286!ELSEIF  "$(CFG)" == "regex - Win32 Debug"
287
288DEP_CPP_REGFR=\
289	".\regex.h"\
290	".\regex2.h"\
291	".\utils.h"\
292	{$(INCLUDE)}"sys\types.h"\
293
294
295"$(INTDIR)\regfree.obj"	"$(INTDIR)\regfree.sbr" : $(SOURCE) $(DEP_CPP_REGFR)\
296 "$(INTDIR)"
297
298
299!ENDIF
300
301SOURCE=.\engine.c
302
303!ENDIF
304
305