about summary refs log tree commit diff
path: root/src/nix-daemon/local.mk
blob: bab84e7addbc54b4a9fb3f9efed0ee54cd020a7f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
programs += nix-daemon

nix-daemon_DIR := $(d)

nix-daemon_SOURCES := $(d)/nix-daemon.cc

nix-daemon_LIBS = libmain libstore libutil libformat

ifeq ($(OS), SunOS)
        nix-daemon_LDFLAGS += -lsocket
endif

$(eval $(call install-symlink, nix-daemon, $(bindir)/nix-worker))