Ignore:
Timestamp:
Apr 17, 2007 4:16:01 PM (17 years ago)
Author:
bennylp
Message:

Fixed build system for third_party

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/split-3rd-party/pjmedia/build/os-auto.mak.in

    r770 r1201  
    22 
    33# PJMEDIA features exclusion 
    4 export CFLAGS += @ac_no_small_filter@ @ac_no_large_filter@ @ac_no_g711_plc@ @ac_no_speex_aec@ 
     4export CFLAGS += @ac_no_small_filter@ @ac_no_large_filter@ @ac_no_speex_aec@ 
    55 
    66# Define the desired sound device backend 
     
    4545export CFLAGS += -DPJMEDIA_HAS_GSM_CODEC=0 
    4646else 
    47 export CODEC_OBJS += $(GSM_OBJS) 
     47export CODEC_OBJS += gsm.o 
    4848endif 
    4949 
     
    5151export CFLAGS += -DPJMEDIA_HAS_SPEEX_CODEC=0 
    5252else 
    53 export CODEC_OBJS += $(SPEEX_OBJS) 
     53export CFLAGS += -I$(THIRD_PARTY)/build/speex -I$(THIRD_PARTY)/speex/include 
     54export CODEC_OBJS += speex_codec.o 
    5455endif 
    5556 
     
    5758export CFLAGS += -DPJMEDIA_HAS_ILBC_CODEC=0 
    5859else 
    59 export CODEC_OBJS += $(ILBC_OBJS) 
     60export CODEC_OBJS += ilbc.o 
    6061endif 
    6162 
    6263 
    6364# 
    64 # PortAudio on Unix 
     65# PortAudio 
    6566# 
    66 ifeq ($(AC_PJMEDIA_SND),pa_unix) 
    67 # Host APIs and utils 
    68 export PJMEDIA_OBJS += $(PA_DIR)/pa_unix_hostapis.o $(PA_DIR)/pa_unix_util.o 
    69  
    70 # Include ALSA? 
    71 ifeq ($(AC_PA_USE_ALSA),1) 
    72 export CFLAGS += -DPA_USE_ALSA=1 
    73 export PJMEDIA_OBJS += $(PA_DIR)/pa_linux_alsa.o 
    74 endif 
    75  
    76 export CFLAGS += -DPA_USE_OSS=1 \ 
    77                  -DPJMEDIA_SOUND_IMPLEMENTATION=PJMEDIA_SOUND_PORTAUDIO_SOUND 
    78 export PJMEDIA_OBJS += $(PA_DIR)/pa_unix_oss.o 
    79 endif 
    80  
    81  
    82 # 
    83 # PortAudio on MacOS X (using current PortAudio) 
    84 # 
    85 ifeq ($(AC_PJMEDIA_SND),pa_darwinos) 
    86 export PJMEDIA_OBJS +=  $(PA_DIR)/pa_mac_hostapis.o \ 
    87                         $(PA_DIR)/pa_unix_util.o \ 
    88                         $(PA_DIR)/pa_mac_core.o \ 
    89                         $(PA_DIR)/pa_mac_core_blocking.o \ 
    90                         $(PA_DIR)/pa_mac_core_utilities.o \ 
    91                         $(PA_DIR)/ringbuffer.o 
    92 export CFLAGS += -DPA_USE_COREAUDIO=1 \ 
    93                  -DPJMEDIA_SOUND_IMPLEMENTATION=PJMEDIA_SOUND_PORTAUDIO_SOUND 
    94 export CFLAGS += @ac_pa_cflags@ 
    95 endif 
    96  
    97 # 
    98 # PortAudio on MacOS X (using old PortAudio, for MacOS X 10.2.x) 
    99 # 
    100 ifeq ($(AC_PJMEDIA_SND),pa_old_darwinos) 
    101 export PJMEDIA_OBJS +=  $(PA_DIR)/pa_mac_hostapis.o \ 
    102                         $(PA_DIR)/pa_unix_util.o \ 
    103                         $(PA_DIR)/pa_mac_core_old.o  
    104 export CFLAGS += -DPA_USE_COREAUDIO=1 \ 
    105                  -DPJMEDIA_SOUND_IMPLEMENTATION=PJMEDIA_SOUND_PORTAUDIO_SOUND 
    106 export CFLAGS += @ac_pa_cflags@ 
    107 endif 
    108  
    109 # 
    110 # 
    111 # PortAudio on Win32 (WMME) 
    112 # 
    113 ifeq ($(AC_PJMEDIA_SND),pa_win32) 
    114 export PJMEDIA_OBJS += $(PA_DIR)/pa_win_hostapis.o $(PA_DIR)/pa_win_util.o \ 
    115                        $(PA_DIR)/pa_win_wmme.o 
    116 export CFLAGS += -DPA_NO_ASIO -DPA_NO_DS \ 
    117                  -DPJMEDIA_SOUND_IMPLEMENTATION=PJMEDIA_SOUND_PORTAUDIO_SOUND 
     67ifneq ($(findstring pa,$(AC_PJMEDIA_SND)),) 
     68export CFLAGS += -I$(THIRD_PARTY)/build/portaudio -I$(THIRD_PARTY)/portaudio/include -DPJMEDIA_SOUND_IMPLEMENTATION=PJMEDIA_SOUND_PORTAUDIO_SOUND 
     69export SOUND_OBJS = pasound.o 
    11870endif 
    11971 
Note: See TracChangeset for help on using the changeset viewer.