blob: 273ecf50c069c6b508d93431ed0b2bb77165a95b (
plain)
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
|
# This file is part of Direvent -*- autoconf -*-
# Copyright (C) 2012-2016 Sergey Poznyakoff
#
# Direvent is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# Direvent is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Direvent. If not, see <http://www.gnu.org/licenses/>.
bin_PROGRAMS=direvent
direvent_SOURCES=\
direvent.c\
direvent.h\
cmdline.h\
config.c\
environ.c\
event.c\
fnpat.c\
hashtab.c\
watcher.c\
progman.c\
sigv.c
if DIREVENT_INOTIFY
direvent_SOURCES += ev_inotify.c detach-std.c
endif
if DIREVENT_KQUEUE
direvent_SOURCES += ev_kqueue.c
if DIREVENT_RFORK
direvent_SOURCES += detach-bsd.c
else
direvent_SOURCES += detach-darwin.c
endif
endif
LDADD=@GRECS_LDADD@ @LIBINTL@
AM_CPPFLAGS=\
-I$(top_srcdir)/grecs/src/\
-DLOCALEDIR=\"$(localedir)\"\
-DINCLUDE_PATH_ARGS='$(INCLUDE_PATH_ARGS)'
BUILT_SOURCES=cmdline.h
EXTRA_DIST=cmdline.opt
noinst_HEADERS=gettext.h
SUFFIXES=.opt .c .h
.opt.h:
$(AM_V_GEN)m4 -s $(top_srcdir)/@GRECS_SUBDIR@/build-aux/getopt.m4 $< > $@
|