diff options
Diffstat (limited to 'nix/local.mk')
| -rw-r--r-- | nix/local.mk | 34 |
1 files changed, 6 insertions, 28 deletions
diff --git a/nix/local.mk b/nix/local.mk index 7c1b81e9a65..819131b5d44 100644 --- a/nix/local.mk +++ b/nix/local.mk | |||
| @@ -25,31 +25,10 @@ | |||
| 25 | BUILT_SOURCES += %D%/libstore/schema.sql.hh | 25 | BUILT_SOURCES += %D%/libstore/schema.sql.hh |
| 26 | CLEANFILES += %D%/libstore/schema.sql.hh | 26 | CLEANFILES += %D%/libstore/schema.sql.hh |
| 27 | 27 | ||
| 28 | noinst_LIBRARIES = libformat.a libutil.a libstore.a | 28 | noinst_LIBRARIES = libutil.a libstore.a |
| 29 | 29 | ||
| 30 | # Use '-std=c++11' for 'std::shared_ptr', 'auto', lambdas, and more. | 30 | # Use '-std=c++20' for 'std::shared_ptr', 'auto', lambdas, and more. |
| 31 | AM_CXXFLAGS = -Wall -std=c++11 | 31 | AM_CXXFLAGS = -Wall -std=c++20 |
| 32 | |||
| 33 | libformat_a_SOURCES = \ | ||
| 34 | %D%/boost/format/free_funcs.cc \ | ||
| 35 | %D%/boost/format/parsing.cc \ | ||
| 36 | %D%/boost/format/format_implementation.cc | ||
| 37 | |||
| 38 | libformat_headers = \ | ||
| 39 | %D%/boost/throw_exception.hpp \ | ||
| 40 | %D%/boost/format.hpp \ | ||
| 41 | %D%/boost/assert.hpp \ | ||
| 42 | %D%/boost/format/macros_default.hpp \ | ||
| 43 | %D%/boost/format/format_fwd.hpp \ | ||
| 44 | %D%/boost/format/format_class.hpp \ | ||
| 45 | %D%/boost/format/exceptions.hpp \ | ||
| 46 | %D%/boost/format/group.hpp \ | ||
| 47 | %D%/boost/format/feed_args.hpp \ | ||
| 48 | %D%/boost/format/internals_fwd.hpp \ | ||
| 49 | %D%/boost/format/internals.hpp | ||
| 50 | |||
| 51 | libformat_a_CPPFLAGS = \ | ||
| 52 | -I$(top_srcdir)/nix | ||
| 53 | 32 | ||
| 54 | libutil_a_SOURCES = \ | 33 | libutil_a_SOURCES = \ |
| 55 | %D%/libutil/archive.cc \ | 34 | %D%/libutil/archive.cc \ |
| @@ -73,7 +52,6 @@ libutil_headers = \ | |||
| 73 | libutil_a_CPPFLAGS = \ | 52 | libutil_a_CPPFLAGS = \ |
| 74 | -I$(top_builddir)/nix \ | 53 | -I$(top_builddir)/nix \ |
| 75 | -I$(top_srcdir)/%D%/libutil \ | 54 | -I$(top_srcdir)/%D%/libutil \ |
| 76 | $(libformat_a_CPPFLAGS) \ | ||
| 77 | $(LIBGCRYPT_CPPFLAGS) | 55 | $(LIBGCRYPT_CPPFLAGS) |
| 78 | 56 | ||
| 79 | libstore_a_SOURCES = \ | 57 | libstore_a_SOURCES = \ |
| @@ -131,7 +109,7 @@ guix_daemon_LDFLAGS = \ | |||
| 131 | $(LIBGCRYPT_LDFLAGS) | 109 | $(LIBGCRYPT_LDFLAGS) |
| 132 | 110 | ||
| 133 | guix_daemon_LDADD = \ | 111 | guix_daemon_LDADD = \ |
| 134 | libstore.a libutil.a libformat.a -lz \ | 112 | libstore.a libutil.a -lz \ |
| 135 | $(SQLITE3_LIBS) $(LIBGCRYPT_LIBS) | 113 | $(SQLITE3_LIBS) $(LIBGCRYPT_LIBS) |
| 136 | 114 | ||
| 137 | guix_daemon_headers = \ | 115 | guix_daemon_headers = \ |
| @@ -144,7 +122,7 @@ guix_daemon_LDADD += -lbz2 | |||
| 144 | endif HAVE_LIBBZ2 | 122 | endif HAVE_LIBBZ2 |
| 145 | 123 | ||
| 146 | noinst_HEADERS = \ | 124 | noinst_HEADERS = \ |
| 147 | $(libformat_headers) $(libutil_headers) $(libstore_headers) \ | 125 | $(libutil_headers) $(libstore_headers) \ |
| 148 | $(guix_daemon_headers) | 126 | $(guix_daemon_headers) |
| 149 | 127 | ||
| 150 | %D%/libstore/schema.sql.hh: guix/store/schema.sql | 128 | %D%/libstore/schema.sql.hh: guix/store/schema.sql |
