forked from gphoto/libgphoto2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
93 lines (71 loc) · 2.59 KB
/
Makefile.am
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
########################################################################
# Usage instructions
########################################################################
# If you only want to build a single iolib (say usb.la), run
# gmake usb.la
# or make usb.la
#
# If you only want to install a single iolib or two, run
# make IOLIB_LTLIST="usb.la ptpip.la" install-iolibLTLIBRARIES
########################################################################
CLEANFILES =
EXTRA_DIST =
EXTRA_LTLIBRARIES =
udevscript_PROGRAMS =
## These two definitions look obsolete:
## Specify some includes and versioning
#AM_CPPFLAGS = -I@srcdir@ $(VERSION_FLAGS)
#VERSION_FLAGS = -DLIBGPPORT_VERSION=\"@LIBGPPORT_VERSION@\" -DHAVE_TERMIOS_H
## Executable files
bin_SCRIPTS = gphoto2-port-config
# The . stands for the current dir, i.e. the iolibs to build.
SUBDIRS = po libgphoto2_port test . doc gphoto-m4
########################################################################
# All iolibs are defined as EXTRA_LTLIBRARIES. This requires that
# all iolibs have -rpath set explicitly in foobar_la_LDFLAGS.
# You're probably best off by using the iolib_* variables defined
# below.
iolib_LTLIBRARIES = $(IOLIB_LTLIST)
########################################################################
# Define the compile/link/etc. flags common to all iolibs in one place,
# i.e. here.
iolib_dependencies = $(top_srcdir)/iolib.sym
iolib_ldflags = -module -no-undefined -avoid-version \
-export-dynamic \
-export-symbols $(top_srcdir)/iolib.sym \
-rpath '$(iolibdir)'
iolib_libadd = $(top_builddir)/libgphoto2_port/libgphoto2_port.la
AM_CPPFLAGS += -I$(top_srcdir)
include disk/Makefile-files
include ptpip/Makefile-files
include serial/Makefile-files
include usb/Makefile-files
include libusb1/Makefile-files
include usbdiskdirect/Makefile-files
include usbscsi/Makefile-files
include vusb/Makefile-files
########################################################################
# Miscellaneous stuff
EXTRA_DIST += \
AUTHORS \
ChangeLog \
COPYING.LIB \
NEWS \
README \
iolib.sym \
gphoto2-port-config.in
doc_DATA = AUTHORS README NEWS
ACLOCAL_AMFLAGS = -I auto-m4 -I gphoto-m4
EXTRA_DIST += libgphoto2_port.pc.in
pkgconfig_DATA = libgphoto2_port.pc
EXTRA_DIST += libgphoto2_port-uninstalled.pc.in
noinst_DATA = libgphoto2_port-uninstalled.pc
# ship headers
nobase_include_HEADERS = \
gphoto2/gphoto2-port.h \
gphoto2/gphoto2-port-info-list.h \
gphoto2/gphoto2-port-log.h \
gphoto2/gphoto2-port-version.h \
gphoto2/gphoto2-port-portability.h \
gphoto2/gphoto2-port-result.h
EXTRA_DIST += gphoto2/gphoto2-port-library.h