Print this page
4266 remove Makefile*.shared nonsense in uts

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/sun4u/sunfire/Makefile.sunfire
          +++ new/usr/src/uts/sun4u/sunfire/Makefile.sunfire
↓ open down ↓ 15 lines elided ↑ open up ↑
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  
  22   22  #
  23   23  # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  24   24  # Use is subject to license terms.
  25   25  #
  26      -#ident  "%Z%%M% %I%     %E% SMI"
       26 +#       Global definitions for sun4u implementation specific modules.
  27   27  #
  28   28  
  29      -UTSTREE=$(UTSBASE)
       29 +#
       30 +#       Define the name of this implementation.
       31 +#
       32 +
       33 +#
       34 +#       Define directories.
       35 +#
       36 +ROOT_SUNFIRE_DIR        = $(ROOT_PLAT_DIR)/SUNW,Ultra-Enterprise
       37 +ROOT_SUNFIRE_MOD_DIR    = $(ROOT_SUNFIRE_DIR)/kernel
       38 +
       39 +ROOT_SUNFIRE_DRV_DIR_32 = $(ROOT_SUNFIRE_MOD_DIR)/drv
       40 +ROOT_SUNFIRE_DRV_DIR_64 = $(ROOT_SUNFIRE_MOD_DIR)/drv/$(SUBDIR64)
       41 +ROOT_SUNFIRE_DRV_DIR    = $(ROOT_SUNFIRE_DRV_DIR_$(CLASS))
       42 +ROOT_PLAT_DRV_DIRS      = $(ROOT_SUNFIRE_DRV_DIR)
  30   43  
  31      -include $(UTSBASE)/sun4u/sunfire/Makefile.sunfire.shared
       44 +ROOT_SUNFIRE_MISC_DIR_32        = $(ROOT_SUNFIRE_MOD_DIR)/misc
       45 +ROOT_SUNFIRE_MISC_DIR_64        = $(ROOT_SUNFIRE_MOD_DIR)/misc/$(SUBDIR64)
       46 +ROOT_SUNFIRE_MISC_DIR   = $(ROOT_SUNFIRE_MISC_DIR_$(CLASS))
       47 +
       48 +USR_SUNFIRE_DIR         = $(USR_PLAT_DIR)/SUNW,Ultra-Enterprise
       49 +USR_SUNFIRE_INC_DIR     = $(USR_SUNFIRE_DIR)/include
       50 +USR_SUNFIRE_ISYS_DIR    = $(USR_SUNFIRE_INC_DIR)/sys
       51 +USR_SUNFIRE_SBIN_DIR    = $(USR_SUNFIRE_DIR)/sbin
       52 +USR_SUNFIRE_LIB_DIR     = $(USR_SUNFIRE_DIR)/lib
       53 +
       54 +SUNFIRE_LINT_LIB_DIR= $(UTSBASE)/$(PLATFORM)/sunfire/lint-libs/$(OBJS_DIR)
       55 +
       56 +#
       57 +# Define objects.
       58 +#
       59 +SUNFIRE_OBJS    = sunfire.o
       60 +
       61 +include $(UTSBASE)/sun4u/sunfire/Makefile.files
       62 +
       63 +#
       64 +#       Include common rules.
       65 +#
       66 +include $(UTSBASE)/sun4u/Makefile.sun4u
       67 +
       68 +#
       69 +#       Define modules (must come after Makefile.sun4u).
       70 +#
       71 +SUNFIRE_KMODS                   = ac central environ fhc simmstat sysctrl sram
       72 +
       73 +#
       74 +# For now, disable these lint checks; maintainers should endeavor
       75 +# to investigate and remove these for maximum lint coverage.
       76 +# Please do not carry these forward to new Makefiles.
       77 +#
       78 +LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
       79 +LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
       80 +LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
       81 +LINTTAGS        += -erroff=E_STATIC_UNUSED
       82 +LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
       83 +LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX