aboutsummaryrefslogtreecommitdiff
path: root/build/system/configuration-rules.make
blob: 0a4198bb01bb58d7e5c3e5c4c3b3c71638e95cea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# file      : build/system/configuration-rules.make
# author    : Boris Kolpackov <boris@codesynthesis.com>
# copyright : Copyright (c) 2004-2010 Code Synthesis Tools CC
# license   : GNU GPL v2; see accompanying LICENSE file


$(dcf_root)/system/configuration-dynamic.make: | $(dcf_root)/system/.
	$(call message,,$(bld_root)/system/configure $@)

ifeq ($(.DEFAULT_GOAL),$(dcf_root)/system/configuration-dynamic.make)
.DEFAULT_GOAL :=
endif

ifndef %foreign%

$(dcf_root)/.disfigure::
	$(call message,rm $(dcf_root)/system/configuration-dynamic.make,\
rm -f $(dcf_root)/system/configuration-dynamic.make)

ifeq ($(.DEFAULT_GOAL),$(dcf_root)/.disfigure)
.DEFAULT_GOAL :=
endif

endif