summaryrefslogtreecommitdiff
path: root/libgphoto2_port/libgphoto2_port/Makefile.am
blob: 967949843debabdb7436f6a3ab4f347924885018 (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
lib_LTLIBRARIES = libgphoto2_port.la

libgphoto2_port_la_CPPFLAGS = 		\
	-I$(top_srcdir)			\
	-I$(top_srcdir)/libgphoto2_port \
	$(AM_CPPFLAGS) $(CPPFLAGS)	\
	$(LTDLINCL)

# 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
#    gp_log_* is the gphoto2 logging API for use by
#             - libgphoto2_port and iolibs
#             - libgphoto2      and camlibs
#             - frontends (optional)
#    gp_system_* is a portable interface to a few filesystem functions
#             Used by
#             - libgphoto2_port and iolibs
#             - libgphoto2      and camlibs
#             - the gphoto2 frontend (NOT for other frontends)
#             Other frontends use their respective toolkit (glib, Qt, ...)
#    gp_port_* is the "real" gphoto2_port API for use by
#             - libgphoto2      and camlibs
#             - frontends
#
# Yes, this is messy, but we are going to clean this up.

libgphoto2_port_la_LDFLAGS = \
	-no-undefined \
	@VERSIONMAPLDFLAGS@ \
	-version-info @LIBGPHOTO2_PORT_VERSION_INFO@

libgphoto2_port_la_LIBADD = \
	$(LIBLTDL) 			\
	$(INTLLIBS)
# The libtool docs describe these params, but they don't build.
#	"-dlopen" self \
#	"-dlopen" $(top_builddir)/serial/....la \
#	"-dlopen" $(top_builddir)/usb/....la

libgphoto2_port_la_SOURCES =		\
	gphoto2-port-info-list.c	\
	gphoto2-port-info.h		\
	gphoto2-port-log.c		\
	gphoto2-port-version.c		\
	gphoto2-port.c 			\
	gphoto2-port-portability.c	\
	gphoto2-port-result.c

libgphoto2_port_la_DEPENDENCIES = \
	$(top_srcdir)/gphoto2/gphoto2-port-version.h		\
	$(top_srcdir)/gphoto2/gphoto2-port-library.h		\
	$(srcdir)/libgphoto2_port.ver

# Note: If you have problem with this file not being put into
#       the source tarball correctly at "make dist", this may
#       be the result of tar not creating archives with >99
#       characters of path length.
EXTRA_DIST = \
	libgphoto2_port.ver

EXTRA_DIST += i18n.h