usr/src/uts/Makefile.uts
changeset 580 70dfd36fd02c
parent 0 68f95e015346
child 1002 07d048eb5eb1
equal deleted inserted replaced
579:6139238196bb 580:70dfd36fd02c
     1 #
     1 #
     2 # CDDL HEADER START
     2 # CDDL HEADER START
     3 #
     3 #
     4 # The contents of this file are subject to the terms of the
     4 # The contents of this file are subject to the terms of the
     5 # Common Development and Distribution License, Version 1.0 only
     5 # Common Development and Distribution License (the "License").
     6 # (the "License").  You may not use this file except in compliance
     6 # You may not use this file except in compliance with the License.
     7 # with the License.
       
     8 #
     7 #
     9 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
     8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
    10 # or http://www.opensolaris.org/os/licensing.
     9 # or http://www.opensolaris.org/os/licensing.
    11 # See the License for the specific language governing permissions
    10 # See the License for the specific language governing permissions
    12 # and limitations under the License.
    11 # and limitations under the License.
    17 # fields enclosed by brackets "[]" replaced with your own identifying
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    18 # information: Portions Copyright [yyyy] [name of copyright owner]
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    19 #
    18 #
    20 # CDDL HEADER END
    19 # CDDL HEADER END
    21 #
    20 #
    22 #
    21 
    23 # Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
    22 #
       
    23 # Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
    24 # Use is subject to license terms.
    24 # Use is subject to license terms.
    25 #
    25 #
    26 # ident	"%Z%%M%	%I%	%E% SMI"
    26 # ident	"%Z%%M%	%I%	%E% SMI"
       
    27 #
       
    28 
    27 #
    29 #
    28 #	This Makefile contains the common targets and definitions for
    30 #	This Makefile contains the common targets and definitions for
    29 #	all kernels. It is to be included in the Makefiles for specific
    31 #	all kernels. It is to be included in the Makefiles for specific
    30 #	implementation architectures and processor architecture dependent
    32 #	implementation architectures and processor architecture dependent
    31 #	modules: i.e.: all driving kernel Makefiles.
    33 #	modules: i.e.: all driving kernel Makefiles.
   441 # put them in an archive.  The genunix ctfmerge then includes this archive.
   443 # put them in an archive.  The genunix ctfmerge then includes this archive.
   442 #
   444 #
   443 IPCTF			= $(IPDRV_DIR)/$(OBJS_DIR)/ipctf.a
   445 IPCTF			= $(IPDRV_DIR)/$(OBJS_DIR)/ipctf.a
   444 
   446 
   445 #
   447 #
       
   448 # Rule for building fake shared libraries used for symbol resolution
       
   449 # when building other modules.  -znoreloc is needed here to avoid
       
   450 # tripping over code that isn't really suitable for shared libraries.
       
   451 #
       
   452 BUILD.SO		= \
       
   453 	$(LD) -o $@ $(GSHARED) $(ZNORELOC) -h $(SONAME)
       
   454 
       
   455 #
       
   456 # SONAME defaults for common fake shared libraries.
       
   457 #
       
   458 $(LIBGEN)		:= SONAME = $(MODULE)
       
   459 $(PLATLIB)		:= SONAME = misc/platmod
       
   460 $(CPULIB)		:= SONAME = 'cpu/$$CPU'
       
   461 $(DTRACESTUBS)		:= SONAME = dtracestubs
       
   462 
       
   463 #
   446 #	Installation directories
   464 #	Installation directories
   447 #
   465 #
   448 
   466 
   449 #
   467 #
   450 #	For now, 64b modules install into a subdirectory
   468 #	For now, 64b modules install into a subdirectory