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


      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 include ${SDK}/make/Make.config
      8 
      9 export TARGET
     10 export BLDDIR
     11 export LIBDIR
     12 
     13 
     14 ifdef ESW_CHIPS
     15 subdirs += diag
     16 endif
     17 
     18 ifdef DPP_CHIPS
     19 subdirs += diag
     20 subdirs += dpp
     21 subdirs += dcmn
     22 subdirs += reference
     23 endif
     24 
     25 ifdef DFE_CHIPS
     26 subdirs += diag
     27 subdirs += dfe
     28 subdirs += dcmn
     29 subdirs += reference
     30 endif
     31 
     32 ifdef DNX_CHIPS
     33 subdirs += diag
     34 subdirs += reference
     35 endif
     36 
     37 ifdef DNXF_CHIPS
     38 subdirs += diag
     39 subdirs += reference
     40 endif
     41 
     42 ifneq (,$(findstring -DINCLUDE_CTEST,$(CFGFLAGS)))
     43 subdirs += ctest
     44 endif
     45 
     46 ifdef COND_LIB_PIONEER
     47 subdirs += pioneer_host
     48 endif
     49 
     50 ifdef COND_LIB_TEST
     51 subdirs += test
     52 endif
     53 
     54 ifdef COND_LIB_TCL
     55 subdirs += tcl8.3.3
     56 endif
     57 
     58 ifdef COND_LIB_ACL
     59 subdirs += acl
     60 endif
     61 
     62 ifdef COND_LIB_CPUDB
     63 subdirs += cpudb
     64 endif
     65 
     66 ifdef COND_LIB_CPUTRANS
     67 subdirs += cputrans
     68 endif
     69 
     70 ifdef COND_LIB_DISCOVER
     71 subdirs += discover
     72 endif
     73 
     74 ifdef COND_LIB_STKTASK
     75 subdirs += stktask
     76 endif
     77 
     78 ifdef COND_LIB_AEDEV
     79 subdirs += aedev
     80 endif
     81 
     82 ifdef COND_LIB_CINT
     83 subdirs += cint
     84 endif
     85 
     86 ifdef COND_LIB_C_UNIT
     87 subdirs += c_unit
     88 endif
     89 
     90 ifdef PORTMOD_STAND_ALONE
     91 subdirs += diag
     92 subdirs += portmod
     93 endif
     94 
     95 ifdef PE_SDK
     96 subdirs += pelib
     97 endif
     98 
     99 
    100 include ${SDK}/make/Make.subdirs