summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/idmap/Makefile
diff options
context:
space:
mode:
authorJordan Brown <Jordan.Brown@Sun.COM>2009-05-07 12:31:08 -0700
committerJordan Brown <Jordan.Brown@Sun.COM>2009-05-07 12:31:08 -0700
commit9b214d32697277d03ed2e5d98c4a7bfef16dcf4d (patch)
tree315ba80f8a638a5b410a6a05f1da4660290babf2 /usr/src/uts/common/idmap/Makefile
parent60b94cc3efcf739e06affc192a2cda29466e0891 (diff)
downloadillumos-joyent-9b214d32697277d03ed2e5d98c4a7bfef16dcf4d.tar.gz
6835279 multiple races building idmap_prot.h
--HG-- rename : usr/src/head/rpcsvc/idmap_prot.x => usr/src/uts/common/rpcsvc/idmap_prot.x
Diffstat (limited to 'usr/src/uts/common/idmap/Makefile')
-rw-r--r--[-rwxr-xr-x]usr/src/uts/common/idmap/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/usr/src/uts/common/idmap/Makefile b/usr/src/uts/common/idmap/Makefile
index 6d4d07e647..e88c7dfbbe 100755..100644
--- a/usr/src/uts/common/idmap/Makefile
+++ b/usr/src/uts/common/idmap/Makefile
@@ -18,23 +18,20 @@
#
# CDDL HEADER END
#
-# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
# uts/common/idmap/Makefile
#
# include global definitions
include ../../../Makefile.master
-IDMAP_PROT_DIR= $(SRC)/head/rpcsvc
+IDMAP_PROT_DIR= $(SRC)/uts/common/rpcsvc
IDMAP_PROT_X= $(IDMAP_PROT_DIR)/idmap_prot.x
DERIVED_SRCS= idmap_xdr.c
-DERIVED_HDRS= $(IDMAP_PROT_DIR)/idmap_prot.h
-DERIVED_FILES= $(DERIVED_SRCS) $(DERIVED_HDRS)
+DERIVED_FILES= $(DERIVED_SRCS)
HDRS= kidmap_priv.h
CHECKHDRS= $(HDRS:%.h=%.check)
@@ -51,11 +48,9 @@ idmap_xdr.c: $(IDMAP_PROT_X)
$(RM) $@
$(RPCGEN) -CMNc -D_KERNEL -o $@ $(IDMAP_PROT_X)
-$(IDMAP_PROT_DIR)/idmap_prot.h: $(IDMAP_PROT_X)
- $(RM) $@
- $(RPCGEN) -CMNh -o $@ $(IDMAP_PROT_X)
-
check: $(CHECKHDRS)
clean:
$(RM) $(DERIVED_FILES)
+
+clobber: clean