xref: /titanic_50/usr/src/cmd/cmd-inet/usr.bin/pppdump/Makefile (revision ead9bb4b1be81d7bbf8ed86ee41d6c1e58b069a3)
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
14.KEEP_STATE:
15
16all:		$(PROG)
17
18$(PROG):	$(OBJS)
19		$(LINK.c) $(OBJS) -o $@ $(LDLIBS)
20		$(POST_PROCESS)
21
22install:	 all $(ROOTPROG)
23
24clean:
25		$(RM) $(OBJS)
26
27lint:
28
29include		../../../Makefile.targ
30