File: Makefile.am

package info (click to toggle)
sombok 2.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 4,520 kB
  • sloc: ansic: 38,009; sh: 3,059; perl: 769; makefile: 134
file content (59 lines) | stat: -rw-r--r-- 1,494 bytes parent folder | download | duplicates (2)
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
lib_LTLIBRARIES = libsombok.la
libsombok_la_SOURCES = lib/break.c lib/charprop.c lib/gcstring.c \
	lib/linebreak.c lib/utf8.c lib/utils.c \
	lib/southeastasian.c lib/@UNICODE_VERSION@.c
if MALLOC_DEBUG
libsombok_la_SOURCES += src/mymalloc.c
endif
libsombok_la_CFLAGS = -I. -Iinclude @LIBTHAI_CFLAGS@
libsombok_la_LDFLAGS = -version-info 4:7:1 @LIBTHAI_LIBS@

include_HEADERS = include/sombok_constants.h
nodist_include_HEADERS = include/sombok.h
noinst_HEADERS = src/mymalloc.h

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = sombok.pc

check_PROGRAMS = sombok
sombok_SOURCES = src/sombok.c
if !HAVE_STRERROR
sombok_SOURCES += src/strerror.c
endif
if !HAVE_STRCASECMP
sombok_SOURCES += src/strcasecmp.c
endif
sombok_CFLAGS = -Iinclude
sombok_LDFLAGS =
sombok_LDADD = libsombok.la
TESTS = \
	tests/01break.t \
	tests/02hangul.t \
	tests/03ns.t \
	tests/05urgent.t \
	tests/06context.t \
	tests/07sea.t \
	tests/09uri.t \
	tests/11format.t \
	tests/14sea_al.t

if ENABLE_DOC
html_DATA = doc/html/*
MOSTLYCLEANFILES = stamp-html $(html_DATA)

$(html_DATA): stamp-html

stamp-html: doc/doxyfile $(include_HEADERS) $(nodist_include_HEADERS) \
	    $(libsombok_la_SOURCES)
	$(DOXYGEN) doc/doxyfile
	touch stamp-html	
endif

EXTRA_DIST = sombok.spec debian/* \
	lib/?.?.?.c \
	tests/lb.sh $(TESTS) test-data/* \
	data/makefile data/constants.pl data/custom.pl data/data.pl \
	data/*.custom data/Rules-*.txt data/LBCLASSES \
	ARTISTIC ChangeLog.REL1 INSTALL.ja_JP README.ja_JP \
	UNICODE VERSION