summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 5375d8eb1637ed4c15d8f241786f580fcaa74fa7 (plain)
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
AM_CFLAGS = -Wall -Wextra -Wno-missing-field-initializers -O3

noinst_LIBRARIES = libeps.a
libeps_a_SOURCES = grammar.c list.c util.c reader.c str.c \
utf8.c dfa.c ht.c bsr.c tuple.c crf.c cnp.c \
grammar.h list.h util.h reader.h str_partial.h \
str.h utf8.h dfa.h ht.h bsr.h crf.h cnp.h tuple.h pair.h

libeps_a_CFLAGS = $(AM_CFLAGS) --pedantic

# Make TAGS automatically

all-local: MYTAGS

MYTAGS: $(TAGS_DEPENDENCIES) $(am__tagged_files)
	@if $(AM_V_P); then $(MAKE) TAGS; else echo "MAKE TAGS"; \
	$(MAKE) TAGS > /dev/null; fi;


CLEANFILES = TAGS

# tests

check_PROGRAMS = check_list check_grammar check_reader check_dfa \
check_ht check_pred check_tuple check_bsr check_crf \
check_cnp

check_list_SOURCES = test/check_list.c list.c

check_grammar_SOURCES = test/check_grammar.c list.c ht.c grammar.c \
utf8.c str.c dfa.c

check_reader_SOURCES = test/check_reader.c crf.c cnp.c grammar.c list.c \
util.c ht.c utf8.c str.c dfa.c bsr.c tuple.c

check_dfa_SOURCES = test/check_dfa.c dfa.c list.c str.c utf8.c

check_ht_SOURCES = test/check_ht.c ht.c

check_bsr_SOURCES = test/check_bsr.c bsr.c grammar.c list.c util.c \
ht.c utf8.c str.c dfa.c tuple.c

check_crf_SOURCES = test/check_crf.c crf.c grammar.c list.c util.c \
ht.c utf8.c str.c dfa.c tuple.c

# check_splist_SOURCES = test/check_splist.c splist.c list.c

check_cnp_SOURCES = test/check_cnp.c crf.c cnp.c grammar.c list.c \
util.c ht.c utf8.c str.c dfa.c bsr.c tuple.c

check_pred_SOURCES = test/check_pred.c crf.c cnp.c grammar.c list.c \
util.c ht.c utf8.c str.c dfa.c bsr.c tuple.c

check_tuple_SOURCES = test/check_tuple.c tuple.c util.c

TESTS = $(check_PROGRAMS)

AM_COLOR_TESTS = always