Use sigaction() rather than signal().
[cboard.git] / src / Makefile.am
blobf5407d3854575fbc6ad423b99e11eb1580d82da8
1 bin_PROGRAMS = cboard
2 cboard_SOURCES = cboard.c message.c message.h misc.c engine.c \
3                  engine.h input.c input.h rcfile.c rcfile.h colors.c \
4                  colors.h window.h window.c conf.h misc.h common.h \
5                  menu.c menu.h tags.c keys.h filebrowser.c filebrowser.h \
6                  gettext.h
7 cboard_LDADD = @PANEL_LIBS@ @MENU_LIBS@ @FORM_LIBS@ @CURSES_LIBS@ \
8                @LTLIBINTL@ $(top_builddir)/libchess/libchess.a
9 cboard_CPPFLAGS = -DDATA_PATH=\"$(pkgdatadir)\" -I$(top_srcdir)/libchess \
10                   -DLOCALE_DIR=\"$(prefix)/share/locale\"
12 if WITH_LIBPERL
13 cboard_SOURCES += perl-plugin.c perl-plugin.h
14 cboard_CFLAGS = @LIBPERL_CFLAGS@
15 cboard_LDADD += @LIBPERL_LDFLAGS@
16 endif
18 if WITH_DEBUG
19 CPPFLAGS += -DDEBUG
20 endif
22 if NO_STRSEP
23 cboard_SOURCES += $(top_srcdir)/osdep/strsep.c
24 endif
26 if NO_ERR_H
27 cboard_SOURCES += $(top_srcdir)/osdep/err.c
28 CPPFLAGS += -I$(top_srcdir)/osdep
29 endif