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

*** 19,28 **** --- 19,30 ---- # CDDL HEADER END # # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # + # Copyright 2017 RackTop Systems. + # PROG = tpmadm OBJS = main.o \ admin_cmds.o
*** 36,45 **** --- 38,50 ---- CPPFLAGS += -xCC LINTFLAGS += -XCC -L$(ADJUNCT_PROTO)/usr/lib LDLIBS += -ltspi -luuid + # Allow trousers libs to be taken from outside the proto area. + $(ADJUNCT_PROTO_NOT_SET)LDFLAGS += $(ZASSERTDEFLIB)=libtspi.so + CLOBBERFILES = C.ln $(POFILE) $(POFILES) .KEEP_STATE: all : $(PROG)