[2] | 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 |
---|
[56] | 6 | INC_DIR = ../../../../source/Lib |
---|
[2] | 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 | |
---|
[1200] | 19 | ifeq ($(HIGHBITDEPTH), 1) |
---|
| 20 | HBD=HighBitDepth |
---|
| 21 | else |
---|
| 22 | HBD= |
---|
| 23 | endif |
---|
| 24 | |
---|
[2] | 25 | # intermediate directory for object files |
---|
[1200] | 26 | OBJ_DIR = ./objects$(HBD) |
---|
[2] | 27 | |
---|
| 28 | # the library name |
---|
[1200] | 29 | PRJ_NAME = TLibCommon$(HBD) |
---|
[2] | 30 | |
---|
| 31 | # version information |
---|
| 32 | MAJOR_VER = 0 |
---|
| 33 | MINOR_VER = 1 |
---|
| 34 | VER = $(MAJOR_VER).$(MINOR_VER) |
---|
| 35 | |
---|
| 36 | # defines to set |
---|
| 37 | DEFS = -DMSYS_LINUX |
---|
| 38 | |
---|
| 39 | # set objects |
---|
| 40 | OBJS = \ |
---|
[1200] | 41 | $(OBJ_DIR)/Debug.o \ |
---|
| 42 | $(OBJ_DIR)/TComPicYuv.o \ |
---|
| 43 | $(OBJ_DIR)/TComYuv.o \ |
---|
[2] | 44 | $(OBJ_DIR)/ContextModel.o \ |
---|
| 45 | $(OBJ_DIR)/ContextModel3DBuffer.o \ |
---|
[608] | 46 | $(OBJ_DIR)/SEI.o \ |
---|
[2] | 47 | $(OBJ_DIR)/TComCABACTables.o \ |
---|
[56] | 48 | $(OBJ_DIR)/TComSampleAdaptiveOffset.o \ |
---|
[2] | 49 | $(OBJ_DIR)/TComBitStream.o \ |
---|
[1200] | 50 | $(OBJ_DIR)/TComChromaFormat.o \ |
---|
[2] | 51 | $(OBJ_DIR)/TComDataCU.o \ |
---|
| 52 | $(OBJ_DIR)/TComLoopFilter.o \ |
---|
| 53 | $(OBJ_DIR)/TComMotionInfo.o \ |
---|
| 54 | $(OBJ_DIR)/TComPattern.o \ |
---|
| 55 | $(OBJ_DIR)/TComPic.o \ |
---|
| 56 | $(OBJ_DIR)/TComPicSym.o \ |
---|
| 57 | $(OBJ_DIR)/TComPicYuvMD5.o \ |
---|
| 58 | $(OBJ_DIR)/TComPrediction.o \ |
---|
| 59 | $(OBJ_DIR)/TComRdCost.o \ |
---|
| 60 | $(OBJ_DIR)/TComRom.o \ |
---|
| 61 | $(OBJ_DIR)/TComSlice.o \ |
---|
| 62 | $(OBJ_DIR)/TComTrQuant.o \ |
---|
[1200] | 63 | $(OBJ_DIR)/TComTU.o \ |
---|
[56] | 64 | $(OBJ_DIR)/TComInterpolationFilter.o \ |
---|
| 65 | $(OBJ_DIR)/libmd5.o \ |
---|
[608] | 66 | $(OBJ_DIR)/TComWedgelet.o \ |
---|
[56] | 67 | $(OBJ_DIR)/TComWeightPrediction.o \ |
---|
| 68 | $(OBJ_DIR)/TComRdCostWeightPrediction.o \ |
---|
[2] | 69 | |
---|
| 70 | LIBS = -lpthread |
---|
| 71 | |
---|
| 72 | DEBUG_LIBS = |
---|
| 73 | RELEASE_LIBS = |
---|
| 74 | |
---|
| 75 | STAT_LIBS = |
---|
| 76 | DYN_LIBS = -ldl |
---|
| 77 | |
---|
| 78 | # the libraries to link with |
---|
| 79 | STAT_DEBUG_LIBS = |
---|
| 80 | STAT_RELEASE_LIBS = |
---|
| 81 | DYN_DEBUG_LIBS = |
---|
| 82 | DYN_RELEASE_LIBS = |
---|
| 83 | |
---|
| 84 | # name of the base makefile |
---|
| 85 | MAKE_FILE_NAME = ../../common/makefile.base |
---|
| 86 | |
---|
| 87 | # include the base makefile |
---|
| 88 | include $(MAKE_FILE_NAME) |
---|