aboutsummaryrefslogtreecommitdiff
path: root/src/nix-daemon/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix-daemon/Makefile.am')
-rw-r--r--src/nix-daemon/Makefile.am12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/nix-daemon/Makefile.am b/src/nix-daemon/Makefile.am
new file mode 100644
index 000000000..b8e9f4a06
--- /dev/null
+++ b/src/nix-daemon/Makefile.am
@@ -0,0 +1,12 @@
+bin_PROGRAMS = nix-daemon
+
+nix_daemon_SOURCES = nix-daemon.cc
+nix_daemon_LDADD = ../libmain/libmain.la ../libstore/libstore.la ../libutil/libutil.la \
+ ../boost/format/libformat.la
+
+AM_CXXFLAGS = \
+ -I$(srcdir)/.. -I$(srcdir)/../libutil \
+ -I$(srcdir)/../libstore -I$(srcdir)/../libmain
+
+install-exec-local:
+ ln -sf nix-daemon $(DESTDIR)$(bindir)/nix-worker