httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ran...@apache.org
Subject cvs commit: httpd-apreq-2/win32 .cvsignore Configure.pl README libapreq.mak libapreq_cgi.mak mod_apreq.mak testall.mak
Date Mon, 05 May 2003 05:33:40 GMT
randyk      2003/05/04 22:33:40

  Added:       win32    .cvsignore Configure.pl README libapreq.mak
                        libapreq_cgi.mak mod_apreq.mak testall.mak
  Log:
  add development framework for building on Win32.
  
  Revision  Changes    Path
  1.1                  httpd-apreq-2/win32/.cvsignore
  
  Index: .cvsignore
  ===================================================================
  Makefile
  Release
  Debug
  
  
  
  
  1.1                  httpd-apreq-2/win32/Configure.pl
  
  Index: Configure.pl
  ===================================================================
  use strict;
  use warnings;
  use Getopt::Long;
  my ($apache, $debug, $help);
  my $result = GetOptions( 'with-apache=s' => \$apache,
  			 'debug' => \$debug,
  			 'help' => \$help);
  usage() if $help;
  
  $apache ||= search();
  check($apache);
  $apache =~ s!/!\\!g;
  
  my $cfg = $debug ? 'Debug' : 'Release';
  
  open(MAKE, '>Makefile') or die qq{Cannot open Makefile: $!};
  
  print MAKE <<"END";
  # Microsoft Developer Studio Generated NMAKE File.
  
  CFG=$cfg
  APACHE=$apache
  END
  
  print MAKE $_ while (<DATA>);
  close MAKE;
  
  print << 'END';
  
  A Makefile has been generated. You can now run
  
    nmake               - builds the libapreq library
    nmake test          - runs the supplied tests
    nmake mod_apreq     - builds mod_apreq
    nmake libapreq_cgi  - builds libapreq_cgi
    nmake clean         - clean
  
  END
  
  
  sub usage {
    print <<'END';
  
   Usage: perl Configure.pl [--with-apache=C:\Path\to\Apache] [--debug]
          perl Configure.pl --help
  
  Options:
  
    --with-apache=C:\Path\to\Apache2 : specify the top-level Apache2 directory
    --debug                          : build a debug version
    --help                           : print this help message
  
  With no options specified, an attempt will be made to find a suitable 
  Apache2 directory, and if found, a non-debug version will be built.
  
  END
    exit;
  }
  
  sub search {
    my $apache;
   SEARCH: {
      for my $drive ('C' .. 'Z') {
        for my $p ('Apache2', 'Program Files/Apache2', 
  		 'Program Files/Apache Group/Apache2') {
  	if (-d "$drive:/$p/bin") {
  	  $apache = "$drive:/$p";
  	  last SEARCH;
  	}
        }
      }
    }
    require ExtUtils::MakeMaker;
    ExtUtils::MakeMaker->import('prompt');
    unless (-d $apache) {
      $apache = prompt("Where is your Apache2 installed?", $apache);
    }
    die "Can't find a suitable Apache2 directory!" unless -d $apache;
  
    my $ans = prompt(qq{Use "$apache" for your Apache2 directory?}, 'yes');
    unless ($ans =~ /^y/i) {
      die <<'END';
  
  Please run this configuration script again, and give
  the --with-apache=C:\Path\to\Apache2 option to specify
  the desired top-level Apache2 directory.
  
  END
    }
    
    require Win32;
    return Win32::GetShortPathName($apache);
  }
  
  sub check {
    my $apache = shift;
    die qq{No libhttpd library found under $apache/lib}
      unless -e qq{$apache/lib/libhttpd.lib};
    die qq{No httpd header found under $apache/include}
      unless -e qq{$apache/include/httpd.h};
    my $vers = qx{"$apache/bin/Apache.exe" -v};
    die qq{"$apache" does not appear to be version 2.0}
      unless $vers =~ m!Apache/2.0!;
    return 1;
  }
  
  __DATA__
  
  
  LIBAPREQ=libapreq
  TESTALL=testall
  MOD=mod_apreq
  CGI=libapreq_cgi
  
  !IF "$(CFG)" != "Release" && "$(CFG)" != "Debug"
  !MESSAGE Invalid configuration "$(CFG)" specified.
  !MESSAGE You can specify a configuration when running NMAKE
  !MESSAGE by defining the macro CFG on the command line. For example:
  !MESSAGE 
  !MESSAGE NMAKE CFG="Release"
  !MESSAGE 
  !MESSAGE Possible choices for configuration are:
  !MESSAGE 
  !MESSAGE "Release" (based on "Win32 (x86) Console Application")
  !MESSAGE "Debug" (based on "Win32 (x86) Console Application")
  !MESSAGE 
  !ERROR An invalid configuration is specified.
  !ENDIF 
  
  !IF "$(APACHE)" == ""
  !MESSAGE No Apache directory was specified.
  !MESSAGE Please run Configure.bat to specify a valid Apache directory.
  !ERROR
  !ENDIF
  
  !IF "$(OS)" == "Windows_NT"
  NULL=
  !ELSE 
  NULL=nul
  !ENDIF 
  
  !IF  "$(CFG)" == "Release"
  INTDIR=.\Release
  OUTDIR=.\Release
  !ELSE
  INTDIR=.\Debug
  OUTDIR=.\Debug
  !ENDIF
  
  ALL : "$(LIBAPREQ)"
  
  $(LIBAPREQ):
  	$(MAKE) /nologo /f $(LIBAPREQ).mak CFG="$(LIBAPREQ) - Win32 $(CFG)" APACHE="$(APACHE)"
  
  CLEAN:
  	$(MAKE) /nologo /f $(LIBAPREQ).mak CFG="$(LIBAPREQ) - Win32 $(CFG)" APACHE="$(APACHE)"
clean
  	$(MAKE) /nologo /f $(TESTALL).mak CFG="$(TESTALL) - Win32 $(CFG)" APACHE="$(APACHE)" clean
  	$(MAKE) /nologo /f $(MOD).mak CFG="$(MOD) - Win32 $(CFG)" APACHE="$(APACHE)" clean
  	$(MAKE) /nologo /f $(CGI).mak CFG="$(CGI) - Win32 $(CFG)" APACHE="$(APACHE)" clean
  
  TEST: $(LIBAPREQ)
  	$(MAKE) /nologo /f $(TESTALL).mak CFG="$(TESTALL) - Win32 $(CFG)" APACHE="$(APACHE)"
  	cd $(INTDIR) && $(TESTALL).exe -v
  
  $(MOD): $(LIBAPREQ)
  	$(MAKE) /nologo /f $(MOD).mak CFG="$(MOD) - Win32 $(CFG)" APACHE="$(APACHE)"
  
  $(CGI): $(LIBAPREQ)
  	$(MAKE) /nologo /f $(CGI).mak CFG="$(CGI) - Win32 $(CFG)" APACHE="$(APACHE)"
  
  
  
  
  1.1                  httpd-apreq-2/win32/README
  
  Index: README
  ===================================================================
  This directory contains the necessary makefiles to build
  libapreq and related things on Win32 using VC++ 6. Run
     perl Configure.pl
  to generate the top-level Makefile. Available options are:
  
    --with-apache=C:\Path\to\Apache2 : specify the top-level Apache2 directory
    --debug                          : build a debug version
    --help                           : print a help message
  
  With no options specified, an attempt will be made to find a suitable 
  Apache2 directory, and if found, a non-debug version will be built.
  
  Assuming the configuration is successful, a Makefile will
  be generated. This can be used as:
  
    nmake               - builds the libapreq library
    nmake test          - runs the supplied tests
    nmake mod_apreq     - builds mod_apreq
    nmake libapreq_cgi  - builds libapreq_cgi
    nmake clean         - clean
  
  
  
  
  1.1                  httpd-apreq-2/win32/libapreq.mak
  
  Index: libapreq.mak
  ===================================================================
  # Microsoft Developer Studio Generated NMAKE File, Based on libapreq.dsp
  
  !IF "$(APACHE)" == ""
  !MESSAGE No Apache directory was specified.
  !MESSAGE This makefile is not to be run directly.
  !MESSAGE Please run Configure.bat, and then $(MAKE) on Makefile.
  !ERROR
  !ENDIF
  
  !IF "$(CFG)" == ""
  CFG=libapreq - Win32 Release
  !MESSAGE No configuration specified. Defaulting to libapreq - Win32 Release.
  !ENDIF
  
  !IF "$(CFG)" != "libapreq - Win32 Release" && "$(CFG)" != "libapreq - Win32 Debug"
  !MESSAGE Invalid configuration "$(CFG)" specified.
  !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 "libapreq.mak" CFG="libapreq - Win32 Debug"
  !MESSAGE 
  !MESSAGE Possible choices for configuration are:
  !MESSAGE 
  !MESSAGE "libapreq - Win32 Release" (based on "Win32 (x86) Static Library")
  !MESSAGE "libapreq - Win32 Debug" (based on "Win32 (x86) Static Library")
  !MESSAGE 
  !ERROR An invalid configuration is specified.
  !ENDIF 
  
  !IF "$(OS)" == "Windows_NT"
  NULL=
  !ELSE 
  NULL=nul
  !ENDIF 
  
  CPP=cl.exe
  RSC=rc.exe
  
  !IF  "$(CFG)" == "libapreq - Win32 Release"
  
  OUTDIR=.\Release
  INTDIR=.\Release
  # Begin Custom Macros
  OutDir=.\Release
  # End Custom Macros
  
  ALL : "$(OUTDIR)\libapreq.lib"
  
  
  CLEAN :
  	-@erase "$(INTDIR)\apreq.obj"
  	-@erase "$(INTDIR)\apreq_cookie.obj"
  	-@erase "$(INTDIR)\apreq_params.obj"
  	-@erase "$(INTDIR)\apreq_parsers.obj"
  	-@erase "$(INTDIR)\apreq_tables.obj"
  	-@erase "$(INTDIR)\vc60.idb"
  	-@erase "$(OUTDIR)\libapreq.lib"
          -@erase "$(OUTDIR)\libapreq.pch"
  
  "$(OUTDIR)" :
      if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  
  CPP_PROJ=/nologo /MD /W3 /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /I"$(APACHE)\include"
