Print this page
8411 Build should warn when linking against libraries outside proto area

*** 20,30 **** --- 20,32 ---- # # # Copyright 2008 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # + # Copyright 2017 RackTop Systems. # + # # usr/src/lib/hal/libhal/Makefile.com # LIBRARY = libhal.a VERS = .1.0.0
*** 36,45 **** --- 38,50 ---- LIBS = $(DYNLIB) $(LINTLIB) LDLIBS += -lc -ldbus-1 $(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC) + # Allow libdbus to be taken from outside the proto area. + $(ADJUNCT_PROTO_NOT_SET)DYNFLAGS += $(ZASSERTDEFLIB)=libdbus-1.so + SRCDIR = ../common CFLAGS += $(CCVERBOSE) CPPFLAGS += $(HAL_CONFIG_CPPFLAGS) CPPFLAGS += -DGETTEXT_PACKAGE=\"$(HAL_GETTEXT_PACKAGE)\" -DENABLE_NLS