[125] | 1 | # the SOURCE definiton lets move your makefile to another position |
---|
| 2 | CONFIG = LIBRARY |
---|
| 3 | |
---|
| 4 | # set pathes to the correct directories |
---|
| 5 | SRC_DIR = ../../../../source/Lib/TLibCommon |
---|
| 6 | INC_DIR = ../../../../source/Lib |
---|
| 7 | LIB_DIR = ../../../../lib |
---|
| 8 | BIN_DIR = ../../../../bin |
---|
| 9 | |
---|
| 10 | SRC_DIR1 = ../../../../source/Lib/libmd5 |
---|
| 11 | SRC_DIR2 = |
---|
| 12 | SRC_DIR3 = |
---|
| 13 | SRC_DIR4 = |
---|
| 14 | |
---|
| 15 | |
---|
| 16 | USER_INC_DIRS = -I$(SRC_DIR) |
---|
| 17 | USER_LIB_DIRS = |
---|
| 18 | |
---|
| 19 | # intermediate directory for object files |
---|
| 20 | OBJ_DIR = ./objects |
---|
| 21 | |
---|
| 22 | # the library name |
---|
| 23 | PRJ_NAME = TLibCommon |
---|
| 24 | |
---|
| 25 | # version information |
---|
| 26 | MAJOR_VER = 0 |
---|
| 27 | MINOR_VER = 1 |
---|
| 28 | VER = $(MAJOR_VER).$(MINOR_VER) |
---|
| 29 | |
---|
| 30 | # defines to set |
---|
| 31 | DEFS = -DMSYS_LINUX |
---|
| 32 | |
---|
| 33 | # set objects |
---|
| 34 | OBJS = \ |
---|
| 35 | $(OBJ_DIR)/ContextModel.o \ |
---|
| 36 | $(OBJ_DIR)/ContextModel3DBuffer.o \ |
---|
| 37 | $(OBJ_DIR)/SEI.o \ |
---|
| 38 | $(OBJ_DIR)/TComCABACTables.o \ |
---|
| 39 | $(OBJ_DIR)/TComSampleAdaptiveOffset.o \ |
---|
| 40 | $(OBJ_DIR)/TComBitStream.o \ |
---|
| 41 | $(OBJ_DIR)/TComDataCU.o \ |
---|
| 42 | $(OBJ_DIR)/TComLoopFilter.o \ |
---|
| 43 | $(OBJ_DIR)/TComMotionInfo.o \ |
---|
| 44 | $(OBJ_DIR)/TComPattern.o \ |
---|
| 45 | $(OBJ_DIR)/TComPic.o \ |
---|
| 46 | $(OBJ_DIR)/TComPicSym.o \ |
---|
| 47 | $(OBJ_DIR)/TComPicYuv.o \ |
---|
| 48 | $(OBJ_DIR)/TComPicYuvMD5.o \ |
---|
| 49 | $(OBJ_DIR)/TComPrediction.o \ |
---|
| 50 | $(OBJ_DIR)/TComRdCost.o \ |
---|
| 51 | $(OBJ_DIR)/TComRom.o \ |
---|
| 52 | $(OBJ_DIR)/TComSlice.o \ |
---|
| 53 | $(OBJ_DIR)/TComTrQuant.o \ |
---|
| 54 | $(OBJ_DIR)/TComYuv.o \ |
---|
| 55 | $(OBJ_DIR)/TComInterpolationFilter.o \ |
---|
| 56 | $(OBJ_DIR)/libmd5.o \ |
---|
| 57 | $(OBJ_DIR)/TComWeightPrediction.o \ |
---|
| 58 | $(OBJ_DIR)/TComRdCostWeightPrediction.o \ |
---|
| 59 | $(OBJ_DIR)/TComUpsampleFilter.o \ |
---|
| 60 | |
---|
| 61 | LIBS = -lpthread |
---|
| 62 | |
---|
| 63 | DEBUG_LIBS = |
---|
| 64 | RELEASE_LIBS = |
---|
| 65 | |
---|
| 66 | STAT_LIBS = |
---|
| 67 | DYN_LIBS = -ldl |
---|
| 68 | |
---|
| 69 | # the libraries to link with |
---|
| 70 | STAT_DEBUG_LIBS = |
---|
| 71 | STAT_RELEASE_LIBS = |
---|
| 72 | DYN_DEBUG_LIBS = |
---|
| 73 | DYN_RELEASE_LIBS = |
---|
| 74 | |
---|
| 75 | # name of the base makefile |
---|
| 76 | MAKE_FILE_NAME = ../../common/makefile.base |
---|
| 77 | |
---|
| 78 | # include the base makefile |
---|
| 79 | include $(MAKE_FILE_NAME) |
---|