From 305450ad5fc9d8027a35a67f3136d81e4ecf74e2 Mon Sep 17 00:00:00 2001 From: Chow Loong Jin Date: Fri, 3 Oct 2014 13:24:19 +0200 Subject: Move socket and collection functions to a convenience library This avoids the iproxy tool from relying on undocumented library ABI. --- common/Makefile.am | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 common/Makefile.am (limited to 'common/Makefile.am') diff --git a/common/Makefile.am b/common/Makefile.am new file mode 100644 index 0000000..8acf04b --- /dev/null +++ b/common/Makefile.am @@ -0,0 +1,14 @@ +AM_CFLAGS = $(GLOBAL_CFLAGS) + +noinst_LTLIBRARIES = libinternalcommon.la + +libinternalcommon_la_LIBADD = +libinternalcommon_la_SOURCES = \ + socket.c \ + collection.c \ + socket.h \ + collection.h + +if WIN32 +libinternalcommon_la_LIBADD += -lws2_32 +endif -- cgit v1.1-32-gdbae