Print this page
12312 fix unused lib dependencies

*** 19,29 **** # CDDL HEADER END # # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # ! # cmd/fwflash/plugins/transport # include $(SRC)/lib/Makefile.lib SES_LIB= ses.so TAVOR_LIB= tavor.so --- 19,29 ---- # CDDL HEADER END # # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # ! # Copyright 2020 Joyent, Inc. # include $(SRC)/lib/Makefile.lib SES_LIB= ses.so TAVOR_LIB= tavor.so
*** 46,56 **** CLEANFILES= $(PLUGINS) $(POFILES) $(POFILE) $(LINTFILE) $(SLINKS) LIBS= $(DYNLIB) CFLAGS += $(C_PICFLAGS) ROOTLIBDIR= $(ROOTUSRLIBFWFLASHIDF) ! LDLIBS += -ldevinfo -lc MAPFILES= ../common/mapfile-vers FILEMODE= 0755 $(SES_LIB):= PICS= pics/$(SES_LIB:%.so=%.o) $(TAVOR_LIB):= PICS= pics/$(TAVOR_LIB:%.so=%.o) --- 46,56 ---- CLEANFILES= $(PLUGINS) $(POFILES) $(POFILE) $(LINTFILE) $(SLINKS) LIBS= $(DYNLIB) CFLAGS += $(C_PICFLAGS) ROOTLIBDIR= $(ROOTUSRLIBFWFLASHIDF) ! LDLIBS += -ldevinfo MAPFILES= ../common/mapfile-vers FILEMODE= 0755 $(SES_LIB):= PICS= pics/$(SES_LIB:%.so=%.o) $(TAVOR_LIB):= PICS= pics/$(TAVOR_LIB:%.so=%.o)
*** 63,74 **** $(SD_LIB):= SONAME = $(SD_LIB) $(HERMON_LIB):= MAPFILES += ../common/mapfile-vers-hermon $(SD_LIB):= MAPFILES += ../common/mapfile-vers-plus ! $(SES_LIB):= LDLIBS += -L$(ROOT)/usr/lib/scsi -lscsi -lses -lnvpair ! $(SD_LIB):= LDLIBS += -L$(ROOT)/usr/lib/scsi -lscsi -lumem $(SES_LIB):= DYNFLAGS += -R/usr/lib/scsi $(SD_LIB):= DYNFLAGS += -R/usr/lib/scsi .KEEP STATE: --- 63,76 ---- $(SD_LIB):= SONAME = $(SD_LIB) $(HERMON_LIB):= MAPFILES += ../common/mapfile-vers-hermon $(SD_LIB):= MAPFILES += ../common/mapfile-vers-plus ! $(HERMON_LIB):= LDLIBS += -lc ! $(TAVOR_LIB):= LDLIBS += -lc ! $(SES_LIB):= LDLIBS += -L$(ROOT)/usr/lib/scsi -lscsi -lses -lnvpair -lc ! $(SD_LIB):= LDLIBS += -L$(ROOT)/usr/lib/scsi -lscsi -lumem -lc $(SES_LIB):= DYNFLAGS += -R/usr/lib/scsi $(SD_LIB):= DYNFLAGS += -R/usr/lib/scsi .KEEP STATE: