1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 18:31:49 +02:00

Allow for ergnomically putting Unix-only files in subdirs by creating INLCUDE_$(pkg) vars

Separate platform-specific files will allow avoiding a lot of CPP.
This commit is contained in:
John Ericson 2023-09-02 17:10:28 -04:00
parent 4a61827d2d
commit 77205b2042
14 changed files with 33 additions and 19 deletions

View file

@ -23,10 +23,10 @@ libexpr-tests_EXTRA_INCLUDES = \
-I tests/unit/libexpr-support \
-I tests/unit/libstore-support \
-I tests/unit/libutil-support \
-I src/libexpr \
-I src/libfetchers \
-I src/libstore \
-I src/libutil
$(INCLUDE_libexpr) \
$(INCLUDE_libfetchers) \
$(INCLUDE_libstore) \
$(INCLUDE_libutil)
libexpr-tests_CXXFLAGS += $(libexpr-tests_EXTRA_INCLUDES)