diff options
Diffstat (limited to 'usr/src/cmd/rcap/rcapstat/Makefile')
| -rw-r--r-- | usr/src/cmd/rcap/rcapstat/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/usr/src/cmd/rcap/rcapstat/Makefile b/usr/src/cmd/rcap/rcapstat/Makefile index 1b4e0e6180..a886b05782 100644 --- a/usr/src/cmd/rcap/rcapstat/Makefile +++ b/usr/src/cmd/rcap/rcapstat/Makefile @@ -22,6 +22,8 @@ # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # +# Copyright 2020 Joyent, Inc. +# .KEEP_STATE: .SUFFIXES: @@ -29,7 +31,7 @@ include ../../Makefile.cmd COMMON_DIR= ../common # for Makefile.com -SRCS = rcapstat.c \ +SRCS = rcapstat.c \ utils.c LINTSRCS = $(COMMON_DIR)/utils.c \ @@ -41,9 +43,9 @@ STATCOMMONDIR = $(SRC)/cmd/stat/common STAT_COMMON_OBJS = timestamp.o STAT_COMMON_SRCS = $(STAT_COMMON_OBJS:%.o=$(STATCOMMONDIR)/%.c) -$(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG -CPPFLAGS += -I$(COMMON_DIR) -I$(STATCOMMONDIR) -LDLIBS += -lumem -lzonecfg -lscf +$(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG +CPPFLAGS += -I$(COMMON_DIR) -I$(STATCOMMONDIR) +LDLIBS += -lumem -lscf LDFLAGS += $(MAPFILE.NGB:%=-M%) LINTFLAGS += $(LDLIBS) -mnu @@ -54,7 +56,7 @@ OBJS = $(SRCS:%.c=%.o) rcapd_conf.o POFILES = $(OBJS:%.o=%.po) POFILE = p$(PROG).po -CLOBBERFILES += rcapd_conf.c $(POFILES) $(POFILE) +CLOBBERFILES += rcapd_conf.c $(POFILES) $(POFILE) .NO_PARALLEL: .PARALLEL: $(OBJS) $(LINTFILES) |
