]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Rearrange files into suitable subdirectories, e.g. src and doc
authorJoel Rosdahl <joel@rosdahl.net>
Wed, 7 Feb 2018 11:14:49 +0000 (12:14 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Wed, 7 Feb 2018 11:14:49 +0000 (12:14 +0100)
The top directory has become too crowded.

93 files changed:
LICENSE.txt
Makefile.in
configure.ac
dev.mk.in
doc/AUTHORS.txt [moved from AUTHORS.txt with 100% similarity]
doc/INSTALL-from-release-archive.md [moved from INSTALL-from-release-archive.md with 100% similarity]
doc/INSTALL.md [moved from INSTALL.md with 100% similarity]
doc/MANUAL.txt [moved from MANUAL.txt with 100% similarity]
doc/NEWS.txt [moved from NEWS.txt with 100% similarity]
misc/Dockerfile [moved from Dockerfile with 100% similarity]
misc/cppcheck-suppressions.txt [moved from cppcheck-suppressions.txt with 100% similarity]
misc/uncrustify.cfg [moved from uncrustify.cfg with 100% similarity]
perf/perf.py [moved from perf.py with 100% similarity]
src/args.c [moved from args.c with 100% similarity]
src/ccache.c [moved from ccache.c with 100% similarity]
src/ccache.h [moved from ccache.h with 100% similarity]
src/cleanup.c [moved from cleanup.c with 100% similarity]
src/compopt.c [moved from compopt.c with 100% similarity]
src/compopt.h [moved from compopt.h with 100% similarity]
src/conf.c [moved from conf.c with 100% similarity]
src/conf.h [moved from conf.h with 100% similarity]
src/confitems.gperf [moved from confitems.gperf with 100% similarity]
src/confitems_lookup.c [moved from confitems_lookup.c with 100% similarity]
src/counters.c [moved from counters.c with 100% similarity]
src/counters.h [moved from counters.h with 100% similarity]
src/envtoconfitems.gperf [moved from envtoconfitems.gperf with 100% similarity]
src/envtoconfitems_lookup.c [moved from envtoconfitems_lookup.c with 100% similarity]
src/execute.c [moved from execute.c with 100% similarity]
src/exitfn.c [moved from exitfn.c with 100% similarity]
src/getopt_long.c [moved from getopt_long.c with 100% similarity]
src/getopt_long.h [moved from getopt_long.h with 100% similarity]
src/hash.c [moved from hash.c with 100% similarity]
src/hashtable.c [moved from hashtable.c with 100% similarity]
src/hashtable.h [moved from hashtable.h with 100% similarity]
src/hashtable_itr.c [moved from hashtable_itr.c with 100% similarity]
src/hashtable_itr.h [moved from hashtable_itr.h with 100% similarity]
src/hashtable_private.h [moved from hashtable_private.h with 100% similarity]
src/hashutil.c [moved from hashutil.c with 100% similarity]
src/hashutil.h [moved from hashutil.h with 100% similarity]
src/language.c [moved from language.c with 100% similarity]
src/language.h [moved from language.h with 100% similarity]
src/lockfile.c [moved from lockfile.c with 100% similarity]
src/macroskip.h [moved from macroskip.h with 100% similarity]
src/main.c [moved from main.c with 100% similarity]
src/manifest.c [moved from manifest.c with 100% similarity]
src/manifest.h [moved from manifest.h with 100% similarity]
src/mdfour.c [moved from mdfour.c with 100% similarity]
src/mdfour.h [moved from mdfour.h with 100% similarity]
src/murmurhashneutral2.c [moved from murmurhashneutral2.c with 100% similarity]
src/murmurhashneutral2.h [moved from murmurhashneutral2.h with 100% similarity]
src/snprintf.c [moved from snprintf.c with 100% similarity]
src/stats.c [moved from stats.c with 100% similarity]
src/system.h [moved from system.h with 100% similarity]
src/unify.c [moved from unify.c with 100% similarity]
src/util.c [moved from util.c with 100% similarity]
src/zlib/README [moved from zlib/README with 100% similarity]
src/zlib/adler32.c [moved from zlib/adler32.c with 100% similarity]
src/zlib/crc32.c [moved from zlib/crc32.c with 100% similarity]
src/zlib/crc32.h [moved from zlib/crc32.h with 100% similarity]
src/zlib/deflate.c [moved from zlib/deflate.c with 100% similarity]
src/zlib/deflate.h [moved from zlib/deflate.h with 100% similarity]
src/zlib/gzclose.c [moved from zlib/gzclose.c with 100% similarity]
src/zlib/gzguts.h [moved from zlib/gzguts.h with 100% similarity]
src/zlib/gzlib.c [moved from zlib/gzlib.c with 100% similarity]
src/zlib/gzread.c [moved from zlib/gzread.c with 100% similarity]
src/zlib/gzwrite.c [moved from zlib/gzwrite.c with 100% similarity]
src/zlib/inffast.c [moved from zlib/inffast.c with 100% similarity]
src/zlib/inffast.h [moved from zlib/inffast.h with 100% similarity]
src/zlib/inffixed.h [moved from zlib/inffixed.h with 100% similarity]
src/zlib/inflate.c [moved from zlib/inflate.c with 100% similarity]
src/zlib/inflate.h [moved from zlib/inflate.h with 100% similarity]
src/zlib/inftrees.c [moved from zlib/inftrees.c with 100% similarity]
src/zlib/inftrees.h [moved from zlib/inftrees.h with 100% similarity]
src/zlib/trees.c [moved from zlib/trees.c with 100% similarity]
src/zlib/trees.h [moved from zlib/trees.h with 100% similarity]
src/zlib/zconf.h [moved from zlib/zconf.h with 100% similarity]
src/zlib/zlib.h [moved from zlib/zlib.h with 100% similarity]
src/zlib/zutil.c [moved from zlib/zutil.c with 100% similarity]
src/zlib/zutil.h [moved from zlib/zutil.h with 100% similarity]
unittest/framework.c
unittest/framework.h
unittest/main.c
unittest/test_args.c
unittest/test_argument_processing.c
unittest/test_compopt.c
unittest/test_conf.c
unittest/test_counters.c
unittest/test_hash.c
unittest/test_hashutil.c
unittest/test_lockfile.c
unittest/test_stats.c
unittest/test_util.c
unittest/util.c

index 316fb8121a9a168517ed817bfb3093fa9113e01e..73a45222558e7e01799719a4f142c680cf9f9a70 100644 (file)
@@ -52,8 +52,8 @@ the GPL: that is, if separated from the ccache sources, they may be usable
 under less restrictive terms.
 
 
-getopt_long.[hc]
-~~~~~~~~~~~~~~~~
+src/getopt_long.[hc]
+~~~~~~~~~~~~~~~~~~~~
 
 This implementation of `getopt_long()` was copied from
 http://www.postgresql.org[PostgreSQL] and has the following license text:
@@ -91,8 +91,8 @@ http://www.postgresql.org[PostgreSQL] and has the following license text:
 -------------------------------------------------------------------------------
 
 
-hashtable*.[hc]
-~~~~~~~~~~~~~~~
+src/hashtable*.[hc]
+~~~~~~~~~~~~~~~~~~~
 
 This code comes from http://www.cl.cam.ac.uk/~cwc22/hashtable/ with the
 following license:
@@ -413,15 +413,15 @@ This Autoconf M4 snippet comes from http://www.python.org[Python] 2.6's
 -------------------------------------------------------------------------------
 
 
-murmurhashneutral2.[hc]
-~~~~~~~~~~~~~~~~~~~~~~~
+src/murmurhashneutral2.[hc]
+~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 This fast hash implementation is released to the public domain by Austin
 Appleby. See http://murmurhash.googlepages.com.
 
 
-snprintf.c and m4/snprintf.m4
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+src/snprintf.c and m4/snprintf.m4
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 This implementation of `snprintf()` and similar functions was downloaded from
 http://www.jhweiss.de/software/snprintf.html and has the following license:
@@ -445,8 +445,8 @@ http://www.jhweiss.de/software/snprintf.html and has the following license:
 -------------------------------------------------------------------------------
 
 
-zlib/*.[hc]
-~~~~~~~~~~~
+src/zlib/*.[hc]
+~~~~~~~~~~~~~~~
 
 This is a bundled subset of zlib 1.2.8 from <http://zlib.net> with the
 following license:
index 7b218c35e067e0d1b97604b02e5fe14580a316b4..e414e875e9e0de2ebb8a021251e2bf1bf036324a 100644 (file)
@@ -20,38 +20,38 @@ LIBS = @LIBS@
 RANLIB = @RANLIB@
 
 all_cflags = $(CFLAGS)
-all_cppflags = @DEFS@ -DSYSCONFDIR=$(sysconfdir) -I. -I$(srcdir) $(CPPFLAGS)
+all_cppflags = @DEFS@ -DSYSCONFDIR=$(sysconfdir) -I. -I$(srcdir)/src $(CPPFLAGS)
 extra_libs = @extra_libs@
 
 non_3pp_sources = \
-    args.c \
-    ccache.c \
-    cleanup.c \
-    compopt.c \
-    conf.c \
-    counters.c \
-    execute.c \
-    exitfn.c \
-    hash.c \
-    hashutil.c \
-    language.c \
-    lockfile.c \
-    manifest.c \
-    mdfour.c \
-    stats.c \
-    unify.c \
-    util.c \
-    version.c
+    src/args.c \
+    src/ccache.c \
+    src/cleanup.c \
+    src/compopt.c \
+    src/conf.c \
+    src/counters.c \
+    src/execute.c \
+    src/exitfn.c \
+    src/hash.c \
+    src/hashutil.c \
+    src/language.c \
+    src/lockfile.c \
+    src/manifest.c \
+    src/mdfour.c \
+    src/stats.c \
+    src/unify.c \
+    src/util.c \
+    src/version.c
 3pp_sources = \
-    getopt_long.c \
-    hashtable.c \
-    hashtable_itr.c \
-    murmurhashneutral2.c \
-    snprintf.c
+    src/getopt_long.c \
+    src/hashtable.c \
+    src/hashtable_itr.c \
+    src/murmurhashneutral2.c \
+    src/snprintf.c
 base_sources = $(non_3pp_sources) $(3pp_sources)
 base_objs = $(base_sources:.c=.o)
 
-ccache_sources = main.c $(base_sources)
+ccache_sources = src/main.c $(base_sources)
 ccache_objs = $(ccache_sources:.c=.o)
 
 zlib_sources = \
@@ -98,7 +98,7 @@ zlib/libz.a: $(zlib_objs)
 
 .PHONY: perf
 perf: ccache$(EXEEXT)
-       $(srcdir)/perf.py --ccache ccache$(EXEEXT) $(CC) $(all_cppflags) $(all_cflags) $(srcdir)/ccache.c
+       $(srcdir)/perf/perf.py --ccache ccache$(EXEEXT) $(CC) $(all_cppflags) $(all_cflags) $(srcdir)/src/ccache.c
 
 .PHONY: test
 test: ccache$(EXEEXT) unittest/run$(EXEEXT)
index f24e1d6633cb809f11e736fd45478893788a7387..d055b9e419405bf77758d66d78231159c859920d 100644 (file)
@@ -119,7 +119,7 @@ else
 fi
 
 if test x${use_bundled_zlib} = xyes; then
-    CPPFLAGS="$CPPFLAGS -I\$(srcdir)/zlib"
+    CPPFLAGS="$CPPFLAGS -I\$(srcdir)/src/zlib"
     extra_libs="zlib/libz.a"
     mkdir -p zlib
 else
@@ -166,9 +166,9 @@ else
     AC_MSG_NOTICE(Developer mode disabled)
 fi
 
-if test ! -f $srcdir/version.c; then
+if test ! -f $srcdir/src/version.c; then
     AC_MSG_WARN(unable to determine ccache version)
-    echo "const char CCACHE_VERSION@<:@@:>@ = \"unknown\";" >version.c
+    echo "const char CCACHE_VERSION@<:@@:>@ = \"unknown\";" >src/version.c
 fi
 
 dnl Find test suite files.
@@ -185,7 +185,7 @@ cat config.h >>config.h.tmp
 echo '#endif' >>config.h.tmp
 mv config.h.tmp config.h
 
-mkdir -p .deps unittest
+mkdir -p .deps src unittest
 
 
 AC_MSG_NOTICE(now build ccache by running make)
index 6c348701efab6448bc871277d029f966c41a9513..81a41188057361ad0c4c3a472a4781f7169d7324 100644 (file)
--- a/dev.mk.in
+++ b/dev.mk.in
@@ -5,7 +5,7 @@ all_cppflags += -MD -MP -MF .deps/$(subst .._,,$(subst /,_,$<)).d
 
 ASCIIDOC = asciidoc
 CPPCHECK = cppcheck
-CPPCHECK_SUPPRESSIONS = cppcheck-suppressions.txt
+CPPCHECK_SUPPRESSIONS = misc/cppcheck-suppressions.txt
 SCAN_BUILD = scan-build
 DOCKER = docker
 GPERF = gperf
@@ -27,25 +27,25 @@ ifneq ($(shell uname), Darwin)
     dist_archives += ccache-$(version).tar.xz
 endif
 
-generated_docs = ccache.1 AUTHORS.html LICENSE.html MANUAL.html NEWS.html
+generated_docs = ccache.1 doc/AUTHORS.html LICENSE.html doc/MANUAL.html doc/NEWS.html
 built_dist_files = $(generated_docs)
 
 headers = \
-    ccache.h \
-    compopt.h \
-    conf.h \
-    counters.h \
-    getopt_long.h \
-    hashtable.h \
-    hashtable_itr.h \
-    hashtable_private.h \
-    hashutil.h \
-    language.h \
-    macroskip.h \
-    manifest.h \
-    mdfour.h \
-    murmurhashneutral2.h \
-    system.h \
+    src/ccache.h \
+    src/compopt.h \
+    src/conf.h \
+    src/counters.h \
+    src/getopt_long.h \
+    src/hashtable.h \
+    src/hashtable_itr.h \
+    src/hashtable_private.h \
+    src/hashutil.h \
+    src/language.h \
+    src/macroskip.h \
+    src/manifest.h \
+    src/mdfour.h \
+    src/murmurhashneutral2.h \
+    src/system.h \
     unittest/framework.h \
     unittest/suites.h \
     unittest/util.h
@@ -58,13 +58,10 @@ source_dist_files = \
     $(base_sources) \
     $(headers) \
     $(test_sources) \
-    AUTHORS.txt \
     CONTRIBUTING.md \
     GPL-3.0.txt \
     LICENSE.txt \
-    MANUAL.txt \
     Makefile.in \
-    NEWS.txt \
     README.md \
     autogen.sh \
     config.guess \
@@ -72,28 +69,31 @@ source_dist_files = \
     config.sub \
     configure \
     configure.ac \
-    confitems.gperf \
-    confitems_lookup.c \
     dev.mk.in \
-    envtoconfitems.gperf \
-    envtoconfitems_lookup.c \
+    doc/AUTHORS.txt \
+    doc/MANUAL.txt \
+    doc/NEWS.txt \
     install-sh \
     m4 \
-    main.c \
+    src/confitems.gperf \
+    src/confitems_lookup.c \
+    src/envtoconfitems.gperf \
+    src/envtoconfitems_lookup.c \
+    src/main.c \
+    src/zlib/*.c \
+    src/zlib/*.h \
     test/run \
-    test/suites/* \
-    zlib/*.c \
-    zlib/*.h
+    test/suites/*
 
 dist_files = \
     $(addprefix $(srcdir)/, $(source_dist_files)) \
     $(built_dist_files)
 
 uncrustify_exclude_files = \
-    getopt_long.c \
-    hashtable.c \
-    hashtable_itr.c \
-    snprintf.c
+    src/getopt_long.c \
+    src/hashtable.c \
+    src/hashtable_itr.c \
+    src/snprintf.c
 
 ifneq ($(shell sed 's/.*"\(.*\)".*/\1/' version.c 2>/dev/null),$(version))
   $(shell echo 'const char CCACHE_VERSION[] = "$(version)";' >version.c)
@@ -113,7 +113,7 @@ $(dist_archives): $(dist_files)
        mkdir $$dir && \
        (cd $(srcdir) && \
         rsync -r --relative $(source_dist_files) $$dir) && \
-       cp $(srcdir)/INSTALL-from-release-archive.md $$dir/INSTALL.md && \
+       cp $(srcdir)/doc/INSTALL-from-release-archive.md $$dir/INSTALL.md && \
        cp $(built_dist_files) $$dir && \
        echo "Remove this file to enable developer mode." >$$dir/dev_mode_disabled && \
        (cd $$tmpdir && \
@@ -147,7 +147,7 @@ docs: $(generated_docs)
 %.xml: %.txt
        $(ASCIIDOC) -a revnumber=$(version) -d manpage -b docbook $<
 
-ccache.1: MANUAL.xml
+ccache.1: doc/MANUAL.xml
        $(XSLTPROC) --nonet $(MANPAGE_XSL) $<
 
 .PHONY: check-syntax
@@ -158,11 +158,11 @@ check-syntax:
 cppcheck:
        $(CPPCHECK) --suppressions-list=$(CPPCHECK_SUPPRESSIONS) \
          --inline-suppr -q --enable=all --force \
-         $(non_3pp_sources) main.c $(test_sources)
+         $(non_3pp_sources) src/main.c $(test_sources)
 
 .PHONY: uncrustify
 uncrustify:
-       uncrustify -c uncrustify.cfg --no-backup --replace $(filter-out $(uncrustify_exclude_files), $(base_sources)) $(test_sources)
+       uncrustify -c misc/uncrustify.cfg --no-backup --replace $(filter-out $(uncrustify_exclude_files), $(base_sources)) $(test_sources)
 
 .PHONY: analyze
 analyze:
@@ -170,7 +170,7 @@ analyze:
        $(SCAN_BUILD) --use-cc=$(CC) --status-bugs $(MAKE) -B
 
 .PHONY: docker
-docker: Dockerfile
+docker: misc/Dockerfile
        $(DOCKER) build $(srcdir)
 
 -include .deps/*.d
similarity index 100%
rename from AUTHORS.txt
rename to doc/AUTHORS.txt
similarity index 100%
rename from INSTALL.md
rename to doc/INSTALL.md
similarity index 100%
rename from MANUAL.txt
rename to doc/MANUAL.txt
similarity index 100%
rename from NEWS.txt
rename to doc/NEWS.txt
similarity index 100%
rename from Dockerfile
rename to misc/Dockerfile
similarity index 100%
rename from uncrustify.cfg
rename to misc/uncrustify.cfg
similarity index 100%
rename from perf.py
rename to perf/perf.py
similarity index 100%
rename from args.c
rename to src/args.c
similarity index 100%
rename from ccache.c
rename to src/ccache.c
similarity index 100%
rename from ccache.h
rename to src/ccache.h
similarity index 100%
rename from cleanup.c
rename to src/cleanup.c
similarity index 100%
rename from compopt.c
rename to src/compopt.c
similarity index 100%
rename from compopt.h
rename to src/compopt.h
similarity index 100%
rename from conf.c
rename to src/conf.c
similarity index 100%
rename from conf.h
rename to src/conf.h
similarity index 100%
rename from confitems.gperf
rename to src/confitems.gperf
similarity index 100%
rename from confitems_lookup.c
rename to src/confitems_lookup.c
similarity index 100%
rename from counters.c
rename to src/counters.c
similarity index 100%
rename from counters.h
rename to src/counters.h
similarity index 100%
rename from execute.c
rename to src/execute.c
similarity index 100%
rename from exitfn.c
rename to src/exitfn.c
similarity index 100%
rename from getopt_long.c
rename to src/getopt_long.c
similarity index 100%
rename from getopt_long.h
rename to src/getopt_long.h
similarity index 100%
rename from hash.c
rename to src/hash.c
similarity index 100%
rename from hashtable.c
rename to src/hashtable.c
similarity index 100%
rename from hashtable.h
rename to src/hashtable.h
similarity index 100%
rename from hashtable_itr.c
rename to src/hashtable_itr.c
similarity index 100%
rename from hashtable_itr.h
rename to src/hashtable_itr.h
similarity index 100%
rename from hashtable_private.h
rename to src/hashtable_private.h
similarity index 100%
rename from hashutil.c
rename to src/hashutil.c
similarity index 100%
rename from hashutil.h
rename to src/hashutil.h
similarity index 100%
rename from language.c
rename to src/language.c
similarity index 100%
rename from language.h
rename to src/language.h
similarity index 100%
rename from lockfile.c
rename to src/lockfile.c
similarity index 100%
rename from macroskip.h
rename to src/macroskip.h
similarity index 100%
rename from main.c
rename to src/main.c
similarity index 100%
rename from manifest.c
rename to src/manifest.c
similarity index 100%
rename from manifest.h
rename to src/manifest.h
similarity index 100%
rename from mdfour.c
rename to src/mdfour.c
similarity index 100%
rename from mdfour.h
rename to src/mdfour.h
similarity index 100%
rename from snprintf.c
rename to src/snprintf.c
similarity index 100%
rename from stats.c
rename to src/stats.c
similarity index 100%
rename from system.h
rename to src/system.h
similarity index 100%
rename from unify.c
rename to src/unify.c
similarity index 100%
rename from util.c
rename to src/util.c
similarity index 100%
rename from zlib/README
rename to src/zlib/README
similarity index 100%
rename from zlib/adler32.c
rename to src/zlib/adler32.c
similarity index 100%
rename from zlib/crc32.c
rename to src/zlib/crc32.c
similarity index 100%
rename from zlib/crc32.h
rename to src/zlib/crc32.h
similarity index 100%
rename from zlib/deflate.c
rename to src/zlib/deflate.c
similarity index 100%
rename from zlib/deflate.h
rename to src/zlib/deflate.h
similarity index 100%
rename from zlib/gzclose.c
rename to src/zlib/gzclose.c
similarity index 100%
rename from zlib/gzguts.h
rename to src/zlib/gzguts.h
similarity index 100%
rename from zlib/gzlib.c
rename to src/zlib/gzlib.c
similarity index 100%
rename from zlib/gzread.c
rename to src/zlib/gzread.c
similarity index 100%
rename from zlib/gzwrite.c
rename to src/zlib/gzwrite.c
similarity index 100%
rename from zlib/inffast.c
rename to src/zlib/inffast.c
similarity index 100%
rename from zlib/inffast.h
rename to src/zlib/inffast.h
similarity index 100%
rename from zlib/inffixed.h
rename to src/zlib/inffixed.h
similarity index 100%
rename from zlib/inflate.c
rename to src/zlib/inflate.c
similarity index 100%
rename from zlib/inflate.h
rename to src/zlib/inflate.h
similarity index 100%
rename from zlib/inftrees.c
rename to src/zlib/inftrees.c
similarity index 100%
rename from zlib/inftrees.h
rename to src/zlib/inftrees.h
similarity index 100%
rename from zlib/trees.c
rename to src/zlib/trees.c
similarity index 100%
rename from zlib/trees.h
rename to src/zlib/trees.h
similarity index 100%
rename from zlib/zconf.h
rename to src/zlib/zconf.h
similarity index 100%
rename from zlib/zlib.h
rename to src/zlib/zlib.h
similarity index 100%
rename from zlib/zutil.c
rename to src/zlib/zutil.c
similarity index 100%
rename from zlib/zutil.h
rename to src/zlib/zutil.h
index ccaa7853ff32e759f85e1b761da51080d40ad445..404367a9a74f9542cb4500700461e8404cafcdae 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2010-2016 Joel Rosdahl
+// Copyright (C) 2010-2018 Joel Rosdahl
 //
 // This program is free software; you can redistribute it and/or modify it
 // under the terms of the GNU General Public License as published by the Free
@@ -14,7 +14,6 @@
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "../ccache.h"
 #include "framework.h"
 #include "util.h"
 
index d1aa6a715a5946ddbf4434f078ac89990d9df8d1..2f36c736ef1904071423fd7956016b4bdef609c7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2010-2016 Joel Rosdahl
+// Copyright (C) 2010-2018 Joel Rosdahl
 //
 // This program is free software; you can redistribute it and/or modify it
 // under the terms of the GNU General Public License as published by the Free
@@ -17,7 +17,7 @@
 #ifndef TEST_FRAMEWORK_H
 #define TEST_FRAMEWORK_H
 
-#include "../ccache.h"
+#include "../src/ccache.h"
 
 // ============================================================================
 
index 965ffeda64c35d302fe98e7a22563af3542c47d8..7b59788a68003b23e1cfb71942894e242b8ad56c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2010-2016 Joel Rosdahl
+// Copyright (C) 2010-2018 Joel Rosdahl
 //
 // This program is free software; you can redistribute it and/or modify it
 // under the terms of the GNU General Public License as published by the Free
@@ -18,7 +18,7 @@
 #ifdef HAVE_GETOPT_LONG
 #include <getopt.h>
 #else
-#include "../getopt_long.h"
+#include "../src/getopt_long.h"
 #endif
 
 // *INDENT-OFF* disable uncrustify
index 6b11dc4565e10b47317335ed8bf2c5ddbec461ed..9815f14f5ee68810100cd1ece75ad9a81aaf8109 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2010-2016 Joel Rosdahl
+// Copyright (C) 2010-2018 Joel Rosdahl
 //
 // This program is free software; you can redistribute it and/or modify it
 // under the terms of the GNU General Public License as published by the Free
@@ -16,7 +16,7 @@
 
 // This file contains tests for the functions operating on struct args.
 
-#include "../ccache.h"
+#include "../src/ccache.h"
 #include "framework.h"
 #include "util.h"
 
index 18ac0ffc98ae3cda8937daa61ac5461fcfef0e8b..bb49913b9cf4b4ab72582a8043e2e44af91493fa 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2010-2017 Joel Rosdahl
+// Copyright (C) 2010-2018 Joel Rosdahl
 //
 // This program is free software; you can redistribute it and/or modify it
 // under the terms of the GNU General Public License as published by the Free
@@ -16,8 +16,8 @@
 
 // This file contains tests for the processing of compiler arguments.
 
-#include "../ccache.h"
-#include "../conf.h"
+#include "../src/ccache.h"
+#include "../src/conf.h"
 #include "framework.h"
 #include "util.h"
 
index be345aa2c1ff18d9fc2aa7d18b375bc89cbbf604..2efda50213e8c0e29c689037c7495113c966732d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2010-2016 Joel Rosdahl
+// Copyright (C) 2010-2018 Joel Rosdahl
 //
 // This program is free software; you can redistribute it and/or modify it
 // under the terms of the GNU General Public License as published by the Free
@@ -16,8 +16,8 @@
 
 // This file contains tests for the compopt_* functions.
 
-#include "../ccache.h"
-#include "../compopt.h"
+#include "../src/ccache.h"
+#include "../src/compopt.h"
 #include "framework.h"
 
 TEST_SUITE(compopt)
index 96e73473200a208afdcb231046b8c32be63468c9..9f88133bc597cb22d7e5a90ec615f1cba2ed05d7 100644 (file)
@@ -14,7 +14,7 @@
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "../conf.h"
+#include "../src/conf.h"
 #include "framework.h"
 #include "util.h"
 
index 1705b7621e5a990a13b0e4bfefea97fd8db7a374..8ce4ab9c26fe1884865ab173cc6745be4ab64eac 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2010-2011 Joel Rosdahl
+// Copyright (C) 2010-2018 Joel Rosdahl
 //
 // This program is free software; you can redistribute it and/or modify it
 // under the terms of the GNU General Public License as published by the Free
@@ -14,8 +14,8 @@
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "../ccache.h"
-#include "../counters.h"
+#include "../src/ccache.h"
+#include "../src/counters.h"
 #include "framework.h"
 #include "util.h"
 
index 3fe3d6951163edf051c944bd36f2f9336597ecfa..674bca6fa338495a7b6df44f02cfb136e5436583 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2010-2016 Joel Rosdahl
+// Copyright (C) 2010-2018 Joel Rosdahl
 //
 // This program is free software; you can redistribute it and/or modify it
 // under the terms of the GNU General Public License as published by the Free
@@ -16,7 +16,7 @@
 
 // This file contains tests for functions in hash.c.
 
-#include "../ccache.h"
+#include "../src/ccache.h"
 #include "framework.h"
 
 TEST_SUITE(hash)
index 22930c96e9dbc60dcf9d57d80caff17e6ba9c2f1..dcbaa842aeff4e84b108a90428854649eab3ef01 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2010-2016 Joel Rosdahl
+// Copyright (C) 2010-2018 Joel Rosdahl
 //
 // This program is free software; you can redistribute it and/or modify it
 // under the terms of the GNU General Public License as published by the Free
@@ -16,8 +16,8 @@
 
 // This file contains tests for functions in hashutil.c.
 
-#include "../ccache.h"
-#include "../hashutil.h"
+#include "../src/ccache.h"
+#include "../src/hashutil.h"
 #include "framework.h"
 #include "util.h"
 
index cb7617683f12937b4ce5dcf8c8234d7971971d7c..98811c68f3bfb59bb4cf5cfae2dda2f8c4ed6c1a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2010-2016 Joel Rosdahl
+// Copyright (C) 2010-2018 Joel Rosdahl
 //
 // This program is free software; you can redistribute it and/or modify it
 // under the terms of the GNU General Public License as published by the Free
@@ -16,7 +16,7 @@
 
 // This file contains tests for functions in lockfile.c.
 
-#include "../ccache.h"
+#include "../src/ccache.h"
 #include "framework.h"
 #include "util.h"
 
index 2815b9e9be464aa15a0e66cc9daf0f0db7b982aa..73b39a0d64f2906fa46fb65d52efe785ee6aa425 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2010-2011 Joel Rosdahl
+// Copyright (C) 2010-2018 Joel Rosdahl
 //
 // This program is free software; you can redistribute it and/or modify it
 // under the terms of the GNU General Public License as published by the Free
@@ -16,8 +16,8 @@
 
 // This file contains tests for statistics handling.
 
-#include "../ccache.h"
-#include "../counters.h"
+#include "../src/ccache.h"
+#include "../src/counters.h"
 #include "framework.h"
 #include "util.h"
 
index b6c4c2eb8d2d6dcdc238bbf0944d17cbc1e15e8a..38b44191157298b9e630641b30d693818b33bbcc 100644 (file)
@@ -16,7 +16,7 @@
 
 // This file contains tests for functions in util.c.
 
-#include "../ccache.h"
+#include "../src/ccache.h"
 #include "framework.h"
 
 TEST_SUITE(util)
index 826eebdcbaa3abc86babaeaa6ac494ce3c15dded..1e52c525c45b49a7eee0f30d44433871120577a5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2010-2016 Joel Rosdahl
+// Copyright (C) 2010-2018 Joel Rosdahl
 //
 // This program is free software; you can redistribute it and/or modify it
 // under the terms of the GNU General Public License as published by the Free
@@ -14,7 +14,7 @@
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "../system.h"
+#include "../src/system.h"
 #include "util.h"
 
 #ifdef _WIN32