[PD-cvs] externals README, NONE, 1.1 Makefile, 1.1, 1.2 Makefile.buildlayout, 1.1, 1.2

Hans-Christoph Steiner eighthave at users.sourceforge.net
Fri Nov 18 19:19:42 CET 2005


Update of /cvsroot/pure-data/externals
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11084

Modified Files:
	Makefile Makefile.buildlayout 
Added Files:
	README 
Log Message:
clean targets sorted and tested.  There are now standard clean targets based on the destinations which are part of Makefile.buildlayout

--- NEW FILE: README ---

See docs on this page for instructions:

http://puredata.org/docs/developer/

<hans at at.or.at>

Index: Makefile
===================================================================
RCS file: /cvsroot/pure-data/externals/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Makefile	18 Nov 2005 07:08:35 -0000	1.1
--- Makefile	18 Nov 2005 18:19:40 -0000	1.2
***************
*** 40,44 ****
  	@echo "Compiling objects for $(OS_NAME) aka $(UNAME)"
  # try it this way so that it'll recognize files that have already been built
! 	cd $(EXTERNALS_SRC)/build/$(OS_NAME) && make -k
  
  # these targets are for platform-specific needs
--- 40,44 ----
  	@echo "Compiling objects for $(OS_NAME) aka $(UNAME)"
  # try it this way so that it'll recognize files that have already been built
! 	cd $(EXTERNALS_SRC)/build/$(OS_NAME) && make -k 
  
  # these targets are for platform-specific needs
***************
*** 68,75 ****
  # PMDP examples
  	install -d $(APPLICATIONS_DEST)/$(PMPD_NAME)
