[PD-cvs] externals/grill/flext build-pd-mingw.bat,NONE,1.1 config-pd-mingw.txt,NONE,1.1 makefile.pd-mingw,NONE,1.1 changes.txt,1.36,1.37 flext.vcproj,1.24,1.25 makefile.pd-cygwin,1.10,1.11 makefile.pd-msvc,1.4,1.5 readme.txt,1.44,1.45
xovo at users.sourceforge.net
xovo at users.sourceforge.net
Sun Feb 22 04:34:02 CET 2004
- Previous message: [PD-cvs] externals/popup COPYING.txt,NONE,1.1 gop-test.pd,NONE,1.1 makefile,NONE,1.1 popup-help.pd,NONE,1.1 popup.c,NONE,1.1
- Next message: [PD-cvs] externals/grill/flext/source flattr.cpp,1.19,1.20 flattr_ed.cpp,1.18,1.19 flbind.cpp,1.11,1.12 flclass.h,1.40,1.41 flext.cpp,1.26,1.27 flitem.cpp,1.9,1.10 fllib.cpp,1.20,1.21 flmeth.cpp,1.7,1.8 flmsg.cpp,1.9,1.10 flprefix.h,1.24,1.25 flsupport.cpp,1.30,1.31 flsupport.h,1.63,1.64
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/pure-data/externals/grill/flext
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14647
Modified Files:
changes.txt flext.vcproj makefile.pd-cygwin makefile.pd-msvc
readme.txt
Added Files:
build-pd-mingw.bat config-pd-mingw.txt makefile.pd-mingw
Log Message:
""
--- NEW FILE: build-pd-mingw.bat ---
mingw32-make -f makefile.pd-mingw
mingw32-make -f makefile.pd-mingw install
--- NEW FILE: config-pd-mingw.txt ---
# flext - C++ layer for Max/MSP and pd (pure data) externals
# Copyright (c) 2001-2004 Thomas Grill (xovo at gmx.net)
#
# your c++ compiler (define only if it's different than g++)
# CXX=g++
# where is PD?
PDPATH=c:/programme/audio/pd
# where is the SndObj include directory?
# (leave blank or comment out to disable SndObj support)
#SNDOBJ=/cygdrive/f/prog/audio/sndobj/include
# where is the STK include directory?
# (leave blank or comment out to disable STK support)
#STK=/cygdrive/f/prog/audio/stk/include
# where should flext libraries be built?
TARGDIR=./pd-mingw
# where should flext libraries be installed?
# (leave blank to omit installation)
INSTDIR=${PDPATH}/flext
# additional compiler flags
# (check if they fit for your system!)
UFLAGS=-mcpu=pentium4 -msse
--- NEW FILE: makefile.pd-mingw ---
# flext - C++ layer for Max/MSP and pd (pure data) externals
# Copyright (c) 2001-2004 Thomas Grill (xovo at gmx.net)
#
# Makefile for gcc @ mingw
#
# usage:
# to build run "make -f makefile.pd-mingw"
#
# ---------------------------------------------
#
# compiling for threaded usage is not supported
#
CONFIG=config-pd-mingw.txt
include $(CONFIG)
# compiler+linker stuff
INCLUDES=$(PDPATH)/src # /usr/include
FLAGS=-DFLEXT_SYS=2 $(UFLAGS)
CFLAGS=-O2
CFLAGS_D=-DFLEXT_DEBUG -g
CFLAGS_T=-DFLEXT_THREADS
CFLAGS_S=-DFLEXT_SHARED
LIBS=
INSTDIR=$(PDPATH)/flext
# ----------------------------------------------
# the rest can stay untouched
# ----------------------------------------------
NAME=flext
SRCDIR=source
# all the source files from the package
include make-files.txt
ifdef SNDOBJ
INCLUDES+=$(SNDOBJ)
SRCS+=$(SRCS_SNDOBJ)
HDRS+=$(HDRS_SNDOBJ)
endif
ifdef STK
INCLUDES+=$(STK)
SRCS+=$(SRCS_STK)
HDRS+=$(HDRS_STK)
endif
MAKEFILE=makefile.pd-mingw
TARGET=$(TARGDIR)/$(NAME)-pdwin.lib
TARGET_D=$(TARGDIR)/$(NAME)_d-pdwin.lib
TARGET_T=$(TARGDIR)/$(NAME)_t-pdwin.lib
TARGET_TD=$(TARGDIR)/$(NAME)_td-pdwin.lib
TARGETS=$(TARGET) $(TARGET_D) # $(TARGET_T) $(TARGET_TD) $(TARGET_S) $(TARGET_SD)
all: $(TARGDIR) $(TARGETS)
$(TARGDIR):
-mkdir $(TARGDIR)
$(SRCS): $(HDRS) $(IHDRS) $(MAKEFILE) $(CONFIG)
touch $@
$(TARGDIR)/%.o : $(SRCDIR)/%.cpp
$(CXX) -c $(CFLAGS) $(FLAGS) $(patsubst %,-I%,$(INCLUDES) $(SRCDIR)) $< -o $@
$(TARGDIR)/%.do : $(SRCDIR)/%.cpp
$(CXX) -c $(CFLAGS_D) $(FLAGS) $(patsubst %,-I%,$(INCLUDES) $(SRCDIR)) $< -o $@
$(TARGDIR)/%.to : $(SRCDIR)/%.cpp
$(CXX) -c $(CFLAGS) $(CFLAGS_T) $(FLAGS) $(patsubst %,-I%,$(INCLUDES) $(SRCDIR)) $< -o $@
$(TARGDIR)/%.tdo : $(SRCDIR)/%.cpp
$(CXX) -c $(CFLAGS_D) $(CFLAGS_T) $(FLAGS) $(patsubst %,-I%,$(INCLUDES) $(SRCDIR)) $< -o $@
$(TARGDIR)/%.so : $(SRCDIR)/%.cpp
$(CXX) -c $(CFLAGS) $(CFLAGS_S) $(FLAGS) $(patsubst %,-I%,$(INCLUDES) $(SRCDIR)) $< -o $@
$(TARGDIR)/%.sdo : $(SRCDIR)/%.cpp
$(CXX) -c $(CFLAGS_D) $(CFLAGS_S) $(FLAGS) $(patsubst %,-I%,$(INCLUDES) $(SRCDIR)) $< -o $@
$(TARGET) : $(patsubst %.cpp,$(TARGDIR)/%.o,$(SRCS))
$(AR) rc $@ $^
chmod 755 $@
$(TARGET_D) : $(patsubst %.cpp,$(TARGDIR)/%.do,$(SRCS))
$(AR) rc $@ $^
chmod 755 $@
$(TARGET_T) : $(patsubst %.cpp,$(TARGDIR)/%.to,$(SRCS))
$(AR) rc $@ $^
chmod 755 $@
$(TARGET_TD) : $(patsubst %.cpp,$(TARGDIR)/%.tdo,$(SRCS))
$(AR) rc $@ $^
chmod 755 $@
$(TARGET_S) : $(patsubst %.cpp,$(TARGDIR)/%.so,$(SRCS))
$(CXX) -o $@ $^
chmod 755 $@
$(TARGET_SD) : $(patsubst %.cpp,$(TARGDIR)/%.sdo,$(SRCS))
$(CXX) -o $@ $^
chmod 755 $@
.PHONY: clean install
clean:
rm -f $(TARGDIR)/*.o $(TARGETS)
ifdef INSTDIR
$(INSTDIR):
-mkdir $(INSTDIR)
install:: $(INSTDIR)
endif
install:: $(TARGETS) $(patsubst %,$(SRCDIR)/%,$(HDRS))
cp $^ $(INSTDIR)
Index: changes.txt
===================================================================
RCS file: /cvsroot/pure-data/externals/grill/flext/changes.txt,v
retrieving revision 1.36
retrieving revision 1.37
diff -C2 -d -r1.36 -r1.37
*** changes.txt 10 Feb 2004 03:29:50 -0000 1.36
--- changes.txt 22 Feb 2004 03:33:59 -0000 1.37
***************
*** 20,23 ****
--- 20,25 ----
- help window for attribute editor
- appended lacking ~ for tilde object help patches
+ - STL containers for all kinds of attribute, method, class handling
+ - support for MinGW
0.4.5:
***************
*** 290,293 ****
--- 292,297 ----
- support for Max qelem style
+ - unify STL containers so that there's only one code template
+
bugs:
Index: flext.vcproj
===================================================================
RCS file: /cvsroot/pure-data/externals/grill/flext/flext.vcproj,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** flext.vcproj 31 Jan 2004 03:31:16 -0000 1.24
--- flext.vcproj 22 Feb 2004 03:33:59 -0000 1.25
***************
*** 286,289 ****
--- 286,290 ----
WarningLevel="3"
SuppressStartupBanner="TRUE"
+ DebugInformationFormat="3"
CompileAs="0"/>
<Tool
***************
*** 398,402 ****
WarningLevel="3"
SuppressStartupBanner="TRUE"
! DebugInformationFormat="3"
CompileAs="0"/>
<Tool
--- 399,403 ----
WarningLevel="3"
SuppressStartupBanner="TRUE"
! DebugInformationFormat="0"
CompileAs="0"/>
<Tool
***************
*** 533,537 ****
OutputFile=".\max-msvc\flext.max.dll"
AdditionalLibraryDirectories=""F:\prog\audio\MaxWinSDK\c74support\max-includes\win-includes\debug";"F:\prog\audio\MaxWinSDK\c74support\msp-includes\win-includes\debug";f:\prog\packs\pthreads;F:\prog\audio\stk\lib;F:\prog\audio\sndobj\lib"
! IgnoreAllDefaultLibraries="TRUE"
GenerateDebugInformation="FALSE"
OptimizeReferences="1"
--- 534,538 ----
OutputFile=".\max-msvc\flext.max.dll"
AdditionalLibraryDirectories=""F:\prog\audio\MaxWinSDK\c74support\max-includes\win-includes\debug";"F:\prog\audio\MaxWinSDK\c74support\msp-includes\win-includes\debug";f:\prog\packs\pthreads;F:\prog\audio\stk\lib;F:\prog\audio\sndobj\lib"
! IgnoreAllDefaultLibraries="FALSE"
GenerateDebugInformation="FALSE"
OptimizeReferences="1"
Index: makefile.pd-cygwin
===================================================================
RCS file: /cvsroot/pure-data/externals/grill/flext/makefile.pd-cygwin,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** makefile.pd-cygwin 12 Dec 2003 22:46:39 -0000 1.10
--- makefile.pd-cygwin 22 Feb 2004 03:33:59 -0000 1.11
***************
*** 1,4 ****
# flext - C++ layer for Max/MSP and pd (pure data) externals
! # Copyright (c) 2001-2003 Thomas Grill (xovo at gmx.net)
#
# Makefile for gcc @ cygwin
--- 1,4 ----
# flext - C++ layer for Max/MSP and pd (pure data) externals
! # Copyright (c) 2001-2004 Thomas Grill (xovo at gmx.net)
#
# Makefile for gcc @ cygwin
***************
*** 18,27 ****
# compiler+linker stuff
! INCLUDES=/usr/include $(PDPATH)/src
FLAGS=-DFLEXT_SYS=2 $(UFLAGS)
CFLAGS=-O2
! CFLAGS_D=-g
CFLAGS_T=-DFLEXT_THREADS
LIBS=
--- 18,28 ----
# compiler+linker stuff
! INCLUDES=$(PDPATH)/src # /usr/include
FLAGS=-DFLEXT_SYS=2 $(UFLAGS)
CFLAGS=-O2
! CFLAGS_D=-DFLEXT_DEBUG -g
CFLAGS_T=-DFLEXT_THREADS
+ CFLAGS_S=-DFLEXT_SHARED
LIBS=
***************
*** 55,60 ****
TARGET_T=$(TARGDIR)/$(NAME)_t-pdwin.lib
TARGET_TD=$(TARGDIR)/$(NAME)_td-pdwin.lib
! all: $(TARGDIR) $(TARGET) $(TARGET_D) $(TARGET_T) $(TARGET_TD)
$(TARGDIR):
--- 56,66 ----
TARGET_T=$(TARGDIR)/$(NAME)_t-pdwin.lib
TARGET_TD=$(TARGDIR)/$(NAME)_td-pdwin.lib
+ TARGET_S=$(TARGDIR)/$(NAME).dll
+ TARGET_SD=$(TARGDIR)/$(NAME)_d.dll
! TARGETS=$(TARGET) $(TARGET_D) $(TARGET_T) $(TARGET_TD) # $(TARGET_S) $(TARGET_SD)
!
!
! all: $(TARGDIR) $(TARGETS)
$(TARGDIR):
***************
*** 76,98 ****
$(CXX) -c $(CFLAGS_D) $(CFLAGS_T) $(FLAGS) $(patsubst %,-I%,$(INCLUDES) $(SRCDIR)) $< -o $@
$(TARGET) : $(patsubst %.cpp,$(TARGDIR)/%.o,$(SRCS))
! ar rc $@ $^
chmod 755 $@
$(TARGET_D) : $(patsubst %.cpp,$(TARGDIR)/%.do,$(SRCS))
! ar rc $@ $^
chmod 755 $@
$(TARGET_T) : $(patsubst %.cpp,$(TARGDIR)/%.to,$(SRCS))
! ar rc $@ $^
chmod 755 $@
$(TARGET_TD) : $(patsubst %.cpp,$(TARGDIR)/%.tdo,$(SRCS))
! ar rc $@ $^
chmod 755 $@
.PHONY: clean install
clean:
! rm -f $(TARGDIR)/*.o $(TARGET) $(TARGET_D)
ifdef INSTDIR
--- 82,120 ----
$(CXX) -c $(CFLAGS_D) $(CFLAGS_T) $(FLAGS) $(patsubst %,-I%,$(INCLUDES) $(SRCDIR)) $< -o $@
+ $(TARGDIR)/%.so : $(SRCDIR)/%.cpp
+ $(CXX) -c $(CFLAGS) $(CFLAGS_S) $(FLAGS) $(patsubst %,-I%,$(INCLUDES) $(SRCDIR)) $< -o $@
+
+ $(TARGDIR)/%.sdo : $(SRCDIR)/%.cpp
+ $(CXX) -c $(CFLAGS_D) $(CFLAGS_S) $(FLAGS) $(patsubst %,-I%,$(INCLUDES) $(SRCDIR)) $< -o $@
+
+
$(TARGET) : $(patsubst %.cpp,$(TARGDIR)/%.o,$(SRCS))
! $(AR) rc $@ $^
chmod 755 $@
$(TARGET_D) : $(patsubst %.cpp,$(TARGDIR)/%.do,$(SRCS))
! $(AR) rc $@ $^
chmod 755 $@
$(TARGET_T) : $(patsubst %.cpp,$(TARGDIR)/%.to,$(SRCS))
! $(AR) rc $@ $^
chmod 755 $@
$(TARGET_TD) : $(patsubst %.cpp,$(TARGDIR)/%.tdo,$(SRCS))
! $(AR) rc $@ $^
! chmod 755 $@
!
! $(TARGET_S) : $(patsubst %.cpp,$(TARGDIR)/%.so,$(SRCS))
! $(CXX) -o $@ $^
chmod 755 $@
+ $(TARGET_SD) : $(patsubst %.cpp,$(TARGDIR)/%.sdo,$(SRCS))
+ $(CXX) -o $@ $^
+ chmod 755 $@
+
+
.PHONY: clean install
clean:
! rm -f $(TARGDIR)/*.o $(TARGETS)
ifdef INSTDIR
***************
*** 103,116 ****
endif
! install:: $(TARGET) $(TARGET_D) $(TARGET_T) $(TARGET_TD) $(patsubst %,$(SRCDIR)/%,$(HDRS))
cp $^ $(INSTDIR)
-
-
-
-
-
-
-
-
-
-
--- 125,128 ----
endif
! install:: $(TARGETS) $(patsubst %,$(SRCDIR)/%,$(HDRS))
cp $^ $(INSTDIR)
Index: makefile.pd-msvc
===================================================================
RCS file: /cvsroot/pure-data/externals/grill/flext/makefile.pd-msvc,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** makefile.pd-msvc 12 Nov 2003 03:35:18 -0000 1.4
--- makefile.pd-msvc 22 Feb 2004 03:33:59 -0000 1.5
***************
*** 13,17 ****
!include config-pd-msvc.txt
! all: flext flext_t flext_d flext_td # flext_s flext_sd
flext:
--- 13,17 ----
!include config-pd-msvc.txt
! all: flext flext_t flext_d flext_td flext_s flext_sd
flext:
Index: readme.txt
===================================================================
RCS file: /cvsroot/pure-data/externals/grill/flext/readme.txt,v
retrieving revision 1.44
retrieving revision 1.45
diff -C2 -d -r1.44 -r1.45
*** readme.txt 17 Nov 2003 03:32:51 -0000 1.44
--- readme.txt 22 Feb 2004 03:33:59 -0000 1.45
***************
*** 1,5 ****
flext - C++ layer for Max/MSP and pd (pure data) externals
! Copyright (c) 2001-2003 Thomas Grill (xovo at gmx.net)
For information on usage and redistribution, and for a DISCLAIMER OF ALL
WARRANTIES, see the file, "license.txt," in this distribution.
--- 1,5 ----
flext - C++ layer for Max/MSP and pd (pure data) externals
! Copyright (c) 2001-2004 Thomas Grill (xovo at gmx.net)
For information on usage and redistribution, and for a DISCLAIMER OF ALL
WARRANTIES, see the file, "license.txt," in this distribution.
***************
*** 44,53 ****
o Borland C++ 5.5 (free):
! edit "config-pd-bcc.txt"
! run "build-pd-bcc.bat"
o Cygwin: edit "config-pd-cygwin.txt" & run "sh build-pd-cygwin.sh"
additional settings (e.g. target processor, compiler flags) can be made in makefile.pd-cygwin
With your project using flext, be sure to define "FLEXT_SYS=2".
--- 44,58 ----
o Borland C++ 5.5 (free):
! edit "config-pd-bcc.txt" and run "build-pd-bcc.bat"
! BCC++ currently supports non-threaded static flext libraries only
o Cygwin: edit "config-pd-cygwin.txt" & run "sh build-pd-cygwin.sh"
additional settings (e.g. target processor, compiler flags) can be made in makefile.pd-cygwin
+ o MinGW: edit "config-pd-mingw.txt" & run "build-pd-mingw.bat"
+ the MinGW binaries have to be in the PATH
+ additional settings (e.g. target processor, compiler flags) can be made in makefile.pd-mingw
+ MinGW currently supports non-threaded static flext libraries only
+
With your project using flext, be sure to define "FLEXT_SYS=2".
- Previous message: [PD-cvs] externals/popup COPYING.txt,NONE,1.1 gop-test.pd,NONE,1.1 makefile,NONE,1.1 popup-help.pd,NONE,1.1 popup.c,NONE,1.1
- Next message: [PD-cvs] externals/grill/flext/source flattr.cpp,1.19,1.20 flattr_ed.cpp,1.18,1.19 flbind.cpp,1.11,1.12 flclass.h,1.40,1.41 flext.cpp,1.26,1.27 flitem.cpp,1.9,1.10 fllib.cpp,1.20,1.21 flmeth.cpp,1.7,1.8 flmsg.cpp,1.9,1.10 flprefix.h,1.24,1.25 flsupport.cpp,1.30,1.31 flsupport.h,1.63,1.64
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Pd-cvs
mailing list