Make.pcieg3 (635B)
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 # Helper makefile for integrating the PCIEG3 library into the SDK builds. 7 # 8 9 # Map pcieg3 library name to SDK library name 10 ifeq (,$(lib)) 11 lib = $(LIBNAME) 12 endif 13 14 # Duplicate pcieg3 rule for C source compilation 15 $(BLDDIR)/%.$(OBJSUFFIX): %.c $(BLDDIR)/.tree 16 @$(ECHO) 'Compiling $(LOCALDIR)/$<' 17 $(Q)$(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@ 18 19 # Include SDK library rules to support Linux shared library builds 20 include $(SDK)/make/Make.lib