aboutsummaryrefslogtreecommitdiff
path: root/local.mk
blob: d254c10fe9b4edfb4beb2f19247c219426eccafb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
ifeq ($(MAKECMDGOALS), dist)
  dist-files += $(shell cat .dist-files)
endif

dist-files += configure config.h.in perl/configure

clean-files += Makefile.config

GLOBAL_CXXFLAGS += -Wno-deprecated-declarations

$(foreach i, config.h $(call rwildcard, src/lib*, *.hh), \
  $(eval $(call install-file-in, $(i), $(includedir)/nix, 0644)))

$(GCH) $(PCH): src/libutil/util.hh config.h

GCH_CXXFLAGS = -I src/libutil