[PD-cvs] externals Makefile,1.84,1.85

Hans-Christoph Steiner eighthave at users.sourceforge.net
Wed Sep 13 02:50:52 CEST 2006


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

Modified Files:
	Makefile 
Log Message:
made platform-specific object targets for unauthorized since they break a lot on Mac OS X and MinGW

Index: Makefile
===================================================================
RCS file: /cvsroot/pure-data/externals/Makefile,v
retrieving revision 1.84
retrieving revision 1.85
diff -C2 -d -r1.84 -r1.85
*** Makefile	27 Aug 2006 02:06:12 -0000	1.84
--- Makefile	13 Sep 2006 00:50:50 -0000	1.85
***************
*** 107,112 ****
  			cat $(dir $*)../$(BUILDSRC_OS_NAME)/$(notdir $*).libs`
  	chmod a-x "$*.$(EXTENSION)"
! #	$(STRIP) $*.$(EXTENSION)
! #	rm -f -- $*.o
  
  
--- 107,112 ----
  			cat $(dir $*)../$(BUILDSRC_OS_NAME)/$(notdir $*).libs`
  	chmod a-x "$*.$(EXTENSION)"
! 	$(STRIP) $*.$(EXTENSION)
! 	rm -f -- $*.o
  
  
***************
*** 1850,1857 ****
  	bash $(externals_src)/unauthorized/tk2c.bash < $*.tk > $*.tk2c
  
! # [cooled~] doesn't compile under MinGW (yet) and it crashes Pd on Mac OS X,
! # so its excluded from the build here
! UNAUTHORIZED_OBJECTS := $(wildcard $(externals_src)/unauthorized/[a-bd-uw-z]*/*.c) \
  $(wildcard $(externals_src)/unauthorized/c?[a-np-z]*/*.c)
  
  # [vocoder~] is built separately since its made from a number of files
--- 1850,1869 ----
  	bash $(externals_src)/unauthorized/tk2c.bash < $*.tk > $*.tk2c
  
! # a number of objects don't compile under MinGW (yet? they used to, but the
! # needed changes were overwritten, so they are in CVS
! ifeq ($(OS_NAME),windows)
! UNAUTHORIZED_OBJECTS := $(wildcard $(externals_src)/unauthorized/[abdg-oqrw]*/*.c)\
  $(wildcard $(externals_src)/unauthorized/c?[a-np-z]*/*.c)
+ else
+  ifeq ($(OS_NAME),darwin)
+  # [cooled~] crashes Pd on Mac OS X, [vocoder~] doesn't compile
+   UNAUTHORIZED_OBJECTS := $(wildcard $(externals_src)/unauthorized/[abd-uw-z]*/*.c)\
+   $(wildcard $(externals_src)/unauthorized/c?[a-np-z]*/*.c)
+  else
+    # GNU/Linux, BSD, IRIX, etc.
+   UNAUTHORIZED_OBJECTS := $(wildcard $(externals_src)/unauthorized/*/*.c)
+  endif
+ endif
+ 
  
  # [vocoder~] is built separately since its made from a number of files





More information about the Pd-cvs mailing list