[PD-cvs] externals/grill/flext/build/win/pd config-bcc.def,NONE,1.1 config-cygwin.def,NONE,1.1 config-mingw.def,NONE,1.1 config-msvc.def,NONE,1.1 make-bcc.inc,NONE,1.1 make-cygwin.inc,NONE,1.1 make-mingw.inc,NONE,1.1 make-msvc.inc,NONE,1.1

Thomas Grill xovo at users.sourceforge.net
Sun Dec 19 06:04:21 CET 2004


Update of /cvsroot/pure-data/externals/grill/flext/build/win/pd
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24525/build/win/pd

Added Files:
	config-bcc.def config-cygwin.def config-mingw.def 
	config-msvc.def make-bcc.inc make-cygwin.inc make-mingw.inc 
	make-msvc.inc 
Log Message:
simplified make system
updated make system


--- NEW FILE: make-bcc.inc ---
DEFS=$(DEFS) /DFLEXT_SYS=2

INCPATH=$(INCPATH) -I$(PDPATH)\src

# these are both in FLEXTPATH
LIBS=$(LIBS) pd.lib pthreadVC.lib

EXT=dll

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

!ifdef SHARED
# --- shared ---

!else
!ifdef THREADED
# --- static multi-threaded ---

!ifdef DEBUG
LIBS=$(LIBS) flext_td-pdwin.lib 
!else
LIBS=$(LIBS) flext_t-pdwin.lib 
!endif

!else 
# --- static single-threaded ---

!ifdef DEBUG
LIBS=$(LIBS) flext_d-pdwin.lib 
!else
LIBS=$(LIBS) flext-pdwin.lib 
!endif

!endif
!endif

--- NEW FILE: make-msvc.inc ---
DEFS=$(DEFS) /DFLEXT_SYS=2

INCPATH=$(INCPATH) /I$(PDPATH)\src
LIBPATH=$(LIBPATH) /LIBPATH:$(PDPATH)\bin

# these are both in PDPATH
LIBS=$(LIBS) pd.lib pthreadVC.lib

EXT=dll

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

!ifdef SHARED
# --- shared ---

!elseifdef THREADED
# --- static multi-threaded ---

!ifdef DEBUG
LIBS=$(LIBS) flext_td-pdwin.lib 
!else
LIBS=$(LIBS) flext_t-pdwin.lib 
!endif

!else 
# --- static single-threaded ---

!ifdef DEBUG
LIBS=$(LIBS) flext_d-pdwin.lib 
!else
LIBS=$(LIBS) flext-pdwin.lib 
!endif

!endif

--- NEW FILE: config-cygwin.def ---
# where is PD?
# (it seems like cygwin compilation is only working if 
# there are no pthread.h and sched.h in the PD src subfolder
# - these are provided by cygwin )
PDPATH=/cygdrive/c/programme/audio/pd

# where should the external be installed?
INSTPATH=$(PDPATH)/extra

# where do the flext headers and libraries reside?
FLEXTPATH=$(PDPATH)/flext

# where should the external be built?
OUTPATH=pd-cygwin

# user defined compiler flags
# (check if they match your system!)
OFLAGS=-O2 -march=pentium4 -msse

--- NEW FILE: config-bcc.def ---
# where is PD?
PDPATH=c:\programme\audio\pd		

# where should the external be installed?
INSTPATH=$(PDPATH)\extra

# where do the flext headers and libraries reside?
FLEXTPATH=$(PDPATH)\flext

# where is BorlandC++?
BCCPATH=C:\Programme\prog\bcc55

# where should the external be built?
OUTPATH=pd-bcc

# user defined compiler flags
# (check if they match your system!)
OFLAGS=-6 -O2 -OS -ff -d


--- NEW FILE: config-msvc.def ---
# where is PD?
PDPATH=c:\programme\audio\pd		

# where should the external be installed?
INSTPATH=$(PDPATH)\extra

# where do the flext headers and libraries reside?
FLEXTPATH=$(PDPATH)\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 should the external be built?
OUTPATH=pd-msvc

# user defined compiler flags
# (check if they match your system!)
OFLAGS=/G6 /Ox /arch:SSE

--- NEW FILE: config-mingw.def ---
# where is PD?
PDPATH=c:/programme/audio/pd

# where should the external be installed?
INSTPATH=$(PDPATH)/extra

# where do the flext headers and libraries reside?
FLEXTPATH=$(PDPATH)/flext

# where should the external be built?
OUTPATH=pd-mingw

# user defined compiler flags
# (check if they match your system!)
OFLAGS=-O2 -march=pentium4 -msse

--- NEW FILE: make-cygwin.inc ---
DEFS += -DFLEXT_SYS=2

INCPATH += -I$(PDPATH)/src
LIBPATH += -L$(PDPATH)/bin

LDFLAGS +=

LIBS +=

EXT=dll

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

ifdef SHARED
# --- shared ---

ifdef DEBUG
LIBS += -lflext_d
else
LIBS += -lflext
endif

else
ifdef THREADED
# --- static multi-threaded ---

ifdef DEBUG
LIBS += $(FLEXTPATH)/libflext_td.a
else
LIBS += $(FLEXTPATH)/libflext_t.a
endif

else 
# --- static single-threaded ---

ifdef DEBUG
LIBS += $(FLEXTPATH)/libflext_d.a
else
LIBS += $(FLEXTPATH)/libflext.a
endif

endif
endif

--- NEW FILE: make-mingw.inc ---
DEFS += -DFLEXT_SYS=2

INCPATH += -I$(PDPATH)/src
LIBPATH += -L$(PDPATH)/bin

# these are both in PDPATH
LIBS += -lpd -lpthreadVC

EXT=dll

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

ifdef SHARED
# --- shared ---

elseifdef THREADED
# --- static multi-threaded ---

ifdef DEBUG
LIBS += -lflext_td-pdwin
else
LIBS += -lflext_t-pdwin
endif

else 
# --- static single-threaded ---

ifdef DEBUG
LIBS += -lflext_d-pdwin
else
LIBS += -lflext-pdwin
endif

endif





More information about the Pd-cvs mailing list