OMNIMAKE_POST_ENVIRONMENT_VERIFICATION += omnimake_verify_framework_environment

#
# We need to create defines for exporting data and functions.
# Since the defines will be in the code on either platform, this header must
# get generated on both platforms.
#

OMNIMAKE_FRAMEWORK_DEFINES_TEMPLATE = $(OMNIMAKE_UTILITY_DIR)/FrameworkDefinesTemplate
OMNIMAKE_FRAMEWORK_DEFINES_H        = $(OMNIMAKE_DERIVED_SOURCE_DIR)/FrameworkDefines.h
OTHER_PUBLIC_HEADERS           += $(OMNIMAKE_FRAMEWORK_DEFINES_H)
OTHER_PROJECT_HEADERS          += $(OMNIMAKE_FRAMEWORK_DEFINES_H)
OTHER_CFLAGS                   += -D_OMNIMAKE_BUILDING_$(NAME)_DLL
BEFORE_PREBUILD                += omnimake_framework_defines_h_hack
