Ignore:
Timestamp:
Apr 9, 2007 9:28:15 PM (18 years ago)
Author:
bennylp
Message:

Initial modification to Makefiles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/split-3rd-party/pjmedia/build/Makefile

    r1111 r1182  
     1include ../../build.mak 
     2include $(PJDIR)/build/common.mak 
    13 
    2 # Before we include local os-mak, set default sound framework to use 
    3 # PortAudio. 
    4 export SOUND_OBJS = $(PORTAUDIO_OBJS) 
     4RULES_MAK := $(PJDIR)/build/rules.mak 
    55 
    6 # Also set default codec files to be included 
    7 # If these codecs are to be excluded, then the appropriate PJMEDIA_HAS_XXX_CODEC macros  
    8 # MUST be set too in pj/config_site.h, to inform applications about the codec  
    9 # availability. 
    10 # 
    11 # E.g., to exclude Speex, we need to exclude SPEEX_OBJS from CODEC_OBJS, AND specify 
    12 #       "#define PJMEDIA_HAS_SPEEX_CODEC 0" in pj/config_site.h. 
    13 # 
    14 export CODEC_OBJS = l16.o $(GSM_OBJS) $(SPEEX_OBJS) $(ILBC_OBJS) 
    15  
    16  
    17 include ../../build/common.mak 
    18  
    19 RULES_MAK := ../../build/rules.mak 
    20  
    21 PJLIB_LIB:=../../pjlib/lib/libpj-$(TARGET_NAME)$(LIBEXT) 
    22 PJLIB_UTIL_LIB:=../../pjlib-util/lib/libpjlib-util-$(TARGET_NAME)$(LIBEXT) 
    23 PJNATH_LIB:=../../pjnath/lib/libpjnath-$(TARGET_NAME)$(LIBEXT) 
     6PJLIB_LIB:=$(PJDIR)/pjlib/lib/libpj-$(TARGET_NAME)$(LIBEXT) 
     7PJLIB_UTIL_LIB:=$(PJDIR)/pjlib-util/lib/libpjlib-util-$(TARGET_NAME)$(LIBEXT) 
     8PJNATH_LIB:=$(PJDIR)/pjnath/lib/libpjnath-$(TARGET_NAME)$(LIBEXT) 
    249 
    2510export PJMEDIA_LIB:=../lib/libpjmedia-$(TARGET_NAME)$(LIBEXT) 
    2611export PJMEDIA_CODEC_LIB:=../lib/libpjmedia-codec-$(TARGET_NAME)$(LIBEXT) 
    2712export PJSDP_LIB:=../lib/libpjsdp-$(TARGET_NAME)$(LIBEXT) 
    28  
    29 ############################################################################### 
    30 # Sound frameworks 
    31 # These are activated by setting SOUND_OBJS var, e.g.: 
    32 #  export SOUND_OBJS = $(PORTAUDIO_OBJS), or 
    33 #  export SOUND_OBJS = $(NULLSOUND_OBJS) 
    34 # 
    35 PA_DIR:=portaudio 
    36 PORTAUDIO_OBJS := pasound.o \ 
    37                   $(PA_DIR)/pa_allocation.o \ 
    38                   $(PA_DIR)/pa_converters.o \ 
    39                   $(PA_DIR)/pa_cpuload.o \ 
    40                   $(PA_DIR)/pa_dither.o \ 
    41                   $(PA_DIR)/pa_front.o \ 
    42                   $(PA_DIR)/pa_process.o \ 
    43                   $(PA_DIR)/pa_skeleton.o \ 
    44                   $(PA_DIR)/pa_stream.o \ 
    45                   $(PA_DIR)/pa_trace.o 
    4613 
    4714NULLSOUND_OBJS := nullsound.o 
     
    5522                   $(CC_INC)../../pjlib-util/include \ 
    5623                   $(CC_INC)../../pjnath/include \ 
    57                    $(CC_INC)../src/pjmedia/portaudio \ 
    58                    $(CC_INC)../src/pjmedia-codec 
     24                   $(CC_INC)../src/pjmedia/portaudio  
    5925export _CXXFLAGS:= $(_CFLAGS) $(CC_CXXFLAGS) $(OS_CXXFLAGS) $(M_CXXFLAGS) \ 
    6026                   $(HOST_CXXFLAGS) $(CXXFLAGS) 
Note: See TracChangeset for help on using the changeset viewer.