summaryrefslogtreecommitdiff
path: root/usr/src/lib/libtnfprobe
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libtnfprobe')
-rw-r--r--usr/src/lib/libtnfprobe/Makefile9
-rw-r--r--usr/src/lib/libtnfprobe/Makefile.com6
2 files changed, 3 insertions, 12 deletions
diff --git a/usr/src/lib/libtnfprobe/Makefile b/usr/src/lib/libtnfprobe/Makefile
index 1235f9d41d..25c3e8a3ed 100644
--- a/usr/src/lib/libtnfprobe/Makefile
+++ b/usr/src/lib/libtnfprobe/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
@@ -31,23 +29,22 @@ SUBDIRS = $(MACH)
$(BUILD64)SUBDIRS += $(MACH64)
# conditional assignments
-all := TARGET = all
+all := TARGET = all
install := TARGET = install
clean := TARGET = clean
clobber := TARGET = clobber
-lint := TARGET = lint
#definitions for install_h target
HDRS= com.h writer.h probe.h
ROOTHDRDIR= $(ROOT)/usr/include/tnf
ROOTHDRS= $(HDRS:%=$(ROOTHDRDIR)/%)
CHECKHDRS= $(HDRS:%.h=%.check)
-$(ROOTHDRS) := FILEMODE = 0644
+$(ROOTHDRS) := FILEMODE = 0644
CHECKHDRS = $(HDRS:%.h=%.check)
.KEEP_STATE:
-all install clean clobber lint: $(SUBDIRS)
+all install clean clobber: $(SUBDIRS)
install_h: $(ROOTHDRDIR) $(ROOTHDRS)
diff --git a/usr/src/lib/libtnfprobe/Makefile.com b/usr/src/lib/libtnfprobe/Makefile.com
index 5dbde86c95..f910244e26 100644
--- a/usr/src/lib/libtnfprobe/Makefile.com
+++ b/usr/src/lib/libtnfprobe/Makefile.com
@@ -43,9 +43,6 @@ OBJECTS= $(OBJECTS.c) $(UFSOBJS) $(OBJECTS.s)
include ../../Makefile.lib
-# We omit $(OBJECTS.s:%.o=%.s) in the next line, because lint no like
-SRCS= $(OBJECTS.c:%.o=../%.c) $(UFSOBJS:%.o=$(UFSDIR)/%.c)
-
LIBS= $(DYNLIB)
DYNFLAGS += $(ZINTERPOSE)
@@ -61,7 +58,6 @@ CHECKHDRS = $(HDRS:%.h=%.check)
# pick up tnf_types.h
CPPFLAGS += -I.. -I$(UFSDIR) -D_REENTRANT -D_TNF_LIBRARY
-LINTFLAGS += -y
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-parentheses
@@ -80,8 +76,6 @@ all: $(LIBS)
install_h: $(ROOTHDRDIR) $(ROOTHDRS)
-lint:
- $(LINT.c) $(SRCS)
check: $(CHECKHDRS)