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}
13 libmodbus_la_SOURCES = \
20 modbus-rtu-private.h \
23 modbus-tcp-private.h \
26 libmodbus_la_LDFLAGS = -no-undefined \
27 -version-info $(LIBMODBUS_LT_VERSION_INFO)
30 libmodbus_la_LIBADD = -lwsock32
34 libmodbus_la_LIBADD = -lsocket
37 # Header files to install
38 libmodbusincludedir = $(includedir)/modbus
39 libmodbusinclude_HEADERS = modbus.h modbus-version.h modbus-rtu.h modbus-tcp.h
41 DISTCLEANFILES = modbus-version.h
42 EXTRA_DIST += modbus-version.h.in