File: Makefile.am

package info (click to toggle)
verbiste 0.1.49-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 4,260 kB
  • sloc: xml: 24,823; ansic: 9,087; sh: 5,258; cpp: 4,480; makefile: 1,021; yacc: 288; perl: 281; lisp: 215; java: 47; sed: 16
file content (53 lines) | stat: -rw-r--r-- 1,540 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
# $Id: Makefile.am,v 1.12 2023/08/03 01:35:25 sarrazip Exp $

libdatadir = $(datarootdir)/$(PACKAGE)-$(API)

noinst_PROGRAMS = deconjugator conjugator

deconjugator_SOURCES = \
	deconjugator.c 

deconjugator_CFLAGS = \
	-DLIBDATADIR=\"$(libdatadir)\" \
	-I$(top_srcdir)/src

deconjugator_LDADD = \
	$(LIBXML2_LIBS) \
	../src/verbiste/libverbiste-$(API).la

conjugator_SOURCES = \
	conjugator.c 

conjugator_CFLAGS = \
	-DLIBDATADIR=\"$(libdatadir)\" \
	-I$(top_srcdir)/src

conjugator_LDADD = \
	$(LIBXML2_LIBS) \
	../src/verbiste/libverbiste-$(API).la

# This makefile is supposed to be encoded in UTF-8 in lines
# where $(LU) is used.
# Setting LC_ALL is necessary on Solaris.
#
LU = LIBDATADIR=$(top_srcdir)/data LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8

# These test lines are in Latin-1, except where noted otherwise:
check: all
	test "`$(LU) ./deconjugator aimerions`" = "aimer, conditional, present, 1, plural"
	test "`$(LU) ./deconjugator était`" = "être, indicative, imperfect, 3, singular"
	test "`$(LU) ./deconjugator x`" = ""
	test "`$(LU) ./conjugator avoir | grep ayant`" = "ayant"
	test "`$(LU) ./conjugator asseoir | grep asseyerai,`" = "assiérai, asseyerai, assoirai"
	test "`$(LU) ./conjugator x`" = "Unknown infinitive."
	test "`echo '- imperative present:' | $(srcdir)/trans-tenses.pl`" = "- impératif présent:"  # this line in UTF-8
	@echo "Success."

EXTRA_DIST = \
	README \
	test-french-deconjugator.pl \
	FrenchDeconjugatorTester.java \
	trans-tenses.pl \
	generate-all-forms.pl

MAINTAINERCLEANFILES = Makefile.in