2023-04-03 16:11:42 +00:00
|
|
|
GLOBAL_CXXFLAGS += -Wno-deprecated-declarations -Werror=switch
|
|
|
|
# Allow switch-enum to be overridden for files that do not support it, usually because of dependency headers.
|
|
|
|
ERROR_SWITCH_ENUM = -Werror=switch-enum
|
2014-02-07 16:15:00 +00:00
|
|
|
|
2024-06-03 17:59:53 +00:00
|
|
|
$(foreach i, config.h $(wildcard subprojects/lib*/*.hh) $(filter-out %_internal.h, $(wildcard subprojects/lib*c/*.h)), \
|
2015-06-09 09:14:36 +00:00
|
|
|
$(eval $(call install-file-in, $(i), $(includedir)/nix, 0644)))
|
2019-12-05 19:26:24 +00:00
|
|
|
|
2024-03-27 16:01:07 +00:00
|
|
|
ifdef HOST_UNIX
|
2024-06-03 17:59:53 +00:00
|
|
|
$(foreach i, $(wildcard subprojects/lib*/unix/*.hh), \
|
2024-03-27 16:01:07 +00:00
|
|
|
$(eval $(call install-file-in, $(i), $(includedir)/nix, 0644)))
|
|
|
|
endif
|
|
|
|
|
2024-06-03 17:59:53 +00:00
|
|
|
$(GCH): subprojects/libutil/util.hh config.h
|
2020-03-30 12:29:29 +00:00
|
|
|
|
2023-09-02 21:10:28 +00:00
|
|
|
GCH_CXXFLAGS = $(INCLUDE_libutil)
|