lix/src/nix-daemon/local.mk
2014-07-23 19:48:18 +02:00

16 lines
307 B
Makefile

programs += nix-daemon
nix-daemon_DIR := $(d)
nix-daemon_SOURCES := $(d)/nix-daemon.cc
nix-daemon_LIBS = libmain libstore libutil libformat
nix-daemon_LDFLAGS = -pthread
ifeq ($(OS), SunOS)
nix-daemon_LDFLAGS += -lsocket
endif
$(eval $(call install-symlink, nix-daemon, $(bindir)/nix-worker))