aboutsummaryrefslogtreecommitdiff
path: root/ViCious/pddp
diff options
context:
space:
mode:
Diffstat (limited to 'ViCious/pddp')
-rw-r--r--ViCious/pddp/makefile53
-rw-r--r--ViCious/pddp/objects3
-rw-r--r--ViCious/pddp/snapfiles10
3 files changed, 66 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
diff --git a/ViCious/pddp/objects b/ViCious/pddp/objects
new file mode 100644
index 0000000..85d65b4
--- /dev/null
+++ b/ViCious/pddp/objects
@@ -0,0 +1,3 @@
+PDDPLINK_OBJECTS = $(SRCDIR)\pddplink.obj \
+ $(SHAREDDIR)\common\loud.obj \
+ $(SHAREDDIR)\common\os.obj
diff --git a/ViCious/pddp/snapfiles b/ViCious/pddp/snapfiles
new file mode 100644
index 0000000..9dc4dbd
--- /dev/null
+++ b/ViCious/pddp/snapfiles
@@ -0,0 +1,10 @@
+SNAPFILES = \
+ miXed\bin\pddplink.dll \
+ miXed\bin\pddpboot.tcl \
+ miXed\bin\pddpclient.tcl \
+ miXed\bin\pddpserver.tcl \
+ miXed\ViCious\pddp\makefile \
+ miXed\ViCious\pddp\objects \
+ miXed\ViCious\pddp\snapfiles \
+ miXed\LICENSE.txt \
+ miXed\test\pddp\*.*