gnu: Remove duplicated ghc-th-lift-instances.
[jackhill/guix/guix.git] / Makefile.am
index 38bd54c..b4cd07e 100644 (file)
@@ -11,6 +11,7 @@
 # Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
 # Copyright © 2018 Nils Gillmann <ng0@n0.is>
 # Copyright © 2018 Julien Lepiller <julien@lepiller.eu>
+# Copyright © 2018 Oleg Pykhalov <go.wigust@gmail.com>
 #
 # This file is part of GNU Guix.
 #
@@ -84,6 +85,7 @@ MODULES =                                     \
   guix/nar.scm                                 \
   guix/derivations.scm                         \
   guix/grafts.scm                              \
+  guix/inferior.scm                            \
   guix/gnu-maintenance.scm                     \
   guix/self.scm                                        \
   guix/upstream.scm                            \
@@ -109,6 +111,7 @@ MODULES =                                   \
   guix/build-system/asdf.scm                   \
   guix/build-system/glib-or-gtk.scm            \
   guix/build-system/gnu.scm                    \
+  guix/build-system/guile.scm                  \
   guix/build-system/haskell.scm                        \
   guix/build-system/perl.scm                   \
   guix/build-system/python.scm                 \
@@ -147,6 +150,7 @@ MODULES =                                   \
   guix/build/glib-or-gtk-build-system.scm      \
   guix/build/gnu-build-system.scm              \
   guix/build/gnu-dist.scm                      \
+  guix/build/guile-build-system.scm            \
   guix/build/perl-build-system.scm             \
   guix/build/python-build-system.scm           \
   guix/build/ocaml-build-system.scm            \
@@ -199,6 +203,7 @@ MODULES =                                   \
   guix/scripts/substitute.scm                  \
   guix/scripts/authenticate.scm                        \
   guix/scripts/refresh.scm                     \
+  guix/scripts/repl.scm                                \
   guix/scripts/system.scm                      \
   guix/scripts/system/search.scm               \
   guix/scripts/lint.scm                                \
@@ -230,11 +235,13 @@ MODULES +=                                        \
   guix/import/github.scm                       \
   guix/import/gnome.scm                                \
   guix/import/json.scm                         \
+  guix/import/opam.scm                         \
   guix/import/pypi.scm                         \
   guix/import/stackage.scm                     \
   guix/scripts/import/crate.scm                        \
   guix/scripts/import/gem.scm                  \
   guix/scripts/import/json.scm                 \
+  guix/scripts/import/opam.scm                 \
   guix/scripts/import/pypi.scm                 \
   guix/scripts/import/stackage.scm             \
   guix/scripts/weather.scm
@@ -257,15 +264,23 @@ MODULES +=                                        \
 
 endif BUILD_DAEMON_OFFLOAD
 
+# Scheme implementation of the build daemon and related functionality.
+STORE_MODULES =                                        \
+  guix/store/database.scm                      \
+  guix/store/deduplication.scm
+
+MODULES += $(STORE_MODULES)
+
 # Internal modules with test suite support.
 dist_noinst_DATA = guix/tests.scm guix/tests/http.scm
 
 # Auxiliary files for packages.
 AUX_FILES =                                            \
   gnu/packages/aux-files/emacs/guix-emacs.el           \
-  gnu/packages/aux-files/linux-libre/4.16-arm.conf     \
-  gnu/packages/aux-files/linux-libre/4.16-i686.conf    \
-  gnu/packages/aux-files/linux-libre/4.16-x86_64.conf  \
+  gnu/packages/aux-files/linux-libre/4.17-arm.conf     \
+  gnu/packages/aux-files/linux-libre/4.17-arm64.conf   \
+  gnu/packages/aux-files/linux-libre/4.17-i686.conf    \
+  gnu/packages/aux-files/linux-libre/4.17-x86_64.conf  \
   gnu/packages/aux-files/linux-libre/4.14-arm.conf     \
   gnu/packages/aux-files/linux-libre/4.14-i686.conf    \
   gnu/packages/aux-files/linux-libre/4.14-x86_64.conf  \
@@ -273,8 +288,6 @@ AUX_FILES =                                         \
   gnu/packages/aux-files/linux-libre/4.9-x86_64.conf   \
   gnu/packages/aux-files/linux-libre/4.4-i686.conf     \
   gnu/packages/aux-files/linux-libre/4.4-x86_64.conf   \
-  gnu/packages/aux-files/linux-libre/4.1-i686.conf     \
-  gnu/packages/aux-files/linux-libre/4.1-x86_64.conf   \
   gnu/packages/aux-files/run-in-namespace.c
 
 # Templates, examples.
@@ -288,6 +301,7 @@ EXAMPLES =                                  \
 GOBJECTS = $(MODULES:%.scm=%.go) guix/config.go $(dist_noinst_DATA:%.scm=%.go)
 
 nobase_dist_guilemodule_DATA =                                 \
+  guix/store/schema.sql                                                \
   $(MODULES) $(MODULES_NOT_COMPILED) $(AUX_FILES) $(EXAMPLES)  \
   $(MISC_DISTRO_FILES)
 nobase_nodist_guilemodule_DATA = guix/config.scm
@@ -347,6 +361,7 @@ SCM_TESTS =                                 \
   tests/profiles.scm                           \
   tests/search-paths.scm                       \
   tests/syscalls.scm                           \
+  tests/inferior.scm                           \
   tests/gremlin.scm                            \
   tests/bournish.scm                           \
   tests/lint.scm                               \
@@ -366,12 +381,15 @@ SCM_TESTS =                                       \
   tests/scripts-build.scm                      \
   tests/containers.scm                         \
   tests/pack.scm                               \
-  tests/import-utils.scm
+  tests/import-utils.scm                       \
+  tests/store-database.scm                     \
+  tests/store-deduplication.scm
 
 if HAVE_GUILE_JSON
 
 SCM_TESTS +=                                   \
   tests/pypi.scm                               \
+  tests/opam.scm                               \
   tests/cpan.scm                               \
   tests/gem.scm                                        \
   tests/crate.scm
@@ -394,13 +412,6 @@ SH_TESTS =                                 \
   tests/guix-graph.sh                          \
   tests/guix-lint.sh
 
-if BUILD_DAEMON
-
-SH_TESTS += tests/guix-register.sh
-
-endif BUILD_DAEMON
-
-
 TESTS = $(SCM_TESTS) $(SH_TESTS)
 
 AM_TESTS_ENVIRONMENT = abs_top_srcdir="$(abs_top_srcdir)" GUILE_AUTO_COMPILE=0
@@ -450,7 +461,8 @@ dist_pkgdata_DATA =                         \
   berlin.guixsd.org.pub
 
 # Bash completion file.
-dist_bashcompletion_DATA = etc/completion/bash/guix
+dist_bashcompletion_DATA = etc/completion/bash/guix    \
+  etc/completion/bash/guix-daemon
 
 # Zsh completion file.
 dist_zshcompletion_DATA = etc/completion/zsh/_guix
@@ -488,8 +500,6 @@ EXTRA_DIST +=                                               \
   build-aux/run-system-tests.scm                       \
   d3.v3.js                                             \
   graph.js                                             \
-  srfi/srfi-64.scm                                     \
-  srfi/srfi-64.upstream.scm                            \
   tests/test.drv                                       \
   tests/signing-key.pub                                        \
   tests/signing-key.sec                                        \