[PD-cvs] externals Makefile,1.33,1.34

Hans-Christoph Steiner eighthave at users.sourceforge.net
Tue Jan 17 07:24:20 CET 2006


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

Modified Files:
	Makefile 
Log Message:
made the LIB_TARGETS customizable based on platform since some libs don't compile on all platforms (yet), most notable hid, pdp, and pidip.  ALso, excluded some troubleshome unauthorized objects

Index: Makefile
===================================================================
RCS file: /cvsroot/pure-data/externals/Makefile,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -d -r1.33 -r1.34
*** Makefile	17 Jan 2006 05:40:42 -0000	1.33
--- Makefile	17 Jan 2006 06:24:18 -0000	1.34
***************
*** 101,108 ****
  
  # if your library isn't included here, it won't be built with Pd-extended
! LIB_TARGETS = buildsrc creb cxc cyclone ext13 freeverb hid iemabs iemlib \
! iemmatrix loaders markex maxlib mjlib motex oscx pddp pdogg pdp pmpd \
  sigpack smlib toxy unauthorized vbap zexy
  
  
  all: pre_all_$(OS_NAME) buildsrc $(LIB_TARGETS)
--- 101,119 ----
  
  # if your library isn't included here, it won't be built with Pd-extended
! LIB_TARGETS = buildsrc creb cxc cyclone ext13 freeverb iemabs iemlib \
! iemmatrix loaders markex maxlib mjlib motex oscx pddp pdogg pmpd \
  sigpack smlib toxy unauthorized vbap zexy
  
+ # this is for libraries that don't compile (yet) on all platforms
+ ifeq ($(OS_NAME),windows)
+   LIB_TARGETS += 
+ else
+   ifeq ($(OS_NAME),darwin)
+     LIB_TARGETS += hid pdp 
+   else
+     LIB_TARGETS += hid pdp pidip
+   endif
+ endif
+ 
  
  all: pre_all_$(OS_NAME) buildsrc $(LIB_TARGETS)
***************
*** 981,986 ****
  	bash $(externals_src)/unauthorized/tk2c.bash < $*.tk > $*.tk2c
  
! # [cooled~] doesn't compile under MinGW (yet)
! UNAUTHORIZED_OBJECTS := $(wildcard $(externals_src)/unauthorized/[a-sw-z]*/*.c)
  
  # [vocoder~] is built separately since its made from a number of files
--- 992,999 ----
  	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
***************
*** 1134,1137 ****
--- 1147,1153 ----
  	@echo "MANUALSDIR  $(manualsdir)"
  	@echo "EXAMPLESDIR  $(examplesdir)"
+ 	@echo " "
+ 	@echo "Compiling these libs:"
+ 	@echo "$(LIB_TARGETS)"
  
  





More information about the Pd-cvs mailing list