-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
60 lines (50 loc) · 1.34 KB
/
Makefile.am
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
AUTOMAKE_OPTIONS = foreign subdir-objects
ACLOCAL_AMFLAGS = -I build
AM_CFLAGS =
AM_CFLAGS += -Wall
AM_CFLAGS += -Wextra
AM_CFLAGS += -g
AM_CFLAGS += -Wno-sign-compare
CORE_SRC =
CORE_SRC += src/fping.h src/fping.c
CORE_SRC += src/options.h
CORE_SRC += src/seqmap.h src/seqmap.c
CORE_SRC += src/socket.c
sbin_PROGRAMS =
dist_man_MANS =
EXTRA_DIST = README COPYING
EXTRA_DIST += man
if IPV4
sbin_PROGRAMS += fping
dist_man_MANS += man/fping.8
fping_DEPENDENCIES = config.h
fping_SOURCES = src/socket4.inc $(CORE_SRC)
endif
if IPV6
sbin_PROGRAMS += fping6
dist_man_MANS += man/fping6.8
fping6_CFLAGS = $(AM_CFLAGS) -DIPV6
fping6_DEPENDENCIES = config.h
fping6_SOURCES = src/socket6.inc $(CORE_SRC)
endif
man/%.8: man/@[email protected]
pod2man -c "" -s 8 -n $* -r "@PACKAGE_STRING@" $< $@
FPING_TESTS =
FPING_TESTS += t/01-basics
FPING_TESTS += t/02-help
FPING_TESTS += t/03-forbidden
FPING_TESTS += t/04-options-a-b
FPING_TESTS += t/05-options-c-e
FPING_TESTS += t/06-options-f-h
FPING_TESTS += t/07-options-i-m
FPING_TESTS += t/08-options-n-q
FPING_TESTS += t/09-option-r-t
FPING_TESTS += t/10-option-u-v
FPING_TESTS += t/11-nopriv
FPING_TESTS += t/12-option-type
FPING_TESTS += t/13-unknown-host
FPING_TESTS += t/14-ping-internet-hosts
FPING_TESTS += t/issue-56
FPING_TESTS += t/issue-58
TESTS = $(FPING_TESTS)
test: check