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


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


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