xref: /titanic_52/usr/src/cmd/cmd-inet/usr.bin/pppstats/Makefile (revision 7c478bd95313f5f23a4c958a745db2134aa03244)
1*7c478bd9Sstevel@tonic-gate#
2*7c478bd9Sstevel@tonic-gate#ident	"%Z%%M%	%I%	%E% SMI"
3*7c478bd9Sstevel@tonic-gate#
4*7c478bd9Sstevel@tonic-gate# Copyright (c) 2000-2001 by Sun Microsystems, Inc.
5*7c478bd9Sstevel@tonic-gate# All rights reserved.
6*7c478bd9Sstevel@tonic-gate#
7*7c478bd9Sstevel@tonic-gate# cmd/cmd-inet/usr.bin/pppstats/Makefile
8*7c478bd9Sstevel@tonic-gate#
9*7c478bd9Sstevel@tonic-gate
10*7c478bd9Sstevel@tonic-gatePROG=		pppstats
11*7c478bd9Sstevel@tonic-gateOBJS=		pppstats.o
12*7c478bd9Sstevel@tonic-gateSRCS=		$(OBJS:%.o=%.c)
13*7c478bd9Sstevel@tonic-gate
14*7c478bd9Sstevel@tonic-gateinclude		../../../Makefile.cmd
15*7c478bd9Sstevel@tonic-gate
16*7c478bd9Sstevel@tonic-gatePPPFLAGS +=	-DSTREAMS -DINTERNAL_BUILD -DSOL2
17*7c478bd9Sstevel@tonic-gateCPPFLAGS +=	$(PPPFLAGS)
18*7c478bd9Sstevel@tonic-gate
19*7c478bd9Sstevel@tonic-gate.KEEP_STATE:
20*7c478bd9Sstevel@tonic-gate
21*7c478bd9Sstevel@tonic-gate.PARALLEL:	$(OBJS)
22*7c478bd9Sstevel@tonic-gate
23*7c478bd9Sstevel@tonic-gateall: $(PROG)
24*7c478bd9Sstevel@tonic-gate
25*7c478bd9Sstevel@tonic-gate$(PROG): $(OBJS)
26*7c478bd9Sstevel@tonic-gate	$(LINK.c) $(OBJS) -o $@ $(LDLIBS)
27*7c478bd9Sstevel@tonic-gate	$(POST_PROCESS)
28*7c478bd9Sstevel@tonic-gate
29*7c478bd9Sstevel@tonic-gateinstall: all $(ROOTPROG)
30*7c478bd9Sstevel@tonic-gate
31*7c478bd9Sstevel@tonic-gateclean:
32*7c478bd9Sstevel@tonic-gate	$(RM) $(OBJS)
33*7c478bd9Sstevel@tonic-gate
34*7c478bd9Sstevel@tonic-gatelint:	lint_SRCS
35*7c478bd9Sstevel@tonic-gate
36*7c478bd9Sstevel@tonic-gateinclude		../../../Makefile.targ
37