Cross Reference: /illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#
# Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
# Copyright 2011 Nexenta Systems, Inc. All rights reserved.
#
PROG= pppdump
OBJS= bsd-comp.o deflate.o pppdump.o zlib.o
SRCS= $(OBJS:%.o=%.c)
include ../../../Makefile.cmd
CPPFLAGS += -DPPP_DEFS_IN_NET
CERRWARN += -_gcc=-Wno-implicit-function-declaration
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-uninitialized
.KEEP_STATE:
all: $(PROG)
$(PROG): $(OBJS)
$(LINK.c) $(OBJS) -o $@ $(LDLIBS)
$(POST_PROCESS)
install: all $(ROOTPROG)
clean:
$(RM) $(OBJS)
lint:
include ../../../Makefile.targ