xref: /titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppdump/Makefile (revision f3312ec0e8acbd249df97358fb8c3ca92f4e089c)
1#
2# Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
3# Copyright 2011 Nexenta Systems, Inc. All rights reserved.
4#
5
6PROG=		pppdump
7OBJS=		bsd-comp.o deflate.o pppdump.o zlib.o
8SRCS=		$(OBJS:%.o=%.c)
9
10include		../../../Makefile.cmd
11
12CPPFLAGS +=	-DPPP_DEFS_IN_NET
13
14CERRWARN +=	-_gcc=-Wno-implicit-function-declaration
15CERRWARN +=	-_gcc=-Wno-parentheses
16CERRWARN +=	-_gcc=-Wno-unused-variable
17CERRWARN +=	-_gcc=-Wno-uninitialized
18
19.KEEP_STATE:
20
21all:		$(PROG)
22
23$(PROG):	$(OBJS)
24		$(LINK.c) $(OBJS) -o $@ $(LDLIBS)
25		$(POST_PROCESS)
26
27install:	 all $(ROOTPROG)
28
29clean:
30		$(RM) $(OBJS)
31
32lint:
33
34include		../../../Makefile.targ
35