/Fp"$(INTDIR)\libapreq.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c 
  BSC32=bscmake.exe
  BSC32_FLAGS=/nologo /o"$(OUTDIR)\libapreq.bsc" 
  LIB32=link.exe -lib
  LIB32_FLAGS=/nologo /out:"$(OUTDIR)\libapreq.lib" 
  LIB32_OBJS= \
  	"$(INTDIR)\apreq.obj" \
  	"$(INTDIR)\apreq_cookie.obj" \
  	"$(INTDIR)\apreq_params.obj" \
  	"$(INTDIR)\apreq_parsers.obj" \
  	"$(INTDIR)\apreq_tables.obj"
  
  "$(OUTDIR)\libapreq.lib" : "$(OUTDIR)" $(DEF_FILE) $(LIB32_OBJS)
      $(LIB32) @<<
    $(LIB32_FLAGS) $(DEF_FLAGS) $(LIB32_OBJS)
  <<
  
  !ELSEIF  "$(CFG)" == "libapreq - Win32 Debug"
  
  OUTDIR=.\Debug
  INTDIR=.\Debug
  # Begin Custom Macros
  OutDir=.\Debug
  # End Custom Macros
  
  ALL : "$(OUTDIR)\libapreq.lib"
  
  
  CLEAN :
  	-@erase "$(INTDIR)\apreq.obj"
  	-@erase "$(INTDIR)\apreq_cookie.obj"
  	-@erase "$(INTDIR)\apreq_params.obj"
  	-@erase "$(INTDIR)\apreq_parsers.obj"
  	-@erase "$(INTDIR)\apreq_tables.obj"
  	-@erase "$(INTDIR)\vc60.idb"
  	-@erase "$(INTDIR)\vc60.pdb"
  	-@erase "$(OUTDIR)\libapreq.lib"
          -@erase "$(OUTDIR)\libapreq.pch"
  
  "$(OUTDIR)" :
      if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  
  CPP_PROJ=/nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /I"$(APACHE)\include"
