- Timestamp:
- Apr 18, 2007 9:24:31 AM (18 years ago)
- Location:
- pjproject/branches/split-3rd-party/third_party/build
- Files:
-
- 2 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/split-3rd-party/third_party/build
-
Property
svn:ignore
set to
os-auto.mak
-
Property
svn:ignore
set to
-
pjproject/branches/split-3rd-party/third_party/build/portaudio
- Property svn:ignore
-
old new 1 1 *.user 2 2 .* 3 Makefile 3 os-auto.mak
-
- Property svn:ignore
-
pjproject/branches/split-3rd-party/third_party/build/portaudio/Makefile
r1200 r1202 9 9 export PORTAUDIO_LIB:=../../lib/libportaudio-$(TARGET_NAME)$(LIBEXT) 10 10 11 PORTAUDIO_OBJS := pa_allocation.o \11 PORTAUDIO_OBJS += pa_allocation.o \ 12 12 pa_converters.o \ 13 13 pa_cpuload.o \ 14 14 pa_dither.o \ 15 pa_debugprint.o \ 15 16 pa_front.o \ 16 17 pa_process.o \ … … 20 21 21 22 22 # Define the desired sound device backend23 # Valid values are:24 # - pa_unix: PortAudio on Unix (OSS or ALSA)25 # - pa_darwinos: PortAudio on MacOSX (CoreAudio)26 # - pa_old_darwinos: PortAudio on MacOSX (old CoreAudio, for OSX 10.2)27 # - pa_win32: PortAudio on Win32 (WMME)28 #29 # There are other values below, but these are handled by PJMEDIA's Makefile30 # - ds: Win32 DirectSound (dsound.c)31 # - null: Null sound device (nullsound.c)32 AC_PJMEDIA_SND=@ac_pjmedia_snd@33 34 # For Unix, specify if ALSA should be supported35 AC_PA_USE_ALSA=@ac_pa_use_alsa@36 37 # Additional PortAudio CFLAGS are in @ac_pa_cflags@38 39 40 #41 # PortAudio on Unix42 #43 ifeq ($(AC_PJMEDIA_SND),pa_unix)44 # Host APIs and utils45 export PORTAUDIO_OBJS += pa_unix_hostapis.o pa_unix_util.o46 47 # Include ALSA?48 ifeq ($(AC_PA_USE_ALSA),1)49 export CFLAGS += -DPA_USE_ALSA=150 export PORTAUDIO_OBJS += pa_linux_alsa.o51 endif52 53 export CFLAGS += -DPA_USE_OSS=154 export CFLAGS += @ac_pa_cflags@55 export PORTAUDIO_OBJS += pa_unix_oss.o56 endif57 58 59 #60 # PortAudio on MacOS X (using current PortAudio)61 #62 ifeq ($(AC_PJMEDIA_SND),pa_darwinos)63 export PORTAUDIO_OBJS +=pa_mac_hostapis.o \64 pa_unix_util.o \65 pa_mac_core.o \66 pa_mac_core_blocking.o \67 pa_mac_core_utilities.o \68 pa_ringbuffer.o69 export CFLAGS += -DPA_USE_COREAUDIO=170 export CFLAGS += @ac_pa_cflags@71 endif72 73 #74 # PortAudio on MacOS X (using old PortAudio, for MacOS X 10.2.x)75 #76 ifeq ($(AC_PJMEDIA_SND),pa_old_darwinos)77 export PORTAUDIO_OBJS +=pa_mac_hostapis.o \78 pa_unix_util.o \79 pa_mac_core_old.o80 export CFLAGS += -DPA_USE_COREAUDIO=181 export CFLAGS += @ac_pa_cflags@82 endif83 84 #85 #86 # PortAudio on Win32 (WMME)87 #88 ifeq ($(AC_PJMEDIA_SND),pa_win32)89 export PORTAUDIO_OBJS += pa_win_hostapis.o pa_win_util.o \90 pa_win_wmme.o91 export CFLAGS += -DPA_NO_ASIO -DPA_NO_DS92 endif93 94 95 23 ############################################################################### 96 24 # Gather all flags. 97 25 # 98 export _CFLAGS := $(CC_CFLAGS) $(OS_CFLAGS) $(HOST_CFLAGS) $(M_CFLAGS) \26 export _CFLAGS += $(CC_CFLAGS) $(OS_CFLAGS) $(HOST_CFLAGS) $(M_CFLAGS) \ 99 27 $(CFLAGS) $(CC_INC). $(CC_INC)src 100 export _CXXFLAGS := $(_CFLAGS) $(CC_CXXFLAGS) $(OS_CXXFLAGS) $(M_CXXFLAGS) \28 export _CXXFLAGS+= $(_CFLAGS) $(CC_CXXFLAGS) $(OS_CXXFLAGS) $(M_CXXFLAGS) \ 101 29 $(HOST_CXXFLAGS) $(CXXFLAGS) 102 export _LDFLAGS := $(CC_LDFLAGS) $(OS_LDFLAGS) $(M_LDFLAGS) $(HOST_LDFLAGS) \30 export _LDFLAGS += $(CC_LDFLAGS) $(OS_LDFLAGS) $(M_LDFLAGS) $(HOST_LDFLAGS) \ 103 31 $(LDFLAGS) 104 32
Note: See TracChangeset
for help on using the changeset viewer.