summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2021-06-07 02:01:35 +0200
committerGravatar Nikias Bassen2021-06-07 03:41:07 +0200
commit046b26150e004a8ac740e699c6c3e11be29e8f11 (patch)
tree8f59597463dccd81ca180a87668e53864c4b09ae /src/Makefile.am
downloadlibimobiledevice-glue-046b26150e004a8ac740e699c6c3e11be29e8f11.tar.gz
libimobiledevice-glue-046b26150e004a8ac740e699c6c3e11be29e8f11.tar.bz2
Initial check-in of sources
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
new file mode 100644
index 0000000..2856eab
--- /dev/null
+++ b/src/Makefile.am
@@ -0,0 +1,23 @@
+AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)
+
+AM_CFLAGS = $(GLOBAL_CFLAGS) $(PTHREAD_CFLAGS) $(libplist_CFLAGS)
+
+AM_LDFLAGS = $(PTHREAD_LIBS) $(libplist_LIBS)
+
+lib_LTLIBRARIES = libimobiledevice-glue-1.0.la
+libimobiledevice_glue_1_0_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBIMOBILEDEVICE_GLUE_SO_VERSION) -no-undefined
+libimobiledevice_glue_1_0_la_LIBADD =
+libimobiledevice_glue_1_0_la_SOURCES = \
+ socket.c \
+ thread.c \
+ utils.c \
+ collection.c \
+ common.h
+
+if WIN32
+libimobiledevice_glue_1_0_la_LDFLAGS += -avoid-version -static-libgcc
+libimobiledevice_glue_1_0_la_LIBADD += -lws2_32 -lIphlpapi
+endif
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = libimobiledevice-glue-1.0.pc