Print this page
12312 fix unused lib dependencies
*** 21,31 ****
#
#
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # cmd/picl/plugins/common/memcfg/Makefile
#
LIBRARY= libpiclmemcfg.a
VERS= .1
OBJECTS= piclmemcfg_comm.o
--- 21,31 ----
#
#
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # Copyright 2020 Joyent, Inc.
#
LIBRARY= libpiclmemcfg.a
VERS= .1
OBJECTS= piclmemcfg_comm.o
*** 44,60 ****
CLEANFILES= $(LINTOUT) $(LINTLIB)
CPPFLAGS += -I$(SRC)/uts/sun4u/sys -I$(SRC)/cmd/picl/plugins/common/memcfg
CFLAGS += $(CCVERBOSE) $(C_PICFLAGS)
! LDLIBS += -L$(SRC)/lib/libpicltree/$(MACH)
! LDLIBS += -L../devtree
! LDLIBS += -L$(ROOT)/usr/lib/picl/plugins
! LDLIBS += -lc -lpicltree -lpicldevtree -lnvpair
! $(SPARC_BLD)LDLIBS += -R/usr/platform/\$$PLATFORM/lib/picl/plugins \
! -R/usr/platform/sun4u/lib/picl/plugins
! LDLIBS += -R/usr/lib/picl/plugins
CLOBBERFILES += $(LIBLINKS)
.KEEP_STATE:
--- 44,54 ----
CLEANFILES= $(LINTOUT) $(LINTLIB)
CPPFLAGS += -I$(SRC)/uts/sun4u/sys -I$(SRC)/cmd/picl/plugins/common/memcfg
CFLAGS += $(CCVERBOSE) $(C_PICFLAGS)
! LDLIBS += -lc -lpicltree -lnvpair
CLOBBERFILES += $(LIBLINKS)
.KEEP_STATE: