aboutsummaryrefslogtreecommitdiff
path: root/src/libmain/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/libmain/Makefile.am')
-rw-r--r--src/libmain/Makefile.am12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/libmain/Makefile.am b/src/libmain/Makefile.am
new file mode 100644
index 000000000..aebb1286e
--- /dev/null
+++ b/src/libmain/Makefile.am
@@ -0,0 +1,12 @@
+noinst_LIBRARIES = libmain.a
+
+libmain_a_SOURCES = shared.cc
+
+AM_CXXFLAGS = \
+ -DNIX_STORE_DIR=\"$(prefix)/store\" \
+ -DNIX_DATA_DIR=\"$(datadir)\" \
+ -DNIX_STATE_DIR=\"$(localstatedir)/nix\" \
+ -DNIX_LOG_DIR=\"$(localstatedir)/log/nix\" \
+ -I.. -I../../externals/inst/include -I../libnix
+
+EXTRA_DIST = *.hh