Update URL's to GitLab.
[cboard.git] / src / Makefile.am
blobcc9951dc177651cab3630242acafb5cd0caa4ff1
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_LDFLAGS = @PANEL_LIBS@ @MENU_LIBS@ @FORM_LIBS@ @CURSES_LIBS@ \
8                  @LTLIBINTL@
9 cboard_LDADD = $(top_builddir)/libchess/libchess.a
10 cboard_CPPFLAGS = -DDATA_PATH=\"$(pkgdatadir)\" -I$(top_srcdir)/libchess \
11                   -DLOCALE_DIR=\"$(prefix)/share/locale\"
13 if WITH_LIBPERL
14 cboard_SOURCES += perl-plugin.c perl-plugin.h
15 cboard_CFLAGS = @LIBPERL_CFLAGS@
16 cboard_LDFLAGS += @LIBPERL_LDFLAGS@
17 endif
19 if WITH_DEBUG
20 CPPFLAGS += -DDEBUG
21 endif
23 if NO_STRSEP
24 cboard_SOURCES += $(top_srcdir)/osdep/strsep.c
25 endif
27 if NO_ERR_H
28 cboard_SOURCES += $(top_srcdir)/osdep/err.c
29 CPPFLAGS += -I$(top_srcdir)/osdep
30 endif