# Maple object model
#
MOD_NAME = model
MOD_TYPE = lib
MOD_DEPS = utils common_api
MOD_INC_DIRS = $(MODEL_OUT_DIR)
gen_srcs = bcmolt_model_types.c bcmolt_msg_pack.c

ifeq ("$(OS_KERNEL)", "linux")
    MOD_DEPS += sysmodel
endif

EXTRA_TYPES += pon_onu_id pon_alloc_id pon_gem_port_id pon_alloc_index pon_gem_port_index

ifeq ("$(ENABLE_EPON)", "y")
    EXTRA_TYPES += eni pon_rate ieee_8021as_time_sync 
endif

ifeq ("$(ENABLE_GPON)", "y")
    EXTRA_TYPES += burst_profile mac_table_idx_main mac_table_idx_cam mac_table_idx_combined
endif
