summaryrefslogtreecommitdiff
path: root/usr/src/uts/sparc/rts/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/sparc/rts/Makefile')
-rw-r--r--usr/src/uts/sparc/rts/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/usr/src/uts/sparc/rts/Makefile b/usr/src/uts/sparc/rts/Makefile
index ff635303bc..4078c24237 100644
--- a/usr/src/uts/sparc/rts/Makefile
+++ b/usr/src/uts/sparc/rts/Makefile
@@ -20,11 +20,9 @@
#
#
# uts/sparc/rts/Makefile
-# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
-#
# This makefile drives the production of the rts IP driver
#
# sparc architecture dependent
@@ -42,6 +40,7 @@ MODULE = rts
OBJECTS = $(RTS_OBJS:%=$(OBJS_DIR)/%)
LINTS = $(RTS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
+ROOTLINK = $(ROOT_SOCK_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/inet/ip
#
@@ -69,9 +68,9 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
CFLAGS += $(CCVERBOSE)
#
-# depends on tun
+# depends on ip and sockfs
#
-LDFLAGS += -dy -Ndrv/ip
+LDFLAGS += -dy -Ndrv/ip -Nfs/sockfs
#
# For now, disable these lint checks; maintainers should endeavor
@@ -103,7 +102,7 @@ clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS) $(SISCHECK_DEPS)
-$(ROOTLINK): $(ROOT_STRMOD_DIR) $(ROOTMODULE)
+$(ROOTLINK): $(ROOT_STRMOD_DIR) $(ROOT_SOCK_DIR) $(ROOTMODULE)
-$(RM) $@; ln $(ROOTMODULE) $@
#