openbcm

Git mirror of https://github.com/Broadcom-Network-Switching-Software/OpenBCM
git clone git://git.finwo.net/mirror/broadcom/openbcm
Log | Files | Refs | README

Makefile (814B)


      1 #
      2 # This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
      3 # 
      4 # Copyright 2007-2019 Broadcom Inc. All rights reserved.
      5 # 
      6 ifdef SDK
      7 include ${SDK}/make/Make.config
      8 endif
      9 
     10 sdk_env_check:
     11 ifndef SDK
     12 	@echo "SDK environment variable not set. "
     13 	exit 1
     14 endif
     15 
     16 lcm_env_check:
     17 ifndef BCMSIM_ROOT
     18 	@echo "BCMSIM_ROOT environment variable not set "
     19 	exit 1
     20 endif
     21 
     22 BCMSIM_DIAG_LIBS = \
     23 	${COND_LIB_EDITLINE} \
     24 	libdiag.$(libext) \
     25 	${ESW_DIAG_LIBS} \
     26 	${COND_LIB_BCMX_DIAG} \
     27 	${COND_LIB_TEST} \
     28 	${COND_LIB_TCL}  \
     29 	$(COND_LIB_SAL_APPL) \
     30 	$(COND_LIB_SAL_APPL_PLATFORM)
     31     
     32 BCM_LIBS = ${APPL_LIBS} ${BCMSIM_DIAG_LIBS} ${DRV_LIBS}
     33 BCM_LIBS_BLD = $(addprefix ${LIBDIR}/,${BCM_LIBS})
     34 
     35 pcid: sdk_env_check
     36 	$(MAKE) -C ${SDK}/systems/sim
     37 
     38 all: pcid