! 	install -p $(EXTERNALS_SRC)/pmpd/exemples/*.pd $(APPLICATIONS_DEST)/$(PMPD_NAME)
  
  
! docs_install: $(HELP_DEST)
  #------------------------------------------------------------------------------#
  # all standard objs' help files
--- 68,76 ----
  # PMDP examples
  	install -d $(APPLICATIONS_DEST)/$(PMPD_NAME)
! 	install -p $(EXTERNALS_SRC)/pmpd/exemples/*.pd \
! 		$(APPLICATIONS_DEST)/$(PMPD_NAME)
  
  
! help_install: $(HELP_DEST)
  #------------------------------------------------------------------------------#
  # all standard objs' help files
***************
*** 174,179 ****
  
  
! install: $(OBJECTS_DEST) docs_install applications_install objects_install
  install: manuals_install
  
  #==============================================================================#
--- 175,181 ----
  
  
! install: $(OBJECTS_DEST) help_install applications_install objects_install
  install: manuals_install
+ 	@echo "externals install succeeded!"
  
  #==============================================================================#
***************
*** 187,219 ****
  
  
! #==============================================================================#
! #
! # CLEAN TARGETS
! #
! #==============================================================================#
! 
! applications_clean:
! 	rm $(APPLICATIONS_DEST)/*/*.*
! 	rmdir $(APPLICATIONS_DEST)/*
! 	rmdir $(APPLICATIONS_DEST)
! 
! docs_clean:
! 	-rm $(HELP_DEST)/*.* $(HELP_DEST)/*/*.*
! 	rmdir $(HELP_DEST)/*
! 
! manuals_clean:
! 	rm $(MANUALS_DEST)/*/*.*
! 	rmdir $(MANUALS_DEST)/*
! 	rmdir $(MANUALS_DEST)
! 
! objects_clean:
! 	rm $(OBJECTS_DEST)/*.pd 
! 	rm $(OBJECTS_DEST)/*/*.pd
! 	rm $(OBJECTS_DEST)/*.$(EXTENSION)
! # for upcoming lib directory structure
! 	-rm $(OBJECTS_DEST)/*/*.$(EXTENSION)
! 	rmdir $(OBJECTS_DEST)/*
! 
! clean: applications_clean docs_clean manuals_clean objects_clean
! 	rmdir $(DOCS_DEST)/*	
! 	rmdir $(DOCS_DEST)
--- 189,192 ----
  
  
! # FYI: clean targets are in Makefile.buildlayout
! clean: install_clean cruft_clean

Index: Makefile.buildlayout
===================================================================
RCS file: /cvsroot/pure-data/externals/Makefile.buildlayout,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Makefile.buildlayout	18 Nov 2005 07:08:35 -0000	1.1
--- Makefile.buildlayout	18 Nov 2005 18:19:40 -0000	1.2
***************
*** 1,5 ****
! 
! ## 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.
--- 1,10 ----
! #==============================================================================#
! #
! # Centralized cross-platform build system Makefile.buildsystem
! #
! # this file contains all the common locations and targets
! #  <hans at at.or.at>
! #
! #==============================================================================#
  # 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.
***************
*** 26,32 ****
  # <hans at at.or.at>
  
! #------------------------------------------------------------------------------#
! # PLATFORM-SPECIFIC SETTINGS
! #------------------------------------------------------------------------------#
  # which OS to compile for
  UNAME := $(shell uname -s)
--- 31,39 ----
  # <hans at at.or.at>
  
! #==============================================================================#
! #
! ## PLATFORM-SPECIFIC SETTINGS
! #
! #==============================================================================#
  # which OS to compile for
  UNAME := $(shell uname -s)
***************
*** 50,53 ****
--- 57,67 ----
  endif
  
+ 
+ #==============================================================================#
+ #
+ # DIRECTORY STRUCTURE
+ #
+ #==============================================================================#
+ 
  # sources
  ABSTRACTIONS_SRC = $(SRC_ROOT_DIR)/abstractions
***************
*** 68,74 ****
  MANUALS_DEST = $(DOCS_DEST)/manuals
  
! #------------------------------------------------------------------------------#
  # DIRECTORY STRUCTURE TARGETS
! #------------------------------------------------------------------------------#
  # first make sure that the directory structure is setup
  $(INSTALL_PREFIX):
--- 82,92 ----
  MANUALS_DEST = $(DOCS_DEST)/manuals
  
! 
! #==============================================================================#
! #
  # DIRECTORY STRUCTURE TARGETS
! #
! #==============================================================================#
! 
  # first make sure that the directory structure is setup
  $(INSTALL_PREFIX):
***************
*** 89,90 ****
--- 107,186 ----
  $(OBJECTS_DEST): $(INSTALL_PREFIX)
  	install -d $(OBJECTS_DEST)
+ 
+ 
+ #==============================================================================#
+ #
+ # CLEAN TARGETS
+ #
+ #==============================================================================#
+ 
+ applications_clean:
+ 	-rm -f -- $(APPLICATIONS_DEST)/*/*/*/*/*.*
+ 	-rm -f -- $(APPLICATIONS_DEST)/*/*/*/*.*
+ 	-rm -f -- $(APPLICATIONS_DEST)/*/*/*.*
+ 	-rm -f -- $(APPLICATIONS_DEST)/*/*.*
+ 	-rmdir $(APPLICATIONS_DEST)/*/*/*/*
+ 	-rmdir $(APPLICATIONS_DEST)/*/*/*
+ 	-rmdir $(APPLICATIONS_DEST)/*/*
+ 	-rmdir $(APPLICATIONS_DEST)/*
+ 	-rmdir $(APPLICATIONS_DEST)
+ 
+ 
+ help_clean:
+ 	-rm -f -- $(HELP_DEST)/*/*/*.*
+ 	-rm -f -- $(HELP_DEST)/*/*.*
+ 	-rm -f -- $(HELP_DEST)/*.*
+ 	-rmdir $(HELP_DEST)/*/*
+ 	-rmdir $(HELP_DEST)/*
+ 	-rmdir $(HELP_DEST)
+ 
+ 
+ manuals_clean:
+ 	-rm -f -- $(MANUALS_DEST)/*/*/*.*
+ 	-rm -f -- $(MANUALS_DEST)/*/*.*
+ 	-rmdir $(MANUALS_DEST)/*/*
+ 	-rmdir $(MANUALS_DEST)/*
+ 	-rmdir $(MANUALS_DEST)
+ 
+ 
+ objects_clean:
+ 	-rm $(OBJECTS_DEST)/*/*/*.pd
+ 	-rm $(OBJECTS_DEST)/*/*.pd
+ 	-rm $(OBJECTS_DEST)/*.pd 
+ 	-rm $(OBJECTS_DEST)/*/*/*.$(EXTENSION)
+ 	-rm $(OBJECTS_DEST)/*/*.$(EXTENSION)
+ 	-rm $(OBJECTS_DEST)/*.$(EXTENSION)
+ 	-rmdir $(OBJECTS_DEST)/*/*
+ 	-rmdir $(OBJECTS_DEST)/*
+ 	-rmdir $(OBJECTS_DEST)
+ 
+ 
+ install_clean: applications_clean help_clean manuals_clean objects_clean
+ 	-rmdir $(DOCS_DEST)
+ 	-rmdir $(INSTALL_PREFIX)
+ 	@echo " "
+ 	@echo "Build destination cleaned: $(INSTALL_PREFIX)"
+ 
+ 
+ cruft_clean:
+ # emacs litter
+ 	-rm -f -- */*/*/*/*.*~
+ 	-rm -f -- */*/*/*.*~
+ 	-rm -f -- */*/*.*~
+ 	-rm -f -- */*.*~
+ 	-rm -f -- *.*~
+ 	-rm -f -- Makefile~ Makefile.buildlayout~
+ # sed replace litter
+ 	-rm -f -- */*/*/*/*.*.bak
+ 	-rm -f -- */*/*/*.*.bak
+ 	-rm -f -- */*/*.*.bak
+ 	-rm -f -- */*.*.bak
+ 	-rm -f -- *.*.bak
+ # autoconf cache
+ 	-rm -rf -- */*/*/*/autom4te.cache
+ 	-rm -rf -- */*/*/autom4te.cache
+ 	-rm -rf -- */*/autom4te.cache
+ 	-rm -rf -- */autom4te.cache
+ 	-rm -rf -- autom4te.cache
+ 
+ 





More information about the Pd-cvs mailing list