blob: a3328d56d88f7fcf570e34a30497acd2fd195a0f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
EXTRA_DIST =
# included by all *.c files containing translated string literals as
# libgphoto2/i18n.h
EXTRA_DIST += i18n.h
# dummy file needed by gtk-doc
EXTRA_DIST += gphoto2-library.c
lib_LTLIBRARIES = libgphoto2.la
libgphoto2_la_CFLAGS =
libgphoto2_la_CPPFLAGS =
libgphoto2_la_DEPENDENCIES =
libgphoto2_la_LDFLAGS =
libgphoto2_la_LIBADD =
libgphoto2_la_SOURCES =
libgphoto2_la_CPPFLAGS += -I$(top_srcdir)
libgphoto2_la_CPPFLAGS += -I$(top_builddir)
libgphoto2_la_CPPFLAGS += -I$(top_srcdir)/libgphoto2_port
libgphoto2_la_CPPFLAGS += -I$(top_builddir)/libgphoto2_port
libgphoto2_la_CPPFLAGS += $(AM_CPPFLAGS)
libgphoto2_la_LDFLAGS += -no-undefined
# Notes about the list of exported symbols:
# gp_* also contains internal symbols which are intended for
# INTERNAL USE ONLY and should be converted into gpi_* symbols
# gpi_* are for libgphoto2/camlib internal use only
# NEVER USE gpi_* in frontends!
# gp_* gphoto2 API, used in
# - frontends
# BE AWARE that NOT ALL gp_* FUNCTIONS ARE CONSIDERED PUBLIC.
#
# Yes, this is messy, but we are going to clean this up.
# Keep on using libgphoto2.sym until we actually have a libgphoto2.ver
# version script.
# EXTRA_DIST += libgphoto2.ver
EXTRA_DIST += libgphoto2.sym
# if HAVE_ASM_SYMVER
# libgphoto2_la_DEPENDENCIES += libgphoto2.ver
# libgphoto2_la_LDFLAGS += -Wl,--version-script=$(srcdir)/libgphoto2.ver
# else
libgphoto2_la_DEPENDENCIES += libgphoto2.sym
libgphoto2_la_LDFLAGS += -export-symbols $(srcdir)/libgphoto2.sym
# endif
libgphoto2_la_LDFLAGS += -version-info @LIBGPHOTO2_VERSION_INFO@
libgphoto2_la_LIBADD += $(top_builddir)/libgphoto2_port/libgphoto2_port/libgphoto2_port.la
# The libtool docs describe these params, but they don't build.
# "-dlopen" self \
# "-dlopen" $(top_builddir)/camlibs/canon/....la \
# "-dlopen" $(top_builddir)/camlibs/ptp2/....la
libgphoto2_la_CPPFLAGS += $(LTDLINCL)
libgphoto2_la_LIBADD += $(LIBLTDL)
libgphoto2_la_CPPFLAGS += $(LIBEXIF_CFLAGS)
libgphoto2_la_LIBADD += $(LIBEXIF_LIBS)
libgphoto2_la_LIBADD += -lm
libgphoto2_la_LIBADD += $(INTLLIBS)
libgphoto2_la_SOURCES += gphoto2-abilities-list.c
libgphoto2_la_SOURCES += ahd_bayer.c
libgphoto2_la_SOURCES += bayer.c
libgphoto2_la_SOURCES += bayer.h
libgphoto2_la_SOURCES += bayer-types.h
libgphoto2_la_SOURCES += gphoto2-camera.c
libgphoto2_la_SOURCES += gphoto2-context.c
libgphoto2_la_SOURCES += exif.c
libgphoto2_la_SOURCES += exif.h
libgphoto2_la_SOURCES += gphoto2-file.c
libgphoto2_la_SOURCES += gphoto2-filesys.c
libgphoto2_la_SOURCES += gamma.c
libgphoto2_la_SOURCES += gamma.h
libgphoto2_la_SOURCES += jpeg.c
libgphoto2_la_SOURCES += jpeg.h
libgphoto2_la_SOURCES += gphoto2-list.c
libgphoto2_la_SOURCES += gphoto2-result.c
libgphoto2_la_SOURCES += gphoto2-version.c
libgphoto2_la_SOURCES += gphoto2-setting.c
libgphoto2_la_SOURCES += gphoto2-widget.c
libgphoto2_la_DEPENDENCIES += $(top_srcdir)/gphoto2/gphoto2-version.h
|