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
*** 28,56 ****
pics/%.o: %.c
$(COMPILE.c) -o $@ $<
$(POST_PROCESS_O)
objs/%64.o \
! pics/%64.o: ../common/%.c
$(COMPILE.c) -D_ELF64 -o $@ $<
$(POST_PROCESS_O)
objs/%.o \
! pics/%.o: ../misc/%.c
$(COMPILE.c) -DELF -o $@ $<
$(POST_PROCESS_O)
objs/%.o \
! pics/%.o: ../common/%.c
$(COMPILE.c) -o $@ $<
$(POST_PROCESS_O)
all: $(BLTSRCS) .WAIT $(LIBS) $(LIBLINKS)
- install: all .WAIT $(ROOTFS_LIBS) $(ROOTFS_LINKS) \
- .WAIT $(ROOTDEMODIRS) .WAIT $(ROOTDEMOFILES)
-
delete:
$(RM) $(DYNLIB)
$(LIBLINKS):
$(RM) $(LIBLINKS)
--- 28,53 ----
pics/%.o: %.c
$(COMPILE.c) -o $@ $<
$(POST_PROCESS_O)
objs/%64.o \
! pics/%64.o: $(SRCDIR)/common/%.c
$(COMPILE.c) -D_ELF64 -o $@ $<
$(POST_PROCESS_O)
objs/%.o \
! pics/%.o: $(SRCDIR)/misc/%.c
$(COMPILE.c) -DELF -o $@ $<
$(POST_PROCESS_O)
objs/%.o \
! pics/%.o: $(SRCDIR)/common/%.c
$(COMPILE.c) -o $@ $<
$(POST_PROCESS_O)
all: $(BLTSRCS) .WAIT $(LIBS) $(LIBLINKS)
delete:
$(RM) $(DYNLIB)
$(LIBLINKS):
$(RM) $(LIBLINKS)
*** 61,75 ****
# include common library targets
#
include $(SRC)/lib/Makefile.targ
include $(SRC)/cmd/sgs/Makefile.targ
! xlate.c: ../common/xlate.m4
! $(M4) < ../common/xlate.m4 > xlate.c
! xlate64.c: ../common/xlate64.m4
! $(M4) < ../common/xlate64.m4 > xlate64.c
objs/msg.o \
pics/msg.o: msg.c
--- 58,72 ----
# include common library targets
#
include $(SRC)/lib/Makefile.targ
include $(SRC)/cmd/sgs/Makefile.targ
! xlate.c: $(SRCDIR)/common/xlate.m4
! $(M4) < $(SRCDIR)/common/xlate.m4 > xlate.c
! xlate64.c: $(SRCDIR)/common/xlate64.m4
! $(M4) < $(SRCDIR)/common/xlate64.m4 > xlate64.c
objs/msg.o \
pics/msg.o: msg.c
*** 80,120 ****
pics/ar.o: msg.h
objs/xlate.o \
pics/xlate.o: xlate.c
- # Special target for native builds (ie. when we need to build a version of ld
- # to build a version of ld :-).
-
- native: $(SGSLIBDIR)/$(LIBLINKS)
-
$(PICS): pics
- $(SGSLIBDIR)/$(DYNLIB): $(PICS) $(SGSLIBDIR)
- $(BUILD.SO)
- $(POST_PROCESS_SO)
-
- $(SGSLIBDIR)/$(LIBLINKS): $(SGSLIBDIR)/$(DYNLIB)
- -@$(RM) $(SGSLIBDIR)/$(LIBLINKS)
- $(SYMLINK) $(DYNLIB) $(SGSLIBDIR)/$(LIBLINKS)
-
-
# Derived source and header files (messaging). Make sure that the sgsmsg
# command is constructed - libelf might not be built with the whole sgs.
catalog: $(BLTMESG)
chkmsg: $(LIBSRCS)
sh $(CHKMSG) $(CHKMSGFLAGS) $(LIBSRCS)
$(BLTDEFS) + \
! $(BLTDATA): $(SGSMSG) $(SGSMSGTARG)
$(SGSMSG) $(SGSMSGFLAGS2) $(SGSMSGTARG)
! $(BLTMESG): $(SGSMSG) $(SGSMSGALL) xlate.c xlate64.c
$(SGSMSG) $(SGSMSGFLAGS1) $(SGSMSGALL)
- $(SGSMSG): FRC
- @ cd $(SGSTOOLS)/$(MACH); pwd; $(MAKE) catalog
- @ pwd
-
FRC:
--- 77,99 ----
pics/ar.o: msg.h
objs/xlate.o \
pics/xlate.o: xlate.c
$(PICS): pics
# Derived source and header files (messaging). Make sure that the sgsmsg
# command is constructed - libelf might not be built with the whole sgs.
catalog: $(BLTMESG)
chkmsg: $(LIBSRCS)
sh $(CHKMSG) $(CHKMSGFLAGS) $(LIBSRCS)
$(BLTDEFS) + \
! $(BLTDATA): $(SGSMSGTARG)
$(SGSMSG) $(SGSMSGFLAGS2) $(SGSMSGTARG)
! $(BLTMESG): $(SGSMSGALL) xlate.c xlate64.c
$(SGSMSG) $(SGSMSGFLAGS1) $(SGSMSGALL)
FRC: