diff options
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | Makefile.am | 5 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | controller.c | 4 | ||||
-rw-r--r-- | decoder.c | 4 | ||||
-rw-r--r-- | exception.c | 4 | ||||
-rw-r--r-- | libsigrokdecode-internal.h (renamed from sigrokdecode-internal.h) | 6 | ||||
-rw-r--r-- | libsigrokdecode.h.in (renamed from sigrokdecode.h.in) | 2 | ||||
-rw-r--r-- | log.c | 4 | ||||
-rw-r--r-- | module_sigrokdecode.c | 4 | ||||
-rw-r--r-- | type_decoder.c | 4 | ||||
-rw-r--r-- | type_logic.c | 2 | ||||
-rw-r--r-- | util.c | 4 | ||||
-rw-r--r-- | version.c | 2 |
14 files changed, 25 insertions, 24 deletions
@@ -17,7 +17,7 @@ map missing stamp-h1 autostuff/ -sigrokdecode.h +libsigrokdecode.h ChangeLog INSTALL diff --git a/Makefile.am b/Makefile.am index e6f2ced..d3f91b8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -31,8 +31,9 @@ libsigrokdecode_la_CPPFLAGS = $(CPPFLAGS_PYTHON) \ -DDECODERS_DIR='"$(DECODERS_DIR)"' libsigrokdecode_la_LDFLAGS = $(SRD_LIB_LDFLAGS) $(LDFLAGS_PYTHON) -include_HEADERS = sigrokdecode.h -noinst_HEADERS = sigrokdecode-internal.h +library_includedir = $(includedir)/libsigrokdecode +library_include_HEADERS = libsigrokdecode.h +noinst_HEADERS = libsigrokdecode-internal.h pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libsigrokdecode.pc diff --git a/configure.ac b/configure.ac index 5431835..3ed527f 100644 --- a/configure.ac +++ b/configure.ac @@ -148,7 +148,7 @@ AC_SUBST(SRD_PACKAGE_VERSION_MICRO) AC_SUBST(SRD_PACKAGE_VERSION) AC_CONFIG_FILES([Makefile - sigrokdecode.h + libsigrokdecode.h libsigrokdecode.pc contrib/Makefile decoders/Makefile diff --git a/controller.c b/controller.c index e023b71..c9825b9 100644 --- a/controller.c +++ b/controller.c @@ -18,8 +18,8 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include "sigrokdecode.h" /* First, so we avoid a _POSIX_C_SOURCE warning. */ -#include "sigrokdecode-internal.h" +#include "libsigrokdecode.h" /* First, so we avoid a _POSIX_C_SOURCE warning. */ +#include "libsigrokdecode-internal.h" #include "config.h" #include <glib.h> #include <inttypes.h> @@ -19,8 +19,8 @@ */ #include "config.h" -#include "sigrokdecode.h" /* First, so we avoid a _POSIX_C_SOURCE warning. */ -#include "sigrokdecode-internal.h" +#include "libsigrokdecode.h" /* First, so we avoid a _POSIX_C_SOURCE warning. */ +#include "libsigrokdecode-internal.h" #include <glib.h> /** diff --git a/exception.c b/exception.c index cd9d2b2..1ce66a8 100644 --- a/exception.c +++ b/exception.c @@ -17,8 +17,8 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include "sigrokdecode.h" /* First, so we avoid a _POSIX_C_SOURCE warning. */ -#include "sigrokdecode-internal.h" +#include "libsigrokdecode.h" /* First, so we avoid a _POSIX_C_SOURCE warning. */ +#include "libsigrokdecode-internal.h" #include "config.h" #include <stdarg.h> #include <glib.h> diff --git a/sigrokdecode-internal.h b/libsigrokdecode-internal.h index b969356..718f11e 100644 --- a/sigrokdecode-internal.h +++ b/libsigrokdecode-internal.h @@ -19,10 +19,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef LIBSIGROKDECODE_SIGROKDECODE_INTERNAL_H -#define LIBSIGROKDECODE_SIGROKDECODE_INTERNAL_H +#ifndef LIBSIGROKDECODE_LIBSIGROKDECODE_INTERNAL_H +#define LIBSIGROKDECODE_LIBSIGROKDECODE_INTERNAL_H -#include "sigrokdecode.h" +#include "libsigrokdecode.h" /*--- controller.c ----------------------------------------------------------*/ diff --git a/sigrokdecode.h.in b/libsigrokdecode.h.in index 7aac0ba..877aeb1 100644 --- a/sigrokdecode.h.in +++ b/libsigrokdecode.h.in @@ -42,7 +42,7 @@ extern "C" { * The correct way to get/use the libsigrokdecode API functions is: * * @code{.c} - * #include <sigrokdecode.h> + * #include <libsigrokdecode/libsigrokdecode.h> * @endcode */ @@ -18,8 +18,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#include "sigrokdecode.h" /* First, so we avoid a _POSIX_C_SOURCE warning. */ -#include "sigrokdecode-internal.h" +#include "libsigrokdecode.h" /* First, so we avoid a _POSIX_C_SOURCE warning. */ +#include "libsigrokdecode-internal.h" #include <stdarg.h> #include <stdio.h> diff --git a/module_sigrokdecode.c b/module_sigrokdecode.c index 557ad1a..f88a6e9 100644 --- a/module_sigrokdecode.c +++ b/module_sigrokdecode.c @@ -17,8 +17,8 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include "sigrokdecode.h" /* First, so we avoid a _POSIX_C_SOURCE warning. */ -#include "sigrokdecode-internal.h" +#include "libsigrokdecode.h" /* First, so we avoid a _POSIX_C_SOURCE warning. */ +#include "libsigrokdecode-internal.h" #include "config.h" /** @cond PRIVATE */ diff --git a/type_decoder.c b/type_decoder.c index 1de3b0e..16675bc 100644 --- a/type_decoder.c +++ b/type_decoder.c @@ -17,8 +17,8 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include "sigrokdecode.h" /* First, so we avoid a _POSIX_C_SOURCE warning. */ -#include "sigrokdecode-internal.h" +#include "libsigrokdecode.h" /* First, so we avoid a _POSIX_C_SOURCE warning. */ +#include "libsigrokdecode-internal.h" #include "config.h" #include <inttypes.h> diff --git a/type_logic.c b/type_logic.c index 6f266aa..9f2b392 100644 --- a/type_logic.c +++ b/type_logic.c @@ -17,7 +17,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include "sigrokdecode.h" /* First, so we avoid a _POSIX_C_SOURCE warning. */ +#include "libsigrokdecode.h" /* First, so we avoid a _POSIX_C_SOURCE warning. */ #include "config.h" #include <inttypes.h> #include <string.h> @@ -18,8 +18,8 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include "sigrokdecode.h" /* First, so we avoid a _POSIX_C_SOURCE warning. */ -#include "sigrokdecode-internal.h" +#include "libsigrokdecode.h" /* First, so we avoid a _POSIX_C_SOURCE warning. */ +#include "libsigrokdecode-internal.h" #include "config.h" /** @@ -18,7 +18,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#include "sigrokdecode.h" +#include "libsigrokdecode.h" /** * @file |