1 | # the SOURCE definiton lets you move your makefile to another position |
---|
2 | CONFIG = CONSOLE |
---|
3 | |
---|
4 | # set directories to your wanted values |
---|
5 | SRC_DIR = ../../../../source/App/TAppEncoder |
---|
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 | USER_INC_DIRS = -I$(SRC_DIR) |
---|
16 | USER_LIB_DIRS = |
---|
17 | |
---|
18 | ifeq ($(HIGHBITDEPTH), 1) |
---|
19 | HBD=HighBitDepth |
---|
20 | else |
---|
21 | HBD= |
---|
22 | endif |
---|
23 | |
---|
24 | # intermediate directory for object files |
---|
25 | OBJ_DIR = ./objects$(HBD) |
---|
26 | |
---|
27 | # set executable name |
---|
28 | PRJ_NAME = TAppEncoder$(HBD) |
---|
29 | |
---|
30 | # defines to set |
---|
31 | DEFS = -DMSYS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DMSYS_UNIX_LARGEFILE |
---|
32 | |
---|
33 | # set objects |
---|
34 | OBJS = \ |
---|
35 | $(OBJ_DIR)/encmain.o \ |
---|
36 | $(OBJ_DIR)/TAppEncCfg.o \ |
---|
37 | $(OBJ_DIR)/TAppEncLayerCfg.o \ |
---|
38 | $(OBJ_DIR)/TAppEncTop.o \ |
---|
39 | |
---|
40 | # set libs to link with |
---|
41 | LIBS = -ldl |
---|
42 | |
---|
43 | DEBUG_LIBS = |
---|
44 | RELEASE_LIBS = |
---|
45 | |
---|
46 | STAT_LIBS = -lpthread |
---|
47 | DYN_LIBS = |
---|
48 | |
---|
49 | |
---|
50 | DYN_DEBUG_LIBS = -lTLibEncoder$(HBD)d -lTLibCommon$(HBD)d -lTLibVideoIO$(HBD)d -lTAppCommon$(HBD)d |
---|
51 | DYN_DEBUG_PREREQS = $(LIB_DIR)/libTLibEncoder$(HBD)d.a $(LIB_DIR)/libTLibCommon$(HBD)d.a $(LIB_DIR)/libTLibVideoIO$(HBD)d.a $(LIB_DIR)/libTAppCommon$(HBD)d.a |
---|
52 | STAT_DEBUG_LIBS = -lTLibEncoder$(HBD)Staticd -lTLibCommon$(HBD)Staticd -lTLibVideoIO$(HBD)Staticd -lTAppCommon$(HBD)Staticd |
---|
53 | STAT_DEBUG_PREREQS = $(LIB_DIR)/libTLibEncoder$(HBD)Staticd.a $(LIB_DIR)/libTLibCommon$(HBD)Staticd.a $(LIB_DIR)/libTLibVideoIO$(HBD)Staticd.a $(LIB_DIR)/libTAppCommon$(HBD)Staticd.a |
---|
54 | |
---|
55 | DYN_RELEASE_LIBS = -lTLibEncoder$(HBD) -lTLibCommon$(HBD) -lTLibVideoIO$(HBD) -lTAppCommon$(HBD) |
---|
56 | DYN_RELEASE_PREREQS = $(LIB_DIR)/libTLibEncoder$(HBD).a $(LIB_DIR)/libTLibCommon$(HBD).a $(LIB_DIR)/libTLibVideoIO$(HBD).a $(LIB_DIR)/libTAppCommon$(HBD).a |
---|
57 | STAT_RELEASE_LIBS = -lTLibEncoder$(HBD)Static -lTLibCommon$(HBD)Static -lTLibVideoIO$(HBD)Static -lTAppCommon$(HBD)Static |
---|
58 | STAT_RELEASE_PREREQS = $(LIB_DIR)/libTLibEncoder$(HBD)Static.a $(LIB_DIR)/libTLibCommon$(HBD)Static.a $(LIB_DIR)/libTLibVideoIO$(HBD)Static.a $(LIB_DIR)/libTAppCommon$(HBD)Static.a |
---|
59 | |
---|
60 | |
---|
61 | # name of the base makefile |
---|
62 | MAKE_FILE_NAME = ../../common/makefile.base |
---|
63 | |
---|
64 | # include the base makefile |
---|
65 | include $(MAKE_FILE_NAME) |
---|