mirror of
https://github.com/NixOS/nix
synced 2025-07-08 06:53:54 +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
local.mk
5
local.mk
|
@ -5,6 +5,11 @@ ERROR_SWITCH_ENUM = -Werror=switch-enum
|
|||
$(foreach i, config.h $(wildcard src/lib*/*.hh), \
|
||||
$(eval $(call install-file-in, $(i), $(includedir)/nix, 0644)))
|
||||
|
||||
ifdef HOST_UNIX
|
||||
$(foreach i, $(wildcard src/lib*/unix/*.hh), \
|
||||
$(eval $(call install-file-in, $(i), $(includedir)/nix, 0644)))
|
||||
endif
|
||||
|
||||
$(GCH): src/libutil/util.hh config.h
|
||||
|
||||
GCH_CXXFLAGS = $(INCLUDE_libutil)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue