Update of /cvsroot/pure-data/externals In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10494
Modified Files: Makefile Log Message: + updated moocow rules
Index: Makefile =================================================================== RCS file: /cvsroot/pure-data/externals/Makefile,v retrieving revision 1.153 retrieving revision 1.154 diff -C2 -d -r1.153 -r1.154 *** Makefile 3 Aug 2007 00:03:08 -0000 1.153 --- Makefile 3 Aug 2007 11:14:06 -0000 1.154 *************** *** 1552,1566 ****
#------------------------------------------------------------------------------# ! # moocow MOOCOW_NAME=moocow #MOOCOW_OBJECTS := $(shell cat $(externals_src)/moocow/extended/objects) MOOCOW_DIR=$(externals_src)/moocow/extended
$(externals_src)/moocow/extended/build.stamp: ! $(MAKE) -C $(MOOCOW_DIR) build.stamp
moocow: $(MOOCOW_DIR)/build.stamp
! moocow_install: moocow install -d $(objectsdir)/$(MOOCOW_NAME) $(scripts_src)/generate-libdir-metafile.sh $(objectsdir) $(MOOCOW_NAME) \ --- 1552,1575 ----
#------------------------------------------------------------------------------# ! # MOOCOW MOOCOW_NAME=moocow #MOOCOW_OBJECTS := $(shell cat $(externals_src)/moocow/extended/objects) MOOCOW_DIR=$(externals_src)/moocow/extended + MOOCOW_BUILD=$(MOOCOW_DIR)/build.moo + + ##-- pass some variables on to sub-make + ## + we should probably just use make's "export" for this, + ## maybe even exporting all variables by default... + MOOCOW_MAKEFLAGS = \ + CFLAGS="$(CFLAGS)" \ + pd_src="$(pd_src)"
$(externals_src)/moocow/extended/build.stamp: ! $(MAKE) -C $(MOOCOW_DIR) $(MOOCOW_MAKEFLAGS) build.stamp \ ! || echo "moocow: WARNING: build failed"
moocow: $(MOOCOW_DIR)/build.stamp
! moocow_install: install -d $(objectsdir)/$(MOOCOW_NAME) $(scripts_src)/generate-libdir-metafile.sh $(objectsdir) $(MOOCOW_NAME) \ *************** *** 1569,1594 **** --license "GNU GPL" \ --version "CVS.`date +%Y-%m-%d`" ! install -p $(MOOCOW_DIR)/build/*/*.$(EXTENSION) \ ! $(objectsdir)/$(MOOCOW_NAME) install -d $(helpdir)/$(MOOCOW_NAME) ! install -p $(MOOCOW_DIR)/build/doc/5.reference/*.pd \ ! $(helpdir)/$(MOOCOW_NAME) # install -d $(manualsdir)/$(MOOCOW_NAME) # install -p $(externals_src)/moocow/manual.txt \ ! # $(manualsdir)/$(MOOCOW_NAME) install -d $(readmesdir) install -p $(MOOCOW_DIR)/README.txt \ ! $(readmesdir)/$(MOOCOW_NAME).txt # install -d $(examplesdir)/$(MOOCOW_NAME) ! # install -p $(MOOCOW_DIR)/build/examples/*.pd \ ! # $(examplesdir)/$(MOOCOW_NAME)
moocow_clean: ! $(MAKE) -C $(externals_src)/moocow/extended cvsclean ! -rm -f -- $(MOOCOW_OBJECTS:.c=.$(EXTENSION)) ! -rm -f -- $(MOOCOW_OBJECTS:.c=.o) ! -rm -f -- $(externals_src)/moocow/*.bak ! -rm -f -- $(externals_src)/moocow/*.*~ !
--- 1578,1608 ---- --license "GNU GPL" \ --version "CVS.`date +%Y-%m-%d`" ! install -p $(MOOCOW_BUILD)/ext*/*.$(EXTENSION) \ ! $(objectsdir)/$(MOOCOW_NAME) \ ! || echo 'moocow_install: WARNING: no library externals to install!' ! install -p $(MOOCOW_BUILD)/ext*/*.pd \ ! $(objectsdir)/$(MOOCOW_NAME) \ ! || echo 'moocow_install: WARNING: no library patches to install!' install -d $(helpdir)/$(MOOCOW_NAME) ! install -p $(MOOCOW_BUILD)/doc/5.reference/*.pd \ ! $(helpdir)/$(MOOCOW_NAME) \ ! || echo 'moocow_install: WARNING: no help patches to install!' # install -d $(manualsdir)/$(MOOCOW_NAME) # install -p $(externals_src)/moocow/manual.txt \ ! # $(manualsdir)/$(MOOCOW_NAME) \ ! # || echo 'moocow_install: WARNING: no manuals to install!' install -d $(readmesdir) install -p $(MOOCOW_DIR)/README.txt \ ! $(readmesdir)/$(MOOCOW_NAME).txt \ ! || echo 'moocow_install: WARNING: no README to install!' # install -d $(examplesdir)/$(MOOCOW_NAME) ! # install -p $(MOOCOW_BUILD)/examples/*.pd \ ! # $(examplesdir)/$(MOOCOW_NAME) \ ! # || echo "moocow_install: WARNING: no examples patches to install!"
moocow_clean: ! $(MAKE) -C $(externals_src)/moocow/extended distclean ! -rm -f -- $(MOOCOW_DIR)/*.bak ! -rm -f -- $(MOOCOW_DIR)/*.*~