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