blob: 71f218ca5031ff9f6b31aa3cf415d6945c481dea [file] [log] [blame]
AM_CPPFLAGS = -I$(top_srcdir)/include
AM_CFLAGS = $(GLOBAL_CFLAGS) $(libplist_CFLAGS)
AM_LDFLAGS = $(GLOBAL_LIBS) $(libpthread_LIBS) $(libplist_LIBS)
lib_LTLIBRARIES = libusbmuxd.la
libusbmuxd_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBUSBMUXD_SO_VERSION) -no-undefined
libusbmuxd_la_LIBADD =
libusbmuxd_la_SOURCES = \
collection.c collection.h \
sock_stuff.c sock_stuff.h \
libusbmuxd.c
if WIN32
libusbmuxd_la_LDFLAGS += -avoid-version
libusbmuxd_la_LIBADD += -lws2_32
endif