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