From 2f98cf610081a6e3c4a4aadf4411dcc89b756db2 Mon Sep 17 00:00:00 2001 From: "N.N." Date: Tue, 10 May 2005 20:30:47 +0000 Subject: toxy alpha17 and pddp alpha1 (see notes.txt for toxy, pddp and shared) svn path=/trunk/externals/miXed/; revision=2941 --- ViCious/pddp/makefile | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 ViCious/pddp/makefile (limited to 'ViCious/pddp/makefile') diff --git a/ViCious/pddp/makefile b/ViCious/pddp/makefile new file mode 100644 index 0000000..fee9c8e --- /dev/null +++ b/ViCious/pddp/makefile @@ -0,0 +1,53 @@ +current: pddp + +.SUFFIXES: .dll .obj + +ROOTDIR = ..\..\.. +SRCDIR = $(ROOTDIR)\miXed\pddp +BINDIR = $(ROOTDIR)\miXed\bin +SHAREDDIR = $(ROOTDIR)\miXed\shared +EXTDIR = e:\PureData\externals +PDDIR = e:\PureData\pd +VCLIBDIR = "e:\Program Files\Microsoft Visual Studio\Vc98\lib" +ZIPCOMMAND = d:\dosowe\arc\info-zip\zip + +INCLUDES = /I. /I$(SHAREDDIR) /I$(PDDIR)\src +CFLAGS = /W3 /WX /DNT /DMSW /DPD /nologo + +LIBS = $(VCLIBDIR)\libc.lib \ + $(VCLIBDIR)\oldnames.lib \ + $(VCLIBDIR)\wsock32.lib \ + $(VCLIBDIR)\kernel32.lib \ + $(VCLIBDIR)\uuid.lib \ + $(PDDIR)\bin\pd.lib + +!INCLUDE objects +!INCLUDE snapfiles +!INCLUDE $(SRCDIR)\build_counter + +pddp: pddpboot pddplink.dll + @cd $(ROOTDIR) + @$(ZIPCOMMAND) pddp-$(PDDP_SNAPSHOT)-dll.zip $(SNAPFILES) + +pddpboot: + -@copy $(SRCDIR)\pddpboot.tcl $(EXTDIR) + -@copy $(SRCDIR)\pddpclient.tcl $(EXTDIR) + -@copy $(SRCDIR)\pddpserver.tcl $(EXTDIR) + -@copy $(SRCDIR)\pddpboot.tcl $(BINDIR) + -@copy $(SRCDIR)\pddpclient.tcl $(BINDIR) + -@copy $(SRCDIR)\pddpserver.tcl $(BINDIR) + +pddplink.dll: $(PDDPLINK_OBJECTS) + -link /dll /out:$@ $(LIBS) $** /export:$(@:.dll=_setup) + -@copy $@ $(EXTDIR) + -@move $@ $(BINDIR) + -del $(@:.dll=.exp) + -del $(@:.dll=.lib) + +.c.obj: ; cl /c $(CFLAGS) $(INCLUDES) /Fo$*.obj $*.c + +clean: + del *.obj + del *.exp + del *.lib + del *.dll -- cgit v1.2.1