Print this page
*** NO COMMENTS ***


   3 #
   4 # The contents of this file are subject to the terms of the
   5 # Common Development and Distribution License (the "License").
   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 
  22 #
  23 # uts/i86xpv/Makefile.i86xpv.shared
  24 #
  25 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  26 # Use is subject to license terms.
  27 # Copyright (c) 2013 Andrew Stormont.  All rights reserved.
  28 #
  29 
  30 #
  31 #       This makefile contains the common definitions for the i86xpv unix
  32 #       and all i86xpv implementation architecture dependent modules.
  33 #
  34 
  35 #
  36 #       Machine type (implementation architecture):
  37 #
  38 PLATFORM         = i86xpv
  39 
  40 #
  41 #       uname -m value
  42 #
  43 UNAME_M          = i86pc


  62 MODSTUBS_O       = $(MODSTUBS_DIR)/$(OBJS_DIR)/modstubs.o
  63 GENLIB           = $(GENLIB_DIR)/$(OBJS_DIR)/libgenunix.so
  64 LINT_LIB         = $(LINT_LIB_DIR)/llib-lunix.ln
  65 DBOOT_LINT_LIB   = $(LINT_LIB_DIR)/llib-ldboot.ln
  66 GEN_LINT_LIB     = $(GEN_LINT_LIB_DIR)/llib-lgenunix.ln
  67 
  68 LINT32_DIRS      = $(LINT32_BUILDS:%=$(UTSBASE)/$(PLATFORM)/lint-libs/%)
  69 LINT32_FILES     = $(LINT32_DIRS:%=%/llib-l$(MODULE).ln)
  70 
  71 #
  72 #       Include the makefiles which define build rule templates, the
  73 #       collection of files per module, and a few specific flags. Note
  74 #       that order is significant, just as with an include path. The
  75 #       first build rule template which matches the files name will be
  76 #       used. By including these in order from most machine dependent
  77 #       to most machine independent, we allow a machine dependent file
  78 #       to be used in preference over a machine independent version
  79 #       (Such as a machine specific optimization, which preserves the
  80 #       interfaces.)
  81 #
  82 include $(UTSTREE)/$(PLATFORM)/Makefile.files
  83 include $(UTSTREE)/intel/Makefile.files
  84 include $(UTSTREE)/common/Makefile.files
  85 
  86 #
  87 #       Include machine independent rules. Note that this does not imply
  88 #       that the resulting module from rules in Makefile.uts is machine
  89 #       independent. Only that the build rules are machine independent.
  90 #
  91 include $(UTSBASE)/Makefile.uts
  92 
  93 #
  94 #       Define supported builds
  95 #
  96 DEF_BUILDS              = $(DEF_BUILDS64) $(DEF_BUILDS32)
  97 ALL_BUILDS              = $(ALL_BUILDS64) $(ALL_BUILDS32)
  98 
  99 #
 100 #       x86 or amd64 inline templates
 101 #
 102 INLINES_32              = $(UTSBASE)/intel/ia32/ml/ia32.il \
 103                           $(UTSBASE)/$(PLATFORM)/ml/ia32.il
 104 INLINES_64              = $(UTSBASE)/intel/amd64/ml/amd64.il \




   3 #
   4 # The contents of this file are subject to the terms of the
   5 # Common Development and Distribution License (the "License").
   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 
  22 #
  23 # uts/i86xpv/Makefile.i86xpv
  24 #
  25 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  26 # Use is subject to license terms.
  27 # Copyright (c) 2013 Andrew Stormont.  All rights reserved.
  28 #
  29 
  30 #
  31 #       This makefile contains the common definitions for the i86xpv unix
  32 #       and all i86xpv implementation architecture dependent modules.
  33 #
  34 
  35 #
  36 #       Machine type (implementation architecture):
  37 #
  38 PLATFORM         = i86xpv
  39 
  40 #
  41 #       uname -m value
  42 #
  43 UNAME_M          = i86pc


  62 MODSTUBS_O       = $(MODSTUBS_DIR)/$(OBJS_DIR)/modstubs.o
  63 GENLIB           = $(GENLIB_DIR)/$(OBJS_DIR)/libgenunix.so
  64 LINT_LIB         = $(LINT_LIB_DIR)/llib-lunix.ln
  65 DBOOT_LINT_LIB   = $(LINT_LIB_DIR)/llib-ldboot.ln
  66 GEN_LINT_LIB     = $(GEN_LINT_LIB_DIR)/llib-lgenunix.ln
  67 
  68 LINT32_DIRS      = $(LINT32_BUILDS:%=$(UTSBASE)/$(PLATFORM)/lint-libs/%)
  69 LINT32_FILES     = $(LINT32_DIRS:%=%/llib-l$(MODULE).ln)
  70 
  71 #
  72 #       Include the makefiles which define build rule templates, the
  73 #       collection of files per module, and a few specific flags. Note
  74 #       that order is significant, just as with an include path. The
  75 #       first build rule template which matches the files name will be
  76 #       used. By including these in order from most machine dependent
  77 #       to most machine independent, we allow a machine dependent file
  78 #       to be used in preference over a machine independent version
  79 #       (Such as a machine specific optimization, which preserves the
  80 #       interfaces.)
  81 #
  82 include $(UTSBASE)/$(PLATFORM)/Makefile.files
  83 include $(UTSBASE)/intel/Makefile.files
  84 include $(UTSBASE)/common/Makefile.files
  85 
  86 #
  87 #       Include machine independent rules. Note that this does not imply
  88 #       that the resulting module from rules in Makefile.uts is machine
  89 #       independent. Only that the build rules are machine independent.
  90 #
  91 include $(UTSBASE)/Makefile.uts
  92 
  93 #
  94 #       Define supported builds
  95 #
  96 DEF_BUILDS              = $(DEF_BUILDS64) $(DEF_BUILDS32)
  97 ALL_BUILDS              = $(ALL_BUILDS64) $(ALL_BUILDS32)
  98 
  99 #
 100 #       x86 or amd64 inline templates
 101 #
 102 INLINES_32              = $(UTSBASE)/intel/ia32/ml/ia32.il \
 103                           $(UTSBASE)/$(PLATFORM)/ml/ia32.il
 104 INLINES_64              = $(UTSBASE)/intel/amd64/ml/amd64.il \