mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-22 22:00:49 +00:00
Use a before-all rule to build public headers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@10405 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ad89b1f754
commit
642ced917e
1 changed files with 8 additions and 1 deletions
|
@ -63,6 +63,10 @@ ADDITIONAL_INCLUDE_DIRS += -I$(DERIVED_SOURCES)
|
|||
ifeq ($(INTERNAL_framework_NAME),)
|
||||
# This part is included the first time make is invoked.
|
||||
|
||||
# A framework has a special task to do before-all, which is to build
|
||||
# the public framework headers.
|
||||
before-all:: $(FRAMEWORK_NAME:=.before-all.framework.variables)
|
||||
|
||||
internal-all:: $(FRAMEWORK_NAME:=.all.framework.variables)
|
||||
|
||||
internal-install:: $(FRAMEWORK_NAME:=.install.framework.variables)
|
||||
|
@ -194,7 +198,10 @@ build-framework-dir::
|
|||
$(LN_S) Versions/Current/Resources .; \
|
||||
fi;)
|
||||
|
||||
build-framework-headers:: build-framework-dir $(DERIVED_SOURCES) $(FRAMEWORK_HEADER_FILES)
|
||||
internal-framework-before-all:: build-framework-dir \
|
||||
$(DERIVED_SOURCES) \
|
||||
$(FRAMEWORK_HEADER_FILES)
|
||||
@echo Building public headers of framework $(INTERNAL_framework_NAME)...
|
||||
|
||||
$(FRAMEWORK_HEADER_FILES):: $(HEADER_FILES)
|
||||
if [ "$(HEADER_FILES)" != "" ]; then \
|
||||
|
|
Loading…
Reference in a new issue