Ignore:
Timestamp:
Apr 18, 2007 9:24:31 AM (18 years ago)
Author:
bennylp
Message:

Fixed the legacy build system

Location:
pjproject/branches/split-3rd-party/third_party/build
Files:
2 edited
1 moved

Legend:

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

    • Property svn:ignore set to
      os-auto.mak
  • pjproject/branches/split-3rd-party/third_party/build/portaudio

    • Property svn:ignore
      •  

        old new  
        11*.user 
        22.* 
        3 Makefile 
         3os-auto.mak 
  • pjproject/branches/split-3rd-party/third_party/build/portaudio/os-auto.mak.in

    r1200 r1202  
    11# @configure_input@ 
    2 include ../../../build.mak 
    3 include $(PJDIR)/build/common.mak 
    4  
    5 export LIBDIR := ../../lib 
    6  
    7 RULES_MAK := $(PJDIR)/build/rules.mak 
    8  
    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.o 
    20  
    212 
    223# Define the desired sound device backend 
     
    9172export CFLAGS += -DPA_NO_ASIO -DPA_NO_DS 
    9273endif 
    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)src  
    100 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 library 
    107 # 
    108 export PORTAUDIO_SRCDIR = src 
    109 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 LDOUT  
    113 ############################################################################### 
    114 # Main entry 
    115 # 
    116 # $(TARGET) is defined in os-$(OS_NAME).mak file in current directory. 
    117 # 
    118 TARGETS := libportaudio 
    119  
    120 all: $(TARGETS) 
    121  
    122 dep: depend 
    123 distclean: realclean 
    124  
    125 .PHONY: dep depend libportaudio clean realclean distclean 
    126  
    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.