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 = \
23 charset_alias = $(DESTDIR)$(libdir)/charset.alias
24 charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
25 install-exec-local: all-local
26 $(mkinstalldirs) $(DESTDIR)$(libdir)
27 if test -f $(charset_alias); then \
28 sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
29 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
30 rm -f $(charset_tmp) ; \
32 if test @GLIBC21@ = no; then \
33 sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
34 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
35 rm -f $(charset_tmp) ; \
39 uninstall-local: all-local
40 if test -f $(charset_alias); then \
41 sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
42 if grep '^# Packages using this file: $$' $(charset_tmp) \
44 rm -f $(charset_alias); \
46 $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
48 rm -f $(charset_tmp); \
51 charset.alias: config.charset
52 $(SHELL) $(srcdir)/config.charset '@host@' > t-$@
55 all-local: ref-add.sed ref-del.sed charset.alias
59 sed -e '/^#/d' -e 's/@''PACKAGE''@/@PACKAGE@/g' $< > t-$@
62 CLEANFILES = charset.alias ref-add.sed ref-del.sed