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


      1 # -*- Makefile -*-
      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 # Makefile for Linux user BDE
      8 #
      9 LOCALDIR = systems/bde/linux/user
     10 
     11 CFLAGS += -I../include -I${SDK}/systems/linux/kernel/modules/include
     12 
     13 include ${SDK}/make/Make.config
     14 
     15 # need to add vpath sources
     16 VPATH = ../shared
     17 
     18 # Add the srcs to be found by vpath
     19 LSRCS += mpool.c
     20 LHDRS += mpool.h
     21 LOBJS = $(addsuffix .o, $(basename ${LSRCS}))
     22 BOBJS = $(addprefix ${BLDDIR}/,${LOBJS})
     23 
     24 lib = liblubde
     25 
     26 include ${SDK}/make/Make.lib
     27 
     28 include ${SDK}/make/Make.depend