Debian Codegraph @

src/Makefile.am

raw
1 AM_CPPFLAGS = \
2 -I$(top_srcdir)/include \
3 -I$(top_srcdir)/3rd_party/libsrp6a-sha512 \
4 -I$(top_srcdir)/3rd_party/ed25519 \
5 -I$(top_srcdir)
6
7 AM_CFLAGS = \
8 $(GLOBAL_CFLAGS) \
9 $(ssl_lib_CFLAGS) \
10 $(LFS_CFLAGS) \
11 $(PTHREAD_CFLAGS) \
12 $(libusbmuxd_CFLAGS) \
13 $(libplist_CFLAGS) \
14 $(limd_glue_CFLAGS)
15
16 AM_LDFLAGS = \
17 $(ssl_lib_LIBS) \
18 $(PTHREAD_LIBS) \
19 $(libusbmuxd_LIBS) \
20 $(libplist_LIBS) \
21 $(limd_glue_LIBS)
22
23 lib_LTLIBRARIES = libimobiledevice-1.0.la
24 libimobiledevice_1_0_la_LIBADD = $(top_builddir)/common/libinternalcommon.la
25 if HAVE_WIRELESS_PAIRING
26 libimobiledevice_1_0_la_LIBADD += $(top_builddir)/3rd_party/ed25519/libed25519.la $(top_builddir)/3rd_party/libsrp6a-sha512/libsrp6a-sha512.la
27 endif
28 libimobiledevice_1_0_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBIMOBILEDEVICE_SO_VERSION) -no-undefined
29 if DARWIN
30 libimobiledevice_1_0_la_LDFLAGS += -framework CoreFoundation -framework SystemConfiguration
31 endif
32 libimobiledevice_1_0_la_SOURCES = \
33 idevice.c idevice.h \
34 service.c service.h \
35 property_list_service.c property_list_service.h \
36 device_link_service.c device_link_service.h \
37 lockdown.c lockdown.h \
38 lockdown-cu.c \
39 afc.c afc.h \
40 file_relay.c file_relay.h \
41 notification_proxy.c notification_proxy.h \
42 installation_proxy.c installation_proxy.h \
43 sbservices.c sbservices.h \
44 mobile_image_mounter.c mobile_image_mounter.h \
45 screenshotr.c screenshotr.h \
46 mobilesync.c mobilesync.h \
47 mobilebackup.c mobilebackup.h \
48 house_arrest.c house_arrest.h \
49 mobilebackup2.c mobilebackup2.h \
50 misagent.c misagent.h \
51 restore.c restore.h \
52 diagnostics_relay.c diagnostics_relay.h \
53 heartbeat.c heartbeat.h \
54 debugserver.c debugserver.h \
55 webinspector.c webinspector.h \
56 mobileactivation.c mobileactivation.h \
57 preboard.c preboard.h \
58 companion_proxy.c companion_proxy.h \
59 reverse_proxy.c reverse_proxy.h \
60 syslog_relay.c syslog_relay.h \
61 ostrace.c ostrace.h \
62 bt_packet_logger.c bt_packet_logger.h
63
64 if WIN32
65 libimobiledevice_1_0_la_LDFLAGS += -avoid-version -static-libgcc
66 libimobiledevice_1_0_la_LIBADD += -lole32 -lws2_32 -lgdi32
67 endif
68
69 pkgconfigdir = $(libdir)/pkgconfig
70 pkgconfig_DATA = libimobiledevice-1.0.pc