From a1c2bb17663ce4dea2f5e7e3c1e1bfae35541a2c Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Mon, 23 May 2005 16:52:46 +0000 Subject: oops, fix Max/MSP has its own check.... changed initialization functions accordingly better timers for Windows fixed timer bug changed template parameter of TableMap compiler flag for MinGW binary compatibility (thanks to GG) enable WIN2000/XP API features with definition in build system fix for symbol messages into non-left inlets restructured TableMap type (doesn't own pointers any more) no sanity check for iterator fixes for MSVC6 slimmed object data structures better c++ compliance fixed problems with symbol binding svn path=/trunk/; revision=3074 --- externals/grill/flext/buildsys/win/gnumake-mingw.inc | 2 +- externals/grill/flext/buildsys/win/max/gnumake-mingw.inc | 2 +- externals/grill/flext/buildsys/win/max/nmake-msvc.inc | 2 +- externals/grill/flext/buildsys/win/pd/bmake-bcc.inc | 6 ++++++ externals/grill/flext/buildsys/win/pd/config-bcc.def | 3 +++ externals/grill/flext/buildsys/win/pd/config-mingw.def | 3 +++ externals/grill/flext/buildsys/win/pd/config-msvc.def | 3 +++ externals/grill/flext/buildsys/win/pd/gnumake-mingw.inc | 6 ++++++ externals/grill/flext/buildsys/win/pd/nmake-msvc.inc | 6 ++++++ 9 files changed, 30 insertions(+), 3 deletions(-) (limited to 'externals/grill/flext/buildsys') diff --git a/externals/grill/flext/buildsys/win/gnumake-mingw.inc b/externals/grill/flext/buildsys/win/gnumake-mingw.inc index 43884e15..063bc058 100644 --- a/externals/grill/flext/buildsys/win/gnumake-mingw.inc +++ b/externals/grill/flext/buildsys/win/gnumake-mingw.inc @@ -6,7 +6,7 @@ TARGET=$(TARGETPATH)\$(OUTNAME).$(EXT) ############################################## -CFLAGS += +CFLAGS += -mms-bitfields LDFLAGS += -shared ############################################## diff --git a/externals/grill/flext/buildsys/win/max/gnumake-mingw.inc b/externals/grill/flext/buildsys/win/max/gnumake-mingw.inc index cf5dc17a..6d4e46f7 100644 --- a/externals/grill/flext/buildsys/win/max/gnumake-mingw.inc +++ b/externals/grill/flext/buildsys/win/max/gnumake-mingw.inc @@ -1,5 +1,5 @@ DEFS += -DFLEXT_SYS=1 -CFLAGS += -fpack-struct=2 +CFLAGS += -fpack-struct=2 -D_WIN32_WINNT=0x501 INCPATH += -I$(MAXSDKPATH)/max-includes -I$(MAXSDKPATH)/msp-includes LIBPATH += -L$(MAXSDKPATH)/max-includes -L$(MAXSDKPATH)/msp-includes diff --git a/externals/grill/flext/buildsys/win/max/nmake-msvc.inc b/externals/grill/flext/buildsys/win/max/nmake-msvc.inc index 02cf3cf5..94cdc32e 100644 --- a/externals/grill/flext/buildsys/win/max/nmake-msvc.inc +++ b/externals/grill/flext/buildsys/win/max/nmake-msvc.inc @@ -1,5 +1,5 @@ DEFS=$(DEFS) /DFLEXT_SYS=1 -CFLAGS=$(CFLAGS) /Zp2 +CFLAGS=$(CFLAGS) /Zp2 /D_WIN32_WINNT=0x501 INCPATH=$(INCPATH) /I$(MAXSDKPATH)\max-includes /I$(MAXSDKPATH)\msp-includes LIBPATH=$(LIBPATH) /LIBPATH:$(MAXSDKPATH)\max-includes /LIBPATH:$(MAXSDKPATH)\msp-includes diff --git a/externals/grill/flext/buildsys/win/pd/bmake-bcc.inc b/externals/grill/flext/buildsys/win/pd/bmake-bcc.inc index 3b257b0d..c24b7723 100644 --- a/externals/grill/flext/buildsys/win/pd/bmake-bcc.inc +++ b/externals/grill/flext/buildsys/win/pd/bmake-bcc.inc @@ -1,5 +1,11 @@ DEFS=$(DEFS) /DFLEXT_SYS=2 +!ifdef WINNT +DEFS=$(DEFS) /D_WIN32_WINNT=0x500 +!endif + +############################################## + INCPATH=$(INCPATH) -I$(PDPATH)\src # these are both in FLEXTPATH diff --git a/externals/grill/flext/buildsys/win/pd/config-bcc.def b/externals/grill/flext/buildsys/win/pd/config-bcc.def index e9d97eb8..54e8397d 100644 --- a/externals/grill/flext/buildsys/win/pd/config-bcc.def +++ b/externals/grill/flext/buildsys/win/pd/config-bcc.def @@ -33,3 +33,6 @@ UFLAGS= # user defined optimization flags # (check if they match your system!) OFLAGS=-6 -O2 -OS -ff -d + +# comment if you want to compile for Windows 95/98/ME +WINNT=1 diff --git a/externals/grill/flext/buildsys/win/pd/config-mingw.def b/externals/grill/flext/buildsys/win/pd/config-mingw.def index a4ae2f2a..bed53e35 100644 --- a/externals/grill/flext/buildsys/win/pd/config-mingw.def +++ b/externals/grill/flext/buildsys/win/pd/config-mingw.def @@ -32,3 +32,6 @@ UFLAGS=-msse -mfpmath=sse -ffast-math OFLAGS=-O3 # optimizations for Pentium 4 OFLAGS+=-march=pentium4 + +# comment if you want to compile for Windows 95/98/ME +WINNT=1 diff --git a/externals/grill/flext/buildsys/win/pd/config-msvc.def b/externals/grill/flext/buildsys/win/pd/config-msvc.def index 9db081e4..49137ef5 100644 --- a/externals/grill/flext/buildsys/win/pd/config-msvc.def +++ b/externals/grill/flext/buildsys/win/pd/config-msvc.def @@ -38,6 +38,9 @@ OFLAGS=/Ox # optimizations for Pentium 4 OFLAGS=$(OFLAGS) /G6 /arch:SSE +# comment if you want to compile for Windows 95/98/ME +WINNT=1 + # 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/pd/gnumake-mingw.inc b/externals/grill/flext/buildsys/win/pd/gnumake-mingw.inc index 1002a914..a3f51aab 100644 --- a/externals/grill/flext/buildsys/win/pd/gnumake-mingw.inc +++ b/externals/grill/flext/buildsys/win/pd/gnumake-mingw.inc @@ -1,5 +1,11 @@ DEFS += -DFLEXT_SYS=2 +ifdef WINNT +CFLAGS += -D_WIN32_WINNT=0x500 +endif + +############################################## + INCPATH += -I$(PDPATH)/src LIBPATH += -L$(PDPATH)/bin diff --git a/externals/grill/flext/buildsys/win/pd/nmake-msvc.inc b/externals/grill/flext/buildsys/win/pd/nmake-msvc.inc index 75a99d4b..cbe3c5bc 100644 --- a/externals/grill/flext/buildsys/win/pd/nmake-msvc.inc +++ b/externals/grill/flext/buildsys/win/pd/nmake-msvc.inc @@ -1,5 +1,11 @@ DEFS=$(DEFS) /DFLEXT_SYS=2 +!ifdef WINNT +DEFS=$(DEFS) /D_WIN32_WINNT=0x500 +!endif + +############################################## + INCPATH=$(INCPATH) /I$(PDPATH)\src LIBPATH=$(LIBPATH) /LIBPATH:$(PDPATH)\bin -- cgit v1.2.1