Print this page
11844 add rdmsr utility
Reviewed by: Dan McDonald <danmcd@joyent.com>
@@ -21,11 +21,11 @@
#
# Copyright 2012 Nexenta Systems, Inc. All rights reserved.
# Copyright (c) 2016 by Delphix. All rights reserved.
# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-# Copyright (c) 2018, Joyent, Inc.
+# Copyright 2019 Joyent, Inc.
#
PROG= truss
OBJS= main.o listopts.o ipc.o actions.o expound.o codes.o print.o \
@@ -47,10 +47,11 @@
CSTD= $(CSTD_GNU99)
LDLIBS += -lproc -lrtld_db -lc_db -lnsl -lsocket -ltsol -lnvpair
CPPFLAGS += -D_REENTRANT -D_LARGEFILE64_SOURCE=1
CPPFLAGS += -I$(SRC)/uts/common/fs/zfs
+CPPFLAGS += -I$(SRC)/uts/common
LINTFLAGS += -erroff=E_STATIC_UNUSED
LINTFLAGS += -erroff=E_NAME_USED_NOT_DEF2
LINTFLAGS64 += -erroff=E_STATIC_UNUSED
LINTFLAGS64 += -erroff=E_NAME_USED_NOT_DEF2
@@ -67,9 +68,6 @@
$(POST_PROCESS)
clean:
$(RM) $(OBJS)
-lint:
- $(LINT.c) $(SRCS) $(LDLIBS)
-
include ../../Makefile.targ