diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2002-07-13 07:09:52 +0200 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2002-07-13 07:09:52 +0200 |
commit | 14ddc05bc51d2a5a638794a798948c0a9d45f483 (patch) | |
tree | 601ac229be49942f098fdb35af087d92a1d32e8a /support/win32 | |
parent | Put back the missing symbols header (diff) | |
download | apache2-14ddc05bc51d2a5a638794a798948c0a9d45f483.tar.xz apache2-14ddc05bc51d2a5a638794a798948c0a9d45f483.zip |
Ok. This gives us one warning - could not scan ApacheMonitorVer.h for
dependencies. But it gives us back our top level, editable and commitable
ApacheMonitor.rc file, and doesn't mess up dependencies due to the presence
of two different .rc files in the schema (which is partly what messed up
the original case.)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96041 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support/win32')
-rw-r--r-- | support/win32/.cvsignore | 2 | ||||
-rw-r--r-- | support/win32/ApacheMonitor.dsp | 73 | ||||
-rw-r--r-- | support/win32/ApacheMonitor.h | 62 |
3 files changed, 104 insertions, 33 deletions
diff --git a/support/win32/.cvsignore b/support/win32/.cvsignore index ba16972477..498115bcb9 100644 --- a/support/win32/.cvsignore +++ b/support/win32/.cvsignore @@ -1,6 +1,6 @@ Release Debug -ApacheMonitorVersion.rc +ApacheMonitorVer.h wintty.rc *.plg *.aps diff --git a/support/win32/ApacheMonitor.dsp b/support/win32/ApacheMonitor.dsp index 78ccade3be..a11ceefa15 100644 --- a/support/win32/ApacheMonitor.dsp +++ b/support/win32/ApacheMonitor.dsp @@ -47,7 +47,7 @@ RSC=rc.exe # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 # ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x409 /i ".\\" /d "NDEBUG" BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo @@ -73,7 +73,7 @@ LINK32=link.exe # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 # ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" +# ADD RSC /l 0x409 /i ".\\" /d "_DEBUG" BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo @@ -87,6 +87,45 @@ LINK32=link.exe # Name "ApacheMonitor - Win32 Release" # Name "ApacheMonitor - Win32 Debug" +# Begin Group "Generated Files" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ApacheMonitorVer.h +# End Source File +# Begin Source File + +SOURCE=..\..\build\win32\win32ver.awk + +!IF "$(CFG)" == "ApacheMonitor - Win32 Release" + +# PROP Ignore_Default_Tool 1 +USERDEP__WIN32="..\..\include\ap_release.h" +# Begin Custom Build - Creating Version Resource +InputPath=..\..\build\win32\win32ver.awk + +".\ApacheMonitorVer.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + awk -f ../../build/win32/win32ver.awk ApacheMonitor "Apache HTTP Server Monitor" ../../include/ap_release.h > ApacheMonitorVer.h + +# End Custom Build + +!ELSEIF "$(CFG)" == "ApacheMonitor - Win32 Debug" + +# PROP Ignore_Default_Tool 1 +USERDEP__WIN32="..\..\include\ap_release.h" +# Begin Custom Build - Creating Version Resource +InputPath=..\..\build\win32\win32ver.awk + +".\ApacheMonitorVer.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + awk -f ../../build/win32/win32ver.awk ApacheMonitor "Apache HTTP Server Monitor" ../../include/ap_release.h > ApacheMonitorVer.h + +# End Custom Build + +!ENDIF + +# End Source File +# End Group # Begin Group "Resource Files" # PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" @@ -122,36 +161,6 @@ SOURCE=.\srun.bmp SOURCE=.\sstop.bmp # End Source File -# Begin Source File - -SOURCE=..\..\build\win32\win32ver.awk - -!IF "$(CFG)" == "ApacheMonitor - Win32 Release" - -# PROP Ignore_Default_Tool 1 -# Begin Custom Build - Creating Version Resource -InputPath=..\..\build\win32\win32ver.awk - -".\ApacheMonitor.rc" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - type ApacheMonitor.rc.in > ApacheMonitor.rc - awk -f ../../build/win32/win32ver.awk ApacheMonitor "Apache HTTP Server Monitor" ../../include/ap_release.h >> .\ApacheMonitor.rc - -# End Custom Build - -!ELSEIF "$(CFG)" == "ApacheMonitor - Win32 Debug" - -# Begin Custom Build - Creating Version Resource -InputPath=..\..\build\win32\win32ver.awk - -".\ApacheMonitor.rc" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - type ApacheMonitor.rc.in > ApacheMonitor.rc - awk -f ../../build/win32/win32ver.awk ApacheMonitor "Apache HTTP Server Monitor" ../../include/ap_release.h >> .\ApacheMonitor.rc - -# End Custom Build - -!ENDIF - -# End Source File # End Group # Begin Source File diff --git a/support/win32/ApacheMonitor.h b/support/win32/ApacheMonitor.h index c3ef3c4c98..b022d434fa 100644 --- a/support/win32/ApacheMonitor.h +++ b/support/win32/ApacheMonitor.h @@ -1,3 +1,64 @@ +/* ==================================================================== + * The Apache Software License, Version 1.1 + * + * Copyright (c) 2000-2002 The Apache Software Foundation. All rights + * reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * + * 3. The end-user documentation included with the redistribution, + * if any, must include the following acknowledgment: + * "This product includes software developed by the + * Apache Software Foundation (http://www.apache.org/)." + * Alternately, this acknowledgment may appear in the software itself, + * if and wherever such third-party acknowledgments normally appear. + * + * 4. The names "Apache" and "Apache Software Foundation" must + * not be used to endorse or promote products derived from this + * software without prior written permission. For written + * permission, please contact apache@apache.org. + * + * 5. Products derived from this software may not be called "Apache", + * nor may "Apache" appear in their name, without prior written + * permission of the Apache Software Foundation. + * + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR + * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF + * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT + * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * ==================================================================== + * + * This software consists of voluntary contributions made by many + * individuals on behalf of the Apache Software Foundation. For more + * information on the Apache Software Foundation, please see + * <http://www.apache.org/>. + * + * Portions of this software are based upon public domain software + * originally written at the National Center for Supercomputing Applications, + * University of Illinois, Urbana-Champaign. + */ + +/* Resource definitions for ApacheMonitor.rc and ApacheMonitor.c + */ + #define IDD_DLGSERVICES 101 #define IDS_APMONITORTITLE 102 #define IDS_APMONITORCLASS 103 @@ -53,3 +114,4 @@ #define IDM_SM_STOP 0x1400 #define IDM_SM_RESTART 0x1800 #define IDC_STATIC -1 + |