-
Notifications
You must be signed in to change notification settings - Fork 24
/
Makefile.am
80 lines (68 loc) · 1.51 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# you probably want one of the following tasks:
# - all
# - install
# - pkg
# - doc
# - test
# utilities
RONN=ronn
RONN_FLAGS=\
--manual="User Commands" \
--organization=discoteq \
--date=2015-12-18
OPEN=open
GIT=git
CPIO=cpio
LINT=splint
LINT_FLAGS=+posixlib
AM_CPPFLAGS = \
-include config.h \
-I$(top_srcdir)/include \
-DLOCALEDIR=\"$(localedir)\" \
-D_PATH_LOCALSTATEDIR=\"${localstatedir}\"
AM_CFLAGS = \
-fsigned-char \
-fno-common \
-Wall \
-Wextra \
-Werror \
-Wmissing-declarations \
-Wmissing-prototypes \
-Wredundant-decls \
-Wtype-limits \
-Wunused-parameter \
-Wnested-externs \
-Wpointer-arith \
-Wstrict-prototypes \
-Wformat=2
AM_LDFLAGS =
pkgconfigdir = $(usrlib_execdir)/pkgconfig
RCS_FIND_IGNORE = \( -o -name .git \) -prune -o
ACLOCAL_AMFLAGS = -I m4
bin_PROGRAMS = flock
flock_SOURCES = src/flock.c
flock_LDADD = $(LDADD)
lint:
$(LINT) $(LINT_FLAGS) src/flock.c
man_MANS = man/flock.1
man/flock.1: man/flock.1.ronn man/index.txt
$(RONN) $(RONN_FLAGS) -r man/flock.1.ronn
man/flock.1.html: man/flock.1.ronn man/index.txt
$(RONN) $(RONN_FLAGS) -5 man/flock.1.ronn
nroff-man: man/flock.1
$(NROFF) -man < man/flock.1
html-man: man/flock.1.html
$(OPEN) man/flock.1.html
doc: man/flock.1 man/flock.1.html
EXTRA_DIST=\
LICENSE.md \
README.md \
autogen.sh \
man/flock.1 \
man/flock.1.html \
man/flock.1.ronn \
man/index.txt
TEST_LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) \
$(top_srcdir)/config/tap-driver.sh
TESTS = t/default.bats t/smartos.bats
EXTRA_DIST += $(TESTS)