ftw_.h \
full-read.c full-read.h \
full-write.c full-write.h \
- getndelim2.c getndelim2.h \
getline.h \
getpagesize.h \
gettime.c \
imaxtostr.c \
lchown.h \
linebuffer.c linebuffer.h \
- localcharset.c \
+ localcharset.c localcharset.h \
long-options.c long-options.h \
makepath.c makepath.h \
mbswidth.c mbswidth.h \
xstrtod.c xstrtod.h \
xstrtol.c xstrtol.h \
xstrtoul.c \
- xstrtoimax.c \
xstrtoumax.c \
yesno.c
BUILT_SOURCES = getdate.c
+CLEANFILES =
MAINTAINERCLEANFILES = $(BUILT_SOURCES)
MOSTLYCLEANFILES =
+SUFFIXES =
EXTRA_DIST = config.charset ref-add.sin ref-del.sin \
+ getndelim2.c getndelim2.h \
inttostr.c inttostr.h
-# The following is needed in order to install a simple file in $(libdir)
+# We need the following in order to install a simple file in $(libdir)
# which is shared with other installed packages. We use a list of referencing
# packages so that "make uninstall" will remove the file if and only if it
# is not used by another installed package.
charset_alias = $(DESTDIR)$(libdir)/charset.alias
charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
install-exec-local: all-local
- $(mkinstalldirs) $(DESTDIR)$(libdir)
+ test $(GLIBC21) != no || $(mkinstalldirs) $(DESTDIR)$(libdir)
if test -f $(charset_alias); then \
sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
$(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
rm -f $(charset_tmp) ; \
else \
- if test @GLIBC21@ = no; then \
+ if test $(GLIBC21) = no; then \
sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
$(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
rm -f $(charset_tmp) ; \
fi
charset.alias: config.charset
- $(SHELL) $(srcdir)/config.charset '@host@' > t-$@
+ $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@
+ mv t-$@ $@
+
+SUFFIXES += .sed .sin
+.sin.sed:
+ sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@
mv t-$@ $@
+CLEANFILES += charset.alias ref-add.sed ref-del.sed
+
BUILT_SOURCES += $(STDBOOL_H)
EXTRA_DIST += stdbool_.h
MOSTLYCLEANFILES += stdbool.h stdbool.ht
mv $@-t $@
MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t
-SUFFIXES = .sed .sin
-.sin.sed:
- sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@
- mv t-$@ $@
-
-CLEANFILES = charset.alias ref-add.sed ref-del.sed
DISTCLEANFILES = ftw.h search.h