Print this page
12312 fix unused lib dependencies
*** 20,30 ****
#
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # Copyright (c) 2018, Joyent, Inc.
FSTYPE = nfs
TYPEPROG = nfsmapid
TESTPROG = nfsmapid_test
--- 20,30 ----
#
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # Copyright 2020 Joyent, Inc.
FSTYPE = nfs
TYPEPROG = nfsmapid
TESTPROG = nfsmapid_test
*** 31,41 ****
ATTMK = $(TYPEPROG)
include ../../Makefile.fstype
LDLIBS += -L$(ROOT)/usr/lib/nfs -R/usr/lib/nfs
! LDLIBS += -lnsl -lmapid -ldtrace -lidmap
COMMON = nfs_resolve.o
SRCS = nfsmapid.c ../lib/nfs_resolve.c nfsmapid_server.c
DSRC = nfsmapid_dt.d
DOBJ = $(DSRC:%.d=%.o)
OBJS = nfsmapid.o nfsmapid_server.o $(COMMON)
--- 31,41 ----
ATTMK = $(TYPEPROG)
include ../../Makefile.fstype
LDLIBS += -L$(ROOT)/usr/lib/nfs -R/usr/lib/nfs
! $(TYPEPROG) := LDLIBS += -lnsl -lmapid -ldtrace -lidmap
COMMON = nfs_resolve.o
SRCS = nfsmapid.c ../lib/nfs_resolve.c nfsmapid_server.c
DSRC = nfsmapid_dt.d
DOBJ = $(DSRC:%.d=%.o)
OBJS = nfsmapid.o nfsmapid_server.o $(COMMON)