summaryrefslogtreecommitdiff
path: root/boilerplate
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2008-09-11 15:49:09 -0400
committerBehdad Esfahbod <behdad@behdad.org>2008-09-11 15:49:09 -0400
commitde5b8bce37f2ddb87fca7ae6b844eec7fbbbc7e9 (patch)
tree9d1d49b0b786518457a8cb6b226463955b9110fc /boilerplate
parent66f0d56a8a2c8dd3b4678d495d5652bfdfd690ea (diff)
Makefile.am cleanup
Use a common build/Makefile.am.common file.
Diffstat (limited to 'boilerplate')
-rw-r--r--boilerplate/Makefile.am13
1 files changed, 6 insertions, 7 deletions
diff --git a/boilerplate/Makefile.am b/boilerplate/Makefile.am
index 866315f1..43d2b676 100644
--- a/boilerplate/Makefile.am
+++ b/boilerplate/Makefile.am
@@ -1,6 +1,8 @@
-EXTRA_DIST = Makefile.win32
+include $(top_srcdir)/build/Makefile.am.common
-EXTRA_LTLIBRARIES = libcairoboilerplate.la
+EXTRA_DIST += Makefile.win32
+
+EXTRA_LTLIBRARIES += libcairoboilerplate.la
libcairoboilerplate_la_SOURCES = \
cairo-boilerplate.c \
@@ -94,20 +96,17 @@ AM_CPPFLAGS = \
-I$(top_srcdir)/src \
$(CAIRO_CFLAGS)
-CLEANFILES = \
+CLEANFILES += \
$(EXTRA_LTLIBRARIES)
-CLEANFILES += *.i *.s
-
test: check
-TESTS =
if CROSS_COMPILING
check: check-link
else
TESTS += check-link
endif
-check_PROGRAMS = check-link
+check_PROGRAMS += check-link
check_link_LDADD = libcairoboilerplate.la
CLEANFILES += check-link