Print this page
9674 Let's scrap AVS/sdbc
   1 #
   2 # CDDL HEADER START
   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 # Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
  23 # Copyright 2012 Nexenta Systems, Inc. All rights reserved.
  24 #
  25 # include global definitions
  26 include ../Makefile.master
  27 
  28 #
  29 # List of architectures to build as part of the standard build.
  30 #
  31 # Some of these architectures are built in parallel (see i386_PARALLEL and
  32 # sparc_PARALLEL). This requires building some parts first before parallel build
  33 # can start. Platform make files know what should be built as a prerequisite for
  34 # the parallel build to work. The i386_PREREQ and sparc_PREREQ variables tell
  35 # which platform directory to enter to start making prerequisite dependencies.
  36 #
  37 sparc_ARCHITECTURES = sun4v sun4u sparc
  38 
  39 i386_ARCHITECTURES = i86pc i86xpv intel
  40 
  41 #
  42 # For i386 all architectures can be compiled in parallel.
  43 #
  44 # intel/Makefile knows how to build prerequisites needed for parallel build.
  45 #


 114 $(PMTMO_FILE) pmtmo_file: $(PATCH_MAKEUP_TABLE)
 115         @if [ -z "$(PATCH_MAKEUP_TABLE)" ] ; then \
 116                 echo 'ERROR: $$(PATCH_MAKEUP_TABLE) not set' \
 117                     'in environment' >&2 ; \
 118                 exit 1 ; \
 119         fi
 120         RELEASE="$(RELEASE)" MACH="$(MACH)" \
 121             $(CTFCVTPTBL) -o $(PMTMO_FILE) $(PATCH_MAKEUP_TABLE)
 122 
 123 #
 124 # The following is the list of directories which contain Makefiles with
 125 # targets to install header file. The machine independent headers are
 126 # installed by invoking the Makefile in the directory containing the
 127 # header files. Machine and architecture dependent headers are installed
 128 # by invoking the main makefile for that architecture/machine which,
 129 # in turn, is responsible for invoking the Makefiles which install headers.
 130 # It is done this way so as not to assume that all of the header files in
 131 # the architecture/machine dependent subdirectories are in completely
 132 # isomorphic locations.
 133 #
 134 COMMON_HDRDIRS= common/avs \
 135                 common/c2 \
 136                 common/des \
 137                 common/fs \
 138                 common/gssapi \
 139                 common/idmap \
 140                 common/klm \
 141                 common/inet \
 142                 common/inet/ipf/netinet \
 143                 common/inet/kssl \
 144                 common/inet/nca \
 145                 common/inet/sockmods/netpacket \
 146                 common/io/bpf/net \
 147                 common/io/fibre-channel/fca/qlc \
 148                 common/ipp \
 149                 common/net \
 150                 common/netinet \
 151                 common/nfs \
 152                 common/pcmcia/sys \
 153                 common/rpc \
 154                 common/rpcsvc \
 155                 common/sharefs \
 156                 common/smb \
 157                 common/smbsrv \
 158                 common/sys \
 159                 common/vm
 160 
 161 
 162 #
 163 # Subset of COMMON_HDRDIRS in which at least one header is generated
 164 # at runtime (e.g., rpcgen), and in which "make clean" should run.
 165 # Other directories should be included here, but do not yet have the
 166 # necessary Makefile support (make clean).  See 6414855.
 167 #
 168 DYNHDRDIRS =    common/avs \
 169                 common/gssapi \
 170                 common/idmap \
 171                 common/io/fibre-channel/fca/qlc \
 172                 common/klm \
 173                 common/rpc \
 174                 common/rpcsvc \
 175                 common/sys
 176 
 177 sparc_HDRDIRS= sun/sys
 178 i386_HDRDIRS= i86pc/vm i86xpv/vm
 179 
 180 HDRDIRS= $(COMMON_HDRDIRS) $($(MACH)_HDRDIRS)
 181 install_h check: $(HDRDIRS) $($(MACH)_ARCHITECTURES)
 182 
 183 $(HDRDIRS): FRC
 184         @cd $@; pwd; $(MAKE) $(TARGET)
 185 
 186 # ensures that headers made by rpcgen and others are available in uts source
 187 # for kernel builds to reference without building install_h
 188 #
 189 all_h: FRC


   1 #
   2 # CDDL HEADER START
   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 # Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
  24 # Copyright 2018 Nexenta Systems, Inc.
  25 #
  26 
  27 include ../Makefile.master
  28 
  29 #
  30 # List of architectures to build as part of the standard build.
  31 #
  32 # Some of these architectures are built in parallel (see i386_PARALLEL and
  33 # sparc_PARALLEL). This requires building some parts first before parallel build
  34 # can start. Platform make files know what should be built as a prerequisite for
  35 # the parallel build to work. The i386_PREREQ and sparc_PREREQ variables tell
  36 # which platform directory to enter to start making prerequisite dependencies.
  37 #
  38 sparc_ARCHITECTURES = sun4v sun4u sparc
  39 
  40 i386_ARCHITECTURES = i86pc i86xpv intel
  41 
  42 #
  43 # For i386 all architectures can be compiled in parallel.
  44 #
  45 # intel/Makefile knows how to build prerequisites needed for parallel build.
  46 #


 115 $(PMTMO_FILE) pmtmo_file: $(PATCH_MAKEUP_TABLE)
 116         @if [ -z "$(PATCH_MAKEUP_TABLE)" ] ; then \
 117                 echo 'ERROR: $$(PATCH_MAKEUP_TABLE) not set' \
 118                     'in environment' >&2 ; \
 119                 exit 1 ; \
 120         fi
 121         RELEASE="$(RELEASE)" MACH="$(MACH)" \
 122             $(CTFCVTPTBL) -o $(PMTMO_FILE) $(PATCH_MAKEUP_TABLE)
 123 
 124 #
 125 # The following is the list of directories which contain Makefiles with
 126 # targets to install header file. The machine independent headers are
 127 # installed by invoking the Makefile in the directory containing the
 128 # header files. Machine and architecture dependent headers are installed
 129 # by invoking the main makefile for that architecture/machine which,
 130 # in turn, is responsible for invoking the Makefiles which install headers.
 131 # It is done this way so as not to assume that all of the header files in
 132 # the architecture/machine dependent subdirectories are in completely
 133 # isomorphic locations.
 134 #
 135 COMMON_HDRDIRS= common/c2 \

 136                 common/des \
 137                 common/fs \
 138                 common/gssapi \
 139                 common/idmap \
 140                 common/klm \
 141                 common/inet \
 142                 common/inet/ipf/netinet \
 143                 common/inet/kssl \
 144                 common/inet/nca \
 145                 common/inet/sockmods/netpacket \
 146                 common/io/bpf/net \
 147                 common/io/fibre-channel/fca/qlc \
 148                 common/ipp \
 149                 common/net \
 150                 common/netinet \
 151                 common/nfs \
 152                 common/pcmcia/sys \
 153                 common/rpc \
 154                 common/rpcsvc \
 155                 common/sharefs \
 156                 common/smb \
 157                 common/smbsrv \
 158                 common/sys \
 159                 common/vm
 160 
 161 
 162 #
 163 # Subset of COMMON_HDRDIRS in which at least one header is generated
 164 # at runtime (e.g., rpcgen), and in which "make clean" should run.
 165 # Other directories should be included here, but do not yet have the
 166 # necessary Makefile support (make clean).
 167 #
 168 DYNHDRDIRS =    common/gssapi \

 169                 common/idmap \
 170                 common/io/fibre-channel/fca/qlc \
 171                 common/klm \
 172                 common/rpc \
 173                 common/rpcsvc \
 174                 common/sys
 175 
 176 sparc_HDRDIRS= sun/sys
 177 i386_HDRDIRS= i86pc/vm i86xpv/vm
 178 
 179 HDRDIRS= $(COMMON_HDRDIRS) $($(MACH)_HDRDIRS)
 180 install_h check: $(HDRDIRS) $($(MACH)_ARCHITECTURES)
 181 
 182 $(HDRDIRS): FRC
 183         @cd $@; pwd; $(MAKE) $(TARGET)
 184 
 185 # ensures that headers made by rpcgen and others are available in uts source
 186 # for kernel builds to reference without building install_h
 187 #
 188 all_h: FRC