mirror of
git://sourceware.org/git/glibc.git
synced 2024-12-27 04:41:02 +08:00
717de822dc
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.
36 lines
988 B
Plaintext
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
|