summaryrefslogtreecommitdiff
path: root/third_party
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2007-04-17 16:16:01 +0000
committerBenny Prijono <bennylp@teluu.com>2007-04-17 16:16:01 +0000
commit05faf09b3f03f8b704e00c1ee533fa2534682109 (patch)
treedfffccc9dc00fbb0e427022207eda071f4e211a9 /third_party
parentc82fed9c2902aed74ea5da08148983159e581ad7 (diff)
Fixed build system for third_party
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/split-3rd-party@1201 74dad513-b988-da41-8d7b-12977e46ad98
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