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


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


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