/Fp"$(INTDIR)\libapreq.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c 
  BSC32=bscmake.exe
  BSC32_FLAGS=/nologo /o"$(OUTDIR)\libapreq.bsc" 
  LIB32=link.exe -lib
  LIB32_FLAGS=/nologo /out:"$(OUTDIR)\libapreq.lib" 
  LIB32_OBJS= \
  	"$(INTDIR)\apreq.obj" \
  	"$(INTDIR)\apreq_cookie.obj" \
  	"$(INTDIR)\apreq_params.obj" \
  	"$(INTDIR)\apreq_parsers.obj" \
  	"$(INTDIR)\apreq_tables.obj"
  
  "$(OUTDIR)\libapreq.lib" : "$(OUTDIR)" $(DEF_FILE) $(LIB32_OBJS)
      $(LIB32) @<<
    $(LIB32_FLAGS) $(DEF_FLAGS) $(LIB32_OBJS)
  <<
  
  !ENDIF 
  
  .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) $< 
  <<
  
  
  !IF "$(CFG)" == "libapreq - Win32 Release" || "$(CFG)" == "libapreq - Win32 Debug"
  SOURCE=..\src\apreq.c
  
  "$(INTDIR)\apreq.obj" : $(SOURCE) "$(INTDIR)"
  	$(CPP) $(CPP_PROJ) $(SOURCE)
  
  
  SOURCE=..\src\apreq_cookie.c
  
  "$(INTDIR)\apreq_cookie.obj" : $(SOURCE) "$(INTDIR)"
  	$(CPP) $(CPP_PROJ) $(SOURCE)
  
  
  SOURCE=..\src\apreq_params.c
  
  "$(INTDIR)\apreq_params.obj" : $(SOURCE) "$(INTDIR)"
  	$(CPP) $(CPP_PROJ) $(SOURCE)
  
  
  SOURCE=..\src\apreq_parsers.c
  
  "$(INTDIR)\apreq_parsers.obj" : $(SOURCE) "$(INTDIR)"
  	$(CPP) $(CPP_PROJ) $(SOURCE)
  
  
  SOURCE=..\src\apreq_tables.c
  
  "$(INTDIR)\apreq_tables.obj" : $(SOURCE) "$(INTDIR)"
  	$(CPP) $(CPP_PROJ) $(SOURCE)
  
  
  
  !ENDIF 
  
  
  
  
  1.1                  httpd-apreq-2/win32/libapreq_cgi.mak
  
  Index: libapreq_cgi.mak
  ===================================================================
  # Microsoft Developer Studio Generated NMAKE File, Based on libapreq_cgi.dsp
  
  !IF "$(APACHE)" == ""
  !MESSAGE No Apache directory was specified.
  !MESSAGE This makefile is not to be run directly.
  !MESSAGE Please run Configure.bat, and then $(MAKE) on Makefile.
  !ERROR
  !ENDIF
  
  !IF "$(CFG)" == ""
  CFG=libapreq_cgi - Win32 Release
  !MESSAGE No configuration specified. Defaulting to libapreq_cgi - Win32 Release.
  !ENDIF 
  
  !IF "$(CFG)" != "libapreq_cgi - Win32 Release" && "$(CFG)" != "libapreq_cgi - Win32
Debug"
  !MESSAGE Invalid configuration "$(CFG)" specified.
  !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 "libapreq_cgi.mak" CFG="libapreq_cgi - Win32 Debug"
  !MESSAGE 
  !MESSAGE Possible choices for configuration are:
  !MESSAGE 
  !MESSAGE "libapreq_cgi - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
  !MESSAGE "libapreq_cgi - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
  !MESSAGE 
  !ERROR An invalid configuration is specified.
  !ENDIF 
  
  !IF "$(OS)" == "Windows_NT"
  NULL=
  !ELSE 
  NULL=nul
  !ENDIF 
  
  CPP=cl.exe
  MTL=midl.exe
  RSC=rc.exe
  
  !IF  "$(CFG)" == "libapreq_cgi - Win32 Release"
  
  OUTDIR=.\Release
  INTDIR=.\Release
  # Begin Custom Macros
  OutDir=.\Release
  # End Custom Macros
  
  ALL : "$(OUTDIR)\libapreq_cgi.dll"
  
  
  CLEAN :
  	-@erase "$(INTDIR)\libapreq_cgi.obj"
  	-@erase "$(INTDIR)\vc60.idb"
  	-@erase "$(OUTDIR)\libapreq_cgi.so"
  	-@erase "$(OUTDIR)\libapreq_cgi.exp"
  	-@erase "$(OUTDIR)\libapreq_cgi.lib"
          -@erase "$(OUTDIR)\libapreq_cgi.pch"
  
  "$(OUTDIR)" :
      if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  
  CPP_PROJ=/nologo /MD /W3 /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL"
/D "LIBAPREQ_CGI_EXPORTS" /I"$(APACHE)\include" /I"..\src" /Fp"$(INTDIR)\libapreq_cgi.pch"
/YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c 
  MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /win32 
  BSC32=bscmake.exe
  BSC32_FLAGS=/nologo /o"$(OUTDIR)\libapreq_cgi.bsc" 
  LINK32=link.exe
  LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib
ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /incremental:no /pdb:"$(OUTDIR)\libapreq_cgi.pdb"
/machine:I386 /out:"$(OUTDIR)\libapreq_cgi.so" /implib:"$(OUTDIR)\libapreq_cgi.lib" 
  LINK32_OBJS= \
  	"$(INTDIR)\libapreq_cgi.obj" \
  	"$(OUTDIR)\libapreq.lib" \
  	"$(APACHE)\lib\libapr.lib" \
  	"$(APACHE)\lib\libaprutil.lib"
  
  "$(OUTDIR)\libapreq_cgi.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
      $(LINK32) @<<
    $(LINK32_FLAGS) $(LINK32_OBJS)
  <<
  
  !ELSEIF  "$(CFG)" == "libapreq_cgi - Win32 Debug"
  
  OUTDIR=.\Debug
  INTDIR=.\Debug
  # Begin Custom Macros
  OutDir=.\Debug
  # End Custom Macros
  
  ALL : "$(OUTDIR)\libapreq_cgi.dll"
  
  
  CLEAN :
  	-@erase "$(INTDIR)\libapreq_cgi.obj"
  	-@erase "$(INTDIR)\vc60.idb"
  	-@erase "$(INTDIR)\vc60.pdb"
  	-@erase "$(OUTDIR)\libapreq_cgi.dll"
  	-@erase "$(OUTDIR)\libapreq_cgi.exp"
  	-@erase "$(OUTDIR)\libapreq_cgi.ilk"
  	-@erase "$(OUTDIR)\libapreq_cgi.lib"
  	-@erase "$(OUTDIR)\libapreq_cgi.pdb"
          -@erase "$(OUTDIR)\libapreq_cgi.pch"
  
  "$(OUTDIR)" :
      if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  
  CPP_PROJ=/nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS"
/D "_USRDLL" /D "LIBAPREQ_CGI_EXPORTS" /I"$(APACHE)\include"  /I"..\src" /Fp"$(INTDIR)\libapreq_cgi.pch"
/YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ  /c 
  MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /win32 
  BSC32=bscmake.exe
  BSC32_FLAGS=/nologo /o"$(OUTDIR)\libapreq_cgi.bsc" 
  LINK32=link.exe
  LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib
ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /incremental:yes /pdb:"$(OUTDIR)\libapreq_cgi.pdb"
/debug /machine:I386 /out:"$(OUTDIR)\libapreq_cgi.so" /implib:"$(OUTDIR)\libapreq_cgi.lib"
/pdbtype:sept 
  LINK32_OBJS= \
  	"$(INTDIR)\libapreq_cgi.obj" \
  	"$(OUTDIR)\libapreq.lib" \
  	"$(APACHE)\lib\libapr.lib" \
  	"$(APACHE)\lib\libaprutil.lib"
  
  "$(OUTDIR)\libapreq_cgi.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
      $(LINK32) @<<
    $(LINK32_FLAGS) $(LINK32_OBJS)
  <<
  
  !ENDIF 
  
  .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) $< 
  <<
  
  
  !IF "$(CFG)" == "libapreq_cgi - Win32 Release" || "$(CFG)" == "libapreq_cgi - Win32 Debug"
  SOURCE=..\env\libapreq_cgi.c
  
  "$(INTDIR)\libapreq_cgi.obj" : $(SOURCE) "$(INTDIR)"
  	$(CPP) $(CPP_PROJ) $(SOURCE)
  
  
  
  !ENDIF 
  
  
  
  
  1.1                  httpd-apreq-2/win32/mod_apreq.mak
  
  Index: mod_apreq.mak
  ===================================================================
  # Microsoft Developer Studio Generated NMAKE File, Based on mod_apreq.dsp
  
  !IF "$(APACHE)" == ""
  !MESSAGE No Apache directory was specified.
  !MESSAGE This makefile is not to be run directly.
  !MESSAGE Please run Configure.bat, and then $(MAKE) on Makefile.
  !ERROR
  !ENDIF
  
  !IF "$(CFG)" == ""
  CFG=mod_apreq - Win32 Release
  !MESSAGE No configuration specified. Defaulting to mod_apreq - Win32 Release.
  !ENDIF 
  
  !IF "$(CFG)" != "mod_apreq - Win32 Release" && "$(CFG)" != "mod_apreq - Win32 Debug"
  !MESSAGE Invalid configuration "$(CFG)" specified.
  !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 "mod_apreq.mak" CFG="mod_apreq - Win32 Debug"
  !MESSAGE 
  !MESSAGE Possible choices for configuration are:
  !MESSAGE 
  !MESSAGE "mod_apreq - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
  !MESSAGE "mod_apreq - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
  !MESSAGE 
  !ERROR An invalid configuration is specified.
  !ENDIF 
  
  !IF "$(OS)" == "Windows_NT"
  NULL=
  !ELSE 
  NULL=nul
  !ENDIF 
  
  CPP=cl.exe
  MTL=midl.exe
  RSC=rc.exe
  
  !IF  "$(CFG)" == "mod_apreq - Win32 Release"
  
  OUTDIR=.\Release
  INTDIR=.\Release
  # Begin Custom Macros
  OutDir=.\Release
  # End Custom Macros
  
  ALL : "$(OUTDIR)\mod_apreq.dll"
  
  
  CLEAN :
  	-@erase "$(INTDIR)\mod_apreq.obj"
  	-@erase "$(INTDIR)\vc60.idb"
  	-@erase "$(OUTDIR)\mod_apreq.so"
  	-@erase "$(OUTDIR)\mod_apreq.exp"
  	-@erase "$(OUTDIR)\mod_apreq.lib"
          -@erase "$(OUTDIR)\mod_apreq.pch"
  
  "$(OUTDIR)" :
      if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  
  CPP_PROJ=/nologo /MD /W3 /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL"
/D "MOD_APREQ_EXPORTS" /I"$(APACHE)\include" /I"..\src" /Fp"$(INTDIR)\mod_apreq.pch" /YX /Fo"$(INTDIR)\\"
/Fd"$(INTDIR)\\" /FD /c 
  MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /win32 
  BSC32=bscmake.exe
  BSC32_FLAGS=/nologo /o"$(OUTDIR)\mod_apreq.bsc" 
  LINK32=link.exe
  LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib
ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /incremental:no /pdb:"$(OUTDIR)\mod_apreq.pdb"
/machine:I386 /out:"$(OUTDIR)\mod_apreq.so" /implib:"$(OUTDIR)\mod_apreq.lib" 
  LINK32_OBJS= \
  	"$(INTDIR)\mod_apreq.obj" \
  	"$(APACHE)\lib\libapr.lib" \
  	"$(APACHE)\lib\libaprutil.lib" \
  	"$(APACHE)\lib\libhttpd.lib" \
  	"$(OUTDIR)\libapreq.lib"
  
  "$(OUTDIR)\mod_apreq.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
      $(LINK32) @<<
    $(LINK32_FLAGS) $(LINK32_OBJS)
  <<
  
  !ELSEIF  "$(CFG)" == "mod_apreq - Win32 Debug"
  
  OUTDIR=.\Debug
  INTDIR=.\Debug
  # Begin Custom Macros
  OutDir=.\Debug
  # End Custom Macros
  
  ALL : "$(OUTDIR)\mod_apreq.dll"
  
  
  CLEAN :
  	-@erase "$(INTDIR)\mod_apreq.obj"
  	-@erase "$(INTDIR)\vc60.idb"
  	-@erase "$(INTDIR)\vc60.pdb"
  	-@erase "$(OUTDIR)\mod_apreq.so"
  	-@erase "$(OUTDIR)\mod_apreq.exp"
  	-@erase "$(OUTDIR)\mod_apreq.ilk"
  	-@erase "$(OUTDIR)\mod_apreq.lib"
  	-@erase "$(OUTDIR)\mod_apreq.pdb"
          -@erase "$(OUTDIR)\mod_apreq.pch"
  
  "$(OUTDIR)" :
      if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  
  CPP_PROJ=/nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS"
