summaryrefslogtreecommitdiff
path: root/third_party
diff options
context:
space:
mode:
Diffstat (limited to 'third_party')
-rw-r--r--third_party/Makefile49
-rw-r--r--third_party/Makefile.in49
l---------third_party/build/portaudio/src/pa_linux_alsa.h1
3 files changed, 99 insertions, 0 deletions
diff --git a/third_party/Makefile b/third_party/Makefile
new file mode 100644
index 00000000..6a43479c
--- /dev/null
+++ b/third_party/Makefile
@@ -0,0 +1,49 @@
+include ../build.mak
+include $(PJDIR)/build/host-$(HOST_NAME).mak
+
+DIRS = build/resample
+
+ifeq (,1)
+else
+DIRS += build/gsm
+endif
+
+ifeq (,1)
+else
+DIRS += build/ilbc
+endif
+
+ifeq (,1)
+else
+DIRS += build/speex
+endif
+
+ifeq (pa_unix,pa_old_darwinos)
+DIRS += build/portaudio
+endif
+
+ifeq (pa_unix,pa_darwinos)
+DIRS += build/portaudio
+endif
+
+ifeq (pa_unix,pa_win32)
+DIRS += build/portaudio
+endif
+
+ifeq (pa_unix,pa_unix)
+DIRS += build/portaudio
+endif
+
+
+
+all clean dep depend distclean realclean:
+ for dir in $(DIRS); do \
+ if [ -d $$dir ]; then \
+ if $(MAKE) $(MAKE_FLAGS) -C $$dir $@; then \
+ true; \
+ else \
+ exit 1; \
+ fi; \
+ fi; \
+ done
+
diff --git a/third_party/Makefile.in b/third_party/Makefile.in
new file mode 100644
index 00000000..43c646d4
--- /dev/null
+++ b/third_party/Makefile.in
@@ -0,0 +1,49 @@
+include ../build.mak
+include $(PJDIR)/build/host-$(HOST_NAME).mak
+
+DIRS = build/resample
+
+ifeq (@ac_no_gsm_codec@,1)
+else
+DIRS += build/gsm
+endif
+
+ifeq (@ac_no_ilbc_codec@,1)
+else
+DIRS += build/ilbc
+endif
+
+ifeq (@ac_no_speex_codec@,1)
+else
+DIRS += build/speex
+endif
+
+ifeq (@ac_pjmedia_snd@,pa_old_darwinos)
+DIRS += build/portaudio
+endif
+
+ifeq (@ac_pjmedia_snd@,pa_darwinos)
+DIRS += build/portaudio
+endif
+
+ifeq (@ac_pjmedia_snd@,pa_win32)
+DIRS += build/portaudio
+endif
+
+ifeq (@ac_pjmedia_snd@,pa_unix)
+DIRS += build/portaudio
+endif
+
+
+
+all clean dep depend distclean realclean:
+ for dir in $(DIRS); do \
+ if [ -d $$dir ]; then \
+ if $(MAKE) $(MAKE_FLAGS) -C $$dir $@; then \
+ true; \
+ else \
+ exit 1; \
+ fi; \
+ fi; \
+ done
+
diff --git a/third_party/build/portaudio/src/pa_linux_alsa.h b/third_party/build/portaudio/src/pa_linux_alsa.h
new file mode 120000
index 00000000..a97f6eb0
--- /dev/null
+++ b/third_party/build/portaudio/src/pa_linux_alsa.h
@@ -0,0 +1 @@
+../../../portaudio/include/pa_linux_alsa.h \ No newline at end of file