aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sndfiler/build/config-lnx.def1
-rw-r--r--sndfiler/build/config-mac.def1
-rw-r--r--sndfiler/build/config-win.def5
-rw-r--r--sndfiler/build/gnumake-lnx-gcc.inc1
-rw-r--r--sndfiler/build/gnumake-mac-gcc.inc1
-rw-r--r--sndfiler/build/gnumake-win-cygwin.inc3
-rw-r--r--sndfiler/build/gnumake-win-mingw.inc3
-rw-r--r--sndfiler/build/nmake-win-msvc.inc3
-rw-r--r--sndfiler/package.txt4
9 files changed, 22 insertions, 0 deletions
diff --git a/sndfiler/build/config-lnx.def b/sndfiler/build/config-lnx.def
new file mode 100644
index 0000000..fc37b7e
--- /dev/null
+++ b/sndfiler/build/config-lnx.def
@@ -0,0 +1 @@
+# nothing to set
diff --git a/sndfiler/build/config-mac.def b/sndfiler/build/config-mac.def
new file mode 100644
index 0000000..fc37b7e
--- /dev/null
+++ b/sndfiler/build/config-mac.def
@@ -0,0 +1 @@
+# nothing to set
diff --git a/sndfiler/build/config-win.def b/sndfiler/build/config-win.def
new file mode 100644
index 0000000..bd7bf72
--- /dev/null
+++ b/sndfiler/build/config-win.def
@@ -0,0 +1,5 @@
+# where is the libsndfile installation?
+SNDFILEPATH=%programfiles%\libsndfile
+
+SNDFILEINC=$(SNDFILEPATH)\src
+SNDFILELIB=$(SNDFILEPATH)
diff --git a/sndfiler/build/gnumake-lnx-gcc.inc b/sndfiler/build/gnumake-lnx-gcc.inc
new file mode 100644
index 0000000..3314475
--- /dev/null
+++ b/sndfiler/build/gnumake-lnx-gcc.inc
@@ -0,0 +1 @@
+LIBS += -lsndfile
diff --git a/sndfiler/build/gnumake-mac-gcc.inc b/sndfiler/build/gnumake-mac-gcc.inc
new file mode 100644
index 0000000..3314475
--- /dev/null
+++ b/sndfiler/build/gnumake-mac-gcc.inc
@@ -0,0 +1 @@
+LIBS += -lsndfile
diff --git a/sndfiler/build/gnumake-win-cygwin.inc b/sndfiler/build/gnumake-win-cygwin.inc
new file mode 100644
index 0000000..3b7c000
--- /dev/null
+++ b/sndfiler/build/gnumake-win-cygwin.inc
@@ -0,0 +1,3 @@
+INCPATH += -I$(SNDFILEINC)
+LIBPATH += -L$(SNDFILELIB)
+LIBS += -lsndfile
diff --git a/sndfiler/build/gnumake-win-mingw.inc b/sndfiler/build/gnumake-win-mingw.inc
new file mode 100644
index 0000000..3b7c000
--- /dev/null
+++ b/sndfiler/build/gnumake-win-mingw.inc
@@ -0,0 +1,3 @@
+INCPATH += -I$(SNDFILEINC)
+LIBPATH += -L$(SNDFILELIB)
+LIBS += -lsndfile
diff --git a/sndfiler/build/nmake-win-msvc.inc b/sndfiler/build/nmake-win-msvc.inc
new file mode 100644
index 0000000..9b832cc
--- /dev/null
+++ b/sndfiler/build/nmake-win-msvc.inc
@@ -0,0 +1,3 @@
+INCPATH=$(INCPATH) /I$(SNDFILEINC)
+LIBPATH=$(LIBPATH) /LIBPATH:$(SNDFILELIB)
+LIBS=$(LIBS) libsndfile.lib
diff --git a/sndfiler/package.txt b/sndfiler/package.txt
new file mode 100644
index 0000000..8f4281e
--- /dev/null
+++ b/sndfiler/package.txt
@@ -0,0 +1,4 @@
+NAME=sndfiler
+SRCDIR=src
+SRCS=sndfiler.c
+BUILDDIR=build