mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-12-03 02:46:16 +02:00
77205b2042
Separate platform-specific files will allow avoiding a lot of CPP.
15 lines
442 B
Makefile
15 lines
442 B
Makefile
libraries += libcmd
|
|
|
|
libcmd_NAME = libnixcmd
|
|
|
|
libcmd_DIR := $(d)
|
|
|
|
libcmd_SOURCES := $(wildcard $(d)/*.cc)
|
|
|
|
libcmd_CXXFLAGS += $(INCLUDE_libutil) $(INCLUDE_libstore) $(INCLUDE_libfetchers) $(INCLUDE_libexpr) -I src/libmain
|
|
|
|
libcmd_LDFLAGS = $(EDITLINE_LIBS) $(LOWDOWN_LIBS) $(THREAD_LDFLAGS)
|
|
|
|
libcmd_LIBS = libstore libutil libexpr libmain libfetchers
|
|
|
|
$(eval $(call install-file-in, $(buildprefix)$(d)/nix-cmd.pc, $(libdir)/pkgconfig, 0644))
|