OSDN Git Service

* Merge branch 'branch_0.11.0'
[modchxj/mod_chxj.git] / src / Makefile.am
1 CLEANFILES = .libs/mod_chxj *~
2
3 libmod_chxj_la_SOURCES = mod_chxj.c \
4     qs_parse_string.c \
5     qs_log.c \
6     qs_malloc.c \
7     qs_parse_tag.c \
8     qs_parse_attr.c \
9     qs_ignore_sp.c \
10     qs_parse_file.c \
11     chxj_load_device_data.c \
12     chxj_load_emoji_data.c  \
13     chxj_tag_util.c  \
14     chxj_specified_device.c  \
15     chxj_xhtml_mobile_1_0.c \
16     chxj_hdml.c \
17     chxj_chtml10.c \
18     chxj_chtml20.c \
19     chxj_chtml30.c  \
20     chxj_jhtml.c \
21     chxj_str_util.c  \
22     chxj_img_conv.c  \
23     chxj_dump.c \
24         chxj_img_conv_format.c \
25     chxj_qr_code.c \
26     chxj_calc_ecc.c \
27     chxj_apply_convrule.c \
28     chxj_encoding.c \
29     chxj_node_convert.c \
30     chxj_url_encode.c \
31     chxj_preg_replace.c \
32     chxj_emoji.c \
33     chxj_jreserved_tag.c \
34     chxj_cookie.c \
35     chxj_mysql.c \
36     chxj_memcache.c \
37     chxj_dbm.c \
38     chxj_buffered_write.c \
39     chxj_apache.c
40
41
42 libmod_chxj_la_CFLAGS = -O2 -prefer-pic @QDEFS@ @DDEFS@ -I. -I../include -I@with_apache_header@ 
43 AM_CFLAGS = @CFLAGS@ -O2 -prefer-pic @QDEFS@ @DDEFS@ -I. -I../include -I@with_apache_header@
44
45 lib_LTLIBRARIES = libmod_chxj.la
46
47 make_so:
48         @if test ! -L mod_chxj.so ; then ln -s .libs/libmod_chxj.so mod_chxj.so ; fi
49
50 clean:
51         rm -fr .libs
52         rm -f *.o *.lo *.la
53         rm -f mod_chxj.so
54
55 install: make_so
56         @@APXS@ -i -n "chxj" @PACKAGE_NAME@.so
57
58 activate: make_so
59         @@APXS@ -i -a -n "chxj" @PACKAGE_NAME@.so