diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-05-27 10:53:14 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-05-27 10:53:14 +0000 |
commit | 8495e66d1bcfd5a9ea6a183adc2e1a270550cfa8 (patch) | |
tree | 69caa0de8f07dd4971f879277a6c972852131108 /externals | |
parent | 3675105bd6db9a2dfc0623731142e2b145c8c931 (diff) |
turned on gdb debugging flags; added corelibs to Pd-extended bulid system, doesn't build by default yet
svn path=/trunk/; revision=5141
Diffstat (limited to 'externals')
-rw-r--r-- | externals/Makefile | 43 | ||||
-rw-r--r-- | externals/TODO | 1 |
2 files changed, 38 insertions, 6 deletions
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 #------------------------------------------------------------------------------# @@ -286,6 +286,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 # ead* are compiled separately @@ -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: |