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


      1 #
      2 # 
      3 # This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
      4 # 
      5 # Copyright 2007-2019 Broadcom Inc. All rights reserved.
      6 #
      7 LOCALDIR = libs/pcieg3
      8 
      9 ifndef PCIEG3
     10 PCIEG3 = $(CURDIR)
     11 endif
     12 
     13 include ${PCIEG3}/make/config.mk
     14 
     15 # merlin16 pcieg3 support
     16 VPATH += diag
     17 VPATH += merlin16
     18 VPATH += merlin16/src
     19 VSRCS += $(wildcard merlin16/src/*.c) $(wildcard diag/*.c)
     20 
     21 LSRCS = $(notdir $(VSRCS))
     22 LOBJS = $(addsuffix .o, $(basename $(LSRCS)))
     23 BOBJS = $(addprefix $(BLDDIR)/,$(LOBJS))
     24 
     25 LIBNAME = libpcieg3
     26 include ${PCIEG3}/make/lib.mk
     27 
     28 include ${PCIEG3}/make/depend.mk