]> granicus.if.org Git - apache/blob - support/htpasswd.mak
Add CHANGES' security entries for 2.4.27.
[apache] / support / htpasswd.mak
1 # Microsoft Developer Studio Generated NMAKE File, Based on htpasswd.dsp
2 !IF "$(CFG)" == ""
3 CFG=htpasswd - Win32 Debug
4 !MESSAGE No configuration specified. Defaulting to htpasswd - Win32 Debug.
5 !ENDIF 
6
7 !IF "$(CFG)" != "htpasswd - Win32 Release" && "$(CFG)" != "htpasswd - 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 "htpasswd.mak" CFG="htpasswd - Win32 Debug"
13 !MESSAGE 
14 !MESSAGE Possible choices for configuration are:
15 !MESSAGE 
16 !MESSAGE "htpasswd - Win32 Release" (based on "Win32 (x86) Console Application")
17 !MESSAGE "htpasswd - Win32 Debug" (based on "Win32 (x86) Console Application")
18 !MESSAGE 
19 !ERROR An invalid configuration is specified.
20 !ENDIF 
21
22 !IF "$(OS)" == "Windows_NT"
23 NULL=
24 !ELSE 
25 NULL=nul
26 !ENDIF 
27
28 !IF  "$(CFG)" == "htpasswd - Win32 Release"
29
30 OUTDIR=.\Release
31 INTDIR=.\Release
32 DS_POSTBUILD_DEP=$(INTDIR)\postbld.dep
33 # Begin Custom Macros
34 OutDir=.\Release
35 # End Custom Macros
36
37 !IF "$(RECURSE)" == "0" 
38
39 ALL : "$(OUTDIR)\htpasswd.exe" "$(DS_POSTBUILD_DEP)"
40
41 !ELSE 
42
43 ALL : "aprutil - Win32 Release" "apr - Win32 Release" "$(OUTDIR)\htpasswd.exe" "$(DS_POSTBUILD_DEP)"
44
45 !ENDIF 
46
47 !IF "$(RECURSE)" == "1" 
48 CLEAN :"apr - Win32 ReleaseCLEAN" "aprutil - Win32 ReleaseCLEAN" 
49 !ELSE 
50 CLEAN :
51 !ENDIF 
52         -@erase "$(INTDIR)\htpasswd.obj"
53         -@erase "$(INTDIR)\htpasswd.res"
54         -@erase "$(INTDIR)\htpasswd_src.idb"
55         -@erase "$(INTDIR)\htpasswd_src.pdb"
56         -@erase "$(INTDIR)\passwd_common.obj"
57         -@erase "$(OUTDIR)\htpasswd.exe"
58         -@erase "$(OUTDIR)\htpasswd.pdb"
59
60 "$(OUTDIR)" :
61     if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
62
63 CPP=cl.exe
64 CPP_PROJ=/nologo /MD /W3 /Zi /O2 /Oy- /I "../srclib/apr/include" /I "../srclib/apr-util/include" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "APR_DECLARE_STATIC" /D "APU_DECLARE_STATIC" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\htpasswd_src" /FD /c 
65
66 .c{$(INTDIR)}.obj::
67    $(CPP) @<<
68    $(CPP_PROJ) $< 
69 <<
70
71 .cpp{$(INTDIR)}.obj::
72    $(CPP) @<<
73    $(CPP_PROJ) $< 
74 <<
75
76 .cxx{$(INTDIR)}.obj::
77    $(CPP) @<<
78    $(CPP_PROJ) $< 
79 <<
80
81 .c{$(INTDIR)}.sbr::
82    $(CPP) @<<
83    $(CPP_PROJ) $< 
84 <<
85
86 .cpp{$(INTDIR)}.sbr::
87    $(CPP) @<<
88    $(CPP_PROJ) $< 
89 <<
90
91 .cxx{$(INTDIR)}.sbr::
92    $(CPP) @<<
93    $(CPP_PROJ) $< 
94 <<
95
96 RSC=rc.exe
97 RSC_PROJ=/l 0x409 /fo"$(INTDIR)\htpasswd.res" /i "../include" /i "../srclib/apr/include" /d "NDEBUG" /d "APP_FILE" /d BIN_NAME="htpasswd.exe" /d LONG_NAME="Apache htpasswd command line utility" 
98 BSC32=bscmake.exe
99 BSC32_FLAGS=/nologo /o"$(OUTDIR)\htpasswd.bsc" 
100 BSC32_SBRS= \
101         
102 LINK32=link.exe
103 LINK32_FLAGS=kernel32.lib advapi32.lib wsock32.lib ws2_32.lib shell32.lib rpcrt4.lib /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\htpasswd.pdb" /debug /out:"$(OUTDIR)\htpasswd.exe" /opt:ref 
104 LINK32_OBJS= \
105         "$(INTDIR)\htpasswd.obj" \
106         "$(INTDIR)\passwd_common.obj" \
107         "$(INTDIR)\htpasswd.res" \
108         "..\srclib\apr\LibR\apr-1.lib" \
109         "..\srclib\apr-util\LibR\aprutil-1.lib"
110
111 "$(OUTDIR)\htpasswd.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
112     $(LINK32) @<<
113   $(LINK32_FLAGS) $(LINK32_OBJS)
114 <<
115
116 TargetPath=.\Release\htpasswd.exe
117 SOURCE="$(InputPath)"
118 PostBuild_Desc=Embed .manifest
119 DS_POSTBUILD_DEP=$(INTDIR)\postbld.dep
120
121 # Begin Custom Macros
122 OutDir=.\Release
123 # End Custom Macros
124
125 "$(DS_POSTBUILD_DEP)" : "$(OUTDIR)\htpasswd.exe"
126    if exist .\Release\htpasswd.exe.manifest mt.exe -manifest .\Release\htpasswd.exe.manifest -outputresource:.\Release\htpasswd.exe;1
127         echo Helper for Post-build step > "$(DS_POSTBUILD_DEP)"
128
129 !ELSEIF  "$(CFG)" == "htpasswd - Win32 Debug"
130
131 OUTDIR=.\Debug
132 INTDIR=.\Debug
133 DS_POSTBUILD_DEP=$(INTDIR)\postbld.dep
134 # Begin Custom Macros
135 OutDir=.\Debug
136 # End Custom Macros
137
138 !IF "$(RECURSE)" == "0" 
139
140 ALL : "$(OUTDIR)\htpasswd.exe" "$(DS_POSTBUILD_DEP)"
141
142 !ELSE 
143
144 ALL : "aprutil - Win32 Debug" "apr - Win32 Debug" "$(OUTDIR)\htpasswd.exe" "$(DS_POSTBUILD_DEP)"
145
146 !ENDIF 
147
148 !IF "$(RECURSE)" == "1" 
149 CLEAN :"apr - Win32 DebugCLEAN" "aprutil - Win32 DebugCLEAN" 
150 !ELSE 
151 CLEAN :
152 !ENDIF 
153         -@erase "$(INTDIR)\htpasswd.obj"
154         -@erase "$(INTDIR)\htpasswd.res"
155         -@erase "$(INTDIR)\htpasswd_src.idb"
156         -@erase "$(INTDIR)\htpasswd_src.pdb"
157         -@erase "$(INTDIR)\passwd_common.obj"
158         -@erase "$(OUTDIR)\htpasswd.exe"
159         -@erase "$(OUTDIR)\htpasswd.pdb"
160
161 "$(OUTDIR)" :
162     if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
163
164 CPP=cl.exe
165 CPP_PROJ=/nologo /MDd /W3 /Zi /Od /I "../srclib/apr/include" /I "../srclib/apr-util/include" /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /D "APR_DECLARE_STATIC" /D "APU_DECLARE_STATIC" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\htpasswd_src" /FD /EHsc /c 
166
167 .c{$(INTDIR)}.obj::
168    $(CPP) @<<
169    $(CPP_PROJ) $< 
170 <<
171
172 .cpp{$(INTDIR)}.obj::
173    $(CPP) @<<
174    $(CPP_PROJ) $< 
175 <<
176
177 .cxx{$(INTDIR)}.obj::
178    $(CPP) @<<
179    $(CPP_PROJ) $< 
180 <<
181
182 .c{$(INTDIR)}.sbr::
183    $(CPP) @<<
184    $(CPP_PROJ) $< 
185 <<
186
187 .cpp{$(INTDIR)}.sbr::
188    $(CPP) @<<
189    $(CPP_PROJ) $< 
190 <<
191
192 .cxx{$(INTDIR)}.sbr::
193    $(CPP) @<<
194    $(CPP_PROJ) $< 
195 <<
196
197 RSC=rc.exe
198 RSC_PROJ=/l 0x409 /fo"$(INTDIR)\htpasswd.res" /i "../include" /i "../srclib/apr/include" /d "_DEBUG" /d "APP_FILE" /d BIN_NAME="htpasswd.exe" /d LONG_NAME="Apache htpasswd command line utility" 
199 BSC32=bscmake.exe
200 BSC32_FLAGS=/nologo /o"$(OUTDIR)\htpasswd.bsc" 
201 BSC32_SBRS= \
202         
203 LINK32=link.exe
204 LINK32_FLAGS=kernel32.lib advapi32.lib wsock32.lib ws2_32.lib shell32.lib rpcrt4.lib /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\htpasswd.pdb" /debug /out:"$(OUTDIR)\htpasswd.exe" 
205 LINK32_OBJS= \
206         "$(INTDIR)\htpasswd.obj" \
207         "$(INTDIR)\passwd_common.obj" \
208         "$(INTDIR)\htpasswd.res" \
209         "..\srclib\apr\LibD\apr-1.lib" \
210         "..\srclib\apr-util\LibD\aprutil-1.lib"
211
212 "$(OUTDIR)\htpasswd.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
213     $(LINK32) @<<
214   $(LINK32_FLAGS) $(LINK32_OBJS)
215 <<
216
217 TargetPath=.\Debug\htpasswd.exe
218 SOURCE="$(InputPath)"
219 PostBuild_Desc=Embed .manifest
220 DS_POSTBUILD_DEP=$(INTDIR)\postbld.dep
221
222 # Begin Custom Macros
223 OutDir=.\Debug
224 # End Custom Macros
225
226 "$(DS_POSTBUILD_DEP)" : "$(OUTDIR)\htpasswd.exe"
227    if exist .\Debug\htpasswd.exe.manifest mt.exe -manifest .\Debug\htpasswd.exe.manifest -outputresource:.\Debug\htpasswd.exe;1
228         echo Helper for Post-build step > "$(DS_POSTBUILD_DEP)"
229
230 !ENDIF 
231
232
233 !IF "$(NO_EXTERNAL_DEPS)" != "1"
234 !IF EXISTS("htpasswd.dep")
235 !INCLUDE "htpasswd.dep"
236 !ELSE 
237 !MESSAGE Warning: cannot find "htpasswd.dep"
238 !ENDIF 
239 !ENDIF 
240
241
242 !IF "$(CFG)" == "htpasswd - Win32 Release" || "$(CFG)" == "htpasswd - Win32 Debug"
243
244 !IF  "$(CFG)" == "htpasswd - Win32 Release"
245
246 "apr - Win32 Release" : 
247    cd ".\..\srclib\apr"
248    $(MAKE) /$(MAKEFLAGS) /F ".\apr.mak" CFG="apr - Win32 Release" 
249    cd "..\..\support"
250
251 "apr - Win32 ReleaseCLEAN" : 
252    cd ".\..\srclib\apr"
253    $(MAKE) /$(MAKEFLAGS) /F ".\apr.mak" CFG="apr - Win32 Release" RECURSE=1 CLEAN 
254    cd "..\..\support"
255
256 !ELSEIF  "$(CFG)" == "htpasswd - Win32 Debug"
257
258 "apr - Win32 Debug" : 
259    cd ".\..\srclib\apr"
260    $(MAKE) /$(MAKEFLAGS) /F ".\apr.mak" CFG="apr - Win32 Debug" 
261    cd "..\..\support"
262
263 "apr - Win32 DebugCLEAN" : 
264    cd ".\..\srclib\apr"
265    $(MAKE) /$(MAKEFLAGS) /F ".\apr.mak" CFG="apr - Win32 Debug" RECURSE=1 CLEAN 
266    cd "..\..\support"
267
268 !ENDIF 
269
270 !IF  "$(CFG)" == "htpasswd - Win32 Release"
271
272 "aprutil - Win32 Release" : 
273    cd ".\..\srclib\apr-util"
274    $(MAKE) /$(MAKEFLAGS) /F ".\aprutil.mak" CFG="aprutil - Win32 Release" 
275    cd "..\..\support"
276
277 "aprutil - Win32 ReleaseCLEAN" : 
278    cd ".\..\srclib\apr-util"
279    $(MAKE) /$(MAKEFLAGS) /F ".\aprutil.mak" CFG="aprutil - Win32 Release" RECURSE=1 CLEAN 
280    cd "..\..\support"
281
282 !ELSEIF  "$(CFG)" == "htpasswd - Win32 Debug"
283
284 "aprutil - Win32 Debug" : 
285    cd ".\..\srclib\apr-util"
286    $(MAKE) /$(MAKEFLAGS) /F ".\aprutil.mak" CFG="aprutil - Win32 Debug" 
287    cd "..\..\support"
288
289 "aprutil - Win32 DebugCLEAN" : 
290    cd ".\..\srclib\apr-util"
291    $(MAKE) /$(MAKEFLAGS) /F ".\aprutil.mak" CFG="aprutil - Win32 Debug" RECURSE=1 CLEAN 
292    cd "..\..\support"
293
294 !ENDIF 
295
296 SOURCE=.\htpasswd.c
297
298 "$(INTDIR)\htpasswd.obj" : $(SOURCE) "$(INTDIR)"
299
300
301 SOURCE=..\build\win32\httpd.rc
302
303 !IF  "$(CFG)" == "htpasswd - Win32 Release"
304
305
306 "$(INTDIR)\htpasswd.res" : $(SOURCE) "$(INTDIR)"
307         $(RSC) /l 0x409 /fo"$(INTDIR)\htpasswd.res" /i "../include" /i "../srclib/apr/include" /i "../build\win32" /d "NDEBUG" /d "APP_FILE" /d BIN_NAME="htpasswd.exe" /d LONG_NAME="Apache htpasswd command line utility" $(SOURCE)
308
309
310 !ELSEIF  "$(CFG)" == "htpasswd - Win32 Debug"
311
312
313 "$(INTDIR)\htpasswd.res" : $(SOURCE) "$(INTDIR)"
314         $(RSC) /l 0x409 /fo"$(INTDIR)\htpasswd.res" /i "../include" /i "../srclib/apr/include" /i "../build\win32" /d "_DEBUG" /d "APP_FILE" /d BIN_NAME="htpasswd.exe" /d LONG_NAME="Apache htpasswd command line utility" $(SOURCE)
315
316
317 !ENDIF 
318
319 SOURCE=.\passwd_common.c
320
321 "$(INTDIR)\passwd_common.obj" : $(SOURCE) "$(INTDIR)"
322
323
324
325 !ENDIF 
326