From 8495e66d1bcfd5a9ea6a183adc2e1a270550cfa8 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sat, 27 May 2006 10:53:14 +0000 Subject: turned on gdb debugging flags; added corelibs to Pd-extended bulid system, doesn't build by default yet svn path=/trunk/; revision=5141 --- externals/Makefile | 43 ++++++++++++++++++++++++++++++++++++++----- externals/TODO | 1 - 2 files changed, 38 insertions(+), 6 deletions(-) (limited to 'externals') diff --git a/externals/Makefile b/externals/Makefile index 52b8c5cb..42c8cec4 100644 --- a/externals/Makefile +++ b/externals/Makefile @@ -40,12 +40,12 @@ DEST_PATHS = BUILDLAYOUT_DIR=$(BUILDLAYOUT_DIR) \ DEBUG_CFLAGS = -ggdb -OPT_CFLAGS = -O3 -funroll-loops -fomit-frame-pointer $(DEBUG_CFLAGS) +OPT_CFLAGS = -O3 -funroll-loops -fomit-frame-pointer # this variable is to support old "win" directories, rather than "windows" BUILDSRC_OS_NAME = $(OS_NAME) -CFLAGS = -DPD $(OPT_CFLAGS) -I$(pd_src)/src -Wall -W +CFLAGS = -DPD $(OPT_CFLAGS) -I$(pd_src)/src -Wall -W $(DEBUG_CFLAGS) LDFLAGS = LIBS = -lm @@ -101,8 +101,8 @@ CXXFLAGS = $(CFLAGS) `test -f $(dir $*)../$(BUILDSRC_OS_NAME)/$(notdir $*).libs && \ cat $(dir $*)../$(BUILDSRC_OS_NAME)/$(notdir $*).libs` chmod a-x "$*.$(EXTENSION)" - $(STRIP) $*.$(EXTENSION) - rm -f -- $*.o +# $(STRIP) $*.$(EXTENSION) +# rm -f -- $*.o #------------------------------------------------------------------------------# @@ -285,6 +285,40 @@ bsaylor_clean: +#------------------------------------------------------------------------------# +# CORELIBS +CORELIBS_NAME=corelibs +CORELIBS_OBJECTS := $(wildcard $(externals_src)/corelibs/*.c) +corelibs: $(CORELIBS_OBJECTS:.c=.$(EXTENSION)) + +corelibs_install: corelibs + install -d $(objectsdir)/$(CORELIBS_NAME) + $(scripts_src)/generate-libdir-metafile.sh $(objectsdir) $(CORELIBS_NAME) \ + --author "" \ + --description "" \ + --license "" \ + --version "" + install -p $(CORELIBS_OBJECTS:.c=.$(EXTENSION)) $(objectsdir)/$(CORELIBS_NAME) + install -d $(helpdir)/$(CORELIBS_NAME) + install -p $(externals_src)/corelibs/help/*.pd \ + $(helpdir)/$(CORELIBS_NAME) +# install -d $(manualsdir)/$(CORELIBS_NAME) +# install -p $(externals_src)/corelibs/manual.txt \ +# $(manualsdir)/$(CORELIBS_NAME) + install -p $(externals_src)/corelibs/README \ + $(readmesdir)/$(CORELIBS_NAME).txt + install -d $(examplesdir)/$(CORELIBS_NAME) + install -p $(externals_src)/corelibs/examples/*.pd \ + $(examplesdir)/$(CORELIBS_NAME) + +corelibs_clean: + -rm -f -- $(CORELIBS_OBJECTS:.c=.$(EXTENSION)) + -rm -f -- $(CORELIBS_OBJECTS:.c=.o) + -rm -f -- $(externals_src)/corelibs/*.bak + -rm -f -- $(externals_src)/corelibs/*.*~ + + + #------------------------------------------------------------------------------# # CREB CREB_NAME=creb @@ -1093,7 +1127,6 @@ motex_clean: -rm -f -- $(externals_src)/motex/*.*~ - #---------------------------------------------------------------------------- # OSCx OSCX_NAME=oscx diff --git a/externals/TODO b/externals/TODO index 6d45af77..10f55ade 100644 --- a/externals/TODO +++ b/externals/TODO @@ -17,7 +17,6 @@ - put objects with conflicting names into a directory namespace Gem/scale - iem/prepend flext/prepend - add these to the build system: -- cgit v1.2.1