glibc/Makeconfig
Roland McGrath 717de822dc 2004-08-04 Roland McGrath <roland@frob.com>
New directory implementing glibc add-on infrastructure for
	ports maintained separate from the core glibc source tree.
	* README, configure.in, Makeconfig, Banner, ChangeLog: New files.
	* configure: New generated file.
2004-08-05 03:46:43 +00:00

36 lines
988 B
Plaintext

# Makeconfig fragment for glibc ports add-on.
# These rules make sure that sysdeps/CPU/preconfigure changes are noticed.
# preconfigure fragments can be written by hand, or they can be generated
# from preconfigure.in by autoconf like sysdeps/.../configure.in files.
# Figure out the name of this add-on. The ports add-on infrastructure
# scripts can be copied into separate add-on packages by any name.
ports-sysdeps = $(..)$(Makeconfig-add-on)/sysdeps
$(common-objpfx)config.status: $(wildcard $(ports-sysdeps)/*/preconfigure)
ifneq ($(AUTOCONF),no)
ifeq ($(with-cvs),yes)
define autoconf-it-cvs
test ! -d CVS || cvs $(CVSOPTS) commit -m'Regenerated: autoconf $(ACFLAGS) $<' $@
endef
else
autoconf-it-cvs =
endif
define autoconf-it
@-rm -f $@.new
$(AUTOCONF) $(ACFLAGS) $< > $@.new
chmod a-w,a+x $@.new
mv -f $@.new $@
$(autoconf-it-cvs)
endef
$(..)ports/sysdeps/%/preconfigure: $(..)ports/sysdeps/%/preconfigure.in \
aclocal.m4
$(autoconf-it)
endif # $(AUTOCONF) = no