[PD-cvs] externals Makefile,1.19,1.20

Hans-Christoph Steiner eighthave at users.sourceforge.net
Tue Dec 13 22:49:51 CET 2005


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

Modified Files:
	Makefile 
Log Message:
fixed up clean/distclean a bit; moved OSCx into standard targets; added OPT_CFLAGS suppport

Index: Makefile
===================================================================
RCS file: /cvsroot/pure-data/externals/Makefile,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** Makefile	9 Dec 2005 06:44:29 -0000	1.19
--- Makefile	13 Dec 2005 21:49:49 -0000	1.20
***************
*** 38,43 ****
  #==============================================================================#
  
! 
! CFLAGS = -DPD -DUNIX -Dunix $(OPTIM_FLAGS) -I$(pd_src)/src\
      -Wall -W -Wno-unused -Wno-parentheses -Wno-switch -Wno-shadow \
  	-I$(pd_src)/src
--- 38,43 ----
  #==============================================================================#
  
! OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer
! CFLAGS = -DPD -DUNIX -Dunix $(OPT_CFLAGS) -I$(pd_src)/src\
      -Wall -W -Wno-unused -Wno-parentheses -Wno-switch -Wno-shadow \
  	-I$(pd_src)/src
***************
*** 48,52 ****
    CFLAGS += -I/sw/include
    LDFLAGS += -bundle -bundle_loader $(pd_src)/bin/pd -L/sw/lib
!   STRIP = strip -u -r
  else
    ifeq ($(OS_NAME),win)
--- 48,52 ----
    CFLAGS += -I/sw/include
    LDFLAGS += -bundle -bundle_loader $(pd_src)/bin/pd -L/sw/lib
!   STRIP = echo
  else
    ifeq ($(OS_NAME),win)
***************
*** 330,333 ****
--- 330,367 ----
  
  
+ 
+ #------------------------------------------------------------------------------#
+ # FRANKENSTEIN
+ FRANKENSTEIN_NAME=frankenstein
+ # exclude test.c since it is not used
+ FRANKENSTEIN_OBJECTS = $(wildcard $(externals_src)/frankenstein/*.c)
+ frankenstein: $(FRANKENSTEIN_OBJECTS:.c=.$(EXTENSION))
+ 
+ frankenstein_install: frankenstein
+ 	install -d $(objectsdir)/$(FRANKENSTEIN_NAME)
+ 	$(scripts_src)/generate-libdir-metafile.sh $(objectsdir) $(FRANKENSTEIN_NAME) \
+ 		--author "" \
+ 		--description "" \
+ 		--license "" \
+ 		--version ""
+ 	install -p $(FRANKENSTEIN_OBJECTS:.c=.$(EXTENSION)) $(objectsdir)/$(FRANKENSTEIN_NAME)
+ #	install -d $(helpdir)/$(FRANKENSTEIN_NAME)
+ #	install -p $(externals_src)/frankenstein/help/*.pd \
+ #		$(helpdir)/$(FRANKENSTEIN_NAME)
+ 	install -d $(manualsdir)/$(FRANKENSTEIN_NAME)
+ 	install -p $(externals_src)/frankenstein/doc/*.* \
+ 		$(manualsdir)/$(FRANKENSTEIN_NAME)
+ 	install -d $(examplesdir)/$(FRANKENSTEIN_NAME)
+ 	install -p $(externals_src)/frankenstein/patches/*.* \
+ 		$(examplesdir)/$(FRANKENSTEIN_NAME)
+ 
+ frankenstein_clean:
+ 	-rm -f -- $(externals_src)/frankenstein/*.$(EXTENSION)
+ 	-rm -f -- $(externals_src)/frankenstein/*.o
+ 	-rm -f -- $(externals_src)/frankenstein/*.bak
+ 	-rm -f -- $(externals_src)/frankenstein/*.*~
+ 
+ 
+ 
  #------------------------------------------------------------------------------#
  # FREEVERB
***************
*** 599,607 ****
  		(cd $(externals_src)/OSCx && ./configure)
  # these don't work on Windows yet
! 	-cd $(externals_src)/OSCx && $(MAKE) CC=gcc
  
! oscx_install:
  	install -d $(objectsdir)
! 	-install -p $(externals_src)/OSCx/src/*.$(EXTENSION) $(objectsdir)
  	install -d $(helpdir)
  	install -p $(externals_src)/OSCx/doc/*.* $(helpdir)
--- 633,641 ----
  		(cd $(externals_src)/OSCx && ./configure)
  # these don't work on Windows yet
! 	cd $(externals_src)/OSCx && $(MAKE) CC=gcc
  
! oscx_install: oscx
  	install -d $(objectsdir)
! 	install -p $(externals_src)/OSCx/src/*.$(EXTENSION) $(objectsdir)
  	install -d $(helpdir)
  	install -p $(externals_src)/OSCx/doc/*.* $(helpdir)
***************
*** 611,614 ****
--- 645,649 ----
  	-cd $(externals_src)/OSCx && make $(DEST_PATHS) clean
  	-cd $(externals_src)/OSCx && $(MAKE) CC=gcc clean
+ 	-rm $(externals_src)/OSCx/Makefile
  
  
***************
*** 901,912 ****
  
  # the destination-specific clean targets are in Makefile.buildlayout
! clean: creb_clean cxc_clean cyclone_clean ext13_clean freeverb_clean hid_clean loaders_clean markex_clean mjlib_clean motex_clean oscx_clean pddp_clean smlib_clean toxy_clean unauthorized_clean zexy_clean install_clean
  	-rm -f -- $(BUILDSRC_OBJECTS:.c=.o) 
  	-rm -f -- $(BUILDSRC_OBJECTS:.c=.$(EXTENSION)) 
  
- distclean: clean cruft_clean
- 	rm $(externals_src)/OSCx Makefile
- 
  
  
  
--- 936,945 ----
  
  # the destination-specific clean targets are in Makefile.buildlayout
! clean: creb_clean cxc_clean cyclone_clean ext13_clean frankenstein_clean freeverb_clean hid_clean loaders_clean markex_clean mjlib_clean motex_clean oscx_clean pddp_clean smlib_clean toxy_clean unauthorized_clean zexy_clean install_clean
  	-rm -f -- $(BUILDSRC_OBJECTS:.c=.o) 
  	-rm -f -- $(BUILDSRC_OBJECTS:.c=.$(EXTENSION)) 
  
  
+ distclean: clean cruft_clean
  
  





More information about the Pd-cvs mailing list