aboutsummaryrefslogtreecommitdiff
path: root/src/libmain/local.mk
blob: 5c7061863021c6521431eab606469d16b7b94ea4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
libraries += libmain

libmain_NAME = libnixmain

libmain_DIR := $(d)

libmain_SOURCES := $(wildcard $(d)/*.cc)

libmain_CXXFLAGS += -I src/libutil -I src/libstore

libmain_LDFLAGS += $(OPENSSL_LIBS)

libmain_LIBS = libstore libutil

libmain_ALLOW_UNDEFINED = 1

$(eval $(call install-file-in, $(buildprefix)$(d)/nix-main.pc, $(libdir)/pkgconfig, 0644))