2006-09-04 17:12:24 +02:00
|
|
|
pkglib_LTLIBRARIES = libstore.la
|
2003-10-20 12:05:01 +02:00
|
|
|
|
2005-07-22 16:52:45 +02:00
|
|
|
libstore_la_SOURCES = \
|
2008-06-09 15:52:45 +02:00
|
|
|
store-api.cc local-store.cc remote-store.cc derivations.cc build.cc misc.cc \
|
2009-11-06 02:15:44 +01:00
|
|
|
globals.cc references.cc pathlocks.cc gc.cc \
|
2008-06-09 15:52:45 +02:00
|
|
|
optimise-store.cc
|
2006-09-05 00:41:36 +02:00
|
|
|
|
|
|
|
pkginclude_HEADERS = \
|
2008-06-09 15:52:45 +02:00
|
|
|
store-api.hh local-store.hh remote-store.hh derivations.hh misc.hh \
|
2009-11-06 02:15:44 +01:00
|
|
|
globals.hh references.hh pathlocks.hh \
|
2008-06-09 15:52:45 +02:00
|
|
|
worker-protocol.hh
|
2006-09-05 00:41:36 +02:00
|
|
|
|
2012-05-30 16:12:29 +02:00
|
|
|
libstore_la_LIBADD = ../libutil/libutil.la ../boost/format/libformat.la @SQLITE3_LIBS@ -lbz2
|
2006-05-12 13:47:45 +02:00
|
|
|
|
2010-05-13 00:13:09 +02:00
|
|
|
EXTRA_DIST = schema.sql
|
2003-10-20 12:05:01 +02:00
|
|
|
|
2003-12-01 15:36:50 +01:00
|
|
|
AM_CXXFLAGS = -Wall \
|
2012-03-18 23:54:57 +01:00
|
|
|
-I$(srcdir)/.. -I$(srcdir)/../libutil \
|
2011-11-22 18:28:41 +01:00
|
|
|
-DNIX_STORE_DIR=\"$(storedir)\" \
|
|
|
|
-DNIX_DATA_DIR=\"$(datadir)\" \
|
|
|
|
-DNIX_STATE_DIR=\"$(localstatedir)/nix\" \
|
|
|
|
-DNIX_LOG_DIR=\"$(localstatedir)/log/nix\" \
|
|
|
|
-DNIX_CONF_DIR=\"$(sysconfdir)/nix\" \
|
|
|
|
-DNIX_LIBEXEC_DIR=\"$(libexecdir)\" \
|
|
|
|
-DNIX_BIN_DIR=\"$(bindir)\" \
|
|
|
|
-I$(srcdir)/.. -I$(srcdir)/../libutil \
|
|
|
|
-I$(srcdir)/../libstore
|
2004-10-29 13:22:49 +02:00
|
|
|
|
2010-02-18 14:16:59 +01:00
|
|
|
local-store.lo: schema.sql.hh
|
|
|
|
|
|
|
|
%.sql.hh: %.sql
|
2012-10-04 15:46:10 +02:00
|
|
|
sed -e 's/"/\\"/g' -e 's/\(.*\)/"\1\\n"/' < $< > $@ || (rm $@ && exit 1)
|