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


  12 the License file at usr/src/OPENSOLARIS.LICENSE.  # If applicable, add the
  13 following below this CDDL HEADER, with the # fields enclosed by brackets "[]"
  14 replaced with your own identifying # information: Portions Copyright [yyyy]
  15 [name of copyright owner] # # CDDL HEADER END # # # Copyright (c) 1997, 2010,
  16 Oracle and/or its affiliates. All rights reserved.  # Copyright 2019 OmniOS
  17 Community Edition (OmniOSce) Association.  #
  18 
  19 objs/%.o pics/%.o:  %.c       $(COMPILE.c) -o $@ $<      $(POST_PROCESS_O)
  20 
  21 objs/%64.o pics/%64.o:   ../common/%.c       $(COMPILE.c) -D_ELF64 -o $@ $<
  22           $(POST_PROCESS_O)
  23 
  24 objs/%.o pics/%.o:  ../misc/%.c         $(COMPILE.c) -DELF -o $@ $<
  25           $(POST_PROCESS_O)
  26 
  27 objs/%.o pics/%.o:  ../common/%.c       $(COMPILE.c) -o $@ $<
  28           $(POST_PROCESS_O)
  29 
  30 all:      $(BLTSRCS) .WAIT $(LIBS) $(LIBLINKS)
  31 
  32 install:  all .WAIT $(ROOTFS_LIBS64) $(ROOTFS_LINKS64)
  33 
  34 delete:        $(RM) $(DYNLIB)
  35 
  36 $(LIBLINKS):        $(RM) $(LIBLINKS)        $(SYMLINK) $(DYNLIB) $(LIBLINKS)
  37 
  38 CLOBBERFILES += $(LIBLINKS)
  39 
  40 # include common library targets # include        $(SRC)/lib/Makefile.targ
  41 include        $(SRC)/cmd/sgs/Makefile.targ
  42 
  43 xlate.c:  ../common/xlate.m4       $(M4) < ../common/xlate.m4 >   xlate.c
  44 
  45 xlate64.c:     ../common/xlate64.m4          $(M4) < ../common/xlate64.m4 >
  46 xlate64.c
  47 
  48 objs/msg.o pics/msg.o:   msg.c
  49 
  50 objs/error.o pics/error.o:    msg.h
  51 
  52 objs/ar.o pics/ar.o:     msg.h
  53 
  54 objs/xlate.o pics/xlate.o:    xlate.c
  55 
  56 
  57 # Derived source and header files (messaging).  Make sure that the sgsmsg #
  58 command is constructed - libelf might not be built with the whole sgs.
  59 
  60 catalog:  $(BLTMESG)
  61 
  62 chkmsg:        $(LIBSRCS)          sh $(CHKMSG) $(CHKMSGFLAGS) $(LIBSRCS)
  63 
  64 $(BLTDEFS) + $(BLTDATA): $(SGSMSG) $(SGSMSGTARG)       $(SGSMSG)
  65 $(SGSMSGFLAGS2) $(SGSMSGTARG)
  66 
  67 $(BLTMESG):    $(SGSMSG) $(SGSMSGALL) xlate.c xlate64.c          $(SGSMSG)
  68 $(SGSMSGFLAGS1) $(SGSMSGALL)
  69 
  70 $(SGSMSG):     FRC       @ cd $(SGSTOOLS)/$(MACH); pwd; $(MAKE) catalog
  71           @ pwd
  72 
  73 # # 64-bit overrides # include ../../Makefile.sub.64
  74 
  75 FRC:
  76 
  77 
  78 
  79                                  July 14, 2019                              ()


  12 the License file at usr/src/OPENSOLARIS.LICENSE.  # If applicable, add the
  13 following below this CDDL HEADER, with the # fields enclosed by brackets "[]"
  14 replaced with your own identifying # information: Portions Copyright [yyyy]
  15 [name of copyright owner] # # CDDL HEADER END # # # Copyright (c) 1997, 2010,
  16 Oracle and/or its affiliates. All rights reserved.  # Copyright 2019 OmniOS
  17 Community Edition (OmniOSce) Association.  #
  18 
  19 objs/%.o pics/%.o:  %.c       $(COMPILE.c) -o $@ $<      $(POST_PROCESS_O)
  20 
  21 objs/%64.o pics/%64.o:   ../common/%.c       $(COMPILE.c) -D_ELF64 -o $@ $<
  22           $(POST_PROCESS_O)
  23 
  24 objs/%.o pics/%.o:  ../misc/%.c         $(COMPILE.c) -DELF -o $@ $<
  25           $(POST_PROCESS_O)
  26 
  27 objs/%.o pics/%.o:  ../common/%.c       $(COMPILE.c) -o $@ $<
  28           $(POST_PROCESS_O)
  29 
  30 all:      $(BLTSRCS) .WAIT $(LIBS) $(LIBLINKS)
  31 


  32 delete:        $(RM) $(DYNLIB)
  33 
  34 $(LIBLINKS):        $(RM) $(LIBLINKS)        $(SYMLINK) $(DYNLIB) $(LIBLINKS)
  35 
  36 CLOBBERFILES += $(LIBLINKS)
  37 
  38 # include common library targets # include        $(SRC)/lib/Makefile.targ
  39 include        $(SRC)/cmd/sgs/Makefile.targ
  40 
  41 xlate.c:  ../common/xlate.m4       $(M4) < ../common/xlate.m4 >   xlate.c
  42 
  43 xlate64.c:     ../common/xlate64.m4          $(M4) < ../common/xlate64.m4 >
  44 xlate64.c
  45 
  46 objs/msg.o pics/msg.o:   msg.c
  47 
  48 objs/error.o pics/error.o:    msg.h
  49 
  50 objs/ar.o pics/ar.o:     msg.h
  51 
  52 objs/xlate.o pics/xlate.o:    xlate.c
  53 
  54 
  55 # Derived source and header files (messaging).  Make sure that the sgsmsg #
  56 command is constructed - libelf might not be built with the whole sgs.
  57 
  58 catalog:  $(BLTMESG)
  59 
  60 chkmsg:        $(LIBSRCS)          sh $(CHKMSG) $(CHKMSGFLAGS) $(LIBSRCS)
  61 
  62 $(BLTDEFS) + $(BLTDATA): $(SGSMSGTARG)       $(SGSMSG) $(SGSMSGFLAGS2)
  63 $(SGSMSGTARG)
  64 
  65 $(BLTMESG):    $(SGSMSGALL) xlate.c xlate64.c          $(SGSMSG)
  66 $(SGSMSGFLAGS1) $(SGSMSGALL)



  67 
  68 # # 64-bit overrides # include ../../Makefile.sub.64
  69 
  70 FRC:
  71 
  72 
  73 
  74                                  July 14, 2019                              ()