2 pkginclude_HEADERS = modbus.h
3 lib_LTLIBRARIES = libmodbus.la
6 -include $(top_builddir)/config.h \
7 -DSYSCONFDIR=\""$(sysconfdir)"\" \
8 -DLIBEXECDIR=\""$(libexecdir)"\" \
11 AM_CFLAGS = ${my_CFLAGS}
17 libmodbus_la_SOURCES = \
24 modbus-rtu-private.h \
27 modbus-tcp-private.h \
30 libmodbus_la_LDFLAGS = $(AM_LDFLAGS) -no-undefined \
31 -version-info $(LIBMODBUS_LT_VERSION_INFO)
34 libmodbus_la_LIBADD = -lwsock32
38 libmodbus_la_LIBADD = -lsocket
41 # Header files to install
42 libmodbusincludedir = $(includedir)/modbus
43 libmodbusinclude_HEADERS = modbus.h modbus-version.h modbus-rtu.h modbus-tcp.h
45 DISTCLEANFILES = modbus-version.h
46 EXTRA_DIST += modbus-version.h.in