Update of /cvsroot/pure-data/packages In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27581
Added Files: Makefile Makefile.dirs Log Message: renamed _DST to _DEST for the sake of clarity
--- NEW FILE: Makefile.dirs ---
# this file should be exactly the same in each section of the CVS. A copy is # kept in each section of the CVS so that each section will be # self-sufficient. hans@at.or.at
# $(INSTALL_PREFIX) and $(SRC_ROOT_DIR) are set in Makefile
# base DOCS_BASE = $(INSTALL_PREFIX)/doc
# sources ABSTRACTIONS_SRC = $(SRC_ROOT_DIR)/abstractions DOCS_SRC = $(SRC_ROOT_DIR)/doc EXTERNALS_SRC = $(SRC_ROOT_DIR)/externals
# destinations APPLICATIONS_DEST = $(DOCS_BASE)/examples OBJECTS_DEST = $(INSTALL_PREFIX)/extra DOCS_DEST = $(DOCS_BASE)/5.reference MANUALS_DEST = $(DOCS_BASE)/manuals
#------------------------------------------------------------------------------# # DIRECTORY STRUCTURE TARGETS #------------------------------------------------------------------------------# # first make sure that the directory structure is setup $(INSTALL_PREFIX): install -d $(INSTALL_PREFIX)
$(APPLICATIONS_DEST): $(INSTALL_PREFIX) install -d $(APPLICATIONS_DEST)
$(OBJECTS_DEST): $(INSTALL_PREFIX) install -d $(OBJECTS_DEST)
$(DOCS_DEST): $(INSTALL_PREFIX) install -d $(DOCS_DEST)
$(MANUALS_DEST): $(INSTALL_PREFIX) install -d $(MANUALS_DEST)
--- NEW FILE: Makefile --- # # #
# these are setup to be overridden by the packages/*/Makefiles SRC_ROOT_DIR := $(shell pwd)/.. INSTALL_PREFIX = $(SRC_ROOT_DIR)/packages/build
# default target all: abstractions
include Makefile.dirs
DST_PATHS = APPLICATIONS_DEST=$(APPLICATIONS_DEST) \ OBJECTS_DEST=$(OBJECTS_DEST) \ DOCS_DEST=$(DOCS_DEST) \ MANUALS_DEST=$(MANUALS_DEST)
#------------------------------------------------------------------------------# # BUILD TARGETS #------------------------------------------------------------------------------# abstractions: make -f $(ABSTRACTIONS_SRC)/Makefile $(DST_PATHS)
#------------------------------------------------------------------------------# # CLEAN TARGETS #------------------------------------------------------------------------------# abstractions_clean: make -f $(ABSTRACTIONS_SRC)/Makefile $(DST_PATHS) clean
clean: abstractions_clean -rm -f *~ rm -rf $(MANUALS_DEST) rmdir $(DOCS_BASE) $(INSTALL_PREFIX)