summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 49f5f9f6c12e2d15c8da5def23abefb3c443f792 (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
## Makefile.am for Oniguruma
libname = libonig.la

AM_CFLAGS = -Wall
AM_CPPFLAGS = -I$(top_srcdir) -I$(includedir)

include_HEADERS = oniguruma.h oniggnu.h onigposix.h
lib_LTLIBRARIES = $(libname)

libonig_la_SOURCES = regint.h regparse.h regenc.h st.h \
	regerror.c regparse.c regext.c regcomp.c regexec.c reggnu.c \
	regenc.c regsyntax.c regtrav.c regversion.c st.c \
	regposix.c regposerr.c \
	unicode.c \
	unicode_unfold_key.c \
	unicode_fold1_key.c \
	unicode_fold2_key.c \
	unicode_fold3_key.c \
	ascii.c utf8.c \
	utf16_be.c utf16_le.c \
	utf32_be.c utf32_le.c \
	euc_jp.c euc_jp_prop.c \
	sjis.c sjis_prop.c \
	iso8859_1.c \
	iso8859_2.c  iso8859_3.c \
	iso8859_4.c  iso8859_5.c \
	iso8859_6.c  iso8859_7.c \
	iso8859_8.c  iso8859_9.c \
	iso8859_10.c iso8859_11.c \
	iso8859_13.c iso8859_14.c \
	iso8859_15.c iso8859_16.c \
	euc_tw.c euc_kr.c big5.c \
	gb18030.c koi8_r.c cp1251.c \
	onig_init.c

libonig_la_LDFLAGS = -version-info $(LTVERSION)

EXTRA_DIST = koi8.c mktable.c \
	unicode_fold_data.c unicode_property_data.c \
	unicode_property_data_posix.c \
	make_unicode_fold.sh make_unicode_fold_data.py \
	make_unicode_property.sh make_unicode_property_data.py \
	gperf_fold_key_conv.py gperf_unfold_key_conv.py \
	unicode-7.0/unicode_fold1_key.c unicode-7.0/unicode_fold2_key.c \
	unicode-7.0/unicode_fold3_key.c unicode-7.0/unicode_fold_data.c \
	unicode-7.0/unicode_property_data.c \
	unicode-7.0/unicode_property_data_posix.c \
	unicode-7.0/unicode_unfold_key.c

dll:
	$(CXX) -shared -Wl,--output-def,libonig.def -o libonig.dll *.o \
	$(LIBS)
	strip libonig.dll


# character-types-table source generator
mktable: mktable.c regenc.h
	$(CC) -I$(top_srcdir) -o mktable mktable.c