Update of /cvsroot/pure-data/packages In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22474
Modified Files: Makefile Added Files: Makefile.buildlayout Removed Files: Makefile.dirs Log Message: made a unique name for the build layout Makefile to make it distinct from other Makefiles
Index: Makefile =================================================================== RCS file: /cvsroot/pure-data/packages/Makefile,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Makefile 16 Nov 2005 16:57:34 -0000 1.2 --- Makefile 16 Nov 2005 23:01:15 -0000 1.3 *************** *** 10,14 **** all: abstractions
! include Makefile.dirs
DST_PATHS = APPLICATIONS_DEST=$(APPLICATIONS_DEST) \ --- 10,14 ---- all: abstractions
! include Makefile.buildlayout
DST_PATHS = APPLICATIONS_DEST=$(APPLICATIONS_DEST) \ *************** *** 18,30 **** OBJECTS_DEST=$(OBJECTS_DEST)
! #------------------------------------------------------------------------------# # BUILD TARGETS ! #------------------------------------------------------------------------------# abstractions: ! make -f $(ABSTRACTIONS_SRC)/Makefile $(DST_PATHS)
! #------------------------------------------------------------------------------# # CLEAN TARGETS ! #------------------------------------------------------------------------------# abstractions_clean: make -f $(ABSTRACTIONS_SRC)/Makefile $(DST_PATHS) clean --- 18,57 ---- OBJECTS_DEST=$(OBJECTS_DEST)
! #==============================================================================# ! # # BUILD TARGETS ! # ! #==============================================================================# ! ! #------------------------------------------------------------------------------ ! # abstractions abstractions: ! make -f $(ABSTRACTIONS_SRC)/Makefile $(DST_PATHS) install
! #------------------------------------------------------------------------------ ! # doc ! doc: ! ! ! #------------------------------------------------------------------------------ ! # externals ! externals: ! # doc ! make -f $(EXTERNALS_SRC)/build/doc/makefile $(DST_PATHS) install ! ! ! #------------------------------------------------------------------------------ ! # Gem ! gem: ! ! ! #------------------------------------------------------------------------------ ! # pd ! pd: ! ! ! #==============================================================================# # CLEAN TARGETS ! #==============================================================================# abstractions_clean: make -f $(ABSTRACTIONS_SRC)/Makefile $(DST_PATHS) clean
--- Makefile.dirs DELETED ---
--- NEW FILE: Makefile.buildlayout ---
# 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-contained. hans@at.or.at
# $(INSTALL_PREFIX) and $(SRC_ROOT_DIR) are set in Makefile
# sources ABSTRACTIONS_SRC = $(SRC_ROOT_DIR)/abstractions DOC_SRC = $(SRC_ROOT_DIR)/doc EXTERNALS_SRC = $(SRC_ROOT_DIR)/externals FLEXT_SRC = $(SRC_ROOT_DIR)/externals/grill/flext GEM_SRC = $(SRC_ROOT_DIR)/Gem GEMLIBS_SRC = $(SRC_ROOT_DIR)/GemLibs PD_SRC = $(SRC_ROOT_DIR)/pd SCRIPTS_SRC = $(SRC_ROOT_DIR)/scripts
# destinations APPLICATIONS_DEST = $(DOCS_DEST)/examples DOCS_DEST = $(INSTALL_PREFIX)/doc OBJECTS_DEST = $(INSTALL_PREFIX)/extra HELP_DEST = $(DOCS_DEST)/5.reference MANUALS_DEST = $(DOCS_DEST)/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)
$(DOCS_DEST): $(INSTALL_PREFIX) install -d $(DOCS_DEST)
$(HELP_DEST): $(INSTALL_PREFIX) install -d $(HELP_DEST)
$(MANUALS_DEST): $(INSTALL_PREFIX) install -d $(MANUALS_DEST)
$(OBJECTS_DEST): $(INSTALL_PREFIX) install -d $(OBJECTS_DEST)