[PD-cvs] externals/grill/flext/buildsys/win/max config-cygwin.def, NONE, 1.1 gnumake-cygwin-ext.inc, NONE, 1.1 gnumake-cygwin-flext.inc, NONE, 1.1 gnumake-cygwin.inc, NONE, 1.1 gnumake-mingw.inc, 1.3, 1.4 nmake-msvc.inc, 1.2, 1.3

Thomas Grill xovo at users.sourceforge.net
Wed Jul 20 01:08:34 CEST 2005


Update of /cvsroot/pure-data/externals/grill/flext/buildsys/win/max
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16469/buildsys/win/max

Modified Files:
	gnumake-mingw.inc nmake-msvc.inc 
Added Files:
	config-cygwin.def gnumake-cygwin-ext.inc 
	gnumake-cygwin-flext.inc gnumake-cygwin.inc 
Log Message:
more corrections to cygwin... seems to work now for Max/MSP as well
avoid problems with paths containing spaces
enhancements for cygwin builds (working for PD now, but not for Max)


Index: nmake-msvc.inc
===================================================================
RCS file: /cvsroot/pure-data/externals/grill/flext/buildsys/win/max/nmake-msvc.inc,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** nmake-msvc.inc	23 May 2005 16:52:43 -0000	1.2
--- nmake-msvc.inc	19 Jul 2005 23:08:32 -0000	1.3
***************
*** 1,4 ****
  DEFS=$(DEFS) /DFLEXT_SYS=1
! CFLAGS=$(CFLAGS) /Zp2 /D_WIN32_WINNT=0x501
  
  INCPATH=$(INCPATH) /I$(MAXSDKPATH)\max-includes /I$(MAXSDKPATH)\msp-includes
--- 1,4 ----
  DEFS=$(DEFS) /DFLEXT_SYS=1
! CFLAGS=$(CFLAGS) /Zp2 /DWINVER=0x0501 /D_WIN32_WINNT=0x501
  
  INCPATH=$(INCPATH) /I$(MAXSDKPATH)\max-includes /I$(MAXSDKPATH)\msp-includes

Index: gnumake-mingw.inc
===================================================================
RCS file: /cvsroot/pure-data/externals/grill/flext/buildsys/win/max/gnumake-mingw.inc,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** gnumake-mingw.inc	6 Jul 2005 16:08:03 -0000	1.3
--- gnumake-mingw.inc	19 Jul 2005 23:08:32 -0000	1.4
***************
*** 2,6 ****
  
  # fpack-struct should align to 2 bytes... can't specify that...
! CFLAGS += -fpack-struct -D_WIN32_WINNT=0x501
  
  INCPATH += -I$(MAXSDKPATH)/max-includes -I$(MAXSDKPATH)/msp-includes
--- 2,6 ----
  
  # fpack-struct should align to 2 bytes... can't specify that...
! CFLAGS += -DWINVER=0x0501 -D_WIN32_WINNT=0x501
  
  INCPATH += -I$(MAXSDKPATH)/max-includes -I$(MAXSDKPATH)/msp-includes
***************
*** 8,10 ****
  
  # these are both in MAXSDKPATH
! LIBS += -lmaxapi -lmaxaudio
--- 8,10 ----
  
  # these are both in MAXSDKPATH
! LIBS += -lMaxAPI -lMaxAudio

--- NEW FILE: gnumake-cygwin-flext.inc ---
ifdef SHARED
EXT=dll
else
EXT=a
endif


--- NEW FILE: gnumake-cygwin.inc ---
DEFS += -DFLEXT_SYS=1

# fpack-struct should align to 2 bytes... can't specify that...
CFLAGS += -DWINVER=0x0501 -D_WIN32_WINNT=0x501

INCPATH += -I$(MAXSDKPATH)/max-includes -I$(MAXSDKPATH)/msp-includes
LIBPATH += -L$(MAXSDKPATH)/max-includes -L$(MAXSDKPATH)/msp-includes

# these are both in MAXSDKPATH
SYSLIBS += -lMaxAPI -lMaxAudio

--- NEW FILE: config-cygwin.def ---
# where is the Max/MSP application?
MAXAPPPATH=/cygdrive/c/program\ files/MaxMSP\ 4.5

# where are the Max/MSP common files?
MAXCOMPATH=/cygdrive/c/program\ files/common\ files/Cycling\ \'74


# where are the Max/MSP SDK header files?
# you should have the latest version!
MAXSDKPATH=$(MAXAPPPATH)/maxmspsdk_win/4.5\ headers/c74support

###############################################################

###############################################################

# where do/should the flext headers reside/be built?
FLEXTINC=$(MAXCOMPATH)/flext

# where do/should the flext static libraries reside/be built?
FLEXTLIB=$(FLEXTINC)

# where do/should the flext shared libraries reside/be built?
# (a good place is the MaxMSP program folder)
FLEXTSHLIB=$(MAXAPPPATH)

###############################################################

# where should the external be built?
# (path for temporary files)
OUTPATH=max-cygwin

# where should the external be installed?
INSTPATH=$(MAXCOMPATH)/externals/flext

# where should the initialization files be installed?
INITPATH=$(MAXCOMPATH)/init

# where should the help files be installed?
HELPPATH=$(MAXAPPPATH)/max-help/flext

###############################################################

# user defined compiler flags
# (check if they match your system!)
UFLAGS=-msse -mfpmath=sse -ffast-math

# user defined optimization flags
# (check if they match your system!)
OFLAGS=-O3
# optimizations for Pentium 4
OFLAGS+=-march=pentium4 

--- NEW FILE: gnumake-cygwin-ext.inc ---
EXT=mxe





More information about the Pd-cvs mailing list