add exif-system.h header
[platform/upstream/libexif.git] / libexif / Makefile.am
1 EXTRA_DIST =
2
3 SUBDIRS = canon olympus pentax
4
5 lib_LTLIBRARIES = libexif.la
6
7 # The -no-undefined makes it possible to build DLLs for Windows,
8 # or shared libraries for Tru64 or AIX (according to the autobook
9 # chapter on "Portable Library Design"). It doesn't seem to hurt
10 # elsewhere, so we can leave it in.
11 libexif_la_LDFLAGS = \
12         -export-symbols $(srcdir)/libexif.sym \
13         -no-undefined -version-info @LIBEXIF_VERSION_INFO@
14 libexif_la_SOURCES =            \
15         exif-byte-order.c       \
16         exif-content.c          \
17         exif-data.c             \
18         exif-entry.c            \
19         exif-format.c           \
20         exif-ifd.c              \
21         exif-loader.c           \
22         exif-log.c              \
23         exif-mem.c              \
24         exif-mnote-data.c       \
25         exif-mnote-data-priv.h  \
26         exif-tag.c              \
27         exif-utils.c            \
28         i18n.h
29 libexif_la_DEPENDENCIES = \
30         $(srcdir)/libexif.sym \
31         canon/libmnote-canon.la         \
32         olympus/libmnote-olympus.la     \
33         pentax/libmnote-pentax.la
34 libexif_la_LIBADD =                     \
35         $(MATHLIBS)                     \
36         $(LTLIBINTL)                    \
37         canon/libmnote-canon.la         \
38         olympus/libmnote-olympus.la     \
39         pentax/libmnote-pentax.la
40
41 canon/libmnote-canon.la:
42         cd canon && $(MAKE) libmnote-canon.la
43
44 olympus/libmnote-olympus.la:
45         cd olympus && $(MAKE) libmnote-olympus.la
46
47 pentax/libmnote-pentax.la:
48         cd pentax && $(MAKE) libmnote-pentax.la
49
50 libexifincludedir = $(includedir)/libexif
51 libexifinclude_HEADERS =        \
52         exif-byte-order.h       \
53         exif-content.h          \
54         exif-data.h             \
55         exif-data-type.h \
56         exif-entry.h            \
57         exif-format.h           \
58         exif-ifd.h              \
59         exif-loader.h           \
60         exif-log.h              \
61         exif-mem.h              \
62         exif-mnote-data.h       \
63         exif-tag.h              \
64         exif-utils.h            \
65         _stdint.h
66
67 EXTRA_DIST += exif-system.h
68
69 EXTRA_DIST += libexif.sym
70
71 DISTCLEANFILES = _stdint.h
72