aboutsummaryrefslogtreecommitdiff
path: root/ViCious/pddp/makefile
diff options
context:
space:
mode:
authorN.N. <krzyszcz@users.sourceforge.net>2005-05-10 20:30:47 +0000
committerN.N. <krzyszcz@users.sourceforge.net>2005-05-10 20:30:47 +0000
commit2f98cf610081a6e3c4a4aadf4411dcc89b756db2 (patch)
tree282ed3657a8050ad790570dec4263fff67272f6b /ViCious/pddp/makefile
parentcdd23c6b9523654eb3bf03542021404888fdbcba (diff)
toxy alpha17 and pddp alpha1 (see notes.txt for toxy, pddp and shared)
svn path=/trunk/externals/miXed/; revision=2941
Diffstat (limited to 'ViCious/pddp/makefile')
-rw-r--r--ViCious/pddp/makefile53
1 files changed, 53 insertions, 0 deletions
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