1bin_PROGRAMS = inotifywait inotifywatch
2inotifywait_SOURCES = inotifywait.c common.c common.h
3inotifywatch_SOURCES = inotifywatch.c common.c common.h
4
5if ENABLE_FANOTIFY
6# Build the fsnotify* tools with fanotify as the default backend
7bin_PROGRAMS += fsnotifywait fsnotifywatch
8fsnotifywait_SOURCES = inotifywait.c common.c common.h
9fsnotifywait_CPPFLAGS = -DENABLE_FANOTIFY
10fsnotifywatch_SOURCES = inotifywatch.c common.c common.h
11fsnotifywatch_CPPFLAGS = -DENABLE_FANOTIFY
12endif
13
14AM_CFLAGS = -Wall -Wextra -Wshadow -Werror -std=c99
15AM_CPPFLAGS = -I$(top_srcdir)/libinotifytools/src
16LDADD = ../libinotifytools/src/libinotifytools.la
17
18if STATIC_BINARY_ENABLE
19AM_LDFLAGS = -static-libtool-libs
20endif
21