summaryrefslogtreecommitdiff
path: root/usr/src/lib/libldap5
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libldap5')
-rw-r--r--usr/src/lib/libldap5/Makefile5
-rw-r--r--usr/src/lib/libldap5/Makefile.com25
-rw-r--r--usr/src/lib/libldap5/i386/Makefile2
-rw-r--r--usr/src/lib/libldap5/sparc/Makefile2
4 files changed, 5 insertions, 29 deletions
diff --git a/usr/src/lib/libldap5/Makefile b/usr/src/lib/libldap5/Makefile
index e5de491a1f..6b31341a04 100644
--- a/usr/src/lib/libldap5/Makefile
+++ b/usr/src/lib/libldap5/Makefile
@@ -32,7 +32,6 @@ all := TARGET= all
clean := TARGET= clean
clobber := TARGET= clobber
install := TARGET= install
-lint := TARGET= lint
_msg := TARGET= _msg
LIBRARY= libldap.a
@@ -47,10 +46,6 @@ all clean install: $(SUBDIRS)
clobber: $(SUBDIRS)
$(RM) $(CLOBBERFILES)
-lint:
- @ $(ECHO) "usr/src/lib/libldap5 is third-party code that"
- @ $(ECHO) "will never be made lint-clean: skipping"
-
# install rule for install_h target
$(ROOTHDRDIR)/%: %
$(INS.file)
diff --git a/usr/src/lib/libldap5/Makefile.com b/usr/src/lib/libldap5/Makefile.com
index d7da0b4f09..80f9ba0ae2 100644
--- a/usr/src/lib/libldap5/Makefile.com
+++ b/usr/src/lib/libldap5/Makefile.com
@@ -30,7 +30,7 @@ VERS= .5
# Definition of all the objects macros
# The LDAP specific objects
-BEROBJS= bprint.o decode.o encode.o io.o
+BEROBJS= bprint.o decode.o encode.o io.o
LDAPOBJS= abandon.o add.o bind.o cache.o charray.o \
charset.o compare.o compat.o control.o countvalues.o \
@@ -60,7 +60,7 @@ include ../../Makefile.lib
NSS_LIBS= -lnspr4 -lplc4 -lnss3 -lssl3
NSS_HDRS= $(ADJUNCT_PROTO)/usr/include/mps
NSS_LDPATH= /usr/lib/mps
-NSS_LDPATH64= $(NSS_LDPATH)/64
+NSS_LDPATH64= $(NSS_LDPATH)/64
LDAP_FLAGS= -DSVR4 -DSYSV -D__svr4 -D__svr4__ -DSOLARIS \
@@ -81,26 +81,11 @@ SRCS= $(BEROBJS:%.o=../sources/ldap/ber/%.c) \
$(PRLDAPOBJS:%.o=../sources/ldap/prldap/%.c) \
$(UTILOBJS:%.o=../sources/ldap/util/%.c)
-LIBS = $(DYNLIB) $(LINTLIB)
+LIBS = $(DYNLIB)
DYNFLAGS += $(ZNODELETE)
CPPFLAGS= $(COM_INC) $(CPPFLAGS.master)
-# definitions for lint
-
-$(LINTLIB):= SRCS=../sources/ldap/common/llib-lldap
-$(LINTLIB):= LINTFLAGS=-nvx
-$(LINTLIB):= TARGET_ARCH=
-
-LINTOUT= lint.out
-
-LINTSRC= $(LINTLIB:%.ln=%)
-ROOTLINTDIR= $(ROOTLIBDIR)
-ROOTLINT= $(LINTSRC:%=$(ROOTLINTDIR)/%)
-
-
-CLEANFILES += $(LINTOUT) $(LINTLIB)
-
# Local Libldap definitions
LOCFLAGS += $(XSTRCONST) -D_REENTRANT
@@ -150,7 +135,3 @@ pics/%.o: ../sources/ldap/prldap/%.c
pics/%.o: ../sources/ldap/util/%.c
$(COMPILE.c) $(LDAP_FLAGS) $(COM_INC) -w -o $@ $<
$(POST_PROCESS_O)
-
-# install rule for lint library target
-$(ROOTLINTDIR)/%: ../sources/ldap/common/%
- $(INS.file)
diff --git a/usr/src/lib/libldap5/i386/Makefile b/usr/src/lib/libldap5/i386/Makefile
index 500155684a..bb427431d1 100644
--- a/usr/src/lib/libldap5/i386/Makefile
+++ b/usr/src/lib/libldap5/i386/Makefile
@@ -14,6 +14,6 @@ DYNFLAGS += -R$(NSS_LDPATH)
all: $(LIBS)
-install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
+install: all $(ROOTLIBS) $(ROOTLINKS)
FRC:
diff --git a/usr/src/lib/libldap5/sparc/Makefile b/usr/src/lib/libldap5/sparc/Makefile
index b650c81920..d15f2dd969 100644
--- a/usr/src/lib/libldap5/sparc/Makefile
+++ b/usr/src/lib/libldap5/sparc/Makefile
@@ -15,4 +15,4 @@ DYNFLAGS += -R$(NSS_LDPATH)
all: $(LIBS)
-install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
+install: all $(ROOTLIBS) $(ROOTLINKS)