xref: /titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppstats/Makefile (revision 8d483882aa3390058094b043f3d62187b5d1de03)
1#
2#ident	"%Z%%M%	%I%	%E% SMI"
3#
4# Copyright (c) 2000-2001 by Sun Microsystems, Inc.
5# All rights reserved.
6#
7# cmd/cmd-inet/usr.bin/pppstats/Makefile
8#
9
10PROG=		pppstats
11OBJS=		pppstats.o
12SRCS=		$(OBJS:%.o=%.c)
13
14include		../../../Makefile.cmd
15
16PPPFLAGS +=	-DSTREAMS -DINTERNAL_BUILD -DSOL2
17CPPFLAGS +=	$(PPPFLAGS)
18
19.KEEP_STATE:
20
21.PARALLEL:	$(OBJS)
22
23all: $(PROG)
24
25$(PROG): $(OBJS)
26	$(LINK.c) $(OBJS) -o $@ $(LDLIBS)
27	$(POST_PROCESS)
28
29install: all $(ROOTPROG)
30
31clean:
32	$(RM) $(OBJS)
33
34lint:	lint_SRCS
35
36include		../../../Makefile.targ
37