Ignore:
Timestamp:
Mar 16, 2006 2:24:26 PM (19 years ago)
Author:
bennylp
Message:

Added misc flags and modify Makefiles to allow exclusion of PortAudio? and specific codec during compilation

Location:
pjproject/trunk/pjsip-apps/build
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/build/Makefile

    r254 r320  
    4545 
    4646 
     47############################################################################### 
     48# Defines for building PJSIP-PERF 
     49# 
     50export PJSIPPERF_SRCDIR = ../src/pjsip-perf 
     51export PJSIPPERF_OBJS += $(OS_OBJS) $(M_OBJS) $(CC_OBJS) $(HOST_OBJS) \ 
     52                         handler_call.o handler_options.o main.o 
     53export PJSIPPERF_CFLAGS += $(_CFLAGS) 
     54export PJSIPPERF_LDFLAGS += $(_LDFLAGS) 
     55export PJSIPPERF_EXE:=../bin/pjsip-perf-$(MACHINE_NAME)-$(OS_NAME)-$(CC_NAME)$(HOST_EXE) 
     56 
     57 
     58 
    4759export CC_OUT CC AR RANLIB HOST_MV HOST_RM HOST_RMDIR HOST_MKDIR OBJEXT LD LDOUT  
    4860############################################################################### 
     
    5062# 
    5163# 
    52 TARGETS := pjsua 
     64TARGETS := pjsua pjsip-perf 
    5365 
    5466.PHONY: $(TARGETS) 
     
    6779        $(MAKE) -f $(RULES_MAK) APP=PJSUA app=pjsua $(PJSUA_EXE) 
    6880 
     81pjsip-perf: 
     82        $(MAKE) -f $(RULES_MAK) APP=PJSIPPERF app=pjsip-perf $(PJSUA_EXE) 
     83 
     84 
    6985.PHONY: ../lib/pjsua.ko 
    7086../lib/pjsua.ko: 
     
    7389clean depend realclean: 
    7490        $(MAKE) -f $(RULES_MAK) APP=PJSUA app=pjsua $@ 
     91        $(MAKE) -f $(RULES_MAK) APP=PJSIPPERF app=pjsip-perf $@ 
    7592        @if test "$@" == "depend"; then \ 
    76           echo '$(PJSUA_EXE): $(PJSIP_LIB) $(PJSIP_UA_LIB) $(PJSIP_SIMPLE) $(PJSUA_LIB_LIB) $(PJLIB_LIB) $(PJLIB_UTIL_LIB) $(PJMEDIA_LIB) $(PJMEDIA_CODEC_LIB)' >> .pjsua-$(MACHINE_NAME)-$(OS_NAME)-$(CC_NAME).depend; \ 
     93          echo '$(PJSUA_EXE): $(PJSIP_LIB) $(PJSIP_UA_LIB) $(PJSIP_SIMPLE) $(PJSUA_LIB_LIB) $(PJLIB_LIB) $(PJLIB_UTIL_LIB) $(PJMEDIA_LIB) $(PJMEDIA_CODEC_LIB) Makefile' >> .pjsua-$(MACHINE_NAME)-$(OS_NAME)-$(CC_NAME).depend; \ 
     94          echo '$(PJSIPPERF_EXE): $(PJSIP_LIB) $(PJSIP_UA_LIB) $(PJSIP_SIMPLE) $(PJSUA_LIB_LIB) $(PJLIB_LIB) $(PJLIB_UTIL_LIB) $(PJMEDIA_LIB) $(PJMEDIA_CODEC_LIB)' >> .pjsip-perf-$(MACHINE_NAME)-$(OS_NAME)-$(CC_NAME).depend; \ 
    7795        fi 
    7896 
  • pjproject/trunk/pjsip-apps/build/pjsip_apps.dsw

    r254 r320  
    7979    End Project Dependency 
    8080    Begin Project Dependency 
    81     Project_Dep_Name pjmedia 
    82     End Project Dependency 
    83     Begin Project Dependency 
    84     Project_Dep_Name pjmedia_codec 
    85     End Project Dependency 
    86     Begin Project Dependency 
    8781    Project_Dep_Name pjsip_core 
    8882    End Project Dependency 
     
    9589    Begin Project Dependency 
    9690    Project_Dep_Name pjsua_lib 
     91    End Project Dependency 
     92    Begin Project Dependency 
     93    Project_Dep_Name pjmedia 
    9794    End Project Dependency 
    9895}}} 
  • pjproject/trunk/pjsip-apps/build/pjsip_perf.dsp

    r317 r320  
    5151LINK32=link.exe 
    5252# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 
    53 # ADD LINK32 ole32.lib user32.lib netapi32.lib mswsock.lib ws2_32.lib kernel32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 /out:"..\bin\pjsip-perf-i386-win32-vc6d.exe" 
     53# ADD LINK32 ole32.lib user32.lib netapi32.lib mswsock.lib ws2_32.lib kernel32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 /out:"..\bin\pjsip-perf-i386-win32-vc6.exe" 
    5454 
    5555!ELSEIF  "$(CFG)" == "pjsip_perf - Win32 Debug" 
  • pjproject/trunk/pjsip-apps/build/pjsua.dsp

    r317 r320  
    5252LINK32=link.exe 
    5353# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 
    54 # ADD LINK32 ole32.lib user32.lib dsound.lib dxguid.lib netapi32.lib mswsock.lib ws2_32.lib kernel32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /map /machine:I386 /out:"../bin/pjsua_vc6.exe" /fixed:no 
     54# ADD LINK32 ole32.lib user32.lib dsound.lib dxguid.lib netapi32.lib mswsock.lib ws2_32.lib kernel32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /map:"..\bin\pjsua_vc6.map" /machine:I386 /out:"../bin/pjsua_vc6.exe" /fixed:no 
    5555# SUBTRACT LINK32 /pdb:none /debug 
    5656 
Note: See TracChangeset for help on using the changeset viewer.