[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/TLibEncoder |
---|
| 6 | INC_DIR = ../../../../source/Lib |
---|
| 7 | LIB_DIR = ../../../../lib |
---|
| 8 | BIN_DIR = ../../../../bin |
---|
| 9 | |
---|
| 10 | SRC_DIR1 = |
---|
| 11 | SRC_DIR2 = |
---|
| 12 | SRC_DIR3 = |
---|
| 13 | SRC_DIR4 = |
---|
| 14 | |
---|
| 15 | |
---|
| 16 | USER_INC_DIRS = -I$(SRC_DIR) |
---|
| 17 | USER_LIB_DIRS = |
---|
| 18 | |
---|
[1029] | 19 | ifeq ($(HIGHBITDEPTH), 1) |
---|
| 20 | HBD=HighBitDepth |
---|
| 21 | else |
---|
| 22 | HBD= |
---|
| 23 | endif |
---|
| 24 | |
---|
[125] | 25 | # intermediate directory for object files |
---|
[1029] | 26 | OBJ_DIR = ./objects$(HBD) |
---|
[125] | 27 | |
---|
| 28 | # the library name |
---|
[1029] | 29 | PRJ_NAME = TLibEncoder$(HBD) |
---|
[125] | 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 = \ |
---|
| 41 | $(OBJ_DIR)/NALwrite.o \ |
---|
[1279] | 42 | $(OBJ_DIR)/SEIEncoder.o \ |
---|
[125] | 43 | $(OBJ_DIR)/SEIwrite.o \ |
---|
| 44 | $(OBJ_DIR)/SyntaxElementWriter.o \ |
---|
| 45 | $(OBJ_DIR)/TEncBinCoderCABAC.o \ |
---|
| 46 | $(OBJ_DIR)/TEncBinCoderCABACCounter.o \ |
---|
| 47 | $(OBJ_DIR)/TEncSampleAdaptiveOffset.o \ |
---|
| 48 | $(OBJ_DIR)/TEncCavlc.o \ |
---|
| 49 | $(OBJ_DIR)/TEncCu.o \ |
---|
| 50 | $(OBJ_DIR)/TEncEntropy.o \ |
---|
| 51 | $(OBJ_DIR)/TEncGOP.o \ |
---|
| 52 | $(OBJ_DIR)/TEncSbac.o \ |
---|
| 53 | $(OBJ_DIR)/TEncSearch.o \ |
---|
| 54 | $(OBJ_DIR)/TEncSlice.o \ |
---|
| 55 | $(OBJ_DIR)/TEncTop.o \ |
---|
| 56 | $(OBJ_DIR)/TEncPic.o \ |
---|
| 57 | $(OBJ_DIR)/TEncPreanalyzer.o \ |
---|
| 58 | $(OBJ_DIR)/WeightPredAnalysis.o \ |
---|
| 59 | $(OBJ_DIR)/TEncRateCtrl.o \ |
---|
[713] | 60 | $(OBJ_DIR)/TEnc3DAsymLUT.o \ |
---|
[125] | 61 | |
---|
| 62 | LIBS = -lpthread |
---|
| 63 | |
---|
| 64 | DEBUG_LIBS = |
---|
| 65 | RELEASE_LIBS = |
---|
| 66 | |
---|
| 67 | STAT_LIBS = |
---|
| 68 | DYN_LIBS = -ldl |
---|
| 69 | |
---|
| 70 | # the libraries to link with |
---|
| 71 | STAT_DEBUG_LIBS = |
---|
| 72 | STAT_RELEASE_LIBS = |
---|
| 73 | DYN_DEBUG_LIBS = |
---|
| 74 | DYN_RELEASE_LIBS = |
---|
| 75 | |
---|
| 76 | # name of the base makefile |
---|
| 77 | MAKE_FILE_NAME = ../../common/makefile.base |
---|
| 78 | |
---|
| 79 | # include the base makefile |
---|
| 80 | include $(MAKE_FILE_NAME) |
---|