2010-02-12 08:55:56 +00:00
|
|
|
# -*-makefile-*-
|
2002-02-27 16:27:08 +00:00
|
|
|
# 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
|
2007-10-30 14:18:41 +00:00
|
|
|
# as published by the Free Software Foundation; either version 3
|
2002-02-27 16:27:08 +00:00
|
|
|
# of the License, or (at your option) any later version.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public
|
2007-07-13 10:11:48 +00:00
|
|
|
# License along with this library; see the file COPYING.
|
2002-02-27 16:27:08 +00:00
|
|
|
# If not, write to the Free Software Foundation,
|
2005-05-22 03:20:14 +00:00
|
|
|
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
2002-02-27 16:27:08 +00:00
|
|
|
|
|
|
|
ifeq ($(RULES_MAKE_LOADED),)
|
|
|
|
include $(GNUSTEP_MAKEFILES)/rules.make
|
|
|
|
endif
|
|
|
|
|
2002-11-06 13:19:39 +00:00
|
|
|
FRAMEWORK_NAME := $(strip $(FRAMEWORK_NAME))
|
|
|
|
|
2006-03-27 15:19:12 +00:00
|
|
|
before-build-headers::
|
|
|
|
|
|
|
|
after-build-headers::
|
|
|
|
|
|
|
|
# A framework has a special task to do before all, which is to build
|
2002-02-27 16:27:08 +00:00
|
|
|
# the public framework headers.
|
2006-03-27 15:19:12 +00:00
|
|
|
build-headers:: before-build-headers $(FRAMEWORK_NAME:=.build-headers.framework.variables) after-build-headers
|
|
|
|
|
|
|
|
before-all:: build-headers
|
2002-02-27 16:27:08 +00:00
|
|
|
|
Implemented parallel building of multiple instances of apps, bundles, libraries, ctools, clibraries, test-tools, test-apps, test-libraries, services, palettes, gswbundles, gswapps
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@29577 72102866-910b-0410-8b05-ffd578937521
2010-02-12 10:46:32 +00:00
|
|
|
# TODO: Parallel building
|
|
|
|
internal-all:: $(GNUSTEP_OBJ_DIR) $(FRAMEWORK_NAME:=.all.framework.variables)
|
|
|
|
|
2006-03-07 20:21:29 +00:00
|
|
|
$(FRAMEWORK_NAME:=.all.framework.variables): $(FRAMEWORK_NAME:=.build-headers.framework.variables)
|
2002-02-27 16:27:08 +00:00
|
|
|
|
2015-10-20 13:33:17 +00:00
|
|
|
internal-check:: $(FRAMEWORK_NAME:=.check.framework.variables)
|
|
|
|
|
2002-02-27 16:27:08 +00:00
|
|
|
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)
|
|
|
|
|
2002-10-22 00:36:00 +00:00
|
|
|
internal-strings:: $(FRAMEWORK_NAME:=.strings.framework.variables)
|
|
|
|
|
Implemented parallel building of multiple instances of apps, bundles, libraries, ctools, clibraries, test-tools, test-apps, test-libraries, services, palettes, gswbundles, gswapps
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@29577 72102866-910b-0410-8b05-ffd578937521
2010-02-12 10:46:32 +00:00
|
|
|
$(FRAMEWORK_NAME): $(GNUSTEP_OBJ_DIR)
|
2010-02-14 23:13:47 +00:00
|
|
|
$(ECHO_NOTHING_RECURSIVE_MAKE)$(MAKE) -f $(MAKEFILE_NAME) --no-print-directory --no-keep-going $@.all.framework.variables$(END_ECHO_RECURSIVE_MAKE)
|