xref: /PHP-5.4/ext/mbstring/libmbfl/mbfl/Makefile.am (revision ea539c8b)
1EXTRA_DIST=mk_eaw_tbl.awk
2lib_LTLIBRARIES=libmbfl.la
3libmbfl_la_SOURCES=mbfilter.c \
4	mbfl_string.c \
5	mbfl_language.c \
6	mbfl_encoding.c \
7	mbfl_convert.c \
8	mbfl_ident.c \
9	mbfl_memory_device.c \
10	mbfl_allocators.c \
11	mbfl_filter_output.c \
12	mbfilter_pass.c \
13	mbfilter_wchar.c \
14	mbfilter_8bit.c \
15	eaw_table.h
16libmbfl_filters_la=../filters/libmbfl_filters.la
17libmbfl_nls_la=../nls/libmbfl_nls.la
18libmbfl_la_LIBADD=$(libmbfl_filters_la) $(libmbfl_nls_la)
19libmbfl_la_LDFLAGS=-version-info $(SHLIB_VERSION)
20libmbfl_includedir=$(includedir)/mbfl
21libmbfl_include_HEADERS=mbfilter.h \
22	mbfl_consts.h \
23	mbfl_encoding.h \
24	mbfl_language.h \
25	mbfl_string.h \
26	mbfl_convert.h \
27	mbfl_ident.h \
28	mbfl_memory_device.h \
29	mbfl_allocators.h \
30	mbfl_defs.h \
31	mbfl_filter_output.h \
32	mbfilter_pass.h \
33	mbfilter_wchar.h \
34	mbfilter_8bit.h
35
36mbfilter.c: eaw_table.h
37
38eaw_table.h: mk_eaw_tbl.awk
39	$(AWK) -v TABLE_NAME=mbfl_eaw_table -f mk_eaw_tbl.awk EastAsianWidth.txt > $@
40
41EastAsianWidth.txt:
42	$(FETCH_VIA_FTP) ftp://ftp.unicode.org/Public/UNIDATA/EastAsianWidth.txt
43
44$(libmbfl_filters_la):
45	$(MAKE) -C `dirname $(libmbfl_filters_la)`
46
47$(libmbfl_nls_la):
48	$(MAKE) -C `dirname $(libmbfl_nls_la)`
49