actually link against included libintl.a if requested
[platform/upstream/libexif.git] / libexif / Makefile.am
1 SUBDIRS = canon olympus pentax
2
3 lib_LTLIBRARIES = libexif.la
4
5 libexif_la_LDFLAGS = -version-info @LIBEXIF_VERSION_INFO@
6 libexif_la_SOURCES =            \
7         exif-byte-order.c       \
8         exif-content.c          \
9         exif-data.c             \
10         exif-entry.c            \
11         exif-format.c           \
12         exif-ifd.c              \
13         exif-loader.c           \
14         exif-log.c              \
15         exif-mem.c              \
16         exif-mnote-data.c       \
17         exif-mnote-data-priv.h  \
18         exif-tag.c              \
19         exif-utils.c            \
20         i18n.h
21 libexif_la_LIBADD = -lm                 \
22         $(LTLIBINTL)                    \
23         canon/libmnote-canon.la         \
24         olympus/libmnote-olympus.la     \
25         pentax/libmnote-pentax.la
26
27 libexifincludedir = $(includedir)/libexif
28 libexifinclude_HEADERS =        \
29         exif-byte-order.h       \
30         exif-content.h          \
31         exif-data.h             \
32         exif-entry.h            \
33         exif-format.h           \
34         exif-ifd.h              \
35         exif-loader.h           \
36         exif-log.h              \
37         exif-mem.h              \
38         exif-mnote-data.h       \
39         exif-tag.h              \
40         exif-utils.h            \
41         _stdint.h
42
43 pkgconfigdir = $(libdir)/pkgconfig
44 pkgconfig_DATA = libexif.pc
45 EXTRA_DIST = libexif.pc.in
46
47 DISTCLEANFILES = _stdint.h
48