# Based on Microsoft Developer Studio Generated NMAKE File, Based on mod_fastcgi.dsp
#
# $Id: Makefile.nt,v 1.3 2001/09/04 13:31:57 robs Exp $
#

APACHE_SRC_DIR=C:\Program Files\Apache Group\Apache\src

!IF "$(CFG)" == ""
CFG=debug
!MESSAGE No configuration specified. Defaulting to "debug".
!MESSAGE 
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE 
!MESSAGE NMAKE /f Makefile.nt CFG=debug
!MESSAGE 
!MESSAGE Possible choices for configuration are: "debug" and "release"
!MESSAGE 
!ENDIF 

!IF "$(CFG)" != "release" && "$(CFG)" != "debug"
!MESSAGE Invalid configuration "$(CFG)" specified.
!MESSAGE 
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE 
!MESSAGE NMAKE /f Makefile.nt CFG=debug
!MESSAGE 
!MESSAGE Possible choices for configuration are: "debug" and "release"
!MESSAGE 
!ERROR An invalid configuration is specified.
!ENDIF 

!IF "$(OS)" == "Windows_NT"
NULL=
!ELSE 
NULL=nul
!ENDIF 

!IF  "$(CFG)" == "release"

OUTDIR=.\Release
INTDIR=.\Release
# Begin Custom Macros
OutDir=.\Release
# End Custom Macros

ALL : "$(OUTDIR)\mod_fastcgi.dll"


CLEAN :
	-@erase "$(INTDIR)\fcgi_buf.obj"
	-@erase "$(INTDIR)\fcgi_config.obj"
	-@erase "$(INTDIR)\fcgi_pm.obj"
	-@erase "$(INTDIR)\fcgi_protocol.obj"
	-@erase "$(INTDIR)\fcgi_util.obj"
	-@erase "$(INTDIR)\mod_fastcgi.obj"
	-@erase "$(INTDIR)\vc60.idb"
	-@erase "$(OUTDIR)\mod_fastcgi.dll"
	-@erase "$(OUTDIR)\mod_fastcgi.exp"
	-@erase "$(OUTDIR)\mod_fastcgi.ilk"
	-@erase "$(OUTDIR)\mod_fastcgi.lib"
	-@erase "$(OUTDIR)\mod_fastcgi.pdb"

"$(OUTDIR)" :
    if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"

CPP=cl.exe
CPP_PROJ=/nologo /MT /W3 /GX /O2 /I "$(APACHE_SRC_DIR)\include" /I "$(APACHE_SRC_DIR)\os\win32" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /Fp"$(INTDIR)\mod_fastcgi.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c 

.c{$(INTDIR)}.obj::
   $(CPP) @<<
   $(CPP_PROJ) $< 
<<

.cpp{$(INTDIR)}.obj::
   $(CPP) @<<
   $(CPP_PROJ) $< 
<<

.cxx{$(INTDIR)}.obj::
   $(CPP) @<<
   $(CPP_PROJ) $< 
<<

.c{$(INTDIR)}.sbr::
   $(CPP) @<<
   $(CPP_PROJ) $< 
<<

.cpp{$(INTDIR)}.sbr::
   $(CPP) @<<
   $(CPP_PROJ) $< 
<<

.cxx{$(INTDIR)}.sbr::
   $(CPP) @<<
   $(CPP_PROJ) $< 
<<

MTL=midl.exe
MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 
RSC=rc.exe
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\mod_fastcgi.bsc" 
BSC32_SBRS= \
	
LINK32=link.exe
LINK32_FLAGS="$(APACHE_SRC_DIR)\Release\ApacheCore.lib" kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ws2_32.lib /nologo /subsystem:windows /dll /incremental:yes /pdb:"$(OUTDIR)\mod_fastcgi.pdb" /debug /machine:I386 /out:"$(OUTDIR)\mod_fastcgi.dll" /implib:"$(OUTDIR)\mod_fastcgi.lib" 
LINK32_OBJS= \
	"$(INTDIR)\fcgi_buf.obj" \
	"$(INTDIR)\fcgi_config.obj" \
	"$(INTDIR)\fcgi_pm.obj" \
	"$(INTDIR)\fcgi_protocol.obj" \
	"$(INTDIR)\fcgi_util.obj" \
	"$(INTDIR)\mod_fastcgi.obj"

