diff options
-rw-r--r-- | Makefile.am | 4 | ||||
-rw-r--r-- | configure.ac | 13 | ||||
-rw-r--r-- | include/librefop.h (renamed from include/libredundancyfileop.h) | 2 | ||||
-rw-r--r-- | lib/Makefile.am | 10 | ||||
-rw-r--r-- | lib/fileop.c | 2 | ||||
-rw-r--r-- | lib/libredundancyfileop.c | 2 | ||||
-rw-r--r-- | librefop.pc.in (renamed from libredundancyfileop.pc.in) | 6 |
7 files changed, 15 insertions, 24 deletions
diff --git a/Makefile.am b/Makefile.am index 2fbf961..5c70312 100644 --- a/Makefile.am +++ b/Makefile.am @@ -5,8 +5,8 @@ SUBDIRS += test endif pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = libredundancyfileop.pc +pkgconfig_DATA = librefop.pc -CLEANFILES = libredundancyfileop.pc +CLEANFILES = librefop.pc diff --git a/configure.ac b/configure.ac index f95ddd0..c30e796 100644 --- a/configure.ac +++ b/configure.ac @@ -1,11 +1,9 @@ AC_PREREQ([2.69]) -AC_INIT([exsample], [1.0]) +AC_INIT([librefop], [1.0]) AM_INIT_AUTOMAKE([foreign subdir-objects]) -#AC_CONFIG_SRCDIR([src/exsample.cpp]) - AC_CONFIG_HEADERS([include/config.h]) AC_CONFIG_MACRO_DIR([m4]) @@ -29,13 +27,6 @@ AC_ARG_ENABLE([test], [enable_test=no]) AM_CONDITIONAL([ENABLE_TEST], [test "$enable_test" = "yes"]) - -AC_ARG_ENABLE([printfdebug], - [AS_HELP_STRING([--enable-printfdebug], [Enable user printf debug (default is no)])], - [:], - [enable_printfdebug=no]) -AM_CONDITIONAL([ENABLE_PRINTFDEBUG], [test "$enable_printfdebug" = "yes"]) - # Checks for programs. AC_PROG_CC AC_PROG_CXX @@ -60,7 +51,7 @@ PKG_CHECK_MODULES([GMOCK_MAIN], [gmock_main], , enable_test=no) AC_CONFIG_FILES([ Makefile - libredundancyfileop.pc + librefop.pc lib/Makefile test/Makefile ]) diff --git a/include/libredundancyfileop.h b/include/librefop.h index 22d48d0..896494a 100644 --- a/include/libredundancyfileop.h +++ b/include/librefop.h @@ -1,7 +1,7 @@ /** * SPDX-License-Identifier: Apache-2.0 * - * @file libredundancyfileop.h + * @file librefop.h * @brief Interface header for the redundancy file operation library */ #ifndef LIBREDUNDANCY_FILEOP_H diff --git a/lib/Makefile.am b/lib/Makefile.am index f2f317c..9427bf7 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -1,21 +1,21 @@ AUTOMAKE_OPTIONS = foreign ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} -lib_LTLIBRARIES = libredundancyfileop.la +lib_LTLIBRARIES = librefop.la -libredundancyfileop_la_SOURCES = \ +librefop_la_SOURCES = \ fileop.c file-util.c \ static-configurator.c \ libredundancyfileop.c -libredundancyfileop_la_LBSADD = +librefop_la_LBSADD = -libredundancyfileop_la_CFLAGS = \ +librefop_la_CFLAGS = \ -g \ -I$(top_srcdir)/include \ -D_GNU_SOURCE -libredundancyfileop_la_LDFLAGS = \ +librefop_la_LDFLAGS = \ -export-symbols libredundancyfileop.sym -version-info 0:0:0 # configure option diff --git a/lib/fileop.c b/lib/fileop.c index c246bd7..c0f53a6 100644 --- a/lib/fileop.c +++ b/lib/fileop.c @@ -4,7 +4,7 @@ * @file fileop.c * @brief file operation functions */ -#include "libredundancyfileop.h" +#include "librefop.h" #include "fileop.h" #include "file-util.h" #include "static-configurator.h" diff --git a/lib/libredundancyfileop.c b/lib/libredundancyfileop.c index b49f4bd..ef792d1 100644 --- a/lib/libredundancyfileop.c +++ b/lib/libredundancyfileop.c @@ -4,7 +4,7 @@ * @file libredundancyfileop.c * @brief The redundancy file operation library */ -#include "libredundancyfileop.h" +#include "librefop.h" #include "fileop.h" #include <sys/types.h> diff --git a/libredundancyfileop.pc.in b/librefop.pc.in index 5f84ec8..5a3dc65 100644 --- a/libredundancyfileop.pc.in +++ b/librefop.pc.in @@ -3,9 +3,9 @@ exec_prefix=@exec_prefix@ libdir=@libdir@ includedir=@includedir@ -Name: libredundancyfileop +Name: librefop Description: Redundancy file operation library -Requires: +Requires: Version: 1.0 -Libs: -L${libdir} -lexsample +Libs: -L${libdir} -lrefop Cflags: -I${includedir} |