[PD-cvs] externals Makefile,1.49,1.50

Hans-Christoph Steiner eighthave at users.sourceforge.net
Tue Apr 11 18:27:12 CEST 2006


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

Modified Files:
	Makefile 
Log Message:
turned iemlib into a more proper libdir, there are still some issues, like the C files with a prepended sig on the name, and the help file path being hard-coded in the files (hence iemhelp dir);  fixed pddp target to install required .tcl files for pddplink

Index: Makefile
===================================================================
RCS file: /cvsroot/pure-data/externals/Makefile,v
retrieving revision 1.49
retrieving revision 1.50
diff -C2 -d -r1.49 -r1.50
*** Makefile	10 Apr 2006 19:21:06 -0000	1.49
--- Makefile	11 Apr 2006 16:27:10 -0000	1.50
***************
*** 663,707 ****
  
  
- #------------------------------------------------------------------------------#
- # IEMABS
- IEMABS_NAME=iemabs
- iemabs:
- 
- 
- iemabs_install: iemabs
- #  iemabs still has the help patches in the old help-*.pd style
- 	install -d $(objectsdir)/$(IEMABS_NAME)
- 	$(scripts_src)/generate-libdir-metafile.sh $(objectsdir) $(IEMABS_NAME) \
- 		--description "a collection of objects written at IEM/KUG"
- 	cd $(externals_src)/iemlib/iemabs/ && \
- 		install -p $(shell cd $(externals_src)/iemlib/iemabs/ && ls -1 *.pd | \
- 			grep -v 'help') $(objectsdir)/$(IEMABS_NAME)
- 	install -d $(helpdir)/$(IEMABS_NAME)
- 	cd $(externals_src)/iemlib/iemabs/ && \
- 		install -p *help*.pd $(helpdir)/$(IEMABS_NAME)
- 	install -p $(externals_src)/iemlib/iemabs/*.mp3 $(helpdir)/$(IEMABS_NAME)
- 	install -p $(externals_src)/iemlib/iemabs/*.wav $(helpdir)/$(IEMABS_NAME)
- 	install -d $(manualsdir)/$(IEMABS_NAME)
- 	install -p $(externals_src)/iemlib/iemabs/*.txt \
- 		$(manualsdir)/$(IEMABS_NAME)
- 
- 
  
  #------------------------------------------------------------------------------#
  # IEMLIB
  IEMLIB_NAME=iemlib
! iemlib:
! 
  
  iemlib_install: iemlib
! #	install -d $(objectsdir)/$(IEMLIB_NAME)
! #	install -d $(helpdir)/$(IEMLIB_NAME)
  	install -d $(helpdir)/iemhelp
  	install -p $(externals_src)/iemlib/iemhelp/*.* $(helpdir)/iemhelp
- #	install -d $(manualsdir)/$(IEMLIB_NAME)
  	install -d $(examplesdir)/$(IEMLIB_NAME)
  	install -p $(externals_src)/iemlib/examples/*.* \
  		$(examplesdir)/$(IEMLIB_NAME)
  
  
  
--- 663,711 ----
  
  
  
  #------------------------------------------------------------------------------#
  # IEMLIB
  IEMLIB_NAME=iemlib
! IEMLIB_OBJECTS := $(wildcard $(externals_src)/iemlib/src/iem_t3_lib/[st]*.c) \
! $(wildcard $(externals_src)/iemlib/src/iem_mp3/[a-hj-z]*.c) \
! $(wildcard $(externals_src)/iemlib/src/iemlib1/[a-hj-z]*.c) \
! $(wildcard $(externals_src)/iemlib/src/iemlib2/[a-hj-z]*.c)
! iemlib: $(IEMLIB_OBJECTS:.c=.$(EXTENSION))
  
  iemlib_install: iemlib
! 	install -d $(objectsdir)/$(IEMLIB_NAME)
! 	$(scripts_src)/generate-libdir-metafile.sh $(objectsdir) $(IEMLIB_NAME) \
! 		--description "a collection of objects written at IEM/KUG" \
! 		--license "GNU GPL"
! 	install -p $(IEMLIB_OBJECTS:.c=.$(EXTENSION)) $(objectsdir)/$(IEMLIB_NAME)
! 	cd $(externals_src)/iemlib/iemabs/ && \
! 		install -p $(shell cd $(externals_src)/iemlib/iemabs/ && ls -1 *.pd | \
! 			grep -v 'help') $(objectsdir)/$(IEMLIB_NAME)
! #  iemabs still has the help patches in the old help-*.pd style
! 	install -d $(helpdir)/$(IEMLIB_NAME)
! 	install -p $(externals_src)/iemlib/iemabs/*help*.pd $(helpdir)/$(IEMLIB_NAME)
! 	install -p $(externals_src)/iemlib/iemabs/*.mp3 $(helpdir)/$(IEMLIB_NAME)
! 	install -p $(externals_src)/iemlib/iemabs/*.wav $(helpdir)/$(IEMLIB_NAME)
! # iemlib objects have their help path hard-coded :(
  	install -d $(helpdir)/iemhelp
  	install -p $(externals_src)/iemlib/iemhelp/*.* $(helpdir)/iemhelp
  	install -d $(examplesdir)/$(IEMLIB_NAME)
  	install -p $(externals_src)/iemlib/examples/*.* \
  		$(examplesdir)/$(IEMLIB_NAME)
+ 	install -d $(manualsdir)/$(IEMLIB_NAME)
+ 	install -p $(externals_src)/iemlib/iemabs/*.txt \
+ 		$(manualsdir)/$(IEMLIB_NAME)
  
+ iemlib_clean: 
+ 	-rm -f -- $(IEMLIB_OBJECTS:.c=.$(EXTENSION))
+ 	-rmdir -- $(objectsdir)/$(IEMLIB_NAME)
+ 	-rm -f -- $(helpdir)/$(IEMLIB_NAME)/*.*
+ 	-rmdir -- $(helpdir)/$(IEMLIB_NAME)
+ 	-rm -f -- $(helpdir)/iemhelp/*.*
+ 	-rmdir -- $(helpdir)/iemhelp
+ 	-rm -f -- $(examplessdir)/$(IEMLIB_NAME)/*.*
+ 	-rmdir -- $(examplessdir)/$(IEMLIB_NAME)
+ 	-rm -f -- $(manualsdir)/$(IEMLIB_NAME)/*.*
+ 	-rmdir -- $(manualsdir)/$(IEMLIB_NAME)
  
  
***************
*** 939,944 ****
  # PDDP
  PDDP_NAME=pddp
- # pddp is compiled straight into $(OUT_DIR)
- PDDP_OUT_DIR=$(objectsdir)/$(PDDP_NAME)
  pddp:
  
--- 943,946 ----
***************
*** 950,955 ****
  #		--license "BSD" \
  #		--description "objects for working with Tcl and Pd's Tk GUI"
  	cd $(externals_src)/miXed/pddp && $(MAKE) \
! 		OUT_DIR=$(objectsdir)/$(PDDP_NAME_DIR)
  #	install -d $(helpdir)/$(PDDP_NAME)
  #	install -d $(manualsdir)/$(PDDP_NAME)
--- 952,961 ----
  #		--license "BSD" \
  #		--description "objects for working with Tcl and Pd's Tk GUI"
+ # pddp is compiled straight into $(OUT_DIR)
  	cd $(externals_src)/miXed/pddp && $(MAKE) \
! 		OUT_DIR=$(objectsdir)/$(PDDP_NAME)
! 	install -d $(objectsdir)/$(PDDP_NAME)/pddp
! 	install -p $(externals_src)/miXed/bin/pddp/*.tcl \
! 		$(objectsdir)/$(PDDP_NAME)/pddp
  #	install -d $(helpdir)/$(PDDP_NAME)
  #	install -d $(manualsdir)/$(PDDP_NAME)





More information about the Pd-cvs mailing list