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


  19 # CDDL HEADER END
  20 #
  21 
  22 #
  23 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  24 # Use is subject to license terms.
  25 #
  26 
  27 %.o:            ../common/%.c
  28                 $(COMPILE.c) -o $@ $<
  29                 $(POST_PROCESS_O)
  30 
  31 %32.o:          ../common/%.c
  32                 $(COMPILE.c) -o $@ $<
  33                 $(POST_PROCESS_O)
  34 
  35 %64.o:          ../common/%.c
  36                 $(COMPILE.c) -D_ELF64 -o $@ $<
  37                 $(POST_PROCESS_O)
  38 
  39 %.o:            $(SGSTOOLS)/common/%.c
  40                 $(COMPILE.c) -o $@ $<
  41                 $(POST_PROCESS_O)
  42 
  43 
  44 $(PROG):        $(OBJS) $(MAPFILE)
  45                 $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
  46                 $(POST_PROCESS)
  47 
  48 $(ROOTBIN64)/%: %
  49                 $(INS.file)
  50 
  51 all:            $(PROG)
  52 
  53 clean:
  54                 $(RM) $(OBJS) $(CLEANFILES)
  55 
  56 delete:
  57                 $(RM) $(PROG)
  58 
  59 install \


  19 # CDDL HEADER END
  20 #
  21 
  22 #
  23 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  24 # Use is subject to license terms.
  25 #
  26 
  27 %.o:            ../common/%.c
  28                 $(COMPILE.c) -o $@ $<
  29                 $(POST_PROCESS_O)
  30 
  31 %32.o:          ../common/%.c
  32                 $(COMPILE.c) -o $@ $<
  33                 $(POST_PROCESS_O)
  34 
  35 %64.o:          ../common/%.c
  36                 $(COMPILE.c) -D_ELF64 -o $@ $<
  37                 $(POST_PROCESS_O)
  38 
  39 %.o:            $(SGSCOMMON)/%.c
  40                 $(COMPILE.c) -o $@ $<
  41                 $(POST_PROCESS_O)
  42 
  43 
  44 $(PROG):        $(OBJS) $(MAPFILE)
  45                 $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
  46                 $(POST_PROCESS)
  47 
  48 $(ROOTBIN64)/%: %
  49                 $(INS.file)
  50 
  51 all:            $(PROG)
  52 
  53 clean:
  54                 $(RM) $(OBJS) $(CLEANFILES)
  55 
  56 delete:
  57                 $(RM) $(PROG)
  58 
  59 install \