Update of /cvsroot/pure-data/externals/build/win In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3018
Modified Files: makefile Removed Files: filelist.inc makefile.mingw Log Message: revamped win32 build process...email forthcoming
--- filelist.inc DELETED ---
Index: makefile =================================================================== RCS file: /cvsroot/pure-data/externals/build/win/makefile,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** makefile 28 Oct 2003 06:13:33 -0000 1.5 --- makefile 1 Apr 2004 03:03:19 -0000 1.6 *************** *** 1,61 **** ! # ----------------------- NT ----------------------- !
! EXTERNALS=\ ! #!IF ![f exist filelist.inc del filelist.inc & for %i in (*.c) do @echo %i >> filelist.inc] ! !INCLUDE filelist.inc ! #!ENDIF
! all: filelist.inc link.stamp $(EXTERNALS:.c=.dll)
.SUFFIXES: .dll
! PDNTCFLAGS = /W3 /WX /DNT /DPD /nologo ! VC="C:\Program Files\Microsoft Visual Studio\Vc98" ! OGGPATH="C:\oggvorbis-win32sdk-1.0" ! SRCPATH=..\src ! PDPATH=......\pd ! ! PDNTINCLUDE = /I. /I.. /I......\pd\src /I$(VC)\include \ ! /I....\creb\include /I$(OGGPATH)/include ! ! PDNTLDIR = $(VC)\lib ! PDNTLIB = $(PDNTLDIR)\libc.lib \ ! $(PDNTLDIR)\oldnames.lib \ ! $(PDNTLDIR)\kernel32.lib \ ! $(PDNTLDIR)\uuid.lib \ ! $(PDNTLDIR)\ws2_32.lib \ ! $(PDPATH)\bin\pthreadVC.lib \ ! $(PDPATH)\bin\pd.lib \ ! $(OGGPATH)\lib\vorbis.lib \ ! $(OGGPATH)\lib\vorbisenc.lib \ ! $(OGGPATH)\lib\vorbisfile.lib \ ! $(OGGPATH)\lib\ogg.lib ! ! .c.dll: ! cl $(PDNTCFLAGS) $(PDNTINCLUDE) /c $*.c ! link /dll /export:$(*:~=_tilde)_setup $(*).obj $(PDNTLIB) ! del $*.obj $*.lib $*.exp
! filelist.inc: ! if exist filelist.inc del filelist.inc ! # for %i in ($(SRCPATH)*.c) do @echo %~ni%~xi >> filelist.inc ! for %i in ($(SRCPATH)*.c) do @echo %~ni%~xi >> filelist.inc
! transfer: ! copy $(SRCPATH)*.c .
! link.stamp: filelist.inc ! copy $(SRCPATH)*.c . ! copy /y nul link.stamp ! nmake
! clean: ! # don't delete filelist.inc at the moment, as some externals can't be compiled ! # on win32 ! -del link.stamp ! -del *.c ! -del *.obj ! -del *.lib ! -del *.exp ! -del *.dll --- 1,27 ---- ! prefix=../../..
! EXTERNALS = $(shell ls ../src)
! all: $(EXTERNALS:.c=.dll)
.SUFFIXES: .dll
! CFLAGS = -DPD -DWINDOWS -Wall -W -Wshadow -Wstrict-prototypes \ ! -Wno-unused -Wno-parentheses -Wno-switch
! INCLUDE = -I. -I.. -I../include
! %.dll: ../src/%.c ! $(CC) $(CFLAGS) $(INCLUDE) -o "$*.o" -c "../src/$*.c" ! gcc -shared -o "$*.dll" "$*.o" $(prefix)/bin/pd.dll \ ! `test -f $*.libs && cat $*.libs` ! clean: ! -rm *.a *.def *.dll *.o
! install-doc: ! @test -d $(prefix)/doc/5.reference || mkdir -p $(prefix)/doc/5.reference ! cp -r ../doc/* $(prefix)/doc/5.reference
! install: install-doc ! @test -d $(prefix)/extra || mkdir -p $(prefix)/extra ! install *.dll $(prefix)/extra
--- makefile.mingw DELETED ---