xref: /titanic_50/usr/src/cmd/cmd-inet/usr.bin/pppdump/Makefile (revision 72102e7461c97dc268d21d9dd8f02da45f174acd)
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