~ubuntu-branches/ubuntu/trusty/sflphone/trusty

« back to all changes in this revision

Viewing changes to daemon/libs/pjproject-2.0.1/third_party/build/portaudio/os-auto.mak.in

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2013-06-30 11:40:56 UTC
  • mfrom: (4.1.18 saucy-proposed)
  • Revision ID: package-import@ubuntu.com-20130630114056-0np50jkyqo6vnmii
Tags: 1.2.3-2
* changeset_r92d62cfc54732bbbcfff2b1d36c096b120b981a5.diff 
  - fixes automatic endian detection 
* Update Vcs: fixes vcs-field-not-canonical

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# @configure_input@
 
2
 
 
3
# Define the desired sound device backend
 
4
# Valid values are:
 
5
#   - pa_unix:          PortAudio on Unix (OSS or ALSA)
 
6
#   - pa_darwinos:      PortAudio on MacOSX (CoreAudio)
 
7
#   - pa_old_darwinos:  PortAudio on MacOSX (old CoreAudio, for OSX 10.2)
 
8
#   - pa_win32:         PortAudio on Win32 (WMME)
 
9
#
 
10
# There are other values below, but these are handled by PJMEDIA's Makefile
 
11
#   - ds:               Win32 DirectSound (dsound.c)
 
12
#   - null:             Null sound device (nullsound.c)
 
13
AC_PJMEDIA_SND=@ac_pjmedia_snd@
 
14
 
 
15
# For Unix, specify if ALSA should be supported
 
16
AC_PA_USE_ALSA=@ac_pa_use_alsa@
 
17
 
 
18
# For Unix, specify if OSS should be supported
 
19
AC_PA_USE_OSS=@ac_pa_use_oss@
 
20
 
 
21
# Additional PortAudio CFLAGS are in @ac_pa_cflags@
 
22
 
 
23
 
 
24
#
 
25
# PortAudio on Unix
 
26
#
 
27
ifeq ($(AC_PJMEDIA_SND),pa_unix)
 
28
# Host APIs and utils
 
29
export PORTAUDIO_OBJS += pa_unix_hostapis.o pa_unix_util.o
 
30
 
 
31
# Include ALSA?
 
32
ifeq ($(AC_PA_USE_ALSA),1)
 
33
export CFLAGS += -DPA_USE_ALSA=1
 
34
export PORTAUDIO_OBJS += pa_linux_alsa.o
 
35
endif
 
36
 
 
37
export CFLAGS += @ac_pa_cflags@
 
38
endif
 
39
 
 
40
# Include OSS?
 
41
ifeq ($(AC_PA_USE_OSS),1)
 
42
export CFLAGS += -DPA_USE_OSS=1
 
43
export PORTAUDIO_OBJS += pa_unix_oss.o
 
44
endif
 
45
 
 
46
#
 
47
# PortAudio on MacOS X (using current PortAudio)
 
48
#
 
49
ifeq ($(AC_PJMEDIA_SND),pa_darwinos)
 
50
export PORTAUDIO_OBJS +=pa_mac_hostapis.o \
 
51
                        pa_unix_util.o \
 
52
                        pa_mac_core.o \
 
53
                        pa_mac_core_blocking.o \
 
54
                        pa_mac_core_utilities.o \
 
55
                        pa_ringbuffer.o
 
56
export CFLAGS += -DPA_USE_COREAUDIO=1
 
57
export CFLAGS += @ac_pa_cflags@
 
58
endif
 
59
 
 
60
#
 
61
# PortAudio on MacOS X (using old PortAudio, for MacOS X 10.2.x)
 
62
#
 
63
ifeq ($(AC_PJMEDIA_SND),pa_old_darwinos)
 
64
export PORTAUDIO_OBJS +=pa_mac_hostapis.o \
 
65
                        pa_unix_util.o \
 
66
                        pa_mac_core_old.o
 
67
export CFLAGS += -DPA_USE_COREAUDIO=1
 
68
export CFLAGS += @ac_pa_cflags@
 
69
endif
 
70
 
 
71
#
 
72
#
 
73
# PortAudio on Win32 (WMME)
 
74
#
 
75
ifeq ($(AC_PJMEDIA_SND),pa_win32)
 
76
export PORTAUDIO_OBJS += pa_win_hostapis.o pa_win_util.o \
 
77
                       pa_win_wmme.o pa_win_waveformat.o
 
78
export CFLAGS += -DPA_NO_ASIO -DPA_NO_DS
 
79
endif