Initialize the gmime for upstream
[platform/upstream/gmime.git] / gmime / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 SUBDIRS = .
4
5 gmimeincludedir = $(includedir)/gmime-$(GMIME_API_VERSION)/gmime
6
7 INCLUDES =                              \
8         -I$(top_srcdir)                 \
9         -I$(top_srcdir)/util            \
10         -DG_LOG_DOMAIN=\"gmime\"        \
11         $(GMIME_CFLAGS)                 \
12         $(GLIB_CFLAGS)
13
14 noinst_PROGRAMS = gen-table charset-map
15
16 EXTRA_DIST = gmime-version.h.in gmime-version.h
17
18 lib_LTLIBRARIES = libgmime-2.6.la
19
20 libgmime_2_6_la_SOURCES =               \
21         gmime.c                         \
22         gmime-certificate.c             \
23         gmime-charset.c                 \
24         gmime-common.c                  \
25         gmime-content-type.c            \
26         gmime-crypto-context.c          \
27         gmime-data-wrapper.c            \
28         gmime-disposition.c             \
29         gmime-encodings.c               \
30         gmime-events.c                  \
31         gmime-filter.c                  \
32         gmime-filter-basic.c            \
33         gmime-filter-best.c             \
34         gmime-filter-charset.c          \
35         gmime-filter-crlf.c             \
36         gmime-filter-enriched.c         \
37         gmime-filter-from.c             \
38         gmime-filter-gzip.c             \
39         gmime-filter-html.c             \
40         gmime-filter-md5.c              \
41         gmime-filter-strip.c            \
42         gmime-filter-windows.c          \
43         gmime-filter-yenc.c             \
44         gmime-gpg-context.c             \
45         gmime-header.c                  \
46         gmime-iconv.c                   \
47         gmime-iconv-utils.c             \
48         gmime-message.c                 \
49         gmime-message-part.c            \
50         gmime-message-partial.c         \
51         gmime-multipart.c               \
52         gmime-multipart-encrypted.c     \
53         gmime-multipart-signed.c        \
54         gmime-object.c                  \
55         gmime-param.c                   \
56         gmime-parse-utils.c             \
57         gmime-parser.c                  \
58         gmime-part.c                    \
59         gmime-part-iter.c               \
60         gmime-pkcs7-context.c           \
61         gmime-signature.c               \
62         gmime-stream.c                  \
63         gmime-stream-buffer.c           \
64         gmime-stream-cat.c              \
65         gmime-stream-file.c             \
66         gmime-stream-filter.c           \
67         gmime-stream-fs.c               \
68         gmime-stream-gio.c              \
69         gmime-stream-mem.c              \
70         gmime-stream-mmap.c             \
71         gmime-stream-null.c             \
72         gmime-stream-pipe.c             \
73         gmime-utils.c                   \
74         internet-address.c
75
76 gmimeinclude_HEADERS =                  \
77         gmime.h                         \
78         gmime-certificate.h             \
79         gmime-charset.h                 \
80         gmime-content-type.h            \
81         gmime-crypto-context.h          \
82         gmime-data-wrapper.h            \
83         gmime-disposition.h             \
84         gmime-encodings.h               \
85         gmime-error.h                   \
86         gmime-filter.h                  \
87         gmime-filter-basic.h            \
88         gmime-filter-best.h             \
89         gmime-filter-charset.h          \
90         gmime-filter-crlf.h             \
91         gmime-filter-enriched.h         \
92         gmime-filter-from.h             \
93         gmime-filter-gzip.h             \
94         gmime-filter-html.h             \
95         gmime-filter-md5.h              \
96         gmime-filter-strip.h            \
97         gmime-filter-windows.h          \
98         gmime-filter-yenc.h             \
99         gmime-gpg-context.h             \
100         gmime-header.h                  \
101         gmime-iconv.h                   \
102         gmime-iconv-utils.h             \
103         gmime-message.h                 \
104         gmime-message-part.h            \
105         gmime-message-partial.h         \
106         gmime-multipart.h               \
107         gmime-multipart-encrypted.h     \
108         gmime-multipart-signed.h        \
109         gmime-object.h                  \
110         gmime-param.h                   \
111         gmime-parser.h                  \
112         gmime-part.h                    \
113         gmime-part-iter.h               \
114         gmime-pkcs7-context.h           \
115         gmime-signature.h               \
116         gmime-stream.h                  \
117         gmime-stream-buffer.h           \
118         gmime-stream-cat.h              \
119         gmime-stream-file.h             \
120         gmime-stream-filter.h           \
121         gmime-stream-fs.h               \
122         gmime-stream-gio.h              \
123         gmime-stream-mem.h              \
124         gmime-stream-mmap.h             \
125         gmime-stream-null.h             \
126         gmime-stream-pipe.h             \
127         gmime-utils.h                   \
128         gmime-version.h                 \
129         internet-address.h
130
131 noinst_HEADERS =                        \
132         gmime-charset-map-private.h     \
133         gmime-table-private.h           \
134         gmime-parse-utils.h             \
135         gmime-common.h                  \
136         gmime-events.h
137
138 install-data-local: install-libtool-import-lib
139
140 uninstall-local: uninstall-libtool-import-lib
141
142 if PLATFORM_WIN32
143 no_undefined = -no-undefined
144 endif
145
146 if OS_WIN32
147 install-libtool-import-lib:
148         $(INSTALL) .libs/libgmime-$(GMIME_API_VERSION).dll.a $(DESTDIR)$(libdir)
149
150 uninstall-libtool-import-lib:
151         -rm $(DESTDIR)$(libdir)/libgmime-$(GMIME_API_VERSION).dll.a
152 else
153 install-libtool-import-lib:
154 uninstall-libtool-import-lib:
155 endif
156
157 libgmime_2_6_la_LIBADD = $(top_builddir)/util/libgmime-util.la $(GLIB_LIBS)
158 libgmime_2_6_la_LDFLAGS = \
159         -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
160         -export-dynamic $(no_undefined)
161
162 gen_table_SOURCES = gen-table.c
163 gen_table_LDFLAGS = 
164 gen_table_DEPENDENCIES = 
165 gen_table_LDADD = 
166
167 charset_map_SOURCES = charset-map.c
168 charset_map_LDFLAGS = 
169 charset_map_DEPENDENCIES = 
170 charset_map_LDADD = $(top_builddir)/util/libgmime-util.la $(GLIB_LIBS)