new place for *.pc.in
[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 = \
10         -export-symbols $(srcdir)/libexif.sym \
11         -no-undefined -version-info @LIBEXIF_VERSION_INFO@
12 libexif_la_SOURCES =            \
13         exif-byte-order.c       \
14         exif-content.c          \
15         exif-data.c             \
16         exif-entry.c            \
17         exif-format.c           \
18         exif-ifd.c              \
19         exif-loader.c           \
20         exif-log.c              \
21         exif-mem.c              \
22         exif-mnote-data.c       \
23         exif-mnote-data-priv.h  \
24         exif-tag.c              \
25         exif-utils.c            \
26         i18n.h
27 libexif_la_DEPENDENCIES = \
28         $(srcdir)/libexif.sym \
29         canon/libmnote-canon.la         \
30         olympus/libmnote-olympus.la     \
31         pentax/libmnote-pentax.la
32 libexif_la_LIBADD =                     \
33         $(MATHLIBS)                     \
34         $(LTLIBINTL)                    \
35         canon/libmnote-canon.la         \
36         olympus/libmnote-olympus.la     \
37         pentax/libmnote-pentax.la
38
39 canon/libmnote-canon.la:
40         cd canon && $(MAKE) libmnote-canon.la
41
42 olympus/libmnote-olympus.la:
43         cd olympus && $(MAKE) libmnote-olympus.la
44
45 pentax/libmnote-pentax.la:
46         cd pentax && $(MAKE) libmnote-pentax.la
47
48 libexifincludedir = $(includedir)/libexif
49 libexifinclude_HEADERS =        \
50         exif-byte-order.h       \
51         exif-content.h          \
52         exif-data.h             \
53         exif-data-type.h \
54         exif-entry.h            \
55         exif-format.h           \
56         exif-ifd.h              \
57         exif-loader.h           \
58         exif-log.h              \
59         exif-mem.h              \
60         exif-mnote-data.h       \
61         exif-tag.h              \
62         exif-utils.h            \
63         _stdint.h
64
65 EXTRA_DIST = libexif.sym
66
67 DISTCLEANFILES = _stdint.h
68