"$(OUTDIR)\mod_fastcgi.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
    $(LINK32) @<<
  $(LINK32_FLAGS) $(LINK32_OBJS)
<<

!ELSEIF  "$(CFG)" == "debug"

OUTDIR=.\Debug
INTDIR=.\Debug
# Begin Custom Macros
OutDir=.\Debug
# End Custom Macros

ALL : "$(OUTDIR)\mod_fastcgi.dll" "$(OUTDIR)\mod_fastcgi.bsc"


CLEAN :
	-@erase "$(INTDIR)\fcgi_buf.obj"
	-@erase "$(INTDIR)\fcgi_buf.sbr"
	-@erase "$(INTDIR)\fcgi_config.obj"
	-@erase "$(INTDIR)\fcgi_config.sbr"
	-@erase "$(INTDIR)\fcgi_pm.obj"
	-@erase "$(INTDIR)\fcgi_pm.sbr"
	-@erase "$(INTDIR)\fcgi_protocol.obj"
	-@erase "$(INTDIR)\fcgi_protocol.sbr"
	-@erase "$(INTDIR)\fcgi_util.obj"
	-@erase "$(INTDIR)\fcgi_util.sbr"
	-@erase "$(INTDIR)\mod_fastcgi.obj"
	-@erase "$(INTDIR)\mod_fastcgi.sbr"
	-@erase "$(INTDIR)\vc60.idb"
	-@erase "$(INTDIR)\vc60.pdb"
	-@erase "$(OUTDIR)\mod_fastcgi.bsc"
	-@erase "$(OUTDIR)\mod_fastcgi.dll"
	-@erase "$(OUTDIR)\mod_fastcgi.exp"
	-@erase "$(OUTDIR)\mod_fastcgi.ilk"
	-@erase "$(OUTDIR)\mod_fastcgi.lib"
	-@erase "$(OUTDIR)\mod_fastcgi.pdb"

"$(OUTDIR)" :
    if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"

CPP=cl.exe
CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "$(APACHE_SRC_DIR)\include"  /I "$(APACHE_SRC_DIR)\os\win32" /D "WIN32" /D "_DEBUG" /D "FCGI_DEBUG" /D "_WINDOWS" /FR"$(INTDIR)\\" /Fp"$(INTDIR)\mod_fastcgi.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c 

.c{$(INTDIR)}.obj::
   $(CPP) @<<
   $(CPP_PROJ) $< 
<<

.cpp{$(INTDIR)}.obj::
   $(CPP) @<<
   $(CPP_PROJ) $< 
<<

.cxx{$(INTDIR)}.obj::
   $(CPP) @<<
   $(CPP_PROJ) $< 
<<

.c{$(INTDIR)}.sbr::
   $(CPP) @<<
   $(CPP_PROJ) $< 
<<

.cpp{$(INTDIR)}.sbr::
   $(CPP) @<<
   $(CPP_PROJ) $< 
<<

.cxx{$(INTDIR)}.sbr::
   $(CPP) @<<
   $(CPP_PROJ) $< 
<<

MTL=midl.exe
MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 
RSC=rc.exe
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\mod_fastcgi.bsc" 
BSC32_SBRS= \
	"$(INTDIR)\fcgi_buf.sbr" \
	"$(INTDIR)\fcgi_config.sbr" \
	"$(INTDIR)\fcgi_pm.sbr" \
	"$(INTDIR)\fcgi_protocol.sbr" \
	"$(INTDIR)\fcgi_util.sbr" \
	"$(INTDIR)\mod_fastcgi.sbr"

"$(OUTDIR)\mod_fastcgi.bsc" : "$(OUTDIR)" $(BSC32_SBRS)
    $(BSC32) @<<
  $(BSC32_FLAGS) $(BSC32_SBRS)
<<

LINK32=link.exe
LINK32_FLAGS="$(APACHE_SRC_DIR)\Debug\ApacheCore.lib" kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ws2_32.lib /nologo /subsystem:windows /dll /incremental:yes /pdb:"$(OUTDIR)/mod_fastcgi.pdb" /debug /machine:I386 /out:"$(OUTDIR)\mod_fastcgi.dll" /implib:"$(OUTDIR)\mod_fastcgi.lib" /pdbtype:sept 
LINK32_OBJS= \
	"$(INTDIR)\fcgi_buf.obj" \
	"$(INTDIR)\fcgi_config.obj" \
	"$(INTDIR)\fcgi_pm.obj" \
	"$(INTDIR)\fcgi_protocol.obj" \
	"$(INTDIR)\fcgi_util.obj" \
	"$(INTDIR)\mod_fastcgi.obj"

