From 1611d50c03d8f79560ffc3bc63c268894f411abc Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Mon, 3 Jan 2005 05:00:31 +0000 Subject: updated make system build system for OSX simplified make system reconsidered flext::buffer:Update added object construction and destruction flags updated build system svn path=/trunk/; revision=2447 --- .../grill/flext/buildsys/win/max/config-mingw.def | 24 +++++++++++++++---- .../grill/flext/buildsys/win/max/config-msvc.def | 28 ++++++++++++++++++---- .../flext/buildsys/win/max/gnumake-mingw-ext.inc | 1 + .../flext/buildsys/win/max/gnumake-mingw-flext.inc | 6 +++++ .../grill/flext/buildsys/win/max/gnumake-mingw.inc | 8 +++++++ .../grill/flext/buildsys/win/max/make-mingw.inc | 10 -------- .../grill/flext/buildsys/win/max/make-msvc.inc | 10 -------- .../flext/buildsys/win/max/nmake-msvc-ext.inc | 1 + .../flext/buildsys/win/max/nmake-msvc-flext.inc | 5 ++++ .../grill/flext/buildsys/win/max/nmake-msvc.inc | 8 +++++++ 10 files changed, 73 insertions(+), 28 deletions(-) create mode 100644 externals/grill/flext/buildsys/win/max/gnumake-mingw-ext.inc create mode 100644 externals/grill/flext/buildsys/win/max/gnumake-mingw-flext.inc create mode 100644 externals/grill/flext/buildsys/win/max/gnumake-mingw.inc delete mode 100644 externals/grill/flext/buildsys/win/max/make-mingw.inc delete mode 100644 externals/grill/flext/buildsys/win/max/make-msvc.inc create mode 100644 externals/grill/flext/buildsys/win/max/nmake-msvc-ext.inc create mode 100644 externals/grill/flext/buildsys/win/max/nmake-msvc-flext.inc create mode 100644 externals/grill/flext/buildsys/win/max/nmake-msvc.inc (limited to 'externals/grill/flext/buildsys/win/max') 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/gnumake-mingw.inc b/externals/grill/flext/buildsys/win/max/gnumake-mingw.inc new file mode 100644 index 00000000..cf5dc17a --- /dev/null +++ b/externals/grill/flext/buildsys/win/max/gnumake-mingw.inc @@ -0,0 +1,8 @@ +DEFS += -DFLEXT_SYS=1 +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 MAXSDKPATH +LIBS += -lmaxapi -lmaxaudio diff --git a/externals/grill/flext/buildsys/win/max/make-mingw.inc b/externals/grill/flext/buildsys/win/max/make-mingw.inc deleted file mode 100644 index baa5c9d7..00000000 --- a/externals/grill/flext/buildsys/win/max/make-mingw.inc +++ /dev/null @@ -1,10 +0,0 @@ -DEFS += -DFLEXT_SYS=1 -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 -LIBS += -lmaxapi -lmaxaudio - -EXT=mxe diff --git a/externals/grill/flext/buildsys/win/max/make-msvc.inc b/externals/grill/flext/buildsys/win/max/make-msvc.inc deleted file mode 100644 index e3bd547e..00000000 --- a/externals/grill/flext/buildsys/win/max/make-msvc.inc +++ /dev/null @@ -1,10 +0,0 @@ -DEFS=$(DEFS) /DFLEXT_SYS=1 -CFLAGS=$(CFLAGS) /Zp2 - -INCPATH=$(INCPATH) /I$(MAXSDKPATH)\max-includes /I$(MAXSDKPATH)\msp-includes -LIBPATH=$(LIBPATH) /LIBPATH:$(MAXSDKPATH)\max-includes /LIBPATH:$(MAXSDKPATH)\msp-includes - -# these are both in MAXSDKPATH -LIBS=$(LIBS) maxapi.lib maxaudio.lib - -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/nmake-msvc.inc b/externals/grill/flext/buildsys/win/max/nmake-msvc.inc new file mode 100644 index 00000000..02cf3cf5 --- /dev/null +++ b/externals/grill/flext/buildsys/win/max/nmake-msvc.inc @@ -0,0 +1,8 @@ +DEFS=$(DEFS) /DFLEXT_SYS=1 +CFLAGS=$(CFLAGS) /Zp2 + +INCPATH=$(INCPATH) /I$(MAXSDKPATH)\max-includes /I$(MAXSDKPATH)\msp-includes +LIBPATH=$(LIBPATH) /LIBPATH:$(MAXSDKPATH)\max-includes /LIBPATH:$(MAXSDKPATH)\msp-includes + +# these are both in MAXSDKPATH +LIBS=$(LIBS) maxapi.lib maxaudio.lib -- cgit v1.2.1