diff options
author | Richard Braun <rbraun@sceen.net> | 2018-01-04 21:50:05 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2018-01-04 21:50:05 +0100 |
commit | b03224b9a82a4d46fd1e469821975f9a5295ed40 (patch) | |
tree | 7830e5dc6316f4d29abb3c27c8a7ef77684446df | |
parent | e7321910ca4d956b572a050d302a25df37ce06ab (diff) |
Move sources to new src/ directory
-rw-r--r-- | Makefile.am | 58 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | src/avltree.c (renamed from avltree.c) | 0 | ||||
-rw-r--r-- | src/avltree.h (renamed from avltree.h) | 0 | ||||
-rw-r--r-- | src/avltree_i.h (renamed from avltree_i.h) | 0 | ||||
-rw-r--r-- | src/bitmap.c (renamed from bitmap.c) | 0 | ||||
-rw-r--r-- | src/bitmap.h (renamed from bitmap.h) | 0 | ||||
-rw-r--r-- | src/bitmap_i.h (renamed from bitmap_i.h) | 0 | ||||
-rw-r--r-- | src/cbuf.c (renamed from cbuf.c) | 0 | ||||
-rw-r--r-- | src/cbuf.h (renamed from cbuf.h) | 0 | ||||
-rw-r--r-- | src/check.h (renamed from check.h) | 0 | ||||
-rw-r--r-- | src/cpu.h (renamed from cpu.h) | 0 | ||||
-rw-r--r-- | src/fmt.c (renamed from fmt.c) | 0 | ||||
-rw-r--r-- | src/fmt.h (renamed from fmt.h) | 0 | ||||
-rw-r--r-- | src/hash.h (renamed from hash.h) | 0 | ||||
-rw-r--r-- | src/hlist.h (renamed from hlist.h) | 0 | ||||
-rw-r--r-- | src/list.c (renamed from list.c) | 0 | ||||
-rw-r--r-- | src/list.h (renamed from list.h) | 0 | ||||
-rw-r--r-- | src/macros.h (renamed from macros.h) | 0 | ||||
-rw-r--r-- | src/plist.c (renamed from plist.c) | 0 | ||||
-rw-r--r-- | src/plist.h (renamed from plist.h) | 0 | ||||
-rw-r--r-- | src/rbtree.c (renamed from rbtree.c) | 0 | ||||
-rw-r--r-- | src/rbtree.h (renamed from rbtree.h) | 0 | ||||
-rw-r--r-- | src/rbtree_i.h (renamed from rbtree_i.h) | 0 | ||||
-rw-r--r-- | src/rdxtree.c (renamed from rdxtree.c) | 0 | ||||
-rw-r--r-- | src/rdxtree.h (renamed from rdxtree.h) | 0 | ||||
-rw-r--r-- | src/rdxtree_i.h (renamed from rdxtree_i.h) | 0 | ||||
-rw-r--r-- | src/shell.c (renamed from shell.c) | 0 | ||||
-rw-r--r-- | src/shell.h (renamed from shell.h) | 0 | ||||
-rw-r--r-- | src/slist.h (renamed from slist.h) | 0 | ||||
-rw-r--r-- | test/test_avltree.c | 8 | ||||
-rw-r--r-- | test/test_cbuf.c | 6 | ||||
-rw-r--r-- | test/test_fmt_sprintf.c | 6 | ||||
-rw-r--r-- | test/test_fmt_sscanf.c | 6 | ||||
-rw-r--r-- | test/test_hlist.c | 6 | ||||
-rw-r--r-- | test/test_plist.c | 4 | ||||
-rw-r--r-- | test/test_rbtree.c | 8 | ||||
-rw-r--r-- | test/test_rdxtree.c | 6 | ||||
-rw-r--r-- | test/test_shell.c | 4 | ||||
-rw-r--r-- | test/test_slist.c | 6 |
40 files changed, 60 insertions, 60 deletions
diff --git a/Makefile.am b/Makefile.am index 8586419..709b938 100644 --- a/Makefile.am +++ b/Makefile.am @@ -5,7 +5,7 @@ AM_CPPFLAGS = \ -pipe \ -std=gnu11 \ -imacros config.h \ - -I$(top_srcdir) + -I$(top_srcdir)/src AM_CFLAGS = \ -Wall \ @@ -15,34 +15,34 @@ AM_CFLAGS = \ lib_LTLIBRARIES = librbraun.la librbraun_la_SOURCES = \ - avltree.c \ - avltree.h \ - avltree_i.h \ - bitmap.c \ - bitmap.h \ - bitmap_i.h \ - cbuf.c \ - cbuf.h \ - check.h \ - cpu.h \ - fmt.c \ - fmt.h \ - hash.h \ - hlist.h \ - list.c \ - list.h \ - macros.h \ - plist.c \ - plist.h \ - rbtree.c \ - rbtree.h \ - rbtree_i.h \ - rdxtree.c \ - rdxtree.h \ - rdxtree_i.h \ - slist.h \ - shell.c \ - shell.h + src/avltree.c \ + src/avltree.h \ + src/avltree_i.h \ + src/bitmap.c \ + src/bitmap.h \ + src/bitmap_i.h \ + src/cbuf.c \ + src/cbuf.h \ + src/check.h \ + src/cpu.h \ + src/fmt.c \ + src/fmt.h \ + src/hash.h \ + src/hlist.h \ + src/list.c \ + src/list.h \ + src/macros.h \ + src/plist.c \ + src/plist.h \ + src/rbtree.c \ + src/rbtree.h \ + src/rbtree_i.h \ + src/rdxtree.c \ + src/rdxtree.h \ + src/rdxtree_i.h \ + src/slist.h \ + src/shell.c \ + src/shell.h librbraun_la_LIBADD = -lrt -lpthread diff --git a/configure.ac b/configure.ac index 21d7d83..3d1e737 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ AC_INIT([librbraun], [0.1], [rbraun@sceen.net], [librbraun]) -AC_CONFIG_SRCDIR([macros.h]) +AC_CONFIG_SRCDIR([src/macros.h]) AC_CONFIG_AUX_DIR([build-aux]) LT_INIT diff --git a/avltree.c b/src/avltree.c index 91839a5..91839a5 100644 --- a/avltree.c +++ b/src/avltree.c diff --git a/avltree.h b/src/avltree.h index ce6c49f..ce6c49f 100644 --- a/avltree.h +++ b/src/avltree.h diff --git a/avltree_i.h b/src/avltree_i.h index 37baa61..37baa61 100644 --- a/avltree_i.h +++ b/src/avltree_i.h diff --git a/bitmap_i.h b/src/bitmap_i.h index 2607141..2607141 100644 --- a/bitmap_i.h +++ b/src/bitmap_i.h diff --git a/rbtree_i.h b/src/rbtree_i.h index f794373..f794373 100644 --- a/rbtree_i.h +++ b/src/rbtree_i.h diff --git a/rdxtree.c b/src/rdxtree.c index 3df6ccb..3df6ccb 100644 --- a/rdxtree.c +++ b/src/rdxtree.c diff --git a/rdxtree.h b/src/rdxtree.h index 24e8c0a..24e8c0a 100644 --- a/rdxtree.h +++ b/src/rdxtree.h diff --git a/rdxtree_i.h b/src/rdxtree_i.h index 99b9f9c..99b9f9c 100644 --- a/rdxtree_i.h +++ b/src/rdxtree_i.h diff --git a/test/test_avltree.c b/test/test_avltree.c index 476c423..d5c5a9d 100644 --- a/test/test_avltree.c +++ b/test/test_avltree.c @@ -24,10 +24,10 @@ #include <stdlib.h> #include <string.h> -#include "../avltree.h" -#include "../check.h" -#include "../hash.h" -#include "../macros.h" +#include <avltree.h> +#include <check.h> +#include <hash.h> +#include <macros.h> #define SIZE 28 diff --git a/test/test_cbuf.c b/test/test_cbuf.c index 629157d..ae660e3 100644 --- a/test/test_cbuf.c +++ b/test/test_cbuf.c @@ -25,9 +25,9 @@ #include <stdlib.h> #include <string.h> -#include "../cbuf.h" -#include "../check.h" -#include "../macros.h" +#include <cbuf.h> +#include <check.h> +#include <macros.h> #define TEST_BUF_SIZE 1024 diff --git a/test/test_fmt_sprintf.c b/test/test_fmt_sprintf.c index e55f729..11dccd5 100644 --- a/test/test_fmt_sprintf.c +++ b/test/test_fmt_sprintf.c @@ -26,9 +26,9 @@ #pragma GCC diagnostic ignored "-Wformat" -#include "../check.h" -#include "../fmt.h" -#include "../macros.h" +#include <check.h> +#include <fmt.h> +#include <macros.h> #define TEST_SPRINTF(format, ...) \ MACRO_BEGIN \ diff --git a/test/test_fmt_sscanf.c b/test/test_fmt_sscanf.c index 986ca0b..3c16a56 100644 --- a/test/test_fmt_sscanf.c +++ b/test/test_fmt_sscanf.c @@ -26,9 +26,9 @@ #pragma GCC diagnostic ignored "-Wformat" -#include "../check.h" -#include "../fmt.h" -#include "../macros.h" +#include <check.h> +#include <fmt.h> +#include <macros.h> #define TEST_STR_SIZE 64 diff --git a/test/test_hlist.c b/test/test_hlist.c index 7ad32cc..0a7f5ae 100644 --- a/test/test_hlist.c +++ b/test/test_hlist.c @@ -24,9 +24,9 @@ #include <stdlib.h> #include <string.h> -#include "../check.h" -#include "../macros.h" -#include "../hlist.h" +#include <check.h> +#include <macros.h> +#include <hlist.h> struct obj { struct hlist_node node; diff --git a/test/test_plist.c b/test/test_plist.c index 5bdf843..1fea443 100644 --- a/test/test_plist.c +++ b/test/test_plist.c @@ -25,8 +25,8 @@ #include <stdlib.h> #include <string.h> -#include "../macros.h" -#include "../plist.h" +#include <macros.h> +#include <plist.h> struct obj { struct plist_node node; diff --git a/test/test_rbtree.c b/test/test_rbtree.c index aea0ebe..090d760 100644 --- a/test/test_rbtree.c +++ b/test/test_rbtree.c @@ -24,10 +24,10 @@ #include <stdlib.h> #include <string.h> -#include "../check.h" -#include "../hash.h" -#include "../macros.h" -#include "../rbtree.h" +#include <check.h> +#include <hash.h> +#include <macros.h> +#include <rbtree.h> #define SIZE 28 diff --git a/test/test_rdxtree.c b/test/test_rdxtree.c index dec72c3..261cd58 100644 --- a/test/test_rdxtree.c +++ b/test/test_rdxtree.c @@ -26,9 +26,9 @@ #define RDXTREE_ENABLE_NODE_CREATION_FAILURES -#include "../check.h" -#include "../macros.h" -#include "../rdxtree.c" +#include <check.h> +#include <macros.h> +#include <rdxtree.c> #define TITLE(str) printf("%s: %s\n", __func__, str) diff --git a/test/test_shell.c b/test/test_shell.c index 6ace094..4bcea4a 100644 --- a/test/test_shell.c +++ b/test/test_shell.c @@ -26,8 +26,8 @@ #include <termios.h> #include <unistd.h> -#include "../macros.h" -#include "../shell.h" +#include <macros.h> +#include <shell.h> static void test_exit(int argc, char *argv[]) diff --git a/test/test_slist.c b/test/test_slist.c index efa18c2..941c847 100644 --- a/test/test_slist.c +++ b/test/test_slist.c @@ -24,9 +24,9 @@ #include <stdlib.h> #include <string.h> -#include "../check.h" -#include "../macros.h" -#include "../slist.h" +#include <check.h> +#include <macros.h> +#include <slist.h> struct obj { struct slist_node node; |