"$(OUTDIR)\mod_fastcgi.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
    $(LINK32) @<<
  $(LINK32_FLAGS) $(LINK32_OBJS)
<<

!ENDIF 


!IF "$(NO_EXTERNAL_DEPS)" != "1"
!IF EXISTS("mod_fastcgi.dep")
!INCLUDE "mod_fastcgi.dep"
!ELSE 
!MESSAGE Warning: cannot find "mod_fastcgi.dep"
!ENDIF 
!ENDIF 


!IF "$(CFG)" == "release" || "$(CFG)" == "debug"
SOURCE=..\fcgi_buf.c

!IF  "$(CFG)" == "release"


"$(INTDIR)\fcgi_buf.obj" : $(SOURCE) "$(INTDIR)"
	$(CPP) $(CPP_PROJ) $(SOURCE)


!ELSEIF  "$(CFG)" == "debug"


"$(INTDIR)\fcgi_buf.obj"	"$(INTDIR)\fcgi_buf.sbr" : $(SOURCE) "$(INTDIR)"
	$(CPP) $(CPP_PROJ) $(SOURCE)


!ENDIF 

SOURCE=..\fcgi_config.c

!IF  "$(CFG)" == "release"


"$(INTDIR)\fcgi_config.obj" : $(SOURCE) "$(INTDIR)"
	$(CPP) $(CPP_PROJ) $(SOURCE)


!ELSEIF  "$(CFG)" == "debug"


"$(INTDIR)\fcgi_config.obj"	"$(INTDIR)\fcgi_config.sbr" : $(SOURCE) "$(INTDIR)"
	$(CPP) $(CPP_PROJ) $(SOURCE)


!ENDIF 

SOURCE=..\fcgi_pm.c

!IF  "$(CFG)" == "release"


"$(INTDIR)\fcgi_pm.obj" : $(SOURCE) "$(INTDIR)"
	$(CPP) $(CPP_PROJ) $(SOURCE)


!ELSEIF  "$(CFG)" == "debug"


"$(INTDIR)\fcgi_pm.obj"	"$(INTDIR)\fcgi_pm.sbr" : $(SOURCE) "$(INTDIR)"
	$(CPP) $(CPP_PROJ) $(SOURCE)


!ENDIF 

SOURCE=..\fcgi_protocol.c

!IF  "$(CFG)" == "release"


"$(INTDIR)\fcgi_protocol.obj" : $(SOURCE) "$(INTDIR)"
	$(CPP) $(CPP_PROJ) $(SOURCE)


!ELSEIF  "$(CFG)" == "debug"


"$(INTDIR)\fcgi_protocol.obj"	"$(INTDIR)\fcgi_protocol.sbr" : $(SOURCE) "$(INTDIR)"
	$(CPP) $(CPP_PROJ) $(SOURCE)


!ENDIF 

SOURCE=..\fcgi_util.c

!IF  "$(CFG)" == "release"


"$(INTDIR)\fcgi_util.obj" : $(SOURCE) "$(INTDIR)"
	$(CPP) $(CPP_PROJ) $(SOURCE)


!ELSEIF  "$(CFG)" == "debug"


"$(INTDIR)\fcgi_util.obj"	"$(INTDIR)\fcgi_util.sbr" : $(SOURCE) "$(INTDIR)"
	$(CPP) $(CPP_PROJ) $(SOURCE)


!ENDIF 

SOURCE=..\mod_fastcgi.c

!IF  "$(CFG)" == "release"


"$(INTDIR)\mod_fastcgi.obj" : $(SOURCE) "$(INTDIR)"
	$(CPP) $(CPP_PROJ) $(SOURCE)


!ELSEIF  "$(CFG)" == "debug"


"$(INTDIR)\mod_fastcgi.obj"	"$(INTDIR)\mod_fastcgi.sbr" : $(SOURCE) "$(INTDIR)"
	$(CPP) $(CPP_PROJ) $(SOURCE)


!ENDIF 


!ENDIF 

