[PD-cvs] externals Makefile,1.59,1.60
Hans-Christoph Steiner
eighthave at users.sourceforge.net
Thu May 25 19:06:40 CEST 2006
Update of /cvsroot/pure-data/externals
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11670
Modified Files:
Makefile
Log Message:
finally made an 'hcs' target, I guess my grab bag is something of a lib; fixed up cred to compile in the standard, easy way
Index: Makefile
===================================================================
RCS file: /cvsroot/pure-data/externals/Makefile,v
retrieving revision 1.59
retrieving revision 1.60
diff -C2 -d -r1.59 -r1.60
*** Makefile 28 Apr 2006 23:58:08 -0000 1.59
--- Makefile 25 May 2006 17:06:37 -0000 1.60
***************
*** 39,43 ****
#==============================================================================#
! OPT_CFLAGS = -O3 -funroll-loops -fomit-frame-pointer
# this variable is to support old "win" directories, rather than "windows"
--- 39,45 ----
#==============================================================================#
! DEBUG_CFLAGS = -ggdb
!
! OPT_CFLAGS = -O3 -funroll-loops -fomit-frame-pointer $(DEBUG_CFLAGS)
# this variable is to support old "win" directories, rather than "windows"
***************
*** 288,309 ****
CREB_NAME=creb
# ead* are compiled separately
! CREB_OBJECTS := $(wildcard $(externals_src)/creb/modules/[a-df-z]*.c) \
! $(externals_src)/creb/modules/eblosc.c
# haven't figured these out yet
#CREB_CXXOBJECTS := $(wildcard $(externals_src)/creb/modules++/*.cc)
! # these are built separately since they made from a number of files
! CREB_EA_OBJECTS = $(wildcard $(externals_src)/creb/modules/ea*.c)
! CREB_ENVELOPE_UTIL = $(externals_src)/creb/system/envelope_util.c
! $(CREB_OBJECTS:.c=.o):
! $(CREB_ENVELOPE_UTIL:.c=.o):
! $(CC) $(CFLAGS) -I$(externals_src)/creb/include -o $*.o -c $*.c
!
! $(patsubst %.c,%~.$(EXTENSION),$(CREB_EA_OBJECTS)): $(CREB_ENVELOPE_UTIL:.c=.o)
! $(CC) $(LDFLAGS) -o $*.$(EXTENSION) $(CREB_ENVELOPE_UTIL:.c=.o) $(LIBS)
! chmod a-x $*.$(EXTENSION)
!
! creb: $(patsubst %.c,%~.$(EXTENSION),$(CREB_EA_OBJECTS)) \
! $(CREB_OBJECTS:.c=.$(EXTENSION)) $(CREB_CXXOBJECTS:.cc=.$(EXTENSION))
creb_install: creb
--- 290,298 ----
CREB_NAME=creb
# ead* are compiled separately
! CREB_OBJECTS := $(wildcard $(externals_src)/creb/modules/*.c)
# haven't figured these out yet
#CREB_CXXOBJECTS := $(wildcard $(externals_src)/creb/modules++/*.cc)
! creb: $(CREB_OBJECTS:.c=.$(EXTENSION)) $(CREB_CXXOBJECTS:.cc=.$(EXTENSION))
creb_install: creb
***************
*** 609,612 ****
--- 598,634 ----
+ #------------------------------------------------------------------------------#
+ # HCS
+ HCS_NAME=hcs
+ HCS_OBJECTS := $(wildcard $(externals_src)/hcs/*.c)
+ hcs: $(HCS_OBJECTS:.c=.$(EXTENSION))
+
+ hcs_install: hcs
+ install -d $(objectsdir)/$(HCS_NAME)
+ $(scripts_src)/generate-libdir-metafile.sh $(objectsdir) $(HCS_NAME) \
+ --author "Hans-Christoph Steiner <hans at at.or.at>" \
+ --description "" \
+ --license "GNU GPL" \
+ --version ""
+ install -p $(HCS_OBJECTS:.c=.$(EXTENSION)) $(objectsdir)/$(HCS_NAME)
+ install -d $(helpdir)/$(HCS_NAME)
+ install -p $(externals_src)/hcs/help/*.pd \
+ $(helpdir)/$(HCS_NAME)
+ # install -d $(manualsdir)/$(HCS_NAME)
+ # install -p $(externals_src)/hcs/manual.txt \
+ # $(manualsdir)/$(HCS_NAME)
+ install -p $(externals_src)/hcs/README \
+ $(readmesdir)/$(HCS_NAME).txt
+ install -d $(examplesdir)/$(HCS_NAME)
+ install -p $(externals_src)/hcs/examples/*.pd \
+ $(examplesdir)/$(HCS_NAME)
+
+ hcs_clean:
+ -rm -f -- $(HCS_OBJECTS:.c=.$(EXTENSION))
+ -rm -f -- $(HCS_OBJECTS:.c=.o)
+ -rm -f -- $(externals_src)/hcs/*.bak
+ -rm -f -- $(externals_src)/hcs/*.*~
+
+
#------------------------------------------------------------------------------#
More information about the Pd-cvs
mailing list