From 48c6d0ca4c82a190683380e45821159636080e51 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Sun, 19 Dec 2004 05:04:19 +0000 Subject: simplified make system updated make system svn path=/trunk/; revision=2412 --- .../grill/flext/build/win/max/config-mingw.def | 17 +++++++++++ .../grill/flext/build/win/max/config-msvc.def | 17 +++++++++++ externals/grill/flext/build/win/max/make-mingw.inc | 35 ++++++++++++++++++++++ externals/grill/flext/build/win/max/make-msvc.inc | 35 ++++++++++++++++++++++ 4 files changed, 104 insertions(+) create mode 100644 externals/grill/flext/build/win/max/config-mingw.def create mode 100644 externals/grill/flext/build/win/max/config-msvc.def create mode 100644 externals/grill/flext/build/win/max/make-mingw.inc create mode 100644 externals/grill/flext/build/win/max/make-msvc.inc (limited to 'externals/grill/flext/build/win/max') diff --git a/externals/grill/flext/build/win/max/config-mingw.def b/externals/grill/flext/build/win/max/config-mingw.def new file mode 100644 index 00000000..d6bbd4dc --- /dev/null +++ b/externals/grill/flext/build/win/max/config-mingw.def @@ -0,0 +1,17 @@ +# where are the Max/MSP SDK header files? +# 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 do the flext headers and libraries reside? +FLEXTPATH="%CommonProgramFiles%/Cycling '74/flext" + +# where should the external be built? +# (path for temporary files) +OUTPATH=max-mingw + +# some user-definable flags +# (check if they match your system!) +OFLAGS=-O2 -march=pentium4 -msse diff --git a/externals/grill/flext/build/win/max/config-msvc.def b/externals/grill/flext/build/win/max/config-msvc.def new file mode 100644 index 00000000..a7db2d2c --- /dev/null +++ b/externals/grill/flext/build/win/max/config-msvc.def @@ -0,0 +1,17 @@ +# where are the Max/MSP SDK header files? +# 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 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 + +# some user-definable flags +# (check if they match your system!) +OFLAGS=/G6 /Ox /arch:SSE diff --git a/externals/grill/flext/build/win/max/make-mingw.inc b/externals/grill/flext/build/win/max/make-mingw.inc new file mode 100644 index 00000000..c34825f8 --- /dev/null +++ b/externals/grill/flext/build/win/max/make-mingw.inc @@ -0,0 +1,35 @@ +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 + +######################################### + +ifdef SHARED +# --- shared --- + +elseifdef THREADED +# --- static multi-threaded --- + +ifdef DEBUG +LIBS += -lflext_td-maxwin +else +LIBS += -lflext_t-maxwin +endif + +else +# --- static single-threaded --- + +ifdef DEBUG +LIBS += -lflext_d-maxwin +else +LIBS += -lflext-maxwin +endif + +endif diff --git a/externals/grill/flext/build/win/max/make-msvc.inc b/externals/grill/flext/build/win/max/make-msvc.inc new file mode 100644 index 00000000..636029fa --- /dev/null +++ b/externals/grill/flext/build/win/max/make-msvc.inc @@ -0,0 +1,35 @@ +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 + +######################################### + +!ifdef SHARED +# --- shared --- + +!elseifdef THREADED +# --- static multi-threaded --- + +!ifdef DEBUG +LIBS=$(LIBS) flext_td-maxwin.lib +!else +LIBS=$(LIBS) flext_t-maxwin.lib +!endif + +!else +# --- static single-threaded --- + +!ifdef DEBUG +LIBS=$(LIBS) flext_d-maxwin.lib +!else +LIBS=$(LIBS) flext-maxwin.lib +!endif + +!endif -- cgit v1.2.1