Changeset 1202 for pjproject/branches/split-3rd-party/third_party/build
- Timestamp:
- Apr 18, 2007 9:24:31 AM (18 years ago)
- Location:
- pjproject/branches/split-3rd-party/third_party/build
- Files:
-
- 5 added
- 2 edited
- 1 copied
- 2 moved
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/Makefile
r1201 r1202 1 include ../build.mak 2 include $(PJDIR)/build/host-$(HOST_NAME).mak 3 4 DIRS = build/resample 5 6 ifeq (@ac_no_gsm_codec@,1) 7 else 8 DIRS += build/gsm 9 endif 10 11 ifeq (@ac_no_ilbc_codec@,1) 12 else 13 DIRS += build/ilbc 14 endif 15 16 ifeq (@ac_no_speex_codec@,1) 17 else 18 DIRS += build/speex 19 endif 20 21 ifeq (@ac_pjmedia_snd@,pa_old_darwinos) 22 DIRS += build/portaudio 23 endif 24 25 ifeq (@ac_pjmedia_snd@,pa_darwinos) 26 DIRS += build/portaudio 27 endif 28 29 ifeq (@ac_pjmedia_snd@,pa_win32) 30 DIRS += build/portaudio 31 endif 32 33 ifeq (@ac_pjmedia_snd@,pa_unix) 34 DIRS += build/portaudio 35 endif 36 37 1 include ../../build.mak 2 include $(PJDIR)/build/common.mak 38 3 39 4 all clean dep depend distclean realclean: 40 5 for dir in $(DIRS); do \ 41 if [ -d $$dir ]; then \42 6 if $(MAKE) $(MAKE_FLAGS) -C $$dir $@; then \ 43 7 true; \ … … 45 9 exit 1; \ 46 10 fi; \ 47 fi; \48 11 done 49 12 -
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 -
pjproject/branches/split-3rd-party/third_party/build/portaudio/os-auto.mak.in
r1200 r1202 1 1 # @configure_input@ 2 include ../../../build.mak3 include $(PJDIR)/build/common.mak4 5 export LIBDIR := ../../lib6 7 RULES_MAK := $(PJDIR)/build/rules.mak8 9 export PORTAUDIO_LIB:=../../lib/libportaudio-$(TARGET_NAME)$(LIBEXT)10 11 PORTAUDIO_OBJS := pa_allocation.o \12 pa_converters.o \13 pa_cpuload.o \14 pa_dither.o \15 pa_front.o \16 pa_process.o \17 pa_skeleton.o \18 pa_stream.o \19 pa_trace.o20 21 2 22 3 # Define the desired sound device backend … … 91 72 export CFLAGS += -DPA_NO_ASIO -DPA_NO_DS 92 73 endif 93 94 95 ###############################################################################96 # Gather all flags.97 #98 export _CFLAGS := $(CC_CFLAGS) $(OS_CFLAGS) $(HOST_CFLAGS) $(M_CFLAGS) \99 $(CFLAGS) $(CC_INC). $(CC_INC)src100 export _CXXFLAGS:= $(_CFLAGS) $(CC_CXXFLAGS) $(OS_CXXFLAGS) $(M_CXXFLAGS) \101 $(HOST_CXXFLAGS) $(CXXFLAGS)102 export _LDFLAGS := $(CC_LDFLAGS) $(OS_LDFLAGS) $(M_LDFLAGS) $(HOST_LDFLAGS) \103 $(LDFLAGS)104 105 ###############################################################################106 # Defines for building PORTAUDIO library107 #108 export PORTAUDIO_SRCDIR = src109 export PORTAUDIO_OBJS +=110 export PORTAUDIO_CFLAGS += $(_CFLAGS)111 112 export CC_OUT CC AR RANLIB HOST_MV HOST_RM HOST_RMDIR HOST_MKDIR OBJEXT LD LDOUT113 ###############################################################################114 # Main entry115 #116 # $(TARGET) is defined in os-$(OS_NAME).mak file in current directory.117 #118 TARGETS := libportaudio119 120 all: $(TARGETS)121 122 dep: depend123 distclean: realclean124 125 .PHONY: dep depend libportaudio clean realclean distclean126 127 libportaudio:128 $(MAKE) -f $(RULES_MAK) APP=PORTAUDIO app=libportaudio $(PORTAUDIO_LIB)129 130 clean:131 $(MAKE) -f $(RULES_MAK) APP=PORTAUDIO app=libportaudio $@132 133 realclean:134 $(subst @@,$(subst /,$(HOST_PSEP),.libportaudio-$(TARGET_NAME).depend),$(HOST_RMR))135 136 $(MAKE) -f $(RULES_MAK) APP=PORTAUDIO app=libportaudio $@137 138 depend:139 $(MAKE) -f $(RULES_MAK) APP=PORTAUDIO app=libportaudio $@140 echo '$(PORTAUDIO_LIB): .libportaudio-$(TARGET_NAME).depend' >> .libportaudio-$(TARGET_NAME).depend; \141
Note: See TracChangeset
for help on using the changeset viewer.