/D "_USRDLL" /D "MOD_APREQ_EXPORTS" /I"$(APACHE)\include" /I"..\src" /Fp"$(INTDIR)\mod_apreq.pch"
/YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ  /c 
  MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /win32 
  BSC32=bscmake.exe
  BSC32_FLAGS=/nologo /o"$(OUTDIR)\mod_apreq.bsc" 
  LINK32=link.exe
  LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib
ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /incremental:yes /pdb:"$(OUTDIR)\mod_apreq.pdb"
/debug /machine:I386 /out:"$(OUTDIR)\mod_apreq.so" /implib:"$(OUTDIR)\mod_apreq.lib" /pdbtype:sept

  LINK32_OBJS= \
  	"$(INTDIR)\mod_apreq.obj" \
  	"$(APACHE)\lib\libapr.lib" \
  	"$(APACHE)\lib\libaprutil.lib" \
  	"$(APACHE)\lib\libhttpd.lib" \
  	"$(OUTDIR)\libapreq.lib"
  
  "$(OUTDIR)\mod_apreq.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
      $(LINK32) @<<
    $(LINK32_FLAGS) $(LINK32_OBJS)
  <<
  
  !ENDIF 
  
  .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) $< 
  <<
  
  
  !IF "$(CFG)" == "mod_apreq - Win32 Release" || "$(CFG)" == "mod_apreq - Win32 Debug"
  SOURCE=..\env\mod_apreq.c
  
  "$(INTDIR)\mod_apreq.obj" : $(SOURCE) "$(INTDIR)"
  	$(CPP) $(CPP_PROJ) $(SOURCE)
  
  
  
  !ENDIF 
  
  
  
  
  1.1                  httpd-apreq-2/win32/testall.mak
  
  Index: testall.mak
  ===================================================================
  # Microsoft Developer Studio Generated NMAKE File, Based on testall.dsp
  
  !IF "$(APACHE)" == ""
  !MESSAGE No Apache directory was specified.
  !MESSAGE This makefile is not to be run directly.
  !MESSAGE Please run Configure.bat, and then $(MAKE) on Makefile.
  !ERROR
  !ENDIF
  
  !IF "$(CFG)" == ""
  CFG=testall - Win32 Release
  !MESSAGE No configuration specified. Defaulting to testall - Win32 Release.
  !ENDIF 
  
  !IF "$(CFG)" != "testall - Win32 Release" && "$(CFG)" != "testall - Win32 Debug"
  !MESSAGE Invalid configuration "$(CFG)" specified.
  !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 "testall.mak" CFG="testall - Win32 Debug"
  !MESSAGE 
  !MESSAGE Possible choices for configuration are:
  !MESSAGE 
  !MESSAGE "testall - Win32 Release" (based on "Win32 (x86) Console Application")
  !MESSAGE "testall - Win32 Debug" (based on "Win32 (x86) Console Application")
  !MESSAGE 
  !ERROR An invalid configuration is specified.
  !ENDIF 
  
  !IF "$(OS)" == "Windows_NT"
  NULL=
  !ELSE 
  NULL=nul
  !ENDIF 
  
  !IF  "$(CFG)" == "testall - Win32 Release"
  
  OUTDIR=.\Release
  INTDIR=.\Release
  # Begin Custom Macros
  OutDir=.\Release
  # End Custom Macros
  
  ALL : "$(OUTDIR)\testall.exe"
  
  
  CLEAN :
  	-@erase "$(INTDIR)\cookie.obj"
  	-@erase "$(INTDIR)\CuTest.obj"
  	-@erase "$(INTDIR)\env.obj"
  	-@erase "$(INTDIR)\params.obj"
  	-@erase "$(INTDIR)\parsers.obj"
  	-@erase "$(INTDIR)\performance.obj"
  	-@erase "$(INTDIR)\tables.obj"
  	-@erase "$(INTDIR)\testall.obj"
  	-@erase "$(INTDIR)\vc60.idb"
  	-@erase "$(OUTDIR)\testall.exe"
          -@erase "$(OUTDIR)\testall.pch"
  
  "$(OUTDIR)" :
      if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  
  CPP=cl.exe
  CPP_PROJ=/nologo /MD /W3 /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /I"$(APACHE)\include"
/I"..\src" /Fp"$(INTDIR)\testall.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) $< 
  <<
  
  RSC=rc.exe
  BSC32=bscmake.exe
  BSC32_FLAGS=/nologo /o"$(OUTDIR)\testall.bsc" 
  LINK32=link.exe
  LINK32_FLAGS=kernel32.lib wsock32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib
shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.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 /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\testall.pdb"
/machine:I386 /out:"$(OUTDIR)\testall.exe" 
  LINK32_OBJS= \
  	"$(INTDIR)\cookie.obj" \
  	"$(INTDIR)\CuTest.obj" \
  	"$(INTDIR)\env.obj" \
  	"$(INTDIR)\params.obj" \
  	"$(INTDIR)\tables.obj" \
  	"$(INTDIR)\testall.obj" \
  	"$(OUTDIR)\libapreq.lib" \
  	"$(APACHE)\lib\libapr.lib" \
  	"$(APACHE)\lib\libaprutil.lib" \
  	"$(APACHE)\lib\libhttpd.lib" \
  	"$(INTDIR)\parsers.obj" \
  	"$(INTDIR)\performance.obj"
  
  "$(OUTDIR)\testall.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
      $(LINK32) @<<
    $(LINK32_FLAGS) $(LINK32_OBJS)
  <<
  
  !ELSEIF  "$(CFG)" == "testall - Win32 Debug"
  
  OUTDIR=.\Debug
  INTDIR=.\Debug
  # Begin Custom Macros
  OutDir=.\Debug
  # End Custom Macros
  
  ALL : "$(OUTDIR)\testall.exe"
  
  
  CLEAN :
  	-@erase "$(INTDIR)\cookie.obj"
  	-@erase "$(INTDIR)\CuTest.obj"
  	-@erase "$(INTDIR)\env.obj"
  	-@erase "$(INTDIR)\params.obj"
  	-@erase "$(INTDIR)\parsers.obj"
  	-@erase "$(INTDIR)\performance.obj"
  	-@erase "$(INTDIR)\tables.obj"
  	-@erase "$(INTDIR)\testall.obj"
  	-@erase "$(INTDIR)\vc60.idb"
  	-@erase "$(INTDIR)\vc60.pdb"
  	-@erase "$(OUTDIR)\testall.exe"
  	-@erase "$(OUTDIR)\testall.ilk"
  	-@erase "$(OUTDIR)\testall.pdb"
          -@erase "$(OUTDIR)\testall.pch"
  
  "$(OUTDIR)" :
      if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  
  CPP=cl.exe
  CPP_PROJ=/nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS"
