[PD-cvs] externals/unauthorized Makefile,1.6,1.7
eighthave at users.sourceforge.net
eighthave at users.sourceforge.net
Mon Oct 20 05:17:28 CEST 2003
- Previous message: [PD-cvs] externals/grill/py/source bound.cpp,1.5,1.6 clmeth.cpp,1.3,1.4 main.cpp,1.4,1.5 main.h,1.6,1.7 modmeth.cpp,1.6,1.7 py.cpp,1.5,1.6 pyext.cpp,1.7,1.8 pyext.h,1.7,1.8
- Next message: [PD-cvs] externals/ext13/doc cdplayer-help.pd,NONE,1.1 ext13-help.pd,NONE,1.1 kalashnikov-help.pd,NONE,1.1 mandelbrot-help.pd,NONE,1.1 mandelbrot~-help.pd,NONE,1.1 openpatch-help.pd,NONE,1.1 ossmixer-help.pd,NONE,1.1 pipeio~-help.pd,NONE,1.1 promiscous~-help.pd,NONE,1.1 scramble~-help.pd,NONE,1.1 send13-help.pd,NONE,1.1 streamio13~-help.pd,NONE,1.1 wavinfo-help.pd,NONE,1.1 cdplayer.pd,1.1.1.1,NONE ext13.pd,1.1.1.1,NONE kalashnikov.pd,1.1.1.1,NONE mandelbrot.pd,1.1.1.1,NONE mandelbrot~.pd,1.1.1.1,NONE openpatch.pd,1.1.1.1,NONE ossmixer.pd,1.1.1.1,NONE pipeio~.pd,1.1.1.1,NONE promiscous~.pd,1.2,NONE scramble~.pd,1.1.1.1,NONE send13.pd,1.1.1.1,NONE streamio13~.pd,1.1.1.1,NONE wavinfo.pd,1.1.1.1,NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/pure-data/externals/unauthorized
In directory sc8-pr-cvs1:/tmp/cvs-serv8804
Modified Files:
Makefile
Log Message:
first attempts at getting things to compile with MinGW
Index: Makefile
===================================================================
RCS file: /cvsroot/pure-data/externals/unauthorized/Makefile,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** Makefile 25 Sep 2003 22:25:11 -0000 1.6
--- Makefile 20 Oct 2003 03:17:26 -0000 1.7
***************
*** 1,9 ****
! EXT=pd_$(shell uname -s | sed -e 's/L/l/' | sed -e 's/D/d/')
! CC=gcc
# This is Miller's default install location
INSTALL_PREFIX=/usr/local/lib/pd
# find all files to compile
--- 1,17 ----
+ CC=gcc
! OS_NAME=$(shell uname -s)
! #echo $(OS_NAME)
+ # this needs to also recognize MINGW_NT-5.0
+ # also, XP uses CYGWIN_NT-5.1 and MINGW_NT-5.1
+ ifneq "$(OS_NAME)" "CYGWIN_NT-5.0"
+ EXT=pd_$(shell uname -s | sed -e 's/L/l/' | sed -e 's/D/d/')
# This is Miller's default install location
INSTALL_PREFIX=/usr/local/lib/pd
+ else
+ EXT=dll
+ endif
# find all files to compile
***************
*** 14,45 ****
.SUFFIXES: .pd_linux .pd_darwin .pd_irix5 .pd_irix6 .dll .tk .tk2c
! # ----------------------- NT -----------------------
! pd_nt: $(NAME).dll
- PDNTCFLAGS = /W3 /WX /DNT /DPD /nologo
- VC="C:\Program Files\Microsoft Visual Studio\Vc98"
! PDNTINCLUDE = /I. /I\tcl\include /I\ftp\pd\src /I$(VC)\include
! PDNTLDIR = $(VC)\lib
! PDNTLIB = $(PDNTLDIR)\libc.lib \
! $(PDNTLDIR)\oldnames.lib \
! $(PDNTLDIR)\kernel32.lib \
! \ftp\pd\bin\pd.lib
! .c.ont:
! cl $(PDNTCFLAGS) $(PDNTINCLUDE) /c $*.c
.c.dll:
! cl $(PDNTCFLAGS) $(PDNTINCLUDE) /c $*.c
! # need to find a way to replace $(CSYM)
! # link /dll /export:$(CSYM)_setup $*.obj $(PDNTLIB)
! # ----------------------- UNIX Common ---------------------
! .tk.tk2c:
! ./tk2c.bash < $*.tk > $*.tk2c
# ----------------------- IRIX 5.x -----------------------
--- 22,71 ----
.SUFFIXES: .pd_linux .pd_darwin .pd_irix5 .pd_irix6 .dll .tk .tk2c
! # ----------------------- Common ------------------------
! .tk.tk2c:
! ./tk2c.bash < $*.tk > $*.tk2c
! # ----------------------- MINGW-NT -----------------------
! pd_nt: $(TARGETS)
! MINGW_CFLAGS = -DPD -DUNIX -DICECAST -O2 -funroll-loops -fomit-frame-pointer \
! -Wall -W -Wno-shadow -Wstrict-prototypes -g \
! -Wno-unused -Wno-parentheses -Wno-switch \
! -mno-cygwin -c -DBUILD_DLL
+ MINGW_INCLUDE = -I../../src -I../../pd/src
+
+ MINGW_LFLAGS = -L../../pd/bin -lpd
+
+ .c.dll: CURRENT_DIR = `echo $* | cut -d '/' -f 1`
.c.dll:
! $(CC) $(MINGW_CFLAGS) $(MINGW_INCLUDE) -o $*.o -c $*.c
! ld -export_dynamic -shared -o $*.dll $*.o -lc -lm $(MINGW_LFLAGS)
! # strip --strip-unneeded $*.dll
! # dllwrap --target=i386-mingw32 -mno-cygwin --output-lib=lib$*.a \
! # --dllname=$*.dll --driver-name=gcc $*.o $(MINGW_LFLAGS)
! # -rm $*.o
! # PDNTCFLAGS = /W3 /WX /DNT /DPD /nologo
! # VC="C:\Program Files\Microsoft Visual Studio\Vc98"
! # PDNTINCLUDE = /I. /I\tcl\include /I\ftp\pd\src /I$(VC)\include
!
! # PDNTLDIR = $(VC)\lib
! # PDNTLIB = $(PDNTLDIR)\libc.lib \
! # $(PDNTLDIR)\oldnames.lib \
! # $(PDNTLDIR)\kernel32.lib \
! # \ftp\pd\bin\pd.lib
!
! # .c.ont:
! # cl $(PDNTCFLAGS) $(PDNTINCLUDE) /c $*.c
+ # .c.dll:
+ # cl $(PDNTCFLAGS) $(PDNTINCLUDE) /c $*.c
+ # need to find a way to replace $(CSYM)
+ # link /dll /export:$(CSYM)_setup $*.obj $(PDNTLIB)
# ----------------------- IRIX 5.x -----------------------
- Previous message: [PD-cvs] externals/grill/py/source bound.cpp,1.5,1.6 clmeth.cpp,1.3,1.4 main.cpp,1.4,1.5 main.h,1.6,1.7 modmeth.cpp,1.6,1.7 py.cpp,1.5,1.6 pyext.cpp,1.7,1.8 pyext.h,1.7,1.8
- Next message: [PD-cvs] externals/ext13/doc cdplayer-help.pd,NONE,1.1 ext13-help.pd,NONE,1.1 kalashnikov-help.pd,NONE,1.1 mandelbrot-help.pd,NONE,1.1 mandelbrot~-help.pd,NONE,1.1 openpatch-help.pd,NONE,1.1 ossmixer-help.pd,NONE,1.1 pipeio~-help.pd,NONE,1.1 promiscous~-help.pd,NONE,1.1 scramble~-help.pd,NONE,1.1 send13-help.pd,NONE,1.1 streamio13~-help.pd,NONE,1.1 wavinfo-help.pd,NONE,1.1 cdplayer.pd,1.1.1.1,NONE ext13.pd,1.1.1.1,NONE kalashnikov.pd,1.1.1.1,NONE mandelbrot.pd,1.1.1.1,NONE mandelbrot~.pd,1.1.1.1,NONE openpatch.pd,1.1.1.1,NONE ossmixer.pd,1.1.1.1,NONE pipeio~.pd,1.1.1.1,NONE promiscous~.pd,1.2,NONE scramble~.pd,1.1.1.1,NONE send13.pd,1.1.1.1,NONE streamio13~.pd,1.1.1.1,NONE wavinfo.pd,1.1.1.1,NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Pd-cvs
mailing list