nix-super/src/libstore/Makefile.am

30 lines
972 B
Text
Raw Normal View History

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