Makefile.mk 858 B

123456789101112131415161718192021222324252627
  1. MIDDLEWARE_TARGET_O=
  2. MIDDLEWARE_TARGET_INCLUDE= -I$(SDK_DIR)
  3. VPATH =
  4. SDK_MIDDLEWARE_DIR=$(SDK_DIR)/MiddleWare
  5. include $(BUILD_DIR)/compile/$(CONFIG_CHIP)/common.inc
  6. #include $(SDK_MIDDLEWARE_DIR)/ChannelManager/Audio/Makefile.mk
  7. #include $(SDK_MIDDLEWARE_DIR)/DisplayPort/Makefile.mk
  8. #include $(SDK_MIDDLEWARE_DIR)/HDCP/Makefile.mk
  9. #include $(SDK_MIDDLEWARE_DIR)/HDMI/Makefile.mk
  10. #include $(SDK_MIDDLEWARE_DIR)/RunTime/Makefile.mk
  11. include $(SDK_MIDDLEWARE_DIR)/ChannelManager/Video/Makefile.mk
  12. INCLUDES = $(MIDDLEWARE_TARGET_INCLUDE)
  13. MIDDLEWARE_LIB=$(BUILD_OUT_IMG_DIR)/libmiddleware.a
  14. release:$(MIDDLEWARE_LIB)
  15. MIDDLEWARE_NO_DIR_O = $(MIDDLEWARE_TARGET_O)
  16. MIDDLEWARE_WITH_DIR_O= $(addprefix $(BUILD_OUT_OBJ_DIR)/,$(MIDDLEWARE_NO_DIR_O))
  17. $(MIDDLEWARE_LIB):$(MIDDLEWARE_NO_DIR_O)
  18. $(HEADER)$(AR) qc $@ $(MIDDLEWARE_WITH_DIR_O)
  19. $(HEADER)$(RANLIB) $@