-
Notifications
You must be signed in to change notification settings - Fork 26
/
Makefile.am
41 lines (33 loc) · 1.42 KB
/
Makefile.am
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
ACLOCAL_AMFLAGS=-I m4
plugindir=${rofi_PLUGIN_INSTALL_DIR}/
plugin_LTLIBRARIES = emoji.la
dist_pkgdata_DATA = all_emojis.txt README.md LICENSE
dist_pkgdata_SCRIPTS = clipboard-adapter.sh
emoji_la_SOURCES=\
src/emoji.c \
src/utils.c \
src/loader.c \
src/formatter.c \
src/menu.c \
src/search.c \
src/actions.c \
src/plugin.c
emoji_la_CFLAGS= @glib_CFLAGS@ @rofi_CFLAGS@ @cairo_CFLAGS@
emoji_la_LIBADD= @glib_LIBS@ @rofi_LIBS@ @cairo_LIBS@
emoji_la_LDFLAGS= -module -avoid-version
if HAVE_CHECK
check_PROGRAMS = tests/check_utils tests/check_emoji tests/check_loader
TESTS = tests/check_utils tests/check_emoji tests/check_loader
tests_check_utils_SOURCES = tests/check_utils.c src/utils.c
tests_check_utils_CFLAGS = $(CFLAGS) $(CHECK_CFLAGS) @glib_CFLAGS@ @rofi_CFLAGS@ @cairo_CFLAGS@
tests_check_utils_LDADD = $(LDFLAGS) $(CHECK_LIBS) @glib_LIBS@ @rofi_LIBS@ @cairo_LIBS@
tests_check_emoji_SOURCES = tests/check_emoji.c src/emoji.c
tests_check_emoji_CFLAGS = $(CFLAGS) $(CHECK_CFLAGS) @glib_CFLAGS@ @rofi_CFLAGS@ @cairo_CFLAGS@
tests_check_emoji_LDADD = $(LDFLAGS) $(CHECK_LIBS) @glib_LIBS@ @rofi_LIBS@ @cairo_LIBS@
tests_check_loader_SOURCES = tests/check_loader.c src/loader.c src/emoji.c src/utils.c
tests_check_loader_CFLAGS = $(CFLAGS) $(CHECK_CFLAGS) @glib_CFLAGS@ @rofi_CFLAGS@ @cairo_CFLAGS@
tests_check_loader_LDADD = $(LDFLAGS) $(CHECK_LIBS) @glib_LIBS@ @rofi_LIBS@ @cairo_LIBS@
else
check_PROGRAMS =
TESTS =
endif