summaryrefslogtreecommitdiff
path: root/usr/src/ucbcmd/vipw/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/ucbcmd/vipw/Makefile')
-rw-r--r--usr/src/ucbcmd/vipw/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/usr/src/ucbcmd/vipw/Makefile b/usr/src/ucbcmd/vipw/Makefile
index 53fb35631e..2df968d9b7 100644
--- a/usr/src/ucbcmd/vipw/Makefile
+++ b/usr/src/ucbcmd/vipw/Makefile
@@ -22,6 +22,7 @@
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# Copyright (c) 2019, Joyent, Inc.
PROG= vipw
@@ -29,15 +30,18 @@ include ../Makefile.ucbcmd
INC1 = $(SRC)/ucbhead
-LDLIBS = -L$(ROOT)/usr/ucblib -R /usr/ucblib $(LDLIBS.cmd) -lucb
+LDLIBS = -L$(ROOT)/usr/ucblib -R/usr/ucblib $(LDLIBS.cmd) -lucb
CPPFLAGS = -I$(INC1) $(CPPFLAGS.master)
CERRWARN += -_gcc=-Wno-implicit-function-declaration
CERRWARN += -_gcc=-Wno-unused-variable
+# missing prototypes
+SMATCH=off
+
.KEEP_STATE:
-all: $(PROG)
+all: $(PROG)
$(PROG): $(PROG).c
$(LINK.c) -o $@ $(PROG).c $(LDLIBS)