summaryrefslogtreecommitdiff
path: root/usr/src/lib/libmtmalloc
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libmtmalloc')
-rw-r--r--usr/src/lib/libmtmalloc/Makefile5
-rw-r--r--usr/src/lib/libmtmalloc/Makefile.com13
2 files changed, 5 insertions, 13 deletions
diff --git a/usr/src/lib/libmtmalloc/Makefile b/usr/src/lib/libmtmalloc/Makefile
index aa5cccd34b..65dc0f351a 100644
--- a/usr/src/lib/libmtmalloc/Makefile
+++ b/usr/src/lib/libmtmalloc/Makefile
@@ -22,8 +22,6 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
include ../Makefile.lib
@@ -46,12 +44,11 @@ all := TARGET= all
install := TARGET= install
clean := TARGET= clean
clobber := TARGET= clobber
-lint := TARGET= lint
install_h := TARGET= install_h
.KEEP_STATE:
-all install clean clobber lint: $(SUBDIRS)
+all install clean clobber: $(SUBDIRS)
install_h: $(ROOTHDRS)
diff --git a/usr/src/lib/libmtmalloc/Makefile.com b/usr/src/lib/libmtmalloc/Makefile.com
index ef87819122..e859cee11d 100644
--- a/usr/src/lib/libmtmalloc/Makefile.com
+++ b/usr/src/lib/libmtmalloc/Makefile.com
@@ -33,16 +33,12 @@ include ../../Makefile.lib
SRCDIR = ../common
SRCS = ../common/mtmalloc.c
-LINTSRC = $(LINTLIB:%.ln=%)
-LIBS = $(DYNLIB) $(LINTLIB)
-LDLIBS += -lc
-CFLAGS += $(CCVERBOSE) $(C_PICFLAGS)
+LIBS = $(DYNLIB)
+LDLIBS += -lc
+CFLAGS += $(CCVERBOSE) $(C_PICFLAGS)
CPPFLAGS += -I../common -I../../common/inc -D_REENTRANT
-DYNFLAGS += $(ZINTERPOSE)
-
-$(LINTLIB) lint := LINTFLAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-$(LINTLIB) lint := LINTFLAGS64 += -erroff=E_BAD_PTR_CAST_ALIGN
+DYNFLAGS += $(ZINTERPOSE)
CERRWARN += $(CNOWARN_UNINIT)
@@ -50,7 +46,6 @@ CERRWARN += $(CNOWARN_UNINIT)
all: $(LIBS)
-lint: lintcheck
# include library targets
include ../../Makefile.targ