Changeset 918 in SHVCSoftware for branches/SHM-upgrade/build/linux/common


Ignore:
Timestamp:
12 Nov 2014, 20:27:23 (10 years ago)
Author:
seregin
Message:

update make file, add TAppDecoderAnalyser and TLibDecoderAnalyser

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-upgrade/build/linux/common/makefile.base

    r125 r918  
    1313#########################################################
    1414
    15 CPP     = g++
     15CPP     = g++
     16CC      = gcc
    1617AR      = ar
    1718LD      = $(CPP)
     
    5859##########
    5960
     61ifeq ($(HIGHBITDEPTH), 1)
     62CPPFLAGS+="-DRExt__HIGH_BIT_DEPTH_SUPPORT=1"
     63endif
     64
    6065#
    6166# debug cpp flags
     
    6368#
    6469# release cpp
    65 RELEASE_CPPFLAGS  =  -O3 -ffloat-store -Wuninitialized
     70RELEASE_CPPFLAGS  =  -O3 -Wuninitialized
    6671
    6772
     
    208213                rm -f $(OBJ_DIR)/$*.d.d
    209214endef
     215define COMPILE_AND_DEPEND_RELEASE_C
     216        $(CC) -c -MMD -MF $(OBJ_DIR)/$*.r.d -MT $(OBJ_DIR)/$*.r.o $(CPPFLAGS) $(RELEASE_CPPFLAGS) -o $@ $(CURDIR)/$<
     217        @cp $(OBJ_DIR)/$*.r.d $(OBJ_DIR)/$*.r.P; \
     218                sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
     219                -e '/^$$/ d' -e 's/$$/ :/' < $(OBJ_DIR)/$*.r.d >> $(OBJ_DIR)/$*.r.P; \
     220                rm -f $(OBJ_DIR)/$*.r.d
     221endef
     222define COMPILE_AND_DEPEND_DEBUG_C
     223        $(CC) -c -MMD -MF $(OBJ_DIR)/$*.d.d -MT $(OBJ_DIR)/$*.d.o $(CPPFLAGS) $(DEBUG_CPPFLAGS) -o $@ $(CURDIR)/$<
     224        @cp $(OBJ_DIR)/$*.d.d $(OBJ_DIR)/$*.d.P; \
     225                sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
     226                -e '/^$$/ d' -e 's/$$/ :/' < $(OBJ_DIR)/$*.d.d >> $(OBJ_DIR)/$*.d.P; \
     227                rm -f $(OBJ_DIR)/$*.d.d
     228endef
    210229
    211230# create release objects
     
    251270# create release objects
    252271$(OBJ_DIR)/%.r.o: $(SRC_DIR)/%.c
    253         $(COMPILE_AND_DEPEND_RELEASE)
     272        $(COMPILE_AND_DEPEND_RELEASE_C)
    254273
    255274# create debug objects
    256275$(OBJ_DIR)/%.d.o: $(SRC_DIR)/%.c
    257         $(COMPILE_AND_DEPEND_DEBUG)
     276        $(COMPILE_AND_DEPEND_DEBUG_C)
    258277
    259278# create release objects
    260279$(OBJ_DIR)/%.r.o: $(SRC_DIR1)/%.c
    261         $(COMPILE_AND_DEPEND_RELEASE)
     280        $(COMPILE_AND_DEPEND_RELEASE_C)
    262281
    263282# create debug objects
    264283$(OBJ_DIR)/%.d.o: $(SRC_DIR1)/%.c
    265         $(COMPILE_AND_DEPEND_DEBUG)
     284        $(COMPILE_AND_DEPEND_DEBUG_C)
    266285
    267286# create release objects
    268287$(OBJ_DIR)/%.r.o: $(SRC_DIR2)/%.c
    269         $(COMPILE_AND_DEPEND_RELEASE)
     288        $(COMPILE_AND_DEPEND_RELEASE_C)
    270289
    271290# create debug objects
    272291$(OBJ_DIR)/%.d.o: $(SRC_DIR2)/%.c
    273         $(COMPILE_AND_DEPEND_DEBUG)
     292        $(COMPILE_AND_DEPEND_DEBUG_C)
    274293
    275294# create release objects
    276295$(OBJ_DIR)/%.r.o: $(SRC_DIR3)/%.c
    277         $(COMPILE_AND_DEPEND_RELEASE)
     296        $(COMPILE_AND_DEPEND_RELEASE_C)
    278297
    279298# create debug objects
    280299$(OBJ_DIR)/%.d.o: $(SRC_DIR3)/%.c
    281         $(COMPILE_AND_DEPEND_DEBUG)
     300        $(COMPILE_AND_DEPEND_DEBUG_C)
    282301
    283302# create release objects
    284303$(OBJ_DIR)/%.r.o: $(SRC_DIR4)/%.c
    285         $(COMPILE_AND_DEPEND_RELEASE)
     304        $(COMPILE_AND_DEPEND_RELEASE_C)
    286305
    287306# create debug objects
    288307$(OBJ_DIR)/%.d.o: $(SRC_DIR4)/%.c
    289         $(COMPILE_AND_DEPEND_DEBUG)
     308        $(COMPILE_AND_DEPEND_DEBUG_C)
    290309
    291310
Note: See TracChangeset for help on using the changeset viewer.