# This file is part of Direvent -*- autoconf -*- # Copyright (C) 2012-2014 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 . 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)\" 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 $< > $@