diff options
Diffstat (limited to 'usr/src/uts/sparc')
-rw-r--r-- | usr/src/uts/sparc/Makefile.sparc | 3 | ||||
-rw-r--r-- | usr/src/uts/sparc/ii/Makefile | 95 | ||||
-rw-r--r-- | usr/src/uts/sparc/ncall/Makefile | 89 | ||||
-rw-r--r-- | usr/src/uts/sparc/nsctl/Makefile | 95 | ||||
-rw-r--r-- | usr/src/uts/sparc/nskern/Makefile | 89 | ||||
-rw-r--r-- | usr/src/uts/sparc/nskern/nsc_asm.s | 150 | ||||
-rw-r--r-- | usr/src/uts/sparc/rdc/Makefile | 106 | ||||
-rw-r--r-- | usr/src/uts/sparc/rdcsrv/Makefile | 96 | ||||
-rw-r--r-- | usr/src/uts/sparc/rdcstub/Makefile | 93 | ||||
-rw-r--r-- | usr/src/uts/sparc/sdbc/Makefile | 172 | ||||
-rw-r--r-- | usr/src/uts/sparc/spuni/Makefile | 88 | ||||
-rw-r--r-- | usr/src/uts/sparc/sv/Makefile | 91 |
12 files changed, 0 insertions, 1167 deletions
diff --git a/usr/src/uts/sparc/Makefile.sparc b/usr/src/uts/sparc/Makefile.sparc index b1f06de520..2b193b20f4 100644 --- a/usr/src/uts/sparc/Makefile.sparc +++ b/usr/src/uts/sparc/Makefile.sparc @@ -313,8 +313,6 @@ DRV_KMODS += fcoei DRV_KMODS += qlt DRV_KMODS += iscsit DRV_KMODS += pppt -DRV_KMODS += ncall nsctl sdbc nskern sv -DRV_KMODS += ii rdc rdcsrv rdcstub DRV_KMODS += iscsi DRV_KMODS += emlxs DRV_KMODS += oce @@ -416,7 +414,6 @@ MISC_KMODS += qlc_fw_2400 MISC_KMODS += qlc_fw_2500 MISC_KMODS += qlc_fw_6322 MISC_KMODS += qlc_fw_8100 -MISC_KMODS += spuni MISC_KMODS += mii MISC_KMODS += klmmod klmops diff --git a/usr/src/uts/sparc/ii/Makefile b/usr/src/uts/sparc/ii/Makefile deleted file mode 100644 index e4f936866f..0000000000 --- a/usr/src/uts/sparc/ii/Makefile +++ /dev/null @@ -1,95 +0,0 @@ -# CDDL HEADER START -# -# The contents of this file are subject to the terms of the -# 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. -# See the License for the specific language governing permissions -# and limitations under the License. -# -# When distributing Covered Code, include this CDDL HEADER in each -# file and include the License file at usr/src/OPENSOLARIS.LICENSE. -# If applicable, add the following below this CDDL HEADER, with the -# fields enclosed by brackets "[]" replaced with your own identifying -# information: Portions Copyright [yyyy] [name of copyright owner] -# -# CDDL HEADER END -# -# -# Copyright 2008 Sun Microsystems, Inc. All rights reserved. -# Use is subject to license terms. -# -# uts/sparc/ii/Makefile -# -# This makefile drives the production of the ii kernel module -# -# sparc implementation architecture dependent -# - -# -# Path to the base of the uts directory tree (usually /usr/src/uts). -# -# -UTSBASE = ../.. - -ARCHDIR:sh = cd ..; basename `pwd` - -# -# Define the module and object file sets. -# -MODULE = ii -OBJECTS = $(DSW_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DSW_OBJS:%.o=$(LINTS_DIR)/%.ln) -ROOTMODULE = $(USR_DRV_DIR)/$(MODULE) -INC_PATH += -I$(ROOT)/usr/include -CONF_SRCDIR = $(UTSBASE)/common/avs/ns/dsw - -# -# Include common rules. -# -include ../Makefile.$(ARCHDIR) -include $(UTSBASE)/common/avs/Makefile.com - -# -# Define targets -# -ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint -INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) - -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) -LDFLAGS += -dy -N"drv/nsctl" -N"drv/nskern" -N"misc/spuni" -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN - -CERRWARN += -_gcc=-Wno-parentheses -CERRWARN += -_gcc=-Wno-uninitialized - -.KEEP_STATE: - -def: $(DEF_DEPS) - -all: $(ALL_DEPS) - -clean: $(CLEAN_DEPS) - -clobber: $(CLOBBER_DEPS) - -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - -install: $(INSTALL_DEPS) - -# -# Include common targets. -# -include ../Makefile.targ - diff --git a/usr/src/uts/sparc/ncall/Makefile b/usr/src/uts/sparc/ncall/Makefile deleted file mode 100644 index 99d4b27288..0000000000 --- a/usr/src/uts/sparc/ncall/Makefile +++ /dev/null @@ -1,89 +0,0 @@ -# CDDL HEADER START -# -# The contents of this file are subject to the terms of the -# 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. -# See the License for the specific language governing permissions -# and limitations under the License. -# -# When distributing Covered Code, include this CDDL HEADER in each -# file and include the License file at usr/src/OPENSOLARIS.LICENSE. -# If applicable, add the following below this CDDL HEADER, with the -# fields enclosed by brackets "[]" replaced with your own identifying -# information: Portions Copyright [yyyy] [name of copyright owner] -# -# CDDL HEADER END -# -# -# Copyright 2008 Sun Microsystems, Inc. All rights reserved. -# Use is subject to license terms. -# -# uts/sparc/ncall/Makefile -# -# This makefile drives the production of the ncall kernel module -# -# sparc implementation architecture dependent -# - -# -# Path to the base of the uts directory tree (usually /usr/src/uts). -# -# -UTSBASE = ../.. - -ARCHDIR:sh = cd ..; basename `pwd` - -# -# Define the module and object file sets. -# -MODULE = ncall -OBJECTS = $(NCALL_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(NCALL_OBJS:%.o=$(LINTS_DIR)/%.ln) -ROOTMODULE = $(USR_DRV_DIR)/$(MODULE) -INC_PATH += -I$(ROOT)/usr/include -CONF_SRCDIR = $(UTSBASE)/common/avs/ncall - -# -# Include common rules. -# -include $(UTSBASE)/sparc/Makefile.$(ARCHDIR) -include $(UTSBASE)/common/avs/Makefile.com - -# -# Define targets -# -ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint -INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) - -# -# lint pass one enforcement -# -CFLAGS += -v -D_SYSCALL32 -LINT_DEFS += -D_SYSCALL32 - -.KEEP_STATE: - -def: $(DEF_DEPS) - -all: $(ALL_DEPS) - -clean: $(CLEAN_DEPS) - -clobber: $(CLOBBER_DEPS) - -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - -install: $(INSTALL_DEPS) - -# -# Include common targets. -# -include ../Makefile.targ diff --git a/usr/src/uts/sparc/nsctl/Makefile b/usr/src/uts/sparc/nsctl/Makefile deleted file mode 100644 index 2875093f8e..0000000000 --- a/usr/src/uts/sparc/nsctl/Makefile +++ /dev/null @@ -1,95 +0,0 @@ -# CDDL HEADER START -# -# The contents of this file are subject to the terms of the -# 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. -# See the License for the specific language governing permissions -# and limitations under the License. -# -# When distributing Covered Code, include this CDDL HEADER in each -# file and include the License file at usr/src/OPENSOLARIS.LICENSE. -# If applicable, add the following below this CDDL HEADER, with the -# fields enclosed by brackets "[]" replaced with your own identifying -# information: Portions Copyright [yyyy] [name of copyright owner] -# -# CDDL HEADER END -# -# -# Copyright 2008 Sun Microsystems, Inc. All rights reserved. -# Use is subject to license terms. -# -# uts/sparc/nsctl/Makefile -# -# This makefile drives the production of the nsctl kernel module -# -# sparc implementation architecture dependent -# - -# -# Path to the base of the uts directory tree (usually /usr/src/uts). -# -# -UTSBASE = ../.. - -ARCHDIR:sh = cd ..; basename `pwd` - -# -# Define the module and object file sets. -# -MODULE = nsctl -OBJECTS = $(NSCTL_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(NSCTL_OBJS:%.o=$(LINTS_DIR)/%.ln) -ROOTMODULE = $(USR_DRV_DIR)/$(MODULE) -INC_PATH += -I$(UTSBASE)/common/avs -INC_PATH += -I$(ROOT)/usr/include -CONF_SRCDIR = $(UTSBASE)/common/avs/ns/nsctl - -# -# Include common rules. -# -include ../Makefile.$(ARCHDIR) -include $(UTSBASE)/common/avs/Makefile.com - -# -# Define targets -# -ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint -INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) - -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) -LDFLAGS += -dy -N"drv/nskern" -N"drv/ncall" -N"misc/spuni" -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN - -CERRWARN += -_gcc=-Wno-parentheses - -.KEEP_STATE: - -def: $(DEF_DEPS) - -all: $(ALL_DEPS) - -clean: $(CLEAN_DEPS) - -clobber: $(CLOBBER_DEPS) - -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - -install: $(INSTALL_DEPS) - - -# -# Include common targets. -# -include ../Makefile.targ diff --git a/usr/src/uts/sparc/nskern/Makefile b/usr/src/uts/sparc/nskern/Makefile deleted file mode 100644 index b591f6df63..0000000000 --- a/usr/src/uts/sparc/nskern/Makefile +++ /dev/null @@ -1,89 +0,0 @@ -# CDDL HEADER START -# -# The contents of this file are subject to the terms of the -# 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. -# See the License for the specific language governing permissions -# and limitations under the License. -# -# When distributing Covered Code, include this CDDL HEADER in each -# file and include the License file at usr/src/OPENSOLARIS.LICENSE. -# If applicable, add the following below this CDDL HEADER, with the -# fields enclosed by brackets "[]" replaced with your own identifying -# information: Portions Copyright [yyyy] [name of copyright owner] -# -# CDDL HEADER END -# -# -# Copyright 2008 Sun Microsystems, Inc. All rights reserved. -# Use is subject to license terms. -# -# uts/sparc/nskern/Makefile -# -# This makefile drives the production of the nskern kernel module -# -# sparc implementation architecture dependent -# - -# -# Path to the base of the uts directory tree (usually /usr/src/uts). -# -# -UTSBASE = ../.. - -ARCHDIR:sh = cd ..; basename `pwd` - -# -# Define the module and object file sets. -# -MODULE = nskern -OBJECTS = $(NSKERN_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(NSKERN_OBJS:%.o=$(LINTS_DIR)/%.ln) -ROOTMODULE = $(USR_DRV_DIR)/$(MODULE) -INC_PATH += -I$(UTSBASE)/common/avs -INC_PATH += -I$(ROOT)/usr/include -CONF_SRCDIR = $(UTSBASE)/common/avs/ns/solaris - -# -# Include common rules. -# -include ../Makefile.$(ARCHDIR) -include $(UTSBASE)/common/avs/Makefile.com - -# -# Define targets -# -ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint -INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) - -# -# lint pass one enforcement -# -CFLAGS += -v - -.KEEP_STATE: - -def: $(DEF_DEPS) - -all: $(ALL_DEPS) - -clean: $(CLEAN_DEPS) - -clobber: $(CLOBBER_DEPS) - -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - -install: $(INSTALL_DEPS) - -# -# Include common targets. -# -include ../Makefile.targ diff --git a/usr/src/uts/sparc/nskern/nsc_asm.s b/usr/src/uts/sparc/nskern/nsc_asm.s deleted file mode 100644 index 04463728be..0000000000 --- a/usr/src/uts/sparc/nskern/nsc_asm.s +++ /dev/null @@ -1,150 +0,0 @@ -/* - * CDDL HEADER START - * - * The contents of this file are subject to the terms of the - * 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. - * See the License for the specific language governing permissions - * and limitations under the License. - * - * When distributing Covered Code, include this CDDL HEADER in each - * file and include the License file at usr/src/OPENSOLARIS.LICENSE. - * If applicable, add the following below this CDDL HEADER, with the - * fields enclosed by brackets "[]" replaced with your own identifying - * information: Portions Copyright [yyyy] [name of copyright owner] - * - * CDDL HEADER END - */ -/* - * Copyright 2008 Sun Microsystems, Inc. All rights reserved. - * Use is subject to license terms. - */ - -#if defined(lint) || defined(DS_DDICT) -#include <sys/types.h> -#include <sys/param.h> -#else -#include <sys/asm_linkage.h> -#endif - -#ifdef DS_DDICT -#define uint8_t uchar_t -#endif - - -/* - * Special support routines that can't be done with C - */ - - -/* - * uint8_t nsc_ldstub(uint8_t *cp) - * - * Store 0xFF at the specified location, and return its previous content. - */ - -#if defined(lint) || defined(DS_DDICT) -uint8_t -nsc_ldstub(uint8_t *cp) -{ - uint8_t rv; - rv = *cp; - *cp = 0xFF; - return (rv); -} -#else - - ENTRY(nsc_ldstub) - retl - ldstub [%o0], %o0 - SET_SIZE(nsc_ldstub) - -#endif /* lint || DS_DDICT */ - - -/* - * nsc_membar_stld(void) - * - * C callable interface to SPARC asm membar instruction. - */ - -#if defined(lint) || defined(DS_DDICT) -void -nsc_membar_stld(void) -{} -#else - - ENTRY(nsc_membar_stld) - retl - membar #StoreLoad - SET_SIZE(nsc_membar_stld) - -#endif /* lint || DS_DDICT */ - - -/* - * if a() calls b() calls nsc_caller(), - * nsc_caller() returns return address in a(). - */ - -#if defined(lint) || defined(DS_DDICT) -caddr_t -nsc_caller(void) -{ - return (0); -} -#else - - ENTRY(nsc_caller) - retl - mov %i7, %o0 - SET_SIZE(nsc_caller) - -#endif /* lint || DS_DDICT */ - - -/* - * if a() calls nsc_callee(), nsc_callee() returns the - * return address in a(); - */ - -#if defined(lint) || defined(DS_DDICT) -caddr_t -nsc_callee(void) -{ - return (0); -} -#else - - ENTRY(nsc_callee) - .register %g7, #scratch - retl - mov %o7, %o0 - SET_SIZE(nsc_callee) - -#endif /* lint || DS_DDICT */ - - -/* - * nsc_threadp(void) - * - * C callable interface to get the current thread pointer. - */ - -#if defined(lint) || defined(DS_DDICT) -void * -nsc_threadp(void) -{ - return (NULL); -} -#else - - ENTRY(nsc_threadp) - retl - mov %g7, %o0 - SET_SIZE(nsc_threadp) - -#endif /* lint || DS_DDICT */ diff --git a/usr/src/uts/sparc/rdc/Makefile b/usr/src/uts/sparc/rdc/Makefile deleted file mode 100644 index 193cc187a4..0000000000 --- a/usr/src/uts/sparc/rdc/Makefile +++ /dev/null @@ -1,106 +0,0 @@ -# CDDL HEADER START -# -# The contents of this file are subject to the terms of the -# 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. -# See the License for the specific language governing permissions -# and limitations under the License. -# -# When distributing Covered Code, include this CDDL HEADER in each -# file and include the License file at usr/src/OPENSOLARIS.LICENSE. -# If applicable, add the following below this CDDL HEADER, with the -# fields enclosed by brackets "[]" replaced with your own identifying -# information: Portions Copyright [yyyy] [name of copyright owner] -# -# CDDL HEADER END -# -# -# Copyright 2008 Sun Microsystems, Inc. All rights reserved. -# Use is subject to license terms. -# -# uts/sparc/rdc/Makefile -# -# This makefile drives the production of the rdc kernel module -# -# sparc implementation architecture dependent -# - -# -# Path to the base of the uts directory tree (usually /usr/src/uts). -# -# -UTSBASE = ../.. - -ARCHDIR:sh = cd ..; basename `pwd` - -# -# Define the module and object file sets. -# -MODULE = rdc -OBJECTS = $(RDC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(RDC_OBJS:%.o=$(LINTS_DIR)/%.ln) -ROOTMODULE = $(USR_DRV_DIR)/$(MODULE) -INC_PATH += -I$(ROOT)/usr/include -CONF_SRCDIR = $(UTSBASE)/common/avs/ns/rdc - -# -# Include common rules. -# -include ../Makefile.$(ARCHDIR) -include $(UTSBASE)/common/avs/Makefile.com - -# -# Define targets -# -ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint -INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) - -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) -D_SD_8K_BLKSIZE -D_SYSCALL32 -LINT_DEFS += -D_SYSCALL32 -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_INCONS_ARG_DECL2 -LDFLAGS += -dy -N"drv/nsctl" -N"drv/nskern" -N"drv/ncall" -N"misc/spuni" -LDFLAGS += -N"misc/rdcsrv" -N"strmod/rpcmod" - -CERRWARN += -_gcc=-Wno-switch -CERRWARN += -_gcc=-Wno-unused-label -CERRWARN += -_gcc=-Wno-parentheses -CERRWARN += -_gcc=-Wno-uninitialized - -.KEEP_STATE: - -def: $(DEF_DEPS) - -all: $(ALL_DEPS) - -clean: $(CLEAN_DEPS) - -clobber: $(CLOBBER_DEPS) - -rm -f obj*/rdc_prot_xdr.c debug*/rdc_prot_xdr.c - -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - -install: $(INSTALL_DEPS) - -$(OBJS_DIR)/rdc_prot_xdr.c: $(UTSBASE)/common/avs/ns/rdc/rdc_prot.x - $(RPCGEN) -i 0 -C -c -o $@ \ - `/bin/pwd`/$(UTSBASE)/common/avs/ns/rdc/rdc_prot.x - -$(OBJS_DIR)/rdc_prot_xdr.o: $(OBJS_DIR)/rdc_prot_xdr.c - $(COMPILE.c) -o $@ $(OBJS_DIR)/rdc_prot_xdr.c - -# -# Include common targets. -# -include ../Makefile.targ diff --git a/usr/src/uts/sparc/rdcsrv/Makefile b/usr/src/uts/sparc/rdcsrv/Makefile deleted file mode 100644 index 94dfeaeace..0000000000 --- a/usr/src/uts/sparc/rdcsrv/Makefile +++ /dev/null @@ -1,96 +0,0 @@ -# CDDL HEADER START -# -# The contents of this file are subject to the terms of the -# 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. -# See the License for the specific language governing permissions -# and limitations under the License. -# -# When distributing Covered Code, include this CDDL HEADER in each -# file and include the License file at usr/src/OPENSOLARIS.LICENSE. -# If applicable, add the following below this CDDL HEADER, with the -# fields enclosed by brackets "[]" replaced with your own identifying -# information: Portions Copyright [yyyy] [name of copyright owner] -# -# CDDL HEADER END -# -# -# Copyright 2009 Sun Microsystems, Inc. All rights reserved. -# Use is subject to license terms. -# -# uts/sparc/rdcsrv/Makefile -# -# This makefile drives the production of the rdcsrv kernel module -# -# sparc implementation architecture dependent -# - -# -# Path to the base of the uts directory tree (usually /usr/src/uts). -# -# -UTSBASE = ../.. - -ARCHDIR:sh = cd ..; basename `pwd` - -# -# Define the module and object file sets. -# -MODULE = rdcsrv -OBJECTS = $(RDCSRV_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(RDCSRV_OBJS:%.o=$(LINTS_DIR)/%.ln) -INC_PATH += -I$(ROOT)/usr/include -ROOTMODULE = $(USR_DRV_DIR)/$(MODULE) -ROOTLINK = $(USR_MISC_DIR)/$(MODULE) - -# -# Include common rules. -# -include ../Makefile.$(ARCHDIR) -include $(UTSBASE)/common/avs/Makefile.com - -# -# Define targets -# -ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint -INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) - -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) -D_SD_8K_BLKSIZE -D_SYSCALL32 -LINT_DEFS += -D_SD_8K_BLKSIZE -D_SYSCALL32 -LDFLAGS += -dy -N"strmod/rpcmod" -N"misc/rdcstub" - -CERRWARN += -_gcc=-Wno-unused-label -CERRWARN += -_gcc=-Wno-unused-variable - -.KEEP_STATE: - -def: $(DEF_DEPS) - -all: $(ALL_DEPS) - -clean: $(CLEAN_DEPS) - -clobber: $(CLOBBER_DEPS) - -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - -install: $(INSTALL_DEPS) - -$(ROOTLINK): $(USR_MISC_DIR) $(ROOTMODULE) - -$(RM) $@; $(LN) $(ROOTMODULE) $@ - -# -# Include common targets. -# -include ../Makefile.targ diff --git a/usr/src/uts/sparc/rdcstub/Makefile b/usr/src/uts/sparc/rdcstub/Makefile deleted file mode 100644 index b8b441e24c..0000000000 --- a/usr/src/uts/sparc/rdcstub/Makefile +++ /dev/null @@ -1,93 +0,0 @@ -# CDDL HEADER START -# -# The contents of this file are subject to the terms of the -# 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. -# See the License for the specific language governing permissions -# and limitations under the License. -# -# When distributing Covered Code, include this CDDL HEADER in each -# file and include the License file at usr/src/OPENSOLARIS.LICENSE. -# If applicable, add the following below this CDDL HEADER, with the -# fields enclosed by brackets "[]" replaced with your own identifying -# information: Portions Copyright [yyyy] [name of copyright owner] -# -# CDDL HEADER END -# -# -# Copyright 2009 Sun Microsystems, Inc. All rights reserved. -# Use is subject to license terms. -# -# uts/sparc/rdcstub/Makefile -# -# This makefile drives the production of the rdcsrv kernel module -# -# sparc implementation architecture dependent -# - -# -# Path to the base of the uts directory tree (usually /usr/src/uts). -# -# -UTSBASE = ../.. - -ARCHDIR:sh = cd ..; basename `pwd` - -# -# Define the module and object file sets. -# -MODULE = rdcstub -OBJECTS = $(RDCSTUB_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(RDCSTUB_OBJS:%.o=$(LINTS_DIR)/%.ln) -INC_PATH += -I$(ROOT)/usr/include -ROOTMODULE = $(USR_DRV_DIR)/$(MODULE) -ROOTLINK = $(USR_MISC_DIR)/$(MODULE) - -# -# Include common rules. -# -include ../Makefile.$(ARCHDIR) -include $(UTSBASE)/common/avs/Makefile.com - -# -# Define targets -# -ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint -INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) - -# -# lint pass one enforcement -# -CFLAGS += -v -D_SD_8K_BLKSIZE -D_SYSCALL32 -LINT_DEFS += -D_SD_8K_BLKSIZE -D_SYSCALL32 -LDFLAGS += -dy -N"strmod/rpcmod" - -.KEEP_STATE: - -def: $(DEF_DEPS) - -all: $(ALL_DEPS) - -clean: $(CLEAN_DEPS) - -clobber: $(CLOBBER_DEPS) - -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - -install: $(INSTALL_DEPS) - -$(ROOTLINK): $(USR_MISC_DIR) $(ROOTMODULE) - -$(RM) $@; $(LN) $(ROOTMODULE) $@ - -# -# Include common targets. -# -include ../Makefile.targ diff --git a/usr/src/uts/sparc/sdbc/Makefile b/usr/src/uts/sparc/sdbc/Makefile deleted file mode 100644 index 110556f12b..0000000000 --- a/usr/src/uts/sparc/sdbc/Makefile +++ /dev/null @@ -1,172 +0,0 @@ -# CDDL HEADER START -# -# The contents of this file are subject to the terms of the -# 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. -# See the License for the specific language governing permissions -# and limitations under the License. -# -# When distributing Covered Code, include this CDDL HEADER in each -# file and include the License file at usr/src/OPENSOLARIS.LICENSE. -# If applicable, add the following below this CDDL HEADER, with the -# fields enclosed by brackets "[]" replaced with your own identifying -# information: Portions Copyright [yyyy] [name of copyright owner] -# -# CDDL HEADER END -# -# -# Copyright 2008 Sun Microsystems, Inc. All rights reserved. -# Use is subject to license terms. -# -# -# uts/sparc/sdbc/Makefile -# -# This makefile drives the production of the sdbc kernel module -# -# sparc implementation architecture dependent -# - -# -# Path to the base of the uts directory tree (usually /usr/src/uts). -# -# -UTSBASE = ../.. - -ARCHDIR:sh = cd ..; basename `pwd` - -UTSCOMMON = $(UTSBASE)/common -AVSCOMMON = $(UTSCOMMON)/avs - -# -# Define the module and object file sets. -# -MODULE = sdbc -OBJECTS = $(SDBC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SDBC_OBJS:%.o=$(LINTS_DIR)/%.ln) -ROOTMODULE = $(USR_DRV_DIR)/$(MODULE) -INC_PATH += -I$(ROOT)/usr/include -INC_PATH += -I$(AVSCOMMON) -INC_PATH += -I$(AVSCOMMON)/ns/sdbc -CONF_SRCDIR = $(UTSBASE)/common/avs/ns/sdbc - -# -# Include common rules. -# -include ../Makefile.$(ARCHDIR) -include $(UTSBASE)/common/avs/Makefile.com - -CLOBBERFILES += obj*/*.c debug*/*.c obj*/sd_mkiob debug*/sd_mkiob - -# -# Define targets -# -ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint -INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) - -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) -D_SD_8K_BLKSIZE -D_SDBC_SINGLE_BRD -LDFLAGS += -dy -N"drv/nsctl" -N"drv/ncall" -N"drv/nskern" -N"misc/spuni" -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN - -CERRWARN += -_gcc=-Wno-parentheses -CERRWARN += -_gcc=-Wno-uninitialized -CERRWARN += -_gcc=-Wno-unused-label - -.KEEP_STATE: - -def: $(DEF_DEPS) - -all: $(ALL_DEPS) - -clean: $(CLEAN_DEPS) - -clobber: $(CLOBBER_DEPS) - -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - -install: $(INSTALL_DEPS) - -$(OBJS_DIR)/sd_mkiob: $(UTSBASE)/common/avs/ns/sdbc/sd_mkiob.sh - $(CP) $(UTSBASE)/common/avs/ns/sdbc/sd_mkiob.sh $@ - $(CHMOD) 755 $@ - -$(OBJS_DIR)/sd_iob_impl0.c: $(UTSBASE)/common/avs/ns/sdbc/sd_iob.h \ - $(OBJS_DIR)/sd_mkiob - $(OBJS_DIR)/sd_mkiob 0 512 $(AVSCOMMON)/ns/sdbc/sd_iob.h > $@ - -$(OBJS_DIR)/sd_iob_impl1.c: $(UTSBASE)/common/avs/ns/sdbc/sd_iob.h \ - $(OBJS_DIR)/sd_mkiob - $(OBJS_DIR)/sd_mkiob 512 1024 $(AVSCOMMON)/ns/sdbc/sd_iob.h > $@ - -$(OBJS_DIR)/sd_iob_impl2.c: $(UTSBASE)/common/avs/ns/sdbc/sd_iob.h \ - $(OBJS_DIR)/sd_mkiob - $(OBJS_DIR)/sd_mkiob 1024 1536 $(AVSCOMMON)/ns/sdbc/sd_iob.h > $@ - -$(OBJS_DIR)/sd_iob_impl3.c: $(UTSBASE)/common/avs/ns/sdbc/sd_iob.h \ - $(OBJS_DIR)/sd_mkiob - $(OBJS_DIR)/sd_mkiob 1536 2048 $(AVSCOMMON)/ns/sdbc/sd_iob.h > $@ - -$(OBJS_DIR)/sd_iob_impl4.c: $(UTSBASE)/common/avs/ns/sdbc/sd_iob.h \ - $(OBJS_DIR)/sd_mkiob - $(OBJS_DIR)/sd_mkiob 2048 2560 $(AVSCOMMON)/ns/sdbc/sd_iob.h > $@ - -$(OBJS_DIR)/sd_iob_impl5.c: $(UTSBASE)/common/avs/ns/sdbc/sd_iob.h \ - $(OBJS_DIR)/sd_mkiob - $(OBJS_DIR)/sd_mkiob 2560 3072 $(AVSCOMMON)/ns/sdbc/sd_iob.h > $@ - -$(OBJS_DIR)/sd_iob_impl6.c: $(UTSBASE)/common/avs/ns/sdbc/sd_iob.h \ - $(OBJS_DIR)/sd_mkiob - $(OBJS_DIR)/sd_mkiob 3072 3584 $(AVSCOMMON)/ns/sdbc/sd_iob.h > $@ - -$(OBJS_DIR)/sd_iob_impl7.c: $(UTSBASE)/common/avs/ns/sdbc/sd_iob.h \ - $(OBJS_DIR)/sd_mkiob - $(OBJS_DIR)/sd_mkiob 3584 9999 $(AVSCOMMON)/ns/sdbc/sd_iob.h > $@ - -$(OBJS_DIR)/sd_iob_impl0.o: $(OBJS_DIR)/sd_iob_impl0.c - $(COMPILE.c) -o $@ $(OBJS_DIR)/sd_iob_impl0.c - $(POST_PROCESS_O) - -$(OBJS_DIR)/sd_iob_impl1.o: $(OBJS_DIR)/sd_iob_impl1.c - $(COMPILE.c) -o $@ $(OBJS_DIR)/sd_iob_impl1.c - $(POST_PROCESS_O) - -$(OBJS_DIR)/sd_iob_impl2.o: $(OBJS_DIR)/sd_iob_impl2.c - $(COMPILE.c) -o $@ $(OBJS_DIR)/sd_iob_impl2.c - $(POST_PROCESS_O) - -$(OBJS_DIR)/sd_iob_impl3.o: $(OBJS_DIR)/sd_iob_impl3.c - $(COMPILE.c) -o $@ $(OBJS_DIR)/sd_iob_impl3.c - $(POST_PROCESS_O) - -$(OBJS_DIR)/sd_iob_impl4.o: $(OBJS_DIR)/sd_iob_impl4.c - $(COMPILE.c) -o $@ $(OBJS_DIR)/sd_iob_impl4.c - $(POST_PROCESS_O) - -$(OBJS_DIR)/sd_iob_impl5.o: $(OBJS_DIR)/sd_iob_impl5.c - $(COMPILE.c) -o $@ $(OBJS_DIR)/sd_iob_impl5.c - $(POST_PROCESS_O) - -$(OBJS_DIR)/sd_iob_impl6.o: $(OBJS_DIR)/sd_iob_impl6.c - $(COMPILE.c) -o $@ $(OBJS_DIR)/sd_iob_impl6.c - $(POST_PROCESS_O) - -$(OBJS_DIR)/sd_iob_impl7.o: $(OBJS_DIR)/sd_iob_impl7.c - $(COMPILE.c) -o $@ $(OBJS_DIR)/sd_iob_impl7.c - $(POST_PROCESS_O) - - -# -# Include common targets. -# -include ../Makefile.targ diff --git a/usr/src/uts/sparc/spuni/Makefile b/usr/src/uts/sparc/spuni/Makefile deleted file mode 100644 index 3147e7a3b9..0000000000 --- a/usr/src/uts/sparc/spuni/Makefile +++ /dev/null @@ -1,88 +0,0 @@ -# CDDL HEADER START -# -# The contents of this file are subject to the terms of the -# 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. -# See the License for the specific language governing permissions -# and limitations under the License. -# -# When distributing Covered Code, include this CDDL HEADER in each -# file and include the License file at usr/src/OPENSOLARIS.LICENSE. -# If applicable, add the following below this CDDL HEADER, with the -# fields enclosed by brackets "[]" replaced with your own identifying -# information: Portions Copyright [yyyy] [name of copyright owner] -# -# CDDL HEADER END -# -# -# Copyright 2008 Sun Microsystems, Inc. All rights reserved. -# Use is subject to license terms. -# -# uts/sparc/spuni/Makefile -# -# This makefile drives the production of the spuni kernel module -# -# sparc implementation architecture dependent -# - -# -# Path to the base of the uts directory tree (usually /usr/src/uts). -# -# -UTSBASE = ../.. - -ARCHDIR:sh = cd ..; basename `pwd` - -# -# Define the module and object file sets. -# -MODULE = spuni -OBJECTS = $(UNISTAT_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(UNISTAT_OBJS:%.o=$(LINTS_DIR)/%.ln) -INC_PATH += -I$(ROOT)/usr/include -ROOTMODULE = $(USR_MISC_DIR)/$(MODULE) - -# -# Include common rules. -# -include ../Makefile.$(ARCHDIR) -include $(UTSBASE)/common/avs/Makefile.com - -# -# Define targets -# -ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint -INSTALL_TARGET = $(BINARY) $(ROOTMODULE) - -# -# lint pass one enforcement -# -CFLAGS += -v -LINTFLAGS += -erroff=E_BAD_PTR_CAST_ALIGN - -.KEEP_STATE: - -def: $(DEF_DEPS) - -all: $(ALL_DEPS) - -clean: $(CLEAN_DEPS) - -clobber: $(CLOBBER_DEPS) - -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - -install: $(INSTALL_DEPS) - -# -# Include common targets. -# -include ../Makefile.targ diff --git a/usr/src/uts/sparc/sv/Makefile b/usr/src/uts/sparc/sv/Makefile deleted file mode 100644 index 9f68438d65..0000000000 --- a/usr/src/uts/sparc/sv/Makefile +++ /dev/null @@ -1,91 +0,0 @@ -# CDDL HEADER START -# -# The contents of this file are subject to the terms of the -# 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. -# See the License for the specific language governing permissions -# and limitations under the License. -# -# When distributing Covered Code, include this CDDL HEADER in each -# file and include the License file at usr/src/OPENSOLARIS.LICENSE. -# If applicable, add the following below this CDDL HEADER, with the -# fields enclosed by brackets "[]" replaced with your own identifying -# information: Portions Copyright [yyyy] [name of copyright owner] -# -# CDDL HEADER END -# -# -# Copyright 2008 Sun Microsystems, Inc. All rights reserved. -# Use is subject to license terms. -# -# uts/sparc/sv/Makefile -# -# This makefile drives the production of the sv kernel module -# -# sparc implementation architecture dependent -# - -# -# Path to the base of the uts directory tree (usually /usr/src/uts). -# -# -UTSBASE = ../.. - -ARCHDIR:sh = cd ..; basename `pwd` - -# -# Define the module and object file sets. -# -MODULE = sv -OBJECTS = $(SV_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SV_OBJS:%.o=$(LINTS_DIR)/%.ln) -ROOTMODULE = $(USR_DRV_DIR)/$(MODULE) -INC_PATH += -I$(ROOT)/usr/include -CONF_SRCDIR = $(UTSBASE)/common/avs/ns/sv - -# -# Include common rules. -# -include ../Makefile.$(ARCHDIR) -include $(UTSBASE)/common/avs/Makefile.com - -# -# Define targets -# -ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint -INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) - -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) -LDFLAGS += -dy -N"drv/nsctl" -N"drv/nskern" -N"misc/spuni" - -CERRWARN += -_gcc=-Wno-uninitialized - -.KEEP_STATE: - -def: $(DEF_DEPS) - -all: $(ALL_DEPS) - -clean: $(CLEAN_DEPS) - -clobber: $(CLOBBER_DEPS) - -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - -install: $(INSTALL_DEPS) - -# -# Include common targets. -# -include ../Makefile.targ |