File: Makefile.am

package info (click to toggle)
libskk 1.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,560 kB
  • sloc: ansic: 1,212; makefile: 415; sh: 62
file content (60 lines) | stat: -rw-r--r-- 2,193 bytes parent folder | download
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Copyright (C) 2011-2026 Daiki Ueno <ueno@gnu.org>
# Copyright (C) 2011-2026 Red Hat, Inc.

# This program 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 of the License, or
# (at your option) any later version.

# This program 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 this program.  If not, see <http://www.gnu.org/licenses/>.

TESTS_ENVIRONMENT =					\
	G_DEBUG=${G_DEBUG:+"${G_DEBUG},"}gc-friendly	\
	G_SLICE=${G_SLICE},always-malloc		\
	LIBSKK_DATA_PATH=$(top_srcdir):$(top_srcdir)/tests
LOG_COMPILER = $(LIBTOOL) --mode=execute $(VALGRIND) $(VALGRIND_OPTS)
check_PROGRAMS = rom-kana file-dict user-dict cdb-dict skkserv rule context basic
TESTS = $(check_PROGRAMS)

dist_noinst_HEADERS = common.h

AM_CPPFLAGS =								\
	-I$(top_srcdir) $(LIBSKK_CFLAGS)				\
	-DLIBSKK_FILE_DICT=\"$(top_srcdir)/tests/file-dict.dat\"	\
	-DLIBSKK_CDB_DICT=\"$(top_srcdir)/tests/cdb-dict.dat\"		\
	$(NULL)

rom_kana_SOURCES = rom-kana.c
rom_kana_LDADD = $(top_builddir)/libskk/libskk.la $(LIBSKK_LIBS)

file_dict_SOURCES = file-dict.c
file_dict_LDADD = $(top_builddir)/libskk/libskk.la $(LIBSKK_LIBS)

cdb_dict_SOURCES = cdb-dict.c
cdb_dict_LDADD = $(top_builddir)/libskk/libskk.la $(LIBSKK_LIBS)

skkserv_SOURCES = skkserv.c
skkserv_LDADD = $(top_builddir)/libskk/libskk.la $(LIBSKK_LIBS)

user_dict_SOURCES = user-dict.c common.c
user_dict_LDADD = $(top_builddir)/libskk/libskk.la $(LIBSKK_LIBS)

rule_SOURCES = rule.c common.c
rule_LDADD = $(top_builddir)/libskk/libskk.la $(LIBSKK_LIBS)

context_SOURCES = context.c common.c
context_LDADD = $(top_builddir)/libskk/libskk.la $(LIBSKK_LIBS)

basic_SOURCES = basic.c common.c
basic_LDADD = $(top_builddir)/libskk/libskk.la $(LIBSKK_LIBS)

EXTRA_DIST = file-dict.dat cdb-dict.dat rules
CLEANFILES = user-dict.dat valgrind.log.*

-include $(top_srcdir)/git.mk