aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2005-03-04 04:56:26 +0000
committerThomas Grill <xovo@users.sourceforge.net>2005-03-04 04:56:26 +0000
commitd51efebfef9fec07262b9d0b526bb2ad67a1eb17 (patch)
treec68cc55c0400d1b854e77fc0879a3f7c1e444769 /externals/grill/flext
parentc4e77db01f4cc3abea4ae612ee38071dffb4cc18 (diff)
fixed shared library versioning
library versioning for linux fixed eol-style svn path=/trunk/; revision=2597
Diffstat (limited to 'externals/grill/flext')
-rw-r--r--externals/grill/flext/buildsys/lnx/gnumake-gcc-ext.inc2
-rw-r--r--externals/grill/flext/buildsys/lnx/gnumake-gcc-flext.inc12
-rw-r--r--externals/grill/flext/buildsys/lnx/gnumake-gcc.inc3
-rw-r--r--externals/grill/flext/notes.txt4
-rw-r--r--externals/grill/flext/package.txt2
5 files changed, 20 insertions, 3 deletions
diff --git a/externals/grill/flext/buildsys/lnx/gnumake-gcc-ext.inc b/externals/grill/flext/buildsys/lnx/gnumake-gcc-ext.inc
index 22314356..b3a20f16 100644
--- a/externals/grill/flext/buildsys/lnx/gnumake-gcc-ext.inc
+++ b/externals/grill/flext/buildsys/lnx/gnumake-gcc-ext.inc
@@ -1,5 +1,7 @@
# build class specific settings
+TARGET=$(TARGETPATH)/$(OUTNAME).$(EXT)
+
INCPATH += -I$(FLEXTINC)
LIBPATH += -L$(FLEXTLIB) -L$(FLEXTSHLIB)
LIBS += -l$(FLEXTNAME)
diff --git a/externals/grill/flext/buildsys/lnx/gnumake-gcc-flext.inc b/externals/grill/flext/buildsys/lnx/gnumake-gcc-flext.inc
index 9f587cfc..93db3313 100644
--- a/externals/grill/flext/buildsys/lnx/gnumake-gcc-flext.inc
+++ b/externals/grill/flext/buildsys/lnx/gnumake-gcc-flext.inc
@@ -1,5 +1,12 @@
# build class specific settings
+ifdef SHARED
+SONAME=$(OUTNAME).$(EXT)
+TARGET=$(TARGETPATH)/$(OUTNAME).$(PKGVERSION).$(EXT)
+else
+TARGET=$(TARGETPATH)/$(OUTNAME).$(EXT)
+endif
+
##############################################
# default target
@@ -21,7 +28,7 @@ $(TARGET) :: $(TARGETPATH)
$(TARGET) :: $(COBJS) $(CPPOBJS)
ifdef SHARED
- $(CXX) $(LDFLAGS) $(LIBPATH) -o $@ $(COBJS) $(CPPOBJS) $(LIBS)
+ $(CXX) $(LDFLAGS) $(LIBPATH) -o $@ -Wl,-soname,$(SONAME) $(COBJS) $(CPPOBJS) $(LIBS)
chmod 755 $@
ifndef DEBUG
ifndef PROFILE
@@ -53,4 +60,7 @@ $(FLEXTLIBINST):
_install_: $(FLEXTINC) $(FLEXTLIBINST)
install $(TARGET) $(FLEXTLIBINST)
+ifdef SHARED
+ ldconfig -l $(TARGET)
+endif
install $(patsubst %,$(SRCDIR)/%,$(HDRS)) $(FLEXTINC)
diff --git a/externals/grill/flext/buildsys/lnx/gnumake-gcc.inc b/externals/grill/flext/buildsys/lnx/gnumake-gcc.inc
index 4be5953d..08945e71 100644
--- a/externals/grill/flext/buildsys/lnx/gnumake-gcc.inc
+++ b/externals/grill/flext/buildsys/lnx/gnumake-gcc.inc
@@ -2,11 +2,10 @@
OBJPATH=$(OUTPATH)/$(OUTSUB)
TARGETPATH=$(OBJPATH)
-TARGET=$(TARGETPATH)/$(OUTNAME).$(EXT)
##############################################
-CFLAGS += -pthread
+CFLAGS += -pthread -fPIC
LDFLAGS += -pthread -shared -Wl,-x
##############################################
diff --git a/externals/grill/flext/notes.txt b/externals/grill/flext/notes.txt
index 4833b7e6..97fefdeb 100644
--- a/externals/grill/flext/notes.txt
+++ b/externals/grill/flext/notes.txt
@@ -30,11 +30,15 @@ KNOWN BUGS:
there must be a CFM signal external loaded beforehand!!! (Max will crash otherwise)
-> i think this is fixed in Max in the meantime!
+- PD: floats into the leftmost inlet of DSP objects can't be used as messages
+ even if there's no signal inlet at all
+
----------------------------------------------------------------------------
TODO LIST:
- optimizations for object initialization and messaging
+- speed up message handling (usage of other containers?)
- SIMD for gcc
- update documentation
diff --git a/externals/grill/flext/package.txt b/externals/grill/flext/package.txt
index a4886ef2..e3fcdb60 100644
--- a/externals/grill/flext/package.txt
+++ b/externals/grill/flext/package.txt
@@ -16,6 +16,8 @@
NAME=flext
+PKGVERSION=0.5.0
+
BUILDCLASS=flext
BUILDMODE=all
BUILDTYPE=all