mirror of
https://github.com/NixOS/nix
synced 2025-06-27 16:51:15 +02:00
Add unix (and linux) dirs
In the Nix commit, platform-specific sources will go here.
This commit is contained in:
parent
290be6c906
commit
852391765d
9 changed files with 50 additions and 6 deletions
|
@ -5,6 +5,9 @@ libstore_NAME = libnixstore
|
|||
libstore_DIR := $(d)
|
||||
|
||||
libstore_SOURCES := $(wildcard $(d)/*.cc $(d)/builtins/*.cc $(d)/build/*.cc)
|
||||
ifdef HOST_UNIX
|
||||
libstore_SOURCES += $(wildcard $(d)/unix/*.cc)
|
||||
endif
|
||||
|
||||
libstore_LIBS = libutil
|
||||
|
||||
|
@ -30,6 +33,9 @@ endif
|
|||
# Not just for this library itself, but also for downstream libraries using this library
|
||||
|
||||
INCLUDE_libstore := -I $(d) -I $(d)/build
|
||||
ifdef HOST_UNIX
|
||||
INCLUDE_libstore += -I $(d)/unix
|
||||
endif
|
||||
|
||||
libstore_CXXFLAGS += \
|
||||
$(INCLUDE_libutil) $(INCLUDE_libstore) $(INCLUDE_libstore) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue