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