summaryrefslogtreecommitdiff
path: root/usr/src/lib/libidmap
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libidmap')
-rw-r--r--usr/src/lib/libidmap/Makefile5
-rw-r--r--usr/src/lib/libidmap/Makefile.com17
-rw-r--r--usr/src/lib/libidmap/i386/Makefile4
-rw-r--r--usr/src/lib/libidmap/sparc/Makefile4
4 files changed, 8 insertions, 22 deletions
diff --git a/usr/src/lib/libidmap/Makefile b/usr/src/lib/libidmap/Makefile
index a2a6cccd23..c55d64113e 100644
--- a/usr/src/lib/libidmap/Makefile
+++ b/usr/src/lib/libidmap/Makefile
@@ -38,15 +38,14 @@ XGETFLAGS = --foreign-user --strict -n -E --width=72 \
--omit-header --keyword=directoryError:2 \
--language=C --force-po
-all := TARGET = all
+all := TARGET = all
clean := TARGET = clean
clobber := TARGET = clobber
install := TARGET = install
-lint := TARGET = lint
.KEEP_STATE:
-all clean clobber install lint: $(SUBDIRS)
+all clean clobber install: $(SUBDIRS)
install_h: $(ROOTHDRS)
diff --git a/usr/src/lib/libidmap/Makefile.com b/usr/src/lib/libidmap/Makefile.com
index aff1f976e9..7e20f65a0a 100644
--- a/usr/src/lib/libidmap/Makefile.com
+++ b/usr/src/lib/libidmap/Makefile.com
@@ -26,28 +26,25 @@
LIBRARY = libidmap.a
VERS = .1
-LINT_OBJECTS = \
+OBJECTS = \
directory_client.o \
directory_error.o \
- directory_helper.o \
+ directory_helper.o \
directory_rpc_clnt.o \
+ idmap_xdr.o \
sidutil.o \
sized_array.o \
idmap_api.o \
idmap_cache.o \
utils.o
-OBJECTS = $(LINT_OBJECTS) \
- idmap_xdr.o
-
include ../../Makefile.lib
CSTD = $(CSTD_GNU99)
-LIBS = $(DYNLIB) $(LINTLIB)
+LIBS = $(DYNLIB)
LDLIBS += -lc -lavl -lnsl -lnvpair -luutil
SRCDIR = ../common
-$(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
# Relative path to ensure path to idmap_prot.h is also relative
IDMAP_PROT_X = ../../../uts/common/rpcsvc/idmap_prot.x
@@ -60,8 +57,6 @@ CERRWARN += -_gcc=-Wno-switch
CLOBBERFILES += idmap_xdr.c
-lint := OBJECTS = $(LINT_OBJECTS)
-
.KEEP_STATE:
all: $(LIBS)
@@ -69,9 +64,5 @@ all: $(LIBS)
idmap_xdr.c: $(IDMAP_PROT_X)
$(RM) $@; $(RPCGEN) -CMNc -o $@ $(IDMAP_PROT_X)
-lint: lintcheck
-
-LINTFLAGS += -erroff=E_CONSTANT_CONDITION
-LINTFLAGS64 += -erroff=E_CONSTANT_CONDITION
include ../../Makefile.targ
diff --git a/usr/src/lib/libidmap/i386/Makefile b/usr/src/lib/libidmap/i386/Makefile
index f91f0270e9..2845cd3c2d 100644
--- a/usr/src/lib/libidmap/i386/Makefile
+++ b/usr/src/lib/libidmap/i386/Makefile
@@ -22,9 +22,7 @@
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
include ../Makefile.com
-install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
+install: all $(ROOTLIBS) $(ROOTLINKS)
diff --git a/usr/src/lib/libidmap/sparc/Makefile b/usr/src/lib/libidmap/sparc/Makefile
index f91f0270e9..2845cd3c2d 100644
--- a/usr/src/lib/libidmap/sparc/Makefile
+++ b/usr/src/lib/libidmap/sparc/Makefile
@@ -22,9 +22,7 @@
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
include ../Makefile.com
-install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
+install: all $(ROOTLIBS) $(ROOTLINKS)