about summary refs log blame commit diff
path: root/src/libstore/Makefile.am
blob: dbfc1474e8123fc30ea3ce1d67ddd8ecae73baca (plain) (tree)
1
2
3
4
5
6
7
8
9
                                
 
                       
                                                                               
                                               
                   

                      
                                                                      
                                         
                    
 
                                                                       

                                                     
 
                                                              
 
                     
                                                                         
 




                                                            
                                                                             
                                                                                                                  
pkglib_LTLIBRARIES = libstore.la

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

libstore_la_LIBADD = ../libutil/libutil.la ../boost/format/libformat.la

BUILT_SOURCES = derivations-ast.cc derivations-ast.hh

EXTRA_DIST = derivations-ast.def derivations-ast.cc schema.sql

AM_CXXFLAGS = -Wall \
 -I$(srcdir)/.. ${aterm_include} ${sqlite_include} -I$(srcdir)/../libutil

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