-include $(LOCAL_MAKEFILEDIR)/framework.make.preamble-$(PLATFORM_OS)

## Support for setting non-zero default base addresses
OMNIMAKE_FRAMEWORK_BASE_ADDRESS := $(shell $(PROJECT_INFO) -inDirectory $(OMNIMAKE_UTILITY_DIR) -file $(FRAMEWORK_ADDRESSES_PLIST) $(NAME) $(PLATFORM_OS))

# This ensures that the versions of headers in the framework that we are currently building
# are used instead of the versions in the currently installed version of the framework.
OTHER_CFLAGS += -F$(BUILD_OUTPUT_DIR)

#
# We don't mark headers as private, so the PrivateHeaders link is invalid.  This 
# target will remove them.
#
AFTER_BUILD += remove_private_headers_link

#
# This set the location at which the framework expects to be located at runtime.  Other
# binaries linked against this framework will look for this framework at this location.
# WindowsNT DLLs don't have anything like this.
#
ifneq ($(PLATFORM_OS), winnt)
    DYLIB_INSTALL_DIR = $(OMNIMAKE_FINAL_DESTINATION_DIR)/$(NAME).framework
endif

