aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/buildsys/lnx/pd
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/flext/buildsys/lnx/pd')
-rw-r--r--externals/grill/flext/buildsys/lnx/pd/config-gcc.def3
-rw-r--r--externals/grill/flext/buildsys/lnx/pd/config-icc.def34
-rw-r--r--externals/grill/flext/buildsys/lnx/pd/gnumake-icc-ext.inc1
-rw-r--r--externals/grill/flext/buildsys/lnx/pd/gnumake-icc-flext.inc6
-rw-r--r--externals/grill/flext/buildsys/lnx/pd/gnumake-icc.inc4
5 files changed, 47 insertions, 1 deletions
diff --git a/externals/grill/flext/buildsys/lnx/pd/config-gcc.def b/externals/grill/flext/buildsys/lnx/pd/config-gcc.def
index bf0ff666..aaff3340 100644
--- a/externals/grill/flext/buildsys/lnx/pd/config-gcc.def
+++ b/externals/grill/flext/buildsys/lnx/pd/config-gcc.def
@@ -1,4 +1,5 @@
# where is the PD source package?
+# (this should point to the main folder, which has a "src" subfolder)
PDPATH=/usr/local/src/pd
###############################################################
@@ -24,7 +25,7 @@ INSTPATH=/usr/local/lib/pd/extra
# user defined compiler flags
# (check if they match your system!)
-UFLAGS=-msse
+UFLAGS=-msse -mfpmath=sse -ffast-math
# user defined optimization flags
# (check if they match your system!)
diff --git a/externals/grill/flext/buildsys/lnx/pd/config-icc.def b/externals/grill/flext/buildsys/lnx/pd/config-icc.def
new file mode 100644
index 00000000..b6d6169e
--- /dev/null
+++ b/externals/grill/flext/buildsys/lnx/pd/config-icc.def
@@ -0,0 +1,34 @@
+# where is the PD source package?
+# (this should point to the main folder, which has a "src" subfolder)
+PDPATH=/usr/local/src/pd
+
+###############################################################
+
+# where do/should the flext headers reside/be built?
+FLEXTINC=/usr/local/include/flext
+
+# where do/should the flext static libraries reside/be built?
+FLEXTLIB=/usr/local/lib
+
+# where do/should the flext shared libraries reside/be built?
+FLEXTSHLIB=$(FLEXTLIB)
+
+###############################################################
+
+# where should the external be built?
+OUTPATH=pd-linux
+
+# where should the external be installed?
+INSTPATH=/usr/local/lib/pd/extra
+
+###############################################################
+
+# user defined compiler flags
+# (check if they match your system!)
+UFLAGS=
+
+# user defined optimization flags
+# (check if they match your system!)
+OFLAGS=-O3 -Ob2 -ip
+# optimizations for Pentium 4
+OFLAGS+=-mcpu=pentium4 -march=pentium4 -xMKW
diff --git a/externals/grill/flext/buildsys/lnx/pd/gnumake-icc-ext.inc b/externals/grill/flext/buildsys/lnx/pd/gnumake-icc-ext.inc
new file mode 100644
index 00000000..88feb249
--- /dev/null
+++ b/externals/grill/flext/buildsys/lnx/pd/gnumake-icc-ext.inc
@@ -0,0 +1 @@
+EXT=pd_linux
diff --git a/externals/grill/flext/buildsys/lnx/pd/gnumake-icc-flext.inc b/externals/grill/flext/buildsys/lnx/pd/gnumake-icc-flext.inc
new file mode 100644
index 00000000..cecaa37a
--- /dev/null
+++ b/externals/grill/flext/buildsys/lnx/pd/gnumake-icc-flext.inc
@@ -0,0 +1,6 @@
+ifdef SHARED
+EXT=so
+else
+EXT=a
+endif
+
diff --git a/externals/grill/flext/buildsys/lnx/pd/gnumake-icc.inc b/externals/grill/flext/buildsys/lnx/pd/gnumake-icc.inc
new file mode 100644
index 00000000..2b27b02f
--- /dev/null
+++ b/externals/grill/flext/buildsys/lnx/pd/gnumake-icc.inc
@@ -0,0 +1,4 @@
+DEFS += -DFLEXT_SYS=2
+
+INCPATH += -I$(PDPATH)/src
+LIBPATH += -L$(PDPATH)/bin