- Timestamp:
- Apr 9, 2007 9:28:15 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/split-3rd-party/pjmedia/build/Makefile
r1111 r1182 1 include ../../build.mak 2 include $(PJDIR)/build/common.mak 1 3 2 # Before we include local os-mak, set default sound framework to use 3 # PortAudio. 4 export SOUND_OBJS = $(PORTAUDIO_OBJS) 4 RULES_MAK := $(PJDIR)/build/rules.mak 5 5 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) 6 PJLIB_LIB:=$(PJDIR)/pjlib/lib/libpj-$(TARGET_NAME)$(LIBEXT) 7 PJLIB_UTIL_LIB:=$(PJDIR)/pjlib-util/lib/libpjlib-util-$(TARGET_NAME)$(LIBEXT) 8 PJNATH_LIB:=$(PJDIR)/pjnath/lib/libpjnath-$(TARGET_NAME)$(LIBEXT) 24 9 25 10 export PJMEDIA_LIB:=../lib/libpjmedia-$(TARGET_NAME)$(LIBEXT) 26 11 export PJMEDIA_CODEC_LIB:=../lib/libpjmedia-codec-$(TARGET_NAME)$(LIBEXT) 27 12 export PJSDP_LIB:=../lib/libpjsdp-$(TARGET_NAME)$(LIBEXT) 28 29 ###############################################################################30 # Sound frameworks31 # These are activated by setting SOUND_OBJS var, e.g.:32 # export SOUND_OBJS = $(PORTAUDIO_OBJS), or33 # export SOUND_OBJS = $(NULLSOUND_OBJS)34 #35 PA_DIR:=portaudio36 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.o46 13 47 14 NULLSOUND_OBJS := nullsound.o … … 55 22 $(CC_INC)../../pjlib-util/include \ 56 23 $(CC_INC)../../pjnath/include \ 57 $(CC_INC)../src/pjmedia/portaudio \ 58 $(CC_INC)../src/pjmedia-codec 24 $(CC_INC)../src/pjmedia/portaudio 59 25 export _CXXFLAGS:= $(_CFLAGS) $(CC_CXXFLAGS) $(OS_CXXFLAGS) $(M_CXXFLAGS) \ 60 26 $(HOST_CXXFLAGS) $(CXXFLAGS)
Note: See TracChangeset
for help on using the changeset viewer.