Makefile.unix-solaris (839B)
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 # Build rules for Solaris 2.6 with PLI support 7 8 include ${SDK}/make/Makefile.unix-common 9 10 # When using GDB on Linux, you may want to use "setenv GDB 1" to disable 11 # editline. For best results put "set environment GDB 1" in your .gdbinit. 12 13 ENDIAN_DEF = -DBE_HOST=1 14 15 CC = ${HCC} 16 CXX = g++ 17 LD = ld 18 AR = ar 19 ARFLAGS = -rc 20 STRIP = strip 21 RANLIB = ranlib 22 23 # Filter out features that cannot or should not be supported in Linux 24 ifdef ESW_CHIPS 25 _FEATURE_EXCLUDE_LIST += OOB_RCPU 26 endif 27 FEATURE_EXCLUDE_LIST = $(sort $(_FEATURE_EXCLUDE_LIST)) 28 29 # Solaris 30 LIBS = -lnsl -lsocket -lpthread -lposix4 -lm 31 CFGFLAGS += -DBCM_PLATFORM_STRING=\"unix-solaris\" 32