summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
blob: 1c80ed615736fda85bce6d1fcc3fdb8c456d747b (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
AM_CPPFLAGS = \
	-I$(top_srcdir)/include \
	-I$(top_srcdir)/3rd_party/libsrp6a-sha512 \
	-I$(top_srcdir)/3rd_party/ed25519 \
	-I$(top_srcdir)

AM_CFLAGS = \
	$(GLOBAL_CFLAGS) \
	$(libusbmuxd_CFLAGS) \
	$(libplist_CFLAGS) \
	$(limd_glue_CFLAGS) \
	$(ssl_lib_CFLAGS) \
	$(LFS_CFLAGS) \
	$(PTHREAD_CFLAGS)

AM_LDFLAGS = \
	$(libusbmuxd_LIBS) \
	$(libplist_LIBS) \
	$(limd_glue_LIBS) \
	$(ssl_lib_LIBS) \
	$(PTHREAD_LIBS)

lib_LTLIBRARIES = libimobiledevice-1.0.la
libimobiledevice_1_0_la_LIBADD = $(top_builddir)/common/libinternalcommon.la
if HAVE_WIRELESS_PAIRING
libimobiledevice_1_0_la_LIBADD += $(top_builddir)/3rd_party/ed25519/libed25519.la $(top_builddir)/3rd_party/libsrp6a-sha512/libsrp6a-sha512.la
endif
libimobiledevice_1_0_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBIMOBILEDEVICE_SO_VERSION) -no-undefined
if DARWIN
libimobiledevice_1_0_la_LDFLAGS += -framework CoreFoundation -framework SystemConfiguration
endif
libimobiledevice_1_0_la_SOURCES = \
	idevice.c idevice.h \
	service.c service.h \
	property_list_service.c property_list_service.h \
	device_link_service.c device_link_service.h \
	lockdown.c lockdown.h \
	lockdown-cu.c \
	afc.c afc.h \
	file_relay.c file_relay.h \
	notification_proxy.c notification_proxy.h \
	installation_proxy.c installation_proxy.h \
	sbservices.c sbservices.h \
	mobile_image_mounter.c mobile_image_mounter.h \
	screenshotr.c screenshotr.h \
	mobilesync.c mobilesync.h \
	mobilebackup.c mobilebackup.h \
	house_arrest.c house_arrest.h \
	mobilebackup2.c mobilebackup2.h \
	misagent.c misagent.h \
	restore.c restore.h \
	diagnostics_relay.c diagnostics_relay.h \
	heartbeat.c heartbeat.h \
	debugserver.c debugserver.h \
	webinspector.c webinspector.h \
	mobileactivation.c mobileactivation.h \
	preboard.c preboard.h  \
	companion_proxy.c companion_proxy.h \
	reverse_proxy.c reverse_proxy.h \
	syslog_relay.c syslog_relay.h \
	bt_packet_logger.c bt_packet_logger.h

if WIN32
libimobiledevice_1_0_la_LDFLAGS += -avoid-version -static-libgcc
libimobiledevice_1_0_la_LIBADD += -lole32 -lws2_32 -lgdi32
endif

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libimobiledevice-1.0.pc