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