Print this page
12312 fix unused lib dependencies

*** 20,30 **** # # # Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # Copyright (c) 2016, Chris Fraire <cfraire@me.com>. ! # Copyright (c) 2018, Joyent, Inc. # PROG = dhcpagent ROOTFS_PROG = $(PROG) DEFAULTFILES = dhcpagent.dfl --- 20,30 ---- # # # Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # Copyright (c) 2016, Chris Fraire <cfraire@me.com>. ! # Copyright 2020 Joyent, Inc. # PROG = dhcpagent ROOTFS_PROG = $(PROG) DEFAULTFILES = dhcpagent.dfl
*** 44,54 **** # not linted SMATCH=off CPPFLAGS += -D_XOPEN_SOURCE=500 -D__EXTENSIONS__ LDLIBS += -lxnet -lnvpair -ldhcpagent -ldhcputil -linetutil -ldevinfo \ ! -ldlpi -lresolv -lsocket -lipadm # Disable warnings that affect all XPG applications. LINTFLAGS += -erroff=E_INCONS_ARG_DECL2 -erroff=E_INCONS_VAL_TYPE_DECL2 .KEEP_STATE: --- 44,54 ---- # not linted SMATCH=off CPPFLAGS += -D_XOPEN_SOURCE=500 -D__EXTENSIONS__ LDLIBS += -lxnet -lnvpair -ldhcpagent -ldhcputil -linetutil -ldevinfo \ ! -ldlpi -lresolv -lipadm # Disable warnings that affect all XPG applications. LINTFLAGS += -erroff=E_INCONS_ARG_DECL2 -erroff=E_INCONS_VAL_TYPE_DECL2 .KEEP_STATE: