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 | # intermediate directory for object files |
---|
19 | OBJ_DIR = ./objects |
---|
20 | |
---|
21 | # set executable name |
---|
22 | PRJ_NAME = TAppEncoder |
---|
23 | |
---|
24 | # defines to set |
---|
25 | DEFS = -DMSYS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DMSYS_UNIX_LARGEFILE |
---|
26 | |
---|
27 | # set objects |
---|
28 | OBJS = \ |
---|
29 | $(OBJ_DIR)/encmain.o \ |
---|
30 | $(OBJ_DIR)/TAppEncCfg.o \ |
---|
31 | $(OBJ_DIR)/TAppEncLayerCfg.o \ |
---|
32 | $(OBJ_DIR)/TAppEncTop.o \ |
---|
33 | |
---|
34 | # set libs to link with |
---|
35 | LIBS = -ldl |
---|
36 | |
---|
37 | DEBUG_LIBS = |
---|
38 | RELEASE_LIBS = |
---|
39 | |
---|
40 | STAT_LIBS = -lpthread |
---|
41 | DYN_LIBS = |
---|
42 | |
---|
43 | |
---|
44 | DYN_DEBUG_LIBS = -lTLibEncoderd -lTLibCommond -lTLibVideoIOd -lTAppCommond |
---|
45 | DYN_DEBUG_PREREQS = $(LIB_DIR)/libTLibEncoderd.a $(LIB_DIR)/libTLibCommond.a $(LIB_DIR)/libTLibVideoIOd.a $(LIB_DIR)/libTAppCommond.a |
---|
46 | STAT_DEBUG_LIBS = -lTLibEncoderStaticd -lTLibCommonStaticd -lTLibVideoIOStaticd -lTAppCommonStaticd |
---|
47 | STAT_DEBUG_PREREQS = $(LIB_DIR)/libTLibEncoderStaticd.a $(LIB_DIR)/libTLibCommonStaticd.a $(LIB_DIR)/libTLibVideoIOStaticd.a $(LIB_DIR)/libTAppCommonStaticd.a |
---|
48 | |
---|
49 | DYN_RELEASE_LIBS = -lTLibEncoder -lTLibCommon -lTLibVideoIO -lTAppCommon |
---|
50 | DYN_RELEASE_PREREQS = $(LIB_DIR)/libTLibEncoder.a $(LIB_DIR)/libTLibCommon.a $(LIB_DIR)/libTLibVideoIO.a $(LIB_DIR)/libTAppCommon.a |
---|
51 | STAT_RELEASE_LIBS = -lTLibEncoderStatic -lTLibCommonStatic -lTLibVideoIOStatic -lTAppCommonStatic |
---|
52 | STAT_RELEASE_PREREQS = $(LIB_DIR)/libTLibEncoderStatic.a $(LIB_DIR)/libTLibCommonStatic.a $(LIB_DIR)/libTLibVideoIOStatic.a $(LIB_DIR)/libTAppCommonStatic.a |
---|
53 | |
---|
54 | |
---|
55 | # name of the base makefile |
---|
56 | MAKE_FILE_NAME = ../../common/makefile.base |
---|
57 | |
---|
58 | # include the base makefile |
---|
59 | include $(MAKE_FILE_NAME) |
---|