Always include both build-headers and install/uninstall rules

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@14936 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2002-11-06 13:20:04 +00:00
parent 074ecef74e
commit 18eaf23a0f

View file

@ -39,28 +39,15 @@ $(warning Ignoring all subprojects and building only $(SUBPROJECT_NAME))
endif
ifneq ($(FRAMEWORK_NAME),)
.PHONY: build-headers
build-headers:: $(SUBPROJECT_NAME:=.build-headers.subproject.variables)
endif
internal-all:: $(SUBPROJECT_NAME:=.all.subproject.variables)
# for frameworks, headers are copied by build-headers into the
# framework directory, and are automatically installed when you
# install the framework; for other projects, we need to install each
# subproject's headers separately
ifeq ($(FRAMEWORK_NAME),)
# WARNING - if you type `make install' in a framework's subproject dir
# you are going to install the headers in the wrong place - can't fix
# that - but you can prevent it by adding `FRAMEWORK_NAME = xxx' to
# your subprojects' GNUmakefiles.
internal-install:: $(SUBPROJECT_NAME:=.install.subproject.variables)
internal-uninstall:: $(SUBPROJECT_NAME:=.uninstall.subproject.variables)
endif
_PSWRAP_C_FILES = $($(SUBPROJECT_NAME)_PSWRAP_FILES:.psw=.c)
_PSWRAP_H_FILES = $($(SUBPROJECT_NAME)_PSWRAP_FILES:.psw=.h)