Print this page
remove inlines,some other files


  91 # ----- END OF TRANSITIONAL SECTION -------------------------------------------
  92 #
  93 #       Include machine independent rules. Note that this does not imply
  94 #       that the resulting module from rules in Makefile.uts is machine
  95 #       independent. Only that the build rules are machine independent.
  96 #
  97 include $(UTSBASE)/Makefile.uts
  98 
  99 #
 100 #       The following must be defined for all implementations:
 101 #
 102 MODSTUBS                = $(UTSBASE)/intel/ia32/ml/modstubs.s
 103 
 104 #
 105 #       Define supported builds
 106 #
 107 DEF_BUILDS              = $(DEF_BUILDS64)
 108 ALL_BUILDS              = $(ALL_BUILDS64)
 109 
 110 #
 111 #       x86 or amd64 inline templates
 112 #
 113 INLINES_32              = $(UTSBASE)/intel/ia32/ml/ia32.il
 114 INLINES_64              = $(UTSBASE)/intel/amd64/ml/amd64.il
 115 INLINES                 += $(INLINES_$(CLASS))
 116 
 117 #
 118 #       kernel-specific optimizations; override default in Makefile.master
 119 #
 120 
 121 CFLAGS_XARCH_32         = $(i386_CFLAGS)
 122 CFLAGS_XARCH_64         = $(amd64_CFLAGS)
 123 CFLAGS_XARCH            = $(CFLAGS_XARCH_$(CLASS))
 124 
 125 COPTFLAG_32             = $(COPTFLAG)
 126 COPTFLAG_64             = $(COPTFLAG64)
 127 COPTIMIZE               = $(COPTFLAG_$(CLASS))
 128 
 129 CFLAGS                  = $(CFLAGS_XARCH)
 130 CFLAGS                  += $(COPTIMIZE)
 131 CFLAGS                  += $(INLINES) -D_ASM_INLINES
 132 CFLAGS                  += $(CCMODE)
 133 CFLAGS                  += $(SPACEFLAG)
 134 CFLAGS                  += $(CCUNBOUND)
 135 CFLAGS                  += $(CFLAGS_uts)
 136 CFLAGS                  += -xstrconst
 137 
 138 #
 139 # Options to control which version of stack-protector we enable. This
 140 # gives us a bit of flexibility and is unfortunately necessary as some
 141 # modules do not function correctly with our defaults (qede).
 142 #
 143 #  o STACKPROTECT_              Sets the appropriate version for the compiler
 144 #  o STACKPROTECT_strong        Sets us to use strong on all of the
 145 #                               compilers it supports. This is the same
 146 #                               as the default.
 147 #
 148 #  o STACKPROTECT_none          Disables the stack protector.
 149 #
 150 #  o STACKPROTECT_all           Enables it for everything.
 151 #




  91 # ----- END OF TRANSITIONAL SECTION -------------------------------------------
  92 #
  93 #       Include machine independent rules. Note that this does not imply
  94 #       that the resulting module from rules in Makefile.uts is machine
  95 #       independent. Only that the build rules are machine independent.
  96 #
  97 include $(UTSBASE)/Makefile.uts
  98 
  99 #
 100 #       The following must be defined for all implementations:
 101 #
 102 MODSTUBS                = $(UTSBASE)/intel/ia32/ml/modstubs.s
 103 
 104 #
 105 #       Define supported builds
 106 #
 107 DEF_BUILDS              = $(DEF_BUILDS64)
 108 ALL_BUILDS              = $(ALL_BUILDS64)
 109 
 110 #







 111 #       kernel-specific optimizations; override default in Makefile.master
 112 #
 113 
 114 CFLAGS_XARCH_32         = $(i386_CFLAGS)
 115 CFLAGS_XARCH_64         = $(amd64_CFLAGS)
 116 CFLAGS_XARCH            = $(CFLAGS_XARCH_$(CLASS))
 117 
 118 COPTFLAG_32             = $(COPTFLAG)
 119 COPTFLAG_64             = $(COPTFLAG64)
 120 COPTIMIZE               = $(COPTFLAG_$(CLASS))
 121 
 122 CFLAGS                  = $(CFLAGS_XARCH)
 123 CFLAGS                  += $(COPTIMIZE)
 124 CFLAGS                  += -D_ASM_INLINES
 125 CFLAGS                  += $(CCMODE)
 126 CFLAGS                  += $(SPACEFLAG)
 127 CFLAGS                  += $(CCUNBOUND)
 128 CFLAGS                  += $(CFLAGS_uts)
 129 CFLAGS                  += -xstrconst
 130 
 131 #
 132 # Options to control which version of stack-protector we enable. This
 133 # gives us a bit of flexibility and is unfortunately necessary as some
 134 # modules do not function correctly with our defaults (qede).
 135 #
 136 #  o STACKPROTECT_              Sets the appropriate version for the compiler
 137 #  o STACKPROTECT_strong        Sets us to use strong on all of the
 138 #                               compilers it supports. This is the same
 139 #                               as the default.
 140 #
 141 #  o STACKPROTECT_none          Disables the stack protector.
 142 #
 143 #  o STACKPROTECT_all           Enables it for everything.
 144 #