2001-09-27 04:49:05 +02:00
|
|
|
## Process this file with automake to produce Makefile.in
|
initialize automake variables EXTRA_DIST and TEST_PROGS for unconditional
2007-11-21 21:06:47 Tim Janik <timj@imendio.com>
* Makefile.decl: initialize automake variables EXTRA_DIST and
TEST_PROGS for unconditional appending via += in other makefiles.
define recursive test targets: test, test-report, perf-report,
full-report, as described here:
http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
* Makefile.am:
* build/win32/vs8/Makefile.am, build/win32/dirent/Makefile.am:
* build/win32/Makefile.am, build/Makefile.am:
* docs/Makefile.am, docs/reference/Makefile.am:
* docs/reference/glib/Makefile.am, docs/reference/gobject/Makefile.am:
* gmodule/Makefile.am, tests/Makefile.am:
* tests/refcount/Makefile.am, tests/gobject/Makefile.am:
* glib/update-pcre/Makefile.am, glib/libcharset/Makefile.am:
* glib/tests/Makefile.am, glib/pcre/Makefile.am:
* glib/gnulib/Makefile.am, gobject/Makefile.am, m4macros/Makefile.am:
* gthread/Makefile.am, glib/Makefile.am:
include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
* glib/tests/Makefile.am: removed example testing rules.
* glib/tests/testing.c: conditionalized performance and slow tests.
* glib/gtestutils.h:
* glib/gtestutils.c: work around g_test_config_vars not changing its
exported value after value assignments, aparently due to symbol aliases.
* glib/gtester.c: fixed off-by-one error which produced junk in logs.
* configure.in: check for python >= 2.4 and provide $PYTHON for scripts.
svn path=/trunk/; revision=5914
2007-11-21 21:09:46 +01:00
|
|
|
include $(top_srcdir)/Makefile.decl
|
2001-09-27 04:49:05 +02:00
|
|
|
|
|
|
|
INCLUDES = \
|
2004-04-30 16:45:14 +02:00
|
|
|
-DLIBDIR=\"$(libdir)\" -I$(top_srcdir)
|
2001-09-27 04:49:05 +02:00
|
|
|
|
|
|
|
noinst_LTLIBRARIES = libcharset.la
|
|
|
|
|
|
|
|
libcharset_la_SOURCES = \
|
|
|
|
libcharset.h \
|
2008-05-21 00:49:16 +02:00
|
|
|
localcharset.h \
|
2001-09-27 04:49:05 +02:00
|
|
|
localcharset.c
|
|
|
|
|
initialize automake variables EXTRA_DIST and TEST_PROGS for unconditional
2007-11-21 21:06:47 Tim Janik <timj@imendio.com>
* Makefile.decl: initialize automake variables EXTRA_DIST and
TEST_PROGS for unconditional appending via += in other makefiles.
define recursive test targets: test, test-report, perf-report,
full-report, as described here:
http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
* Makefile.am:
* build/win32/vs8/Makefile.am, build/win32/dirent/Makefile.am:
* build/win32/Makefile.am, build/Makefile.am:
* docs/Makefile.am, docs/reference/Makefile.am:
* docs/reference/glib/Makefile.am, docs/reference/gobject/Makefile.am:
* gmodule/Makefile.am, tests/Makefile.am:
* tests/refcount/Makefile.am, tests/gobject/Makefile.am:
* glib/update-pcre/Makefile.am, glib/libcharset/Makefile.am:
* glib/tests/Makefile.am, glib/pcre/Makefile.am:
* glib/gnulib/Makefile.am, gobject/Makefile.am, m4macros/Makefile.am:
* gthread/Makefile.am, glib/Makefile.am:
include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
* glib/tests/Makefile.am: removed example testing rules.
* glib/tests/testing.c: conditionalized performance and slow tests.
* glib/gtestutils.h:
* glib/gtestutils.c: work around g_test_config_vars not changing its
exported value after value assignments, aparently due to symbol aliases.
* glib/gtester.c: fixed off-by-one error which produced junk in logs.
* configure.in: check for python >= 2.4 and provide $PYTHON for scripts.
svn path=/trunk/; revision=5914
2007-11-21 21:09:46 +01:00
|
|
|
EXTRA_DIST += \
|
2001-09-27 04:49:05 +02:00
|
|
|
README \
|
2001-10-04 21:33:01 +02:00
|
|
|
config.charset \
|
2001-10-29 16:58:58 +01:00
|
|
|
ref-add.sin \
|
|
|
|
ref-del.sin \
|
2001-09-29 01:44:46 +02:00
|
|
|
glibc21.m4 \
|
|
|
|
codeset.m4 \
|
2001-09-27 04:49:05 +02:00
|
|
|
update.sh \
|
2007-01-19 16:50:30 +01:00
|
|
|
make-patch.sh \
|
|
|
|
libcharset-glib.patch
|
2001-09-27 04:49:05 +02:00
|
|
|
|
|
|
|
charset_alias = $(DESTDIR)$(libdir)/charset.alias
|
|
|
|
charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
|
|
|
|
install-exec-local: all-local
|
|
|
|
$(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 \
|
|
|
|
sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
|
|
|
|
$(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
|
|
|
|
rm -f $(charset_tmp) ; \
|
|
|
|
fi ; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
uninstall-local: all-local
|
|
|
|
if test -f $(charset_alias); then \
|
|
|
|
sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
|
|
|
|
if grep '^# Packages using this file: $$' $(charset_tmp) \
|
|
|
|
> /dev/null; then \
|
|
|
|
rm -f $(charset_alias); \
|
|
|
|
else \
|
|
|
|
$(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
|
|
|
|
fi; \
|
|
|
|
rm -f $(charset_tmp); \
|
|
|
|
fi
|
|
|
|
|
|
|
|
charset.alias: config.charset
|
|
|
|
$(SHELL) $(srcdir)/config.charset '@host@' > t-$@
|
|
|
|
mv t-$@ $@
|
|
|
|
|
|
|
|
all-local: ref-add.sed ref-del.sed charset.alias
|
|
|
|
|
|
|
|
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
|