# the SOURCE definiton lets you move your makefile to another position CONFIG = CONSOLE # set directories to your wanted values SRC_DIR = ../../../../source/App/TAppEncoder INC_DIR = ../../../../source/Lib LIB_DIR = ../../../../lib BIN_DIR = ../../../../bin SRC_DIR1 = SRC_DIR2 = SRC_DIR3 = SRC_DIR4 = USER_INC_DIRS = -I$(SRC_DIR) USER_LIB_DIRS = ifeq ($(HIGHBITDEPTH), 1) HBD=HighBitDepth else HBD= endif # intermediate directory for object files OBJ_DIR = ./objects$(HBD) # set executable name PRJ_NAME = TAppEncoder$(HBD) # defines to set DEFS = -DMSYS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DMSYS_UNIX_LARGEFILE # set objects OBJS = \ $(OBJ_DIR)/encmain.o \ $(OBJ_DIR)/TAppEncCfg.o \ $(OBJ_DIR)/TAppEncTop.o \ # set libs to link with LIBS = -ldl DEBUG_LIBS = RELEASE_LIBS = STAT_LIBS = -lpthread DYN_LIBS = DYN_DEBUG_LIBS = -lTLibEncoder$(HBD)d -lTLibCommon$(HBD)d -lTLibVideoIO$(HBD)d -lTAppCommon$(HBD)d -lTLibRenderer$(HBD)d 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 $(LIB_DIR)/libTLibRenderer$(HBD)d.a STAT_DEBUG_LIBS = -lTLibEncoder$(HBD)Staticd -lTLibCommon$(HBD)Staticd -lTLibVideoIO$(HBD)Staticd -lTAppCommon$(HBD)Staticd -lTLibRendererStatic$(HBD)d 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 $(LIB_DIR)/libTLibRendererStatic$(HBD)d.a DYN_RELEASE_LIBS = -lTLibEncoder$(HBD) -lTLibCommon$(HBD) -lTLibVideoIO$(HBD) -lTAppCommon$(HBD) -lTLibRenderer$(HBD) DYN_RELEASE_PREREQS = $(LIB_DIR)/libTLibEncoder$(HBD).a $(LIB_DIR)/libTLibCommon$(HBD).a $(LIB_DIR)/libTLibVideoIO$(HBD).a $(LIB_DIR)/libTAppCommon$(HBD).a $(LIB_DIR)/libTLibRenderer$(HBD).a STAT_RELEASE_LIBS = -lTLibEncoder$(HBD)Static -lTLibCommon$(HBD)Static -lTLibVideoIO$(HBD)Static -lTAppCommon$(HBD)Static -lTLibRenderer$(HBD)Static 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 $(LIB_DIR)/libTLibRenderer$(HBD)Static.a ifeq ($(EXTENSION_360_VIDEO), 1) DYN_DEBUG_LIBS += -lTAppEncHelper360$(HBD)d -lTLib360$(HBD)d DYN_DEBUG_PREREQS += $(LIB_DIR)/libTAppEncHelper360$(HBD)d.a $(LIB_DIR)/libTLib360$(HBD)d.a STAT_DEBUG_LIBS += -lTAppEncHelper360$(HBD)Staticd -lTLib360$(HBD)Staticd STAT_DEBUG_PREREQS += $(LIB_DIR)/libTAppEncHelper360$(HBD)Staticd.a $(LIB_DIR)/libTLib360$(HBD)Staticd.a DYN_RELEASE_LIBS += -lTAppEncHelper360$(HBD) -lTLib360$(HBD) DYN_RELEASE_PREREQS += $(LIB_DIR)/libTAppEncHelper360$(HBD).a $(LIB_DIR)/libTLib360$(HBD).a STAT_RELEASE_LIBS += -lTAppEncHelper360$(HBD)Static -lTLib360$(HBD)Static STAT_RELEASE_PREREQS+= $(LIB_DIR)/libTAppEncHelper360$(HBD)Static.a $(LIB_DIR)/libTLib360$(HBD)Static.a endif # name of the base makefile MAKE_FILE_NAME = ../../common/makefile.base # include the base makefile include $(MAKE_FILE_NAME)