diff options
-rw-r--r-- | externals/grill/flext/buildsys/lnx/gnumake-gcc-ext.inc | 2 | ||||
-rw-r--r-- | externals/grill/flext/buildsys/lnx/gnumake-gcc-flext.inc | 12 | ||||
-rw-r--r-- | externals/grill/flext/buildsys/lnx/gnumake-gcc.inc | 3 | ||||
-rw-r--r-- | externals/grill/flext/notes.txt | 4 | ||||
-rw-r--r-- | externals/grill/flext/package.txt | 2 |
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 |