aboutsummaryrefslogtreecommitdiff
path: root/externals/build
diff options
context:
space:
mode:
authorcarmen rocco <ix9@users.sourceforge.net>2004-07-07 14:34:54 +0000
committercarmen rocco <ix9@users.sourceforge.net>2004-07-07 14:34:54 +0000
commit5849adb43d110c488b0ac872e7de9e32b901ad5f (patch)
tree454ee419967e794441496a69a34ffea1eeabc5e8 /externals/build
parent9ceb99a5e618c17eecc5c5007508f1400ac0b70f (diff)
momgviisthesuck
svn path=/trunk/; revision=1841
Diffstat (limited to 'externals/build')
-rw-r--r--externals/build/win/m_pd.h10
-rw-r--r--externals/build/win/makefile6
-rw-r--r--externals/build/win/netclient.libs1
-rw-r--r--externals/build/win/netdist.libs1
-rw-r--r--externals/build/win/netrec.libs1
-rw-r--r--externals/build/win/netserver.libs1
-rw-r--r--externals/build/win/oggamp~.libs1
-rw-r--r--externals/build/win/oggcast~.libs1
-rw-r--r--externals/build/win/oggread~.libs1
-rw-r--r--externals/build/win/oggwrite~.libs1
-rw-r--r--externals/build/win/streamin13~.libs1
-rw-r--r--externals/build/win/streamin~.libs1
-rw-r--r--externals/build/win/streamout13~.libs1
-rw-r--r--externals/build/win/streamout~.libs1
14 files changed, 25 insertions, 3 deletions
diff --git a/externals/build/win/m_pd.h b/externals/build/win/m_pd.h
new file mode 100644
index 00000000..a3aa05b5
--- /dev/null
+++ b/externals/build/win/m_pd.h
@@ -0,0 +1,10 @@
+/* windows compatibility stuff - cr 2004 */
+
+#include "../../../src/m_pd.h"
+
+#define setenv(a,b,c) _putenv(a)
+#define drand48() ((double)rand()/RAND_MAX)
+#define srand48(n) srand((n));
+#define expm1(e) exp(e)-1
+#define bzero(p,n) memset(p,0,n)
+#define O_NONBLOCK 0
diff --git a/externals/build/win/makefile b/externals/build/win/makefile
index e6d3c706..94d3212c 100644
--- a/externals/build/win/makefile
+++ b/externals/build/win/makefile
@@ -6,15 +6,15 @@ all: $(EXTERNALS:.c=.dll)
.SUFFIXES: .dll
-CFLAGS = -DPD -DWINDOWS -Wall -W -Wshadow -Wstrict-prototypes \
+CFLAGS = -DPD -DMSW -DNT -Wall -W -Wshadow -Wstrict-prototypes \
-Wno-unused -Wno-parentheses -Wno-switch
-INCLUDE = -I. -I.. -I../include
+INCLUDE = -I. -I.. -I../include -I/usr/local/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`
+ `test -f $*.libs && cat $*.libs` -L/usr/local/lib
clean:
-rm *.a *.def *.dll *.o
diff --git a/externals/build/win/netclient.libs b/externals/build/win/netclient.libs
new file mode 100644
index 00000000..8684faa9
--- /dev/null
+++ b/externals/build/win/netclient.libs
@@ -0,0 +1 @@
+-lwsock32 -lpthreadGC
diff --git a/externals/build/win/netdist.libs b/externals/build/win/netdist.libs
new file mode 100644
index 00000000..8684faa9
--- /dev/null
+++ b/externals/build/win/netdist.libs
@@ -0,0 +1 @@
+-lwsock32 -lpthreadGC
diff --git a/externals/build/win/netrec.libs b/externals/build/win/netrec.libs
new file mode 100644
index 00000000..8684faa9
--- /dev/null
+++ b/externals/build/win/netrec.libs
@@ -0,0 +1 @@
+-lwsock32 -lpthreadGC
diff --git a/externals/build/win/netserver.libs b/externals/build/win/netserver.libs
new file mode 100644
index 00000000..8684faa9
--- /dev/null
+++ b/externals/build/win/netserver.libs
@@ -0,0 +1 @@
+-lwsock32 -lpthreadGC
diff --git a/externals/build/win/oggamp~.libs b/externals/build/win/oggamp~.libs
new file mode 100644
index 00000000..c5567834
--- /dev/null
+++ b/externals/build/win/oggamp~.libs
@@ -0,0 +1 @@
+-logg -lvorbisenc -lvorbisfile -lvorbis -lpthreadGC -lwsock32
diff --git a/externals/build/win/oggcast~.libs b/externals/build/win/oggcast~.libs
new file mode 100644
index 00000000..28114c53
--- /dev/null
+++ b/externals/build/win/oggcast~.libs
@@ -0,0 +1 @@
+-logg -lvorbis -lvorbisenc -lvorbisfile
diff --git a/externals/build/win/oggread~.libs b/externals/build/win/oggread~.libs
new file mode 100644
index 00000000..28114c53
--- /dev/null
+++ b/externals/build/win/oggread~.libs
@@ -0,0 +1 @@
+-logg -lvorbis -lvorbisenc -lvorbisfile
diff --git a/externals/build/win/oggwrite~.libs b/externals/build/win/oggwrite~.libs
new file mode 100644
index 00000000..28114c53
--- /dev/null
+++ b/externals/build/win/oggwrite~.libs
@@ -0,0 +1 @@
+-logg -lvorbis -lvorbisenc -lvorbisfile
diff --git a/externals/build/win/streamin13~.libs b/externals/build/win/streamin13~.libs
new file mode 100644
index 00000000..d9fc15a1
--- /dev/null
+++ b/externals/build/win/streamin13~.libs
@@ -0,0 +1 @@
+-lwsock32
diff --git a/externals/build/win/streamin~.libs b/externals/build/win/streamin~.libs
new file mode 100644
index 00000000..d9fc15a1
--- /dev/null
+++ b/externals/build/win/streamin~.libs
@@ -0,0 +1 @@
+-lwsock32
diff --git a/externals/build/win/streamout13~.libs b/externals/build/win/streamout13~.libs
new file mode 100644
index 00000000..d9fc15a1
--- /dev/null
+++ b/externals/build/win/streamout13~.libs
@@ -0,0 +1 @@
+-lwsock32
diff --git a/externals/build/win/streamout~.libs b/externals/build/win/streamout~.libs
new file mode 100644
index 00000000..d9fc15a1
--- /dev/null
+++ b/externals/build/win/streamout~.libs
@@ -0,0 +1 @@
+-lwsock32