2023-04-03 19:11:42 +03: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 18:15:00 +02:00
|
|
|
|
2023-08-07 18:16:58 +03:00
|
|
|
$(foreach i, config.h $(wildcard src/lib*/*.hh) $(wildcard src/lib*/*.h $(filter-out %_internal.h, $(wildcard src/lib*/c/*.h))), \
|
2015-06-09 12:14:36 +03:00
|
|
|
$(eval $(call install-file-in, $(i), $(includedir)/nix, 0644)))
|
2019-12-05 21:26:24 +02:00
|
|
|
|
2020-10-06 14:27:09 +03:00
|
|
|
$(GCH): src/libutil/util.hh config.h
|
2020-03-30 15:29:29 +03:00
|
|
|
|
2023-09-03 00:10:28 +03:00
|
|
|
GCH_CXXFLAGS = $(INCLUDE_libutil)
|