diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2005-01-13 04:59:11 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2005-01-13 04:59:11 +0000 |
commit | 12dd4dd914b26ef48f6d6b7f49077d62b63be217 (patch) | |
tree | 40455f88c69fa072c1120dbd4f644510cb6fba56 /externals/grill/flext/buildsys/lnx/pd | |
parent | e39ca045a8ef5c6f2e6f1fbd3aba8bd2641296b2 (diff) |
various fixes to build system
fixes for build system
better templates, some minor changes
build system: added profiler mode, more fixes
added ICC/linux support
small optimizations
svn path=/trunk/; revision=2498
Diffstat (limited to 'externals/grill/flext/buildsys/lnx/pd')
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 |