Print this page
remove inlines,some other files


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




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







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