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

                                                    
 

                             



                                      
                                                                 
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))