special.mk revision 6ca0e6973c8176100f4a426444823ae5e777e28f
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# Copyright (c) 1999, 2000 Sascha Schumann. All rights reserved.
6ca0e6973c8176100f4a426444823ae5e777e28fsascha#
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# Redistribution and use in source and binary forms, with or without
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# modification, are permitted provided that the following conditions
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# are met:
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# 1. Redistributions of source code must retain the above copyright
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# notice, this list of conditions and the following disclaimer.
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# 2. Redistributions in binary form must reproduce the above copyright
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# notice, this list of conditions and the following disclaimer in the
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# documentation and/or other materials provided with the distribution.
6ca0e6973c8176100f4a426444823ae5e777e28fsascha#
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# THIS SOFTWARE IS PROVIDED BY SASCHA SCHUMANN ``AS IS'' AND ANY EXPRESS OR
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# EVENT SHALL SASCHA SCHUMANN BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
6ca0e6973c8176100f4a426444823ae5e777e28fsascha#
6ca0e6973c8176100f4a426444823ae5e777e28fsascha##############################################################################
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# $Id: special.mk,v 1.1 2000/01/11 13:10:59 sascha Exp $
6ca0e6973c8176100f4a426444823ae5e777e28fsascha#
6ca0e6973c8176100f4a426444823ae5e777e28fsascha
6ca0e6973c8176100f4a426444823ae5e777e28fsascha
6ca0e6973c8176100f4a426444823ae5e777e28fsascha
6ca0e6973c8176100f4a426444823ae5e777e28fsaschaall: all-recursive
6ca0e6973c8176100f4a426444823ae5e777e28fsascha
6ca0e6973c8176100f4a426444823ae5e777e28fsaschainclude modules.mk
6ca0e6973c8176100f4a426444823ae5e777e28fsaschatargets = $(static) $(shared)
6ca0e6973c8176100f4a426444823ae5e777e28fsaschainstall_targets = install-modules
6ca0e6973c8176100f4a426444823ae5e777e28fsascha
6ca0e6973c8176100f4a426444823ae5e777e28fsaschainstall-modules:
6ca0e6973c8176100f4a426444823ae5e777e28fsascha @shared='$(shared)'; \
6ca0e6973c8176100f4a426444823ae5e777e28fsascha if test -n "$$shared"; then \
6ca0e6973c8176100f4a426444823ae5e777e28fsascha $(mkinstalldirs) $(libexecdir); \
6ca0e6973c8176100f4a426444823ae5e777e28fsascha for i in $$shared; do \
6ca0e6973c8176100f4a426444823ae5e777e28fsascha $(SHLIBTOOL) --mode=install cp $$i $(libexecdir); \
6ca0e6973c8176100f4a426444823ae5e777e28fsascha done; \
6ca0e6973c8176100f4a426444823ae5e777e28fsascha fi
6ca0e6973c8176100f4a426444823ae5e777e28fsascha
6ca0e6973c8176100f4a426444823ae5e777e28fsaschainclude $(topsrcdir)/build/rules.mk
6ca0e6973c8176100f4a426444823ae5e777e28fsascha