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

lib.mk (550B)


      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 # PHYMOD make rules for libraries
      7 #
      8 
      9 include $(PHYMOD)/make/config.mk
     10 
     11 include $(PHYMOD)/make/rules.mk
     12 
     13 BLIBNAME = $(LIBDIR)/$(LIBNAME).$(LIBSUFFIX)
     14 
     15 .SECONDARY:: $(BOBJS)
     16 
     17 all:: $(BLDDIR)/.tree $(BLIBNAME)
     18 
     19 clean::
     20 	@$(ECHO) Cleaning objects for $(notdir $(BLIBNAME))
     21 	$(Q)$(RM) $(BLDDIR)/.tree $(BOBJS) $(BLIBNAME)
     22 
     23 include $(PHYMOD)/make/depend.mk