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

*** 20,29 **** --- 20,31 ---- # # # Copyright 2008 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # + # Copyright 2017 RackTop Systems. + # LIBRARY = libshare_smbfs.a VERS = .1 LIBOBJS = libshare_smbfs.o
*** 38,47 **** --- 40,52 ---- LIBSRCS = $(LIBOBJS:%.o=$(SRCDIR)/%.c) LIBS = $(DYNLIB) LDLIBS += -lshare -lscf -lumem -luuid -lc -lxml2 -lsmbfs + # Allow libxml2 to be taken from outside the proto area. + $(ADJUNCT_PROTO_NOT_SET)DYNFLAGS += $(ZASSERTDEFLIB)=libxml2.so + CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-switch CERRWARN += -_gcc=-Wno-uninitialized CPPFLAGS += -D_REENTRANT -I$(ADJUNCT_PROTO)/usr/include/libxml2 \ -I$(SRCDIR)/../common -I$(SRC)/lib/libsmbfs -I$(SRC)/uts/common