dmake: do not set MAKEFLAGS=k
[unleashed/tickless.git] / usr / src / cmd / cmd-inet / usr.sbin / sppptun / Makefile
blobb012bbc3f49b6960c0719011b48c8a8f206218ba
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
22 #ident "%Z%%M% %I% %E% SMI"
24 # Copyright 2008 Sun Microsystems, Inc. All rights reserved.
25 # Use is subject to license terms.
27 # cmd/cmd-inet/usr.sbin/sppptun/Makefile
30 PROG= sppptun
31 OBJS= sppptun.o
32 SRCS= $(OBJS:%.o=%.c)
34 include ../../../Makefile.cmd
35 include ../../Makefile.cmd-inet
37 .KEEP_STATE:
39 all: $(PROG)
41 _msg: $(POFILE)
43 CPPFLAGS += -I$(SRC)/uts/common
44 CPPFLAGS += -I$(SRCTOP)/include
46 LDLIBS += -ldlpi
48 $(PROG): $(OBJS)
49 $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
50 $(POST_PROCESS)
52 install: $(PROG) .WAIT $(ROOTUSRSBINPROG)
54 FRC:
56 clean:
57 $(RM) $(OBJS)
60 include ../../../Makefile.targ