summaryrefslogtreecommitdiff
path: root/libgphoto2/Makefile.am
blob: 5fb87493c7f1b960226f3db50f5e2f7cbe8b32be (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
INCLUDES =						\
	-I$(top_srcdir)					\
	-I$(top_srcdir)/intl				\
	-I$(top_srcdir)/libgphoto2_port/libgphoto2_port	\
	-DLOCALEDIR=\"$(datadir)/locale\"		\
	-DCAMLIBS=\"$(camlibdir)\"			\
	$(EXIF_CFLAGS)

lib_LTLIBRARIES = libgphoto2.la

libgphoto2_la_LDFLAGS = -version-info @LIBGPHOTO2_VERSION_INFO@

libgphoto2_la_SOURCES = 	\
	gphoto2-abilities-list.c\
	bayer.c bayer.h		\
	gphoto2-camera.c	\
	gphoto2-context.c	\
	exif.c exif.h		\
	gphoto2-file.c		\
	gphoto2-filesys.c	\
	gamma.c gamma.h		\
	jpeg.c jpeg.h		\
	gphoto2-list.c		\
	pattrec.c pattrec.h	\
	gphoto2-result.c	\
	gphoto2-version.c	\
	gphoto2-version.h	\
	gphoto2-setting.c	\
	gphoto2-widget.c
libgphoto2_la_LIBADD =					\
	$(top_builddir)/libgphoto2_port/libgphoto2_port/libgphoto2_port.la\
	$(LTDL_LIBS)					\
	$(EXIF_LIBS)					\
	-lm $(INTLLIBS)

libgphoto2includedir = $(includedir)/gphoto2
libgphoto2include_HEADERS =	\
	gphoto2.h		\
	gphoto2-abilities-list.h\
	gphoto2-camera.h	\
	gphoto2-context.h	\
	gphoto2-file.h		\
	gphoto2-filesys.h	\
	gphoto2-library.h	\
	gphoto2-list.h		\
	gphoto2-result.h	\
	gphoto2-setting.h	\
	gphoto2-version.h	\
	gphoto2-widget.h

pkgconfig_DATA = libgphoto2.pc

EXTRA_DIST = libgphoto2.pc.in gphoto2-library.c