[Makefile.am.common] Unify more common rules

This commit is contained in:
Behdad Esfahbod 2008-09-11 18:06:57 -04:00
parent 171a5edbff
commit 66d6cb642c
6 changed files with 4 additions and 10 deletions

View file

@ -96,9 +96,6 @@ AM_CPPFLAGS = \
-I$(top_srcdir)/src \
$(CAIRO_CFLAGS)
CLEANFILES += \
$(EXTRA_LTLIBRARIES)
test: check
if CROSS_COMPILING
@ -108,4 +105,3 @@ endif
check_PROGRAMS += check-link
check_link_LDADD = libcairoboilerplate.la
CLEANFILES += check-link

View file

@ -9,4 +9,6 @@ TESTS =
check_PROGRAMS =
CLEANFILES += *.i *.s
CLEANFILES += $(EXTRA_LTLIBRARIES) $(EXTRA_PROGRAMS) $(check_PROGRAMS)
DISTCLEANFILES += $(BUILT_SOURCES)
MAINTAINERCLEANFILES += Makefile.in

View file

@ -93,7 +93,6 @@ VALGRIND_MEMCHECK_FLAGS = \
VALGRIND_CALLGRIND_FLAGS = \
--tool=callgrind
CLEANFILES += \
$(EXTRA_PROGRAMS) \
valgrind-log \
callgrind.out.* \
index.html

View file

@ -39,7 +39,6 @@ cairoinclude_HEADERS += $(top_srcdir)/cairo-version.h
nodist_cairoinclude_HEADERS = cairo-features.h
libcairo_la_SOURCES += cairo-version.h cairo-features.h
BUILT_SOURCES += cairo-features.h cairo-supported-features.h
DISTCLEANFILES += cairo-features.h cairo-supported-features.h
cairo-features.h cairo-supported-features.h:
cd $(top_builddir) && ./config.status src/$@
@ -82,7 +81,6 @@ endif
EXTRA_DIST += $(TESTS_SH) check-has-hidden-symbols.c
check_PROGRAMS += check-link
check_link_LDADD = libcairo.la
CLEANFILES += check-link
# The pre-processed result is used by check-{def,plt}.sh to determine whether

View file

@ -917,8 +917,7 @@ CLEANFILES += \
svg-surface-source.svg \
pdf-surface-source.pdf \
ps-surface-source.ps \
$(EXTRA_LTLIBRARIES) \
$(EXTRA_PROGRAMS)
$(NULL)
# This used to be a simple 'echo ${RM} *.ps *.pdf *.svg *.etc', but
# most systems cannot handle all of our clean files together.

View file

@ -6,7 +6,7 @@ util: malloc-stats.so
$(RM) $@
$(LN_S) .libs/$*.so $@
CLEANFILES += *.so *.la
CLEANFILES += *.so
SOLDFLAGS = -module -avoid-version -export-dynamic -rpath /dev/null