1 ## Process this file with automake to produce Makefile.in
4 -DLIBDIR=\"$(libdir)\" -I$(top_srcdir)
6 noinst_LTLIBRARIES = libcharset.la
8 libcharset_la_SOURCES = \
22 charset_alias = $(DESTDIR)$(libdir)/charset.alias
23 charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
24 install-exec-local: all-local
25 $(mkinstalldirs) $(DESTDIR)$(libdir)
26 if test -f $(charset_alias); then \
27 sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
28 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
29 rm -f $(charset_tmp) ; \
31 if test @GLIBC21@ = no; then \
32 sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
33 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
34 rm -f $(charset_tmp) ; \
38 uninstall-local: all-local
39 if test -f $(charset_alias); then \
40 sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
41 if grep '^# Packages using this file: $$' $(charset_tmp) \
43 rm -f $(charset_alias); \
45 $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
47 rm -f $(charset_tmp); \
50 charset.alias: config.charset
51 $(SHELL) $(srcdir)/config.charset '@host@' > t-$@
54 all-local: ref-add.sed ref-del.sed charset.alias
58 sed -e '/^#/d' -e 's/@''PACKAGE''@/@PACKAGE@/g' $< > t-$@
61 CLEANFILES = charset.alias ref-add.sed ref-del.sed