Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Major update of build system
- depends of automake 1.11 - C99 - pic-only - more warning C flags - remove obscure checks - don't print directories - add libmodbus.pc to clean files - remove -Werror
- Loading branch information
Showing
5 changed files
with
74 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,7 @@ Makefile | |
Makefile.in | ||
/aclocal.m4 | ||
/autom4te.cache | ||
/build-aux | ||
/config.* | ||
/configure | ||
/depcomp | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
EXTRA_DIST = MIGRATION README.rst libmodbus.spec | ||
CLEANFILES = | ||
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} | ||
|
||
SUBDIRS = src doc tests | ||
AM_MAKEFLAGS = --no-print-directory | ||
|
||
pkgconfigdir = $(libdir)/pkgconfig | ||
pkgconfig_DATA = libmodbus.pc | ||
EXTRA_DIST += libmodbus.pc.in | ||
CLEANFILES += libmodbus.pc | ||
|
||
SUBDIRS = src doc tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Is there a specific reason for this
pkginclude_HEADERS
?It seems to be causing a duplicate install of
${includedir}/libmodbus/modbus.h
, also in${includedir}/modbus/modbus.h
fromlibmodbusinclude_HEADERS
I am not saying it is wrong, just looking to understand why pkg-config might need this, or why useful to have this header repeated in a different directory.