usr/src/uts/sun4v/genunix/Makefile
changeset 580 70dfd36fd02c
parent 0 68f95e015346
child 3066 2a2af34f0642
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 #
       
    21 
    22 #
    22 #
    23 # Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
    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 drives the production of the generic
    30 #	This makefile drives the production of the generic
    29 #	unix kernel module.
    31 #	unix kernel module.
    30 #
    32 #
    31 #	sparc implementation architecture dependent
    33 #	sparc implementation architecture dependent
    51 ROOTMODULE	= $(ROOT_PSM_KERN_DIR)/$(MODULE)
    53 ROOTMODULE	= $(ROOT_PSM_KERN_DIR)/$(MODULE)
    52 
    54 
    53 PLATFORM	= sun4v
    55 PLATFORM	= sun4v
    54 LIBGEN		= $(OBJS_DIR)/libgenunix.so
    56 LIBGEN		= $(OBJS_DIR)/libgenunix.so
    55 LIBSTUBS	= $(GENSTUBS_OBJS:%=$(OBJS_DIR)/%)
    57 LIBSTUBS	= $(GENSTUBS_OBJS:%=$(OBJS_DIR)/%)
    56 SONAME		= $(MODULE)
       
    57 
    58 
    58 #
    59 #
    59 #	Include common rules.
    60 #	Include common rules.
    60 #
    61 #
    61 include $(UTSBASE)/sparc/Makefile.sparc
    62 include $(UTSBASE)/sparc/Makefile.sparc
   118 clean.lint:	$(CLEAN_LINT_DEPS)
   119 clean.lint:	$(CLEAN_LINT_DEPS)
   119 
   120 
   120 install:  	$(INSTALL_DEPS)
   121 install:  	$(INSTALL_DEPS)
   121 
   122 
   122 $(LIBGEN):	$(GENUNIX) $(LIBSTUBS)
   123 $(LIBGEN):	$(GENUNIX) $(LIBSTUBS)
   123 	$(LD) -o $@ -G -h $(SONAME) $(GENUNIX) $(LIBSTUBS)
   124 	$(BUILD.SO) $(GENUNIX) $(LIBSTUBS)
   124 
   125 
   125 $(IPCTF_TARGET) ipctf_target: FRC
   126 $(IPCTF_TARGET) ipctf_target: FRC
   126 	@cd $(IPDRV_DIR); pwd; $(MAKE) ipctf.$(OBJS_DIR)
   127 	@cd $(IPDRV_DIR); pwd; $(MAKE) ipctf.$(OBJS_DIR)
   127 	@pwd
   128 	@pwd
   128 
   129