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 (678B)


      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 # Makefile for SOC editline support
      7 #
      8 LOCALDIR = src/sal/appl/editline
      9 
     10 include ${SDK}/make/Make.config
     11 
     12 CFLAGS += -DANSI_ARROWS -DUNIQUE_HISTORY -DHIST_SIZE=64
     13 
     14 ifeq (${targetbase},posix)
     15 CFLAGS += -DSYS_UNIX -DHAVE_TCGETATTR -DUSE_DIRENT
     16 endif
     17 
     18 ifeq (${targetbase},unix)
     19 CFLAGS += -DSYS_UNIX -DHAVE_TCGETATTR -DUSE_DIRENT
     20 endif
     21 
     22 ifneq (${targetbase},linux)
     23 CFLAGS += -DHAVE_STDLIB
     24 endif
     25 
     26 lib = libsal_appl_editline
     27 include ${SDK}/make/Make.lib
     28 
     29 include ${SDK}/make/Make.depend