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


  85 #       Default build targets.
  86 #
  87 .KEEP_STATE:
  88 
  89 def:            $(DEF_DEPS)
  90 
  91 all:            $(ALL_DEPS)
  92 
  93 clean:          $(CLEAN_DEPS)
  94 
  95 clobber:        $(CLOBBER_DEPS)
  96 
  97 lint:           $(LINT_DEPS)
  98 
  99 modlintlib:     $(MODLINTLIB_DEPS)
 100 
 101 clean.lint:     $(CLEAN_LINT_DEPS)
 102 
 103 install:        $(INSTALL_DEPS)
 104 
 105 $(CPULIB):      $(BINARY)
 106         $(BUILD.SO) $(BINARY)
 107 
 108 $(SYM_MOD):     $(UNIX_O) $(CPULIB)
 109         @echo "resolving symbols against unix.o"
 110         @(cd $(UNIX_DIR); pwd; \
 111             CPU_DIR=$(HERE) SYM_MOD=$(HERE)/$(SYM_MOD) $(MAKE) symcheck)
 112 
 113 $(ROOTSOFTLINKS): $(ROOTMODULE)
 114         $(RM) $@; $(SYMLINK) $(MODULE) $@
 115 
 116 #       Include common targets.
 117 #
 118 include $(UTSBASE)/sun4u/Makefile.targ
 119 
 120 #
 121 # For now, disable these lint checks; maintainers should endeavor
 122 # to investigate and remove these for maximum lint coverage.
 123 # Please do not carry these forward to new Makefiles.
 124 #
 125 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
 126 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN


  85 #       Default build targets.
  86 #
  87 .KEEP_STATE:
  88 
  89 def:            $(DEF_DEPS)
  90 
  91 all:            $(ALL_DEPS)
  92 
  93 clean:          $(CLEAN_DEPS)
  94 
  95 clobber:        $(CLOBBER_DEPS)
  96 
  97 lint:           $(LINT_DEPS)
  98 
  99 modlintlib:     $(MODLINTLIB_DEPS)
 100 
 101 clean.lint:     $(CLEAN_LINT_DEPS)
 102 
 103 install:        $(INSTALL_DEPS)
 104 
 105 $(CPULIB):      $(OBJECTS)
 106         $(BUILD.SO) $(OBJECTS)
 107 
 108 $(SYM_MOD):     $(UNIX_O) $(CPULIB)
 109         @echo "resolving symbols against unix.o"
 110         @(cd $(UNIX_DIR); pwd; \
 111             CPU_DIR=$(HERE) SYM_MOD=$(HERE)/$(SYM_MOD) $(MAKE) symcheck)
 112 
 113 $(ROOTSOFTLINKS): $(ROOTMODULE)
 114         $(RM) $@; $(SYMLINK) $(MODULE) $@
 115 
 116 #       Include common targets.
 117 #
 118 include $(UTSBASE)/sun4u/Makefile.targ
 119 
 120 #
 121 # For now, disable these lint checks; maintainers should endeavor
 122 # to investigate and remove these for maximum lint coverage.
 123 # Please do not carry these forward to new Makefiles.
 124 #
 125 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
 126 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN