tools-make/Master/framework.make
Adam Fedor 7d546ce1c2 * Master/source-distribution.make (svn-tag): Add comment line
(svn-dist): Simplify checkout.
* Master/framework.make: Add build-headers rules
* GNUmakefile: Add special_prefix to GNUSTEP_MAKEFILES


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@22719 72102866-910b-0410-8b05-ffd578937521
2006-03-27 15:19:12 +00:00

54 lines
1.8 KiB
Makefile

#
# Master/framework.make
#
# Master Makefile rules to build GNUstep-based frameworks.
#
# Copyright (C) 2000, 2001 Free Software Foundation, Inc.
#
# Author: Mirko Viviani <mirko.viviani@rccr.cremona.it>
# Author: Nicola Pero <n.pero@mi.flashnet.it>
#
# This file is part of the GNUstep Makefile Package.
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# You should have received a copy of the GNU General Public
# License along with this library; see the file COPYING.LIB.
# If not, write to the Free Software Foundation,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
ifeq ($(RULES_MAKE_LOADED),)
include $(GNUSTEP_MAKEFILES)/rules.make
endif
FRAMEWORK_NAME := $(strip $(FRAMEWORK_NAME))
before-build-headers::
after-build-headers::
# A framework has a special task to do before all, which is to build
# the public framework headers.
build-headers:: before-build-headers $(FRAMEWORK_NAME:=.build-headers.framework.variables) after-build-headers
before-all:: build-headers
internal-all:: $(FRAMEWORK_NAME:=.all.framework.variables)
$(FRAMEWORK_NAME:=.all.framework.variables): $(FRAMEWORK_NAME:=.build-headers.framework.variables)
internal-install:: $(FRAMEWORK_NAME:=.install.framework.variables)
internal-uninstall:: $(FRAMEWORK_NAME:=.uninstall.framework.variables)
internal-clean:: $(FRAMEWORK_NAME:=.clean.framework.variables)
internal-distclean:: $(FRAMEWORK_NAME:=.distclean.framework.variables)
internal-strings:: $(FRAMEWORK_NAME:=.strings.framework.variables)
$(FRAMEWORK_NAME):
@$(MAKE) -f $(MAKEFILE_NAME) --no-print-directory --no-keep-going \
$@.all.framework.variables