library.mk revision 64185f9824e42f21ca7b9ae6c004484215c031a7
6391N/A# ====================================================================
6391N/A# Copyright (c) 1995-2000 The Apache Software Foundation. All rights reserved.
6391N/A#
6391N/A# Redistribution and use in source and binary forms, with or without
6391N/A# modification, are permitted provided that the following conditions
6391N/A# are met:
6391N/A#
6391N/A# 1. Redistributions of source code must retain the above copyright
6391N/A# notice, this list of conditions and the following disclaimer.
6391N/A#
6391N/A# 2. Redistributions in binary form must reproduce the above copyright
6391N/A# notice, this list of conditions and the following disclaimer in
6391N/A# the documentation and/or other materials provided with the
6391N/A# distribution.
6391N/A#
6391N/A# 3. All advertising materials mentioning features or use of this
6391N/A# software must display the following acknowledgment:
6391N/A# "This product includes software developed by the Apache Software Foundatio
6391N/A#
6391N/A# for use in the Apache HTTP server project (http://www.apache.org/)."
6391N/A#
6391N/A# 4. The names "Apache Server" and "Apache Software Foundation" must not be use
6391N/A# to
6391N/A# endorse or promote products derived from this software without
6391N/A# prior written permission. For written permission, please contact
6391N/A# apache@apache.org.
6391N/A#
6391N/A# 5. Products derived from this software may not be called "Apache"
6391N/A# nor may "Apache" appear in their names without prior written
6391N/A# permission of the Apache Software Foundation.
6391N/A#
6391N/A# 6. Redistributions of any form whatsoever must retain the following
6391N/A# acknowledgment:
6391N/A# "This product includes software developed by the Apache Software Foundatio
6391N/A#
6391N/A# for use in the Apache HTTP server project (http://www.apache.org/)." #
6391N/A# THIS SOFTWARE IS PROVIDED BY THE Apache Software Foundation ``AS IS'' AND ANY
6391N/A# EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
6391N/A# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
6391N/A# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE Apache Software Foundation OR
6391N/A# ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
6391N/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
6391N/A# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
6391N/A# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
7291N/A# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
6391N/A# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
6391N/A# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
6391N/A# OF THE POSSIBILITY OF SUCH DAMAGE.
6391N/A# ====================================================================
6391N/A#
6391N/A# This software consists of voluntary contributions made by many
6391N/A# individuals on behalf of the Apache Software Foundation and was originally based
6391N/A# on public domain software written at the National Center for
6391N/A# Supercomputing Applications, University of Illinois, Urbana-Champaign.
6391N/A# For more information on the Apache Software Foundation and the Apache HTTP server
6391N/A# project, please see <http://www.apache.org/>.
6391N/A#
6391N/A#
6391N/A#
6391N/A# The build environment was provided by Sascha Schumann.
6391N/A#
6391N/A
6391N/ALTLIBRARY_OBJECTS = $(LTLIBRARY_SOURCES:.c=.lo)
6391N/A
6391N/A$(LTLIBRARY_NAME): $(LTLIBRARY_OBJECTS) $(LTLIBRARY_DEPENDENCIES)
6391N/A $(LINK) $(LTLIBRARY_LDFLAGS) $(LTLIBRARY_OBJECTS) $(LTLIBRARY_LIBADD)
6391N/A
6391N/A$(LTLIBRARY_SHARED_NAME): $(LTLIBRARY_OBJECTS) $(LTLIBRARY_DEPENDENCIES)
6391N/A @test -d $(phplibdir) || $(mkinstalldirs) $(phplibdir)
6391N/A $(LINK) -avoid-version -module -rpath $(phplibdir) $(LTLIBRARY_LDFLAGS) $(LTLIBRARY_OBJECTS) $(LTLIBRARY_SHARED_LIBADD)
$(SHLIBTOOL) --mode=install install $@ $(phplibdir)
shared:
@if test '$(SHLIBTOOL)' != '$(LIBTOOL)'; then \
$(MAKE) 'LIBTOOL=$(SHLIBTOOL)' $(LTLIBRARY_SHARED_NAME); \
else \
$(MAKE) $(LTLIBRARY_SHARED_NAME); \
fi; \