1 # Makeconfig fragment for glibc ports add-on.
3 # These rules make sure that sysdeps/CPU/preconfigure changes are noticed.
4 # preconfigure fragments can be written by hand, or they can be generated
5 # from preconfigure.in by autoconf like sysdeps/.../configure.in files.
7 # Figure out the name of this add-on. The ports add-on infrastructure
8 # scripts can be copied into separate add-on packages by any name.
9 ports-sysdeps = $(..)$(Makeconfig-add-on)/sysdeps
11 $(common-objpfx)config.status: $(wildcard $(ports-sysdeps)/*/preconfigure)
13 ifneq ($(AUTOCONF),no)
15 ifeq ($(with-cvs),yes)
16 define autoconf-it-cvs
17 test ! -d CVS || cvs $(CVSOPTS) commit -m'Regenerated: autoconf $(ACFLAGS) $<' $@
25 $(AUTOCONF) $(ACFLAGS) $< > $@.new
31 $(..)ports/sysdeps/%/preconfigure: $(..)ports/sysdeps/%/preconfigure.in \
35 endif # $(AUTOCONF) = no
37 # This allows e.g. `make ports/dist' from a build directory.
40 $(MAKE) $(PARALLELMFLAGS) -C $(@D) $(@F)