Merge illumos-gate
[unleashed.git] / usr / src / cmd / cmd-inet / usr.bin / pppdump / Makefile
blobe02492387b2280d0e3bc697104e5533ad425ca56
2 # Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
3 # Copyright 2011 Nexenta Systems, Inc. All rights reserved.
4 # Copyright (c) 2018, Joyent, Inc.
7 PROG= pppdump
8 OBJS= bsd-comp.o deflate.o pppdump.o zlib.o
9 SRCS= $(OBJS:%.o=%.c)
11 include ../../../Makefile.cmd
13 CPPFLAGS += -DPPP_DEFS_IN_NET
15 CERRWARN += -Wno-implicit-function-declaration
16 CERRWARN += -Wno-parentheses
17 CERRWARN += -Wno-unused-variable
18 CERRWARN += -Wno-uninitialized
20 # not linted
21 SMATCH=off
23 .KEEP_STATE:
25 all: $(PROG)
27 $(PROG): $(OBJS)
28 $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
29 $(POST_PROCESS)
31 install: all $(ROOTPROG)
33 clean:
34 $(RM) $(OBJS)
37 include ../../../Makefile.targ