lix/src/libcmd/local.mk

16 lines
408 B
Makefile
Raw Normal View History

libraries += libcmd
libcmd_NAME = libnixcmd
libcmd_DIR := $(d)
libcmd_SOURCES := $(wildcard $(d)/*.cc)
2021-04-28 21:50:11 +00:00
libcmd_CXXFLAGS += -I src/libutil -I src/libstore -I src/libexpr -I src/libmain -I src/libfetchers -I src/nix
2022-02-05 00:40:06 +00:00
libcmd_LDFLAGS = $(EDITLINE_LIBS) -llowdown -pthread
2022-04-29 17:35:50 +00:00
libcmd_LIBS = libstore libutil libexpr libmain libfetchers
$(eval $(call install-file-in, $(d)/nix-cmd.pc, $(libdir)/pkgconfig, 0644))