Print this page
11461 should use a native link-editor during the build
11463 SUNWonld has passed its use-by date
11464 cmd/sgs/tools should contain tools, not common code
11465 sgsmsg should be built with the rest of the build tools
*** 32,55 ****
include $(SRC)/cmd/Makefile.cmd
include $(SRC)/cmd/sgs/Makefile.com
COMOBJ= ldd.o
BLTOBJ= msg.o
! TOOLSOBJ= alist.o
! OBJS= $(BLTOBJ) $(COMOBJ) $(TOOLSOBJ)
MAPFILE= $(MAPFILE.NGB)
MAPOPTS= $(MAPFILE:%=-M%)
CPPFLAGS += -I. -I../../include -I../../include/$(MACH) \
! -I$(SRCBASE)/uts/$(ARCH)/sys \
$(CPPFLAGS.master)
LLDFLAGS = '-R$$ORIGIN/../../lib'
LLDFLAGS64 = '-R$$ORIGIN/../../../lib/$(MACH64)'
! LDFLAGS += $(VERSREF) $(CC_USE_PROTO) $(MAPOPTS) $(LLDFLAGS)
! LDLIBS += $(CONVLIBDIR) $(CONV_LIB) -lelf $(DLLIB)
SMOFF += or_vs_and
BLTDEFS= msg.h
BLTDATA= msg.c
--- 32,55 ----
include $(SRC)/cmd/Makefile.cmd
include $(SRC)/cmd/sgs/Makefile.com
COMOBJ= ldd.o
BLTOBJ= msg.o
! SGSCOMMONOBJ= alist.o
! OBJS= $(BLTOBJ) $(COMOBJ) $(SGSCOMMONOBJ)
MAPFILE= $(MAPFILE.NGB)
MAPOPTS= $(MAPFILE:%=-M%)
CPPFLAGS += -I. -I../../include -I../../include/$(MACH) \
! -I$(SRC)/uts/$(ARCH)/sys \
$(CPPFLAGS.master)
LLDFLAGS = '-R$$ORIGIN/../../lib'
LLDFLAGS64 = '-R$$ORIGIN/../../../lib/$(MACH64)'
! LDFLAGS += $(VERSREF) $(MAPOPTS) $(LLDFLAGS)
! LDLIBS += $(CONVLIBDIR) -lconv -lelf
SMOFF += or_vs_and
BLTDEFS= msg.h
BLTDATA= msg.c
*** 61,68 ****
SGSMSGTARG= $(SGSMSGCOM)
SGSMSGALL= $(SGSMSGCOM)
SGSMSGFLAGS += -h $(BLTDEFS) -d $(BLTDATA) -m $(BLTMESG) -n ldd_msg
SRCS= $(COMOBJ:%.o=../common/%.c) $(BLTDATA) \
! $(TOOLSOBJ:%.o=$(SGSTOOLS)/common/%.c)
CLEANFILES += $(BLTFILES)
--- 61,68 ----
SGSMSGTARG= $(SGSMSGCOM)
SGSMSGALL= $(SGSMSGCOM)
SGSMSGFLAGS += -h $(BLTDEFS) -d $(BLTDATA) -m $(BLTMESG) -n ldd_msg
SRCS= $(COMOBJ:%.o=../common/%.c) $(BLTDATA) \
! $(SGSCOMMONOBJ:%.o=$(SGSCOMMON)/%.c)
CLEANFILES += $(BLTFILES)