Print this page
6662 uts should only build the variant requested


  44 
  45 OBJECTS         = $(GENUNIX_OBJS:%=$(OBJS_DIR)/%) \
  46                   $(NOT_YET_KMODS:%=$(OBJS_DIR)/%)
  47 
  48 LINTS           = $(GENUNIX_OBJS:%.o=$(LINTS_DIR)/%.ln) \
  49                   $(NOT_YET_KMODS:%.o=$(LINTS_DIR)/%.ln)
  50 
  51 ROOTMODULE      = $(ROOT_KERN_DIR)/$(MODULE)
  52 
  53 LIBGEN          = $(OBJS_DIR)/libgenunix.so
  54 LIBSTUBS        = $(GENSTUBS_OBJS:%=$(OBJS_DIR)/%)
  55 
  56 #
  57 #       Include common rules.
  58 #
  59 include $(UTSBASE)/intel/Makefile.intel
  60 
  61 #
  62 #       Define targets
  63 #
  64 ALL_TARGET      = $(LIBGEN)
  65 LINT_TARGET     = $(MODULE).lint
  66 INSTALL_TARGET  = $(GENUNIX) $(ROOTMODULE)
  67 
  68 #
  69 #       Overrides
  70 #
  71 CLOBBERFILES    += $(GENUNIX)
  72 CLEANFILES      += $(LIBSTUBS) $(LIBGEN)
  73 BINARY          =
  74 
  75 #
  76 # Non-patch genunix builds merge a version of the ip module called ipctf.  This
  77 # is to ensure that the common network-related types are included in genunix and
  78 # can thus be uniquified out of other modules.  We don't want to do this for
  79 # patch builds, since we can't guarantee that ip and genunix will be in the same
  80 # patch.
  81 #
  82 IPCTF_TARGET    = $(IPCTF)
  83 $(PATCH_BUILD)IPCTF_TARGET =
  84 
  85 CPPFLAGS        += -I$(SRC)/common
  86 CPPFLAGS        += -I$(SRC)/uts/common/fs/zfs




  44 
  45 OBJECTS         = $(GENUNIX_OBJS:%=$(OBJS_DIR)/%) \
  46                   $(NOT_YET_KMODS:%=$(OBJS_DIR)/%)
  47 
  48 LINTS           = $(GENUNIX_OBJS:%.o=$(LINTS_DIR)/%.ln) \
  49                   $(NOT_YET_KMODS:%.o=$(LINTS_DIR)/%.ln)
  50 
  51 ROOTMODULE      = $(ROOT_KERN_DIR)/$(MODULE)
  52 
  53 LIBGEN          = $(OBJS_DIR)/libgenunix.so
  54 LIBSTUBS        = $(GENSTUBS_OBJS:%=$(OBJS_DIR)/%)
  55 
  56 #
  57 #       Include common rules.
  58 #
  59 include $(UTSBASE)/intel/Makefile.intel
  60 
  61 #
  62 #       Define targets
  63 #
  64 ALL_TARGET      = $(LIBGEN) $(GENUNIX)
  65 LINT_TARGET     = $(MODULE).lint
  66 INSTALL_TARGET  = $(LIBGEN) $(GENUNIX) $(ROOTMODULE)
  67 
  68 #
  69 #       Overrides
  70 #
  71 CLOBBERFILES    += $(GENUNIX)
  72 CLEANFILES      += $(LIBSTUBS) $(LIBGEN)
  73 BINARY          =
  74 
  75 #
  76 # Non-patch genunix builds merge a version of the ip module called ipctf.  This
  77 # is to ensure that the common network-related types are included in genunix and
  78 # can thus be uniquified out of other modules.  We don't want to do this for
  79 # patch builds, since we can't guarantee that ip and genunix will be in the same
  80 # patch.
  81 #
  82 IPCTF_TARGET    = $(IPCTF)
  83 $(PATCH_BUILD)IPCTF_TARGET =
  84 
  85 CPPFLAGS        += -I$(SRC)/common
  86 CPPFLAGS        += -I$(SRC)/uts/common/fs/zfs