Makefile.bcmsim-solaris (1152B)
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 7 OMNETPP_INCL_DIR=${OMNETPP_ROOT}/include 8 OMNETPP_LIB_DIR=${OMNETPP_ROOT}/lib 9 CMDENV_LIBS=-lenvir -lcmdenv 10 #TKENV_LIBS=-lenvir -ltkenv $(TK_LIBS) 11 PVM_LIBS= 12 SYS_LIBS=-lstdc++ -ldl -lm -lsocket -lposix4 -lnsl 13 # Simulation kernel 14 STD_KERNEL_LIBS=-lsim_std 15 PVM_KERNEL_LIBS=-lsim_pvm $(PVM_LIBS) 16 17 # User interface (uncomment one) 18 USERIF_LIBS=$(CMDENV_LIBS) 19 #USERIF_LIBS=$(TKENV_LIBS) 20 21 # Uncomment the second line for parallel execution (PVM3) support 22 KERNEL_LIBS=$(STD_KERNEL_LIBS) 23 # KERNEL_LIBS=$(PVM_KERNEL_LIBS) 24 25 # Simulation kernel and user interface libraries 26 OMNETPP_LIBS=-L$(OMNETPP_LIB_DIR) $(KERNEL_LIBS) $(USERIF_LIBS) $(SYS_LIBS) 27 28 NEDC=nedc 29 CC=gcc 30 CXX = c++ 31 32 33 # 34 # DEPEND is used as a command to generate the list of dependencies. 35 # The format of the output must be 36 # "file.o : file.c a/b/c.h d/e/f.h ...", 37 # if it is on multiple lines, each line must end in a backslash. 38 # The output MUST be on standard out. 39 # 40 DEPEND = ${CC} -M $(CFLAGS) $<