
#GLOBAL_RELEASE_SCRIPT_NOTOUCH


ifneq ($(wildcard Makefile.fullsrc),)

# Regular or customer build, use Makefile.fullsrc

include Makefile.fullsrc

else

# This is a consumer release.  Just copy saved header files to right place.

all default: install


ifeq ($(BCM_MODULAR_BUILD),)
# Old way: infer location of make.common based on pwd.
CURR_DIR := $(shell pwd)
BUILD_DIR:=$(subst /data-model, /data-model,$(CURR_DIR))
BUILD_DIR:=$(word 1, $(BUILD_DIR))
include $(BUILD_DIR)/make.common
else
# New Modular Build way: EXT_BUILD_DIR must be set.
# Also point BUILD_DIR to EXT_BUILD_DIR
BUILD_DIR := $(EXT_BUILD_DIR)
include $(EXT_BUILD_DIR)/make.common
endif


HEADER_INSTALL_DIR := $(BCM_FSBUILD_DIR)/public/include

HEADERS := mdm_object.h mdm_objectid.h mdm_params.h mdm_validstrings.h

install:
	mkdir -p $(HEADER_INSTALL_DIR)
	$(INSTALL_HEADERS_WITH_CP) $(HEADERS) $(HEADER_INSTALL_DIR)

endif
