summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: b897ec06d9976fccc3f700973bc8a69f23e4cce9 (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
AM_CFLAGS = -Wall -Wextra

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 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

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_bsr check_crf check_cnp check_pred

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 list.c grammar.c reader.c \
str.c utf8.c util.c ht.c dfa.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

check_crf_SOURCES = test/check_crf.c crf.c grammar.c list.c util.c \
ht.c utf8.c str.c dfa.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

check_pred_SOURCES = test/check_pred.c dfa.c list.c str.c utf8.c \
grammar.c util.c ht.c

TESTS = $(check_PROGRAMS)

AM_COLOR_TESTS = always