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/TAppExtractor |
---|
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 = TAppExtractor$(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)/extrmain.o \ |
---|
36 | $(OBJ_DIR)/TAppExtrCfg.o \ |
---|
37 | $(OBJ_DIR)/TAppExtrTop.o \ |
---|
38 | |
---|
39 | # set libs to link with |
---|
40 | LIBS = -ldl |
---|
41 | |
---|
42 | DEBUG_LIBS = |
---|
43 | RELEASE_LIBS = |
---|
44 | |
---|
45 | STAT_LIBS = -lpthread |
---|
46 | DYN_LIBS = |
---|
47 | |
---|
48 | |
---|
49 | DYN_DEBUG_LIBS = -lTLibExtractor$(HBD)d -lTLibDecoder$(HBD)d -lTLibCommon$(HBD)d -lTLibVideoIO$(HBD)d -lTAppCommon$(HBD)d |
---|
50 | DYN_DEBUG_PREREQS = $(LIB_DIR)/libTLibExtractor$(HBD)d.a $(LIB_DIR)/libTLibDecoder$(HBD)d.a $(LIB_DIR)/libTLibCommon$(HBD)d.a $(LIB_DIR)/libTLibVideoIO$(HBD)d.a $(LIB_DIR)/libTAppCommon$(HBD)d.a |
---|
51 | STAT_DEBUG_LIBS = -lTLibExtractor$(HBD)Staticd -lTLibDecoderStatic$(HBD)d -lTLibCommon$(HBD)Staticd -lTLibVideoIO$(HBD)Staticd -lTAppCommon$(HBD)Staticd |
---|
52 | STAT_DEBUG_PREREQS = $(LIB_DIR)/libTLibExtractor$(HBD)Staticd.a $(LIB_DIR)/libTLibDecoder$(HBD)Staticd.a $(LIB_DIR)/libTLibCommon$(HBD)Staticd.a $(LIB_DIR)/libTLibVideoIO$(HBD)Staticd.a $(LIB_DIR)/libTAppCommon$(HBD)Staticd.a |
---|
53 | |
---|
54 | DYN_RELEASE_LIBS = -lTLibExtractor$(HBD) -lTLibDecoder$(HBD) -lTLibCommon$(HBD) -lTLibVideoIO$(HBD) -lTAppCommon$(HBD) |
---|
55 | DYN_RELEASE_PREREQS = $(LIB_DIR)/libTLibExtractor$(HBD).a $(LIB_DIR)/libTLibDecoder$(HBD).a $(LIB_DIR)/libTLibCommon$(HBD).a $(LIB_DIR)/libTLibVideoIO$(HBD).a $(LIB_DIR)/libTAppCommon$(HBD).a |
---|
56 | STAT_RELEASE_LIBS = -lTLibExtractor$(HBD)Static -lTLibDecoder$(HBD)Static -lTLibCommon$(HBD)Static -lTLibVideoIO$(HBD)Static -lTAppCommon$(HBD)Static |
---|
57 | STAT_RELEASE_PREREQS = $(LIB_DIR)/libTLibExtractor$(HBD)Static.a $(LIB_DIR)/libTLibDecoder$(HBD)Static.a $(LIB_DIR)/libTLibCommon$(HBD)Static.a $(LIB_DIR)/libTLibVideoIO$(HBD)Static.a $(LIB_DIR)/libTAppCommon$(HBD)Static.a |
---|
58 | |
---|
59 | |
---|
60 | # name of the base makefile |
---|
61 | MAKE_FILE_NAME = ../../common/makefile.base |
---|
62 | |
---|
63 | # include the base makefile |
---|
64 | include $(MAKE_FILE_NAME) |
---|