2006-09-04 15:12:24 +00:00
|
|
|
pkglib_LTLIBRARIES = libstore.la
|
2003-10-20 10:05:01 +00:00
|
|
|
|
2005-07-22 14:52:45 +00:00
|
|
|
libstore_la_SOURCES = \
|
2008-06-09 13:52:45 +00:00
|
|
|
store-api.cc local-store.cc remote-store.cc derivations.cc build.cc misc.cc \
|
2009-11-06 01:15:44 +00:00
|
|
|
globals.cc references.cc pathlocks.cc gc.cc \
|
2008-06-09 13:52:45 +00:00
|
|
|
optimise-store.cc
|
2006-09-04 22:41:36 +00:00
|
|
|
|
|
|
|
pkginclude_HEADERS = \
|
2008-06-09 13:52:45 +00:00
|
|
|
store-api.hh local-store.hh remote-store.hh derivations.hh misc.hh \
|
2009-11-06 01:15:44 +00:00
|
|
|
globals.hh references.hh pathlocks.hh \
|
2008-06-09 13:52:45 +00:00
|
|
|
worker-protocol.hh
|
2006-09-04 22:41:36 +00:00
|
|
|
|
2010-03-02 15:58:13 +00:00
|
|
|
libstore_la_LIBADD = ../libutil/libutil.la ../boost/format/libformat.la ${aterm_lib} ${sqlite_lib}
|
2006-05-12 11:47:45 +00:00
|
|
|
|
2010-05-12 22:13:09 +00:00
|
|
|
EXTRA_DIST = schema.sql
|
2003-10-20 10:05:01 +00:00
|
|
|
|
2003-12-01 14:36:50 +00:00
|
|
|
AM_CXXFLAGS = -Wall \
|
2010-05-12 22:13:09 +00:00
|
|
|
${sqlite_include} -I$(srcdir)/.. -I$(srcdir)/../libutil
|
2004-10-29 11:22:49 +00:00
|
|
|
|
2010-02-18 13:16:59 +00:00
|
|
|
local-store.lo: schema.sql.hh
|
|
|
|
|
|
|
|
%.sql.hh: %.sql
|
|
|
|
../bin2c/bin2c schema < $< > $@ || (rm $@ && exit 1)
|