2 lib_LTLIBRARIES = libmodbus.la
5 -include $(top_builddir)/config.h \
6 -DSYSCONFDIR=\""$(sysconfdir)"\" \
7 -DLIBEXECDIR=\""$(libexecdir)"\" \
10 AM_CFLAGS = ${WARNING_CFLAGS}
12 libmodbus_la_SOURCES = \
19 modbus-rtu-private.h \
22 modbus-tcp-private.h \
25 libmodbus_la_LDFLAGS = -no-undefined \
26 -version-info $(LIBMODBUS_LT_VERSION_INFO)
29 libmodbus_la_LIBADD = -lwsock32
33 libmodbus_la_LIBADD = -lsocket
36 # Header files to install
37 libmodbusincludedir = $(includedir)/modbus
38 libmodbusinclude_HEADERS = modbus.h modbus-version.h modbus-rtu.h modbus-tcp.h
40 DISTCLEANFILES = modbus-version.h
41 EXTRA_DIST += modbus-version.h.in