Print this page
7627 Build should be smarter about how SGSPROTO is created
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Kim Shrier <kshrier@racktopsystems.com>


  26 #
  27 
  28 pics/%.o:       ../common/%.c
  29                 $(COMPILE.c) -o $@ $<
  30                 $(POST_PROCESS_O)
  31 
  32 pics/%64.o:     ../common/%.c
  33                 $(COMPILE.c) -o $@ -D_ELF64 $<
  34                 $(POST_PROCESS_O)
  35 
  36 lint:           $(LINTOUT32) $(SGSLINTOUT)
  37 
  38 delete:
  39                 -$(RM) $(DYNLIB)
  40 
  41 # Special target for native builds (ie. when we need to build a version of ld
  42 # to build a version of ld :-).
  43 
  44 native:         $(SGSLIBDIR)/$(DYNLIB)
  45 
  46 $(SGSLIBDIR)/$(DYNLIB): pics .WAIT $$(PICS)


  47                 $(BUILD.SO)
  48                 $(POST_PROCESS_SO)
  49 
  50 include         $(SRC)/lib/Makefile.targ
  51 include         $(SRC)/cmd/sgs/Makefile.targ
  52 
  53 # Derived source and header files (messaging).
  54 
  55 catalog:
  56 
  57 chkmsg:
  58 
  59 package:


  26 #
  27 
  28 pics/%.o:       ../common/%.c
  29                 $(COMPILE.c) -o $@ $<
  30                 $(POST_PROCESS_O)
  31 
  32 pics/%64.o:     ../common/%.c
  33                 $(COMPILE.c) -o $@ -D_ELF64 $<
  34                 $(POST_PROCESS_O)
  35 
  36 lint:           $(LINTOUT32) $(SGSLINTOUT)
  37 
  38 delete:
  39                 -$(RM) $(DYNLIB)
  40 
  41 # Special target for native builds (ie. when we need to build a version of ld
  42 # to build a version of ld :-).
  43 
  44 native:         $(SGSLIBDIR)/$(DYNLIB)
  45 
  46 $(PICS):        pics
  47 
  48 $(SGSLIBDIR)/$(DYNLIB): $(PICS) $(SGSLIBDIR)
  49                 $(BUILD.SO)
  50                 $(POST_PROCESS_SO)
  51 
  52 include         $(SRC)/lib/Makefile.targ
  53 include         $(SRC)/cmd/sgs/Makefile.targ
  54 
  55 # Derived source and header files (messaging).
  56 
  57 catalog:
  58 
  59 chkmsg:
  60 
  61 package: