Print this page
10593 illumos build should not use kernel modules as link-editor input


  92 #       Default build targets.
  93 #
  94 .KEEP_STATE:
  95 
  96 def:            $(DEF_DEPS)
  97 
  98 all:            $(ALL_DEPS)
  99 
 100 clean:          $(CLEAN_DEPS)
 101 
 102 clobber:        $(CLOBBER_DEPS)
 103 
 104 lint:           $(LINT_DEPS)
 105 
 106 modlintlib:     $(MODLINTLIB_DEPS)
 107 
 108 clean.lint:     $(CLEAN_LINT_DEPS)
 109 
 110 install:        $(INSTALL_DEPS)
 111 
 112 $(CPULIB):      $(BINARY)
 113         $(BUILD.SO) $(BINARY)
 114 
 115 $(SYM_MOD):     $(UNIX_O) $(CPULIB)
 116         @echo "resolving symbols against unix.o"
 117         @(cd $(UNIX_DIR); pwd; \
 118             CPU_DIR=$(HERE) SYM_MOD=$(HERE)/$(SYM_MOD) $(MAKE) symcheck)
 119 
 120 $(ROOTSOFTLINKS): $(ROOTMODULE)
 121         $(RM) $@; $(SYMLINK) $(MODULE) $@
 122 
 123 #       Include common targets.
 124 #
 125 include $(UTSBASE)/sun4u/Makefile.targ


  92 #       Default build targets.
  93 #
  94 .KEEP_STATE:
  95 
  96 def:            $(DEF_DEPS)
  97 
  98 all:            $(ALL_DEPS)
  99 
 100 clean:          $(CLEAN_DEPS)
 101 
 102 clobber:        $(CLOBBER_DEPS)
 103 
 104 lint:           $(LINT_DEPS)
 105 
 106 modlintlib:     $(MODLINTLIB_DEPS)
 107 
 108 clean.lint:     $(CLEAN_LINT_DEPS)
 109 
 110 install:        $(INSTALL_DEPS)
 111 
 112 $(CPULIB):      $(OBJECTS)
 113         $(BUILD.SO) $(OBJECTS)
 114 
 115 $(SYM_MOD):     $(UNIX_O) $(CPULIB)
 116         @echo "resolving symbols against unix.o"
 117         @(cd $(UNIX_DIR); pwd; \
 118             CPU_DIR=$(HERE) SYM_MOD=$(HERE)/$(SYM_MOD) $(MAKE) symcheck)
 119 
 120 $(ROOTSOFTLINKS): $(ROOTMODULE)
 121         $(RM) $@; $(SYMLINK) $(MODULE) $@
 122 
 123 #       Include common targets.
 124 #
 125 include $(UTSBASE)/sun4u/Makefile.targ