usr/src/uts/intel/genunix/Makefile
changeset 580 70dfd36fd02c
parent 0 68f95e015346
child 3066 2a2af34f0642
--- a/usr/src/uts/intel/genunix/Makefile	Tue Sep 20 14:52:33 2005 -0700
+++ b/usr/src/uts/intel/genunix/Makefile	Tue Sep 20 15:07:36 2005 -0700
@@ -2,9 +2,8 @@
 # CDDL HEADER START
 #
 # The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License").  You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
 #
 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
 # or http://www.opensolaris.org/os/licensing.
@@ -19,11 +18,14 @@
 #
 # CDDL HEADER END
 #
+
 #
-# Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-#ident	"%Z%%M%	%I%	%E% SMI"
+# ident	"%Z%%M%	%I%	%E% SMI"
+#
+
 #
 #	This makefile drives the production of the generic
 #	unix kernel module.
@@ -52,7 +54,6 @@
 
 LIBGEN		= $(OBJS_DIR)/libgenunix.so
 LIBSTUBS	= $(GENSTUBS_OBJS:%=$(OBJS_DIR)/%)
-SONAME		= $(MODULE)
 
 #
 #	Include common rules.
@@ -108,7 +109,7 @@
 install:	$(INSTALL_DEPS)
 
 $(LIBGEN):	$(GENUNIX) $(LIBSTUBS)
-	$(LD) -o $@ -G -h $(SONAME) $(GENUNIX) $(LIBSTUBS)
+	$(BUILD.SO) $(GENUNIX) $(LIBSTUBS)
 
 $(IPCTF_TARGET) ipctf_target: FRC
 	@cd $(IPDRV_DIR); pwd; $(MAKE) ipctf.$(OBJS_DIR)