[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-test-cvs
Subject:    cvs commit: httpd-test/specweb99/specweb99-2.0 .cvsignore .deps Makefile modules.mk
From:       sctemme () apache ! org
Date:       2002-11-18 17:50:21
[Download RAW message or body]

sctemme     2002/11/18 09:50:21

  Added:       specweb99/specweb99-2.0 .cvsignore .deps Makefile modules.mk
  Log:
  Add Makefile structure for building with apxs. I was going to call the actual
  Makefile 'Makefile.apxs', but this broke the predefined clean target. I hope
  this doesn't interfere with the regular build structure.
  
  Revision  Changes    Path
  1.1                  httpd-test/specweb99/specweb99-2.0/.cvsignore
  
  Index: .cvsignore
  ===================================================================
  mod_specweb99.la
  mod_specweb99.lo
  mod_specweb99.slo
  .libs
  
  
  
  1.1                  httpd-test/specweb99/specweb99-2.0/.deps
  
  	<<Binary file>>
  
  
  1.1                  httpd-test/specweb99/specweb99-2.0/Makefile
  
  Index: Makefile
  ===================================================================
  # $Header: /home/cvs/httpd-test/specweb99/specweb99-2.0/Makefile,v 1.1 2002/11/18 \
17:50:21 sctemme Exp $  
  # This Makefile will build mod_specweb99.so for you as shared
  # Apache 2.0 module. Set the variable APXS to point to apxs on 
  # your system. 
  
  # I'm sure I'm using some GNU make specifics here.
  
  #   the used tools
  APXS ?= /usr/local/apache2/bin/apxs
  APACHECTL=$(shell $(APXS) -q sbindir)/apachectl
  
  builddir=.
  top_srcdir=$(shell $(APXS) -q prefix)
  top_builddir=$(shell $(APXS) -q prefix)
  include $(shell $(APXS) -q installbuilddir)/special.mk
  
  #   additional defines, includes and libraries
  #DEFS=-Dmy_define=my_value
  #INCLUDES=-Imy/include/dir
  #LIBS=-Lmy/lib/dir -lmylib
  
  all: local-shared-build
  
  #   install the shared object file into Apache 
  install: install-modules
  
  #   cleanup
  clean:
  	-rm -f mod_specweb99.o mod_specweb99.lo mod_specweb99.slo mod_specweb99.la 
  
  #   simple test
  test: reload
  	lynx -mime_header http://localhost/specweb99
  
  #   install and activate shared object by reloading Apache to
  #   force a reload of the shared object file
  reload: install restart
  
  #   the general Apache start/restart/stop
  #   procedures
  start:
  	$(APACHECTL) start
  restart:
  	$(APACHECTL) restart
  stop:
  	$(APACHECTL) stop
  
  
  
  # ====================================================================
  # 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.
  # ====================================================================
  
  
  
  
  1.1                  httpd-test/specweb99/specweb99-2.0/modules.mk
  
  Index: modules.mk
  ===================================================================
  mod_specweb99.la: mod_specweb99.slo
  	$(SH_LINK) -rpath $(libexecdir) -module -avoid-version  mod_specweb99.lo
  DISTCLEAN_TARGETS = modules.mk
  shared =  mod_specweb99.la
  
  
  


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic