xref: /titanic_51/usr/src/cmd/cmd-inet/usr.bin/pppdump/Makefile (revision 7014882c6a3672fd0e5d60200af8643ae53c5928)
17c478bd9Sstevel@tonic-gate#
25084e753SMark J. Nelson# Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
3ead9bb4bSYuri Pankov# Copyright 2011 Nexenta Systems, Inc. All rights reserved.
47c478bd9Sstevel@tonic-gate#
57c478bd9Sstevel@tonic-gate
67c478bd9Sstevel@tonic-gatePROG=		pppdump
77c478bd9Sstevel@tonic-gateOBJS=		bsd-comp.o deflate.o pppdump.o zlib.o
87c478bd9Sstevel@tonic-gateSRCS=		$(OBJS:%.o=%.c)
97c478bd9Sstevel@tonic-gate
107c478bd9Sstevel@tonic-gateinclude		../../../Makefile.cmd
117c478bd9Sstevel@tonic-gate
127c478bd9Sstevel@tonic-gateCPPFLAGS +=	-DPPP_DEFS_IN_NET
137c478bd9Sstevel@tonic-gate
14*7014882cSRichard LoweCERRWARN +=	-_gcc=-Wno-implicit-function-declaration
15*7014882cSRichard LoweCERRWARN +=	-_gcc=-Wno-parentheses
16*7014882cSRichard LoweCERRWARN +=	-_gcc=-Wno-unused-variable
17*7014882cSRichard LoweCERRWARN +=	-_gcc=-Wno-uninitialized
18*7014882cSRichard Lowe
197c478bd9Sstevel@tonic-gate.KEEP_STATE:
207c478bd9Sstevel@tonic-gate
217c478bd9Sstevel@tonic-gateall:		$(PROG)
227c478bd9Sstevel@tonic-gate
237c478bd9Sstevel@tonic-gate$(PROG):	$(OBJS)
247c478bd9Sstevel@tonic-gate		$(LINK.c) $(OBJS) -o $@ $(LDLIBS)
257c478bd9Sstevel@tonic-gate		$(POST_PROCESS)
267c478bd9Sstevel@tonic-gate
27ead9bb4bSYuri Pankovinstall:	 all $(ROOTPROG)
287c478bd9Sstevel@tonic-gate
297c478bd9Sstevel@tonic-gateclean:
307c478bd9Sstevel@tonic-gate		$(RM) $(OBJS)
317c478bd9Sstevel@tonic-gate
327c478bd9Sstevel@tonic-gatelint:
337c478bd9Sstevel@tonic-gate
347c478bd9Sstevel@tonic-gateinclude		../../../Makefile.targ
35