/I"$(APACHE)\include" /I"..\src" /Fp"$(INTDIR)\testall.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\"
/FD /GZ /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) $< 
  <<
  
  RSC=rc.exe
  BSC32=bscmake.exe
  BSC32_FLAGS=/nologo /o"$(OUTDIR)\testall.bsc" 
  LINK32=link.exe
  LINK32_FLAGS=kernel32.lib wsock32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib
shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.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 /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\testall.pdb"
/debug /machine:I386 /out:"$(OUTDIR)\testall.exe" /pdbtype:sept 
  LINK32_OBJS= \
  	"$(INTDIR)\cookie.obj" \
  	"$(INTDIR)\CuTest.obj" \
  	"$(INTDIR)\env.obj" \
  	"$(INTDIR)\params.obj" \
  	"$(INTDIR)\tables.obj" \
  	"$(INTDIR)\testall.obj" \
  	"$(OUTDIR)\libapreq.lib" \
  	"$(APACHE)\lib\libapr.lib" \
  	"$(APACHE)\lib\libaprutil.lib" \
  	"$(APACHE)\lib\libhttpd.lib" \
  	"$(INTDIR)\parsers.obj" \
  	"$(INTDIR)\performance.obj"
  
  "$(OUTDIR)\testall.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
      $(LINK32) @<<
    $(LINK32_FLAGS) $(LINK32_OBJS)
  <<
  
  !ENDIF 
  
  
  !IF "$(CFG)" == "testall - Win32 Release" || "$(CFG)" == "testall - Win32 Debug"
  SOURCE=..\t\cookie.c
  
  "$(INTDIR)\cookie.obj" : $(SOURCE) "$(INTDIR)"
  	$(CPP) $(CPP_PROJ) $(SOURCE)
  
  
  SOURCE=..\t\CuTest.c
  
  "$(INTDIR)\CuTest.obj" : $(SOURCE) "$(INTDIR)"
  	$(CPP) $(CPP_PROJ) $(SOURCE)
  
  
  SOURCE=..\t\env.c
  
  "$(INTDIR)\env.obj" : $(SOURCE) "$(INTDIR)"
  	$(CPP) $(CPP_PROJ) $(SOURCE)
  
  
  SOURCE=..\t\params.c
  
  "$(INTDIR)\params.obj" : $(SOURCE) "$(INTDIR)"
  	$(CPP) $(CPP_PROJ) $(SOURCE)
  
  
  SOURCE=..\t\parsers.c
  
  "$(INTDIR)\parsers.obj" : $(SOURCE) "$(INTDIR)"
  	$(CPP) $(CPP_PROJ) $(SOURCE)
  
  
  SOURCE=..\t\performance.c
  
  "$(INTDIR)\performance.obj" : $(SOURCE) "$(INTDIR)"
  	$(CPP) $(CPP_PROJ) $(SOURCE)
  
  
  SOURCE=..\t\tables.c
  
  "$(INTDIR)\tables.obj" : $(SOURCE) "$(INTDIR)"
  	$(CPP) $(CPP_PROJ) $(SOURCE)
  
  
  SOURCE=..\t\testall.c
  
  "$(INTDIR)\testall.obj" : $(SOURCE) "$(INTDIR)"
  	$(CPP) $(CPP_PROJ) $(SOURCE)
  
  
  
  !ENDIF 
  
  
  
  

Mime
View raw message