diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-05-12T11·47+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-05-12T11·47+0000 |
commit | b5988004d64d6c533e8bb09732a6f7cd4fb1194f (patch) | |
tree | b8768d77c2a3a3557436e22997c3128ed069fda7 /src/libstore | |
parent | 9d72bf8835f3012169aaa88ec608172d5a056b9e (diff) |
* Support for srcdir != builddir (NIX-41).
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/Makefile.am | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libstore/Makefile.am b/src/libstore/Makefile.am index 384f99b9ff28..c79830d8ae97 100644 --- a/src/libstore/Makefile.am +++ b/src/libstore/Makefile.am @@ -6,14 +6,14 @@ libstore_la_SOURCES = \ misc.cc misc.hh \ globals.cc globals.hh db.cc db.hh \ references.cc references.hh pathlocks.cc pathlocks.hh \ - gc.cc gc.hh derivations-ast.hh + gc.cc gc.hh + +BUILT_SOURCES = derivations-ast.cc derivations-ast.hh EXTRA_DIST = derivations-ast.def derivations-ast.cc AM_CXXFLAGS = -Wall \ - -I.. ${bdb_include} ${aterm_include} -I../libutil + -I$(srcdir)/.. ${bdb_include} ${aterm_include} -I$(srcdir)/../libutil derivations-ast.cc derivations-ast.hh: ../aterm-helper.pl derivations-ast.def - $(perl) ../aterm-helper.pl derivations-ast.hh derivations-ast.cc < derivations-ast.def - -derivations.cc store.cc: derivations-ast.hh \ No newline at end of file + $(perl) $(srcdir)/../aterm-helper.pl derivations-ast.hh derivations-ast.cc < $(srcdir)/derivations-ast.def |