aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/buildsys/win/max
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/flext/buildsys/win/max')
-rw-r--r--externals/grill/flext/buildsys/win/max/config-mingw.def24
-rw-r--r--externals/grill/flext/buildsys/win/max/config-msvc.def28
-rw-r--r--externals/grill/flext/buildsys/win/max/gnumake-mingw-ext.inc1
-rw-r--r--externals/grill/flext/buildsys/win/max/gnumake-mingw-flext.inc6
-rw-r--r--externals/grill/flext/buildsys/win/max/gnumake-mingw.inc (renamed from externals/grill/flext/buildsys/win/max/make-mingw.inc)4
-rw-r--r--externals/grill/flext/buildsys/win/max/nmake-msvc-ext.inc1
-rw-r--r--externals/grill/flext/buildsys/win/max/nmake-msvc-flext.inc5
-rw-r--r--externals/grill/flext/buildsys/win/max/nmake-msvc.inc (renamed from externals/grill/flext/buildsys/win/max/make-msvc.inc)2
8 files changed, 58 insertions, 13 deletions
diff --git a/externals/grill/flext/buildsys/win/max/config-mingw.def b/externals/grill/flext/buildsys/win/max/config-mingw.def
index 5bd543df..d0ce64fa 100644
--- a/externals/grill/flext/buildsys/win/max/config-mingw.def
+++ b/externals/grill/flext/buildsys/win/max/config-mingw.def
@@ -2,16 +2,32 @@
# you should have the latest version!
MAXSDKPATH="c:/data/prog/audio/maxmspsdk_win/4.5 headers/c74support"
-# where should the external be installed?
-INSTPATH="%CommonProgramFiles%/Cycling '74/externals/flext"
+# where is MS VC++?
+# (not necessary if the build is run with the compiler environment)
+# MSVCPATH=C:/Programme/Microsoft Visual Studio .NET 2003/Vc7
+
+###############################################################
+
+# where do/should the flext headers reside/be built?
+FLEXTINC="%CommonProgramFiles%/Cycling '74/flext"
+
+# where do/should the flext static libraries reside/be built?
+FLEXTLIB=$(FLEXTINC)
-# where do the flext headers and libraries reside?
-FLEXTPATH="%CommonProgramFiles%/Cycling '74/flext"
+# where do/should the flext shared libraries reside/be built?
+FLEXTSHLIB=$(FLEXTINC)
+
+###############################################################
# where should the external be built?
# (path for temporary files)
OUTPATH=max-mingw
+# where should the external be installed?
+INSTPATH="%CommonProgramFiles%/Cycling '74/externals/flext"
+
+###############################################################
+
# some user-definable flags
# (check if they match your system!)
OFLAGS=-O2 -march=pentium4 -msse
diff --git a/externals/grill/flext/buildsys/win/max/config-msvc.def b/externals/grill/flext/buildsys/win/max/config-msvc.def
index ae313e14..1c849d32 100644
--- a/externals/grill/flext/buildsys/win/max/config-msvc.def
+++ b/externals/grill/flext/buildsys/win/max/config-msvc.def
@@ -2,16 +2,36 @@
# you should have the latest version!
MAXSDKPATH="c:\data\prog\audio\maxmspsdk_win\4.5 headers\c74support"
-# where should the external be installed?
-INSTPATH="%CommonProgramFiles%\Cycling '74\externals\flext"
+# where is MS VC++?
+# (not necessary if the build is run with the compiler environment)
+# MSVCPATH=C:\Programme\Microsoft Visual Studio .NET 2003\Vc7
+
+###############################################################
+
+# where do/should the flext headers reside/be built?
+FLEXTINC="%CommonProgramFiles%\Cycling '74\flext"
+
+# where do/should the flext static libraries reside/be built?
+FLEXTLIB=$(FLEXTINC)
+
+# where do/should the flext shared libraries reside/be built?
+FLEXTSHLIB=$(FLEXTINC)
-# where do the flext headers and libraries reside?
-FLEXTPATH="%CommonProgramFiles%\Cycling '74\flext"
+###############################################################
# where should the external be built?
# (path for temporary files)
OUTPATH=max-msvc
+# where should the external be installed?
+INSTPATH="%CommonProgramFiles%\Cycling '74\externals\flext"
+
+###############################################################
+
# some user-definable flags
# (check if they match your system!)
OFLAGS=/G6 /Ox /arch:SSE
+
+# uncomment to link against dynamic C runtime libraries
+# (don't use this if you want to distribute the built product)
+#DYNAMIC=1
diff --git a/externals/grill/flext/buildsys/win/max/gnumake-mingw-ext.inc b/externals/grill/flext/buildsys/win/max/gnumake-mingw-ext.inc
new file mode 100644
index 00000000..5df7e2f2
--- /dev/null
+++ b/externals/grill/flext/buildsys/win/max/gnumake-mingw-ext.inc
@@ -0,0 +1 @@
+EXT=mxe
diff --git a/externals/grill/flext/buildsys/win/max/gnumake-mingw-flext.inc b/externals/grill/flext/buildsys/win/max/gnumake-mingw-flext.inc
new file mode 100644
index 00000000..da986e52
--- /dev/null
+++ b/externals/grill/flext/buildsys/win/max/gnumake-mingw-flext.inc
@@ -0,0 +1,6 @@
+ifdef SHARED
+EXT=dll
+else
+EXT=LIB
+endif
+
diff --git a/externals/grill/flext/buildsys/win/max/make-mingw.inc b/externals/grill/flext/buildsys/win/max/gnumake-mingw.inc
index baa5c9d7..cf5dc17a 100644
--- a/externals/grill/flext/buildsys/win/max/make-mingw.inc
+++ b/externals/grill/flext/buildsys/win/max/gnumake-mingw.inc
@@ -4,7 +4,5 @@ CFLAGS += -fpack-struct=2
INCPATH += -I$(MAXSDKPATH)/max-includes -I$(MAXSDKPATH)/msp-includes
LIBPATH += -L$(MAXSDKPATH)/max-includes -L$(MAXSDKPATH)/msp-includes
-# these are both in PDPATH
+# these are both in MAXSDKPATH
LIBS += -lmaxapi -lmaxaudio
-
-EXT=mxe
diff --git a/externals/grill/flext/buildsys/win/max/nmake-msvc-ext.inc b/externals/grill/flext/buildsys/win/max/nmake-msvc-ext.inc
new file mode 100644
index 00000000..5df7e2f2
--- /dev/null
+++ b/externals/grill/flext/buildsys/win/max/nmake-msvc-ext.inc
@@ -0,0 +1 @@
+EXT=mxe
diff --git a/externals/grill/flext/buildsys/win/max/nmake-msvc-flext.inc b/externals/grill/flext/buildsys/win/max/nmake-msvc-flext.inc
new file mode 100644
index 00000000..a080ae72
--- /dev/null
+++ b/externals/grill/flext/buildsys/win/max/nmake-msvc-flext.inc
@@ -0,0 +1,5 @@
+!ifdef SHARED
+EXT=dll
+!else
+EXT=lib
+!endif
diff --git a/externals/grill/flext/buildsys/win/max/make-msvc.inc b/externals/grill/flext/buildsys/win/max/nmake-msvc.inc
index e3bd547e..02cf3cf5 100644
--- a/externals/grill/flext/buildsys/win/max/make-msvc.inc
+++ b/externals/grill/flext/buildsys/win/max/nmake-msvc.inc
@@ -6,5 +6,3 @@ LIBPATH=$(LIBPATH) /LIBPATH:$(MAXSDKPATH)\max-includes /LIBPATH:$(MAXSDKPATH)\ms
# these are both in MAXSDKPATH
LIBS=$(LIBS) maxapi.lib maxaudio.lib
-
-EXT=mxe