summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-08-24 09:25:11 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-08-24 09:25:11 +0000
commit2235d513b23c2330ff42959b16d8c260cebecf07 (patch)
tree43540da26021ca5dfcd08c8a715841866df1b263
parent40556ff303ad567a4232e37f70519055978dd94b (diff)
downloadlibsvgtiny-2235d513b23c2330ff42959b16d8c260cebecf07.tar.gz
libsvgtiny-2235d513b23c2330ff42959b16d8c260cebecf07.tar.bz2
Something approximating a makefile for the test binary.
pkg-config control file. svn path=/trunk/libsvgtiny/; revision=9426
-rw-r--r--Makefile2
-rw-r--r--libsvgtiny.pc.in11
-rw-r--r--test/Makefile4
3 files changed, 17 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 04fe3fc..2f74aa1 100644
--- a/Makefile
+++ b/Makefile
@@ -7,6 +7,8 @@ COMPONENT_TYPE ?= lib-static
# Setup the tooling
include build/makefiles/Makefile.tools
+TESTRUNNER := $(ECHO)
+
# Toolchain flags
WARNFLAGS := -Wall -Wundef -Wpointer-arith -Wcast-align \
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \
diff --git a/libsvgtiny.pc.in b/libsvgtiny.pc.in
new file mode 100644
index 0000000..3dc6be8
--- /dev/null
+++ b/libsvgtiny.pc.in
@@ -0,0 +1,11 @@
+prefix=PREFIX
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: libsvgtiny
+Description: SVG Tiny 1.1 rendering library
+Version: VERSION
+Requires: libxml-2.0
+Libs: -L${libdir} -lsvgtiny
+Cflags: -I${includedir}
diff --git a/test/Makefile b/test/Makefile
new file mode 100644
index 0000000..d37b66a
--- /dev/null
+++ b/test/Makefile
@@ -0,0 +1,4 @@
+# Tests
+DIR_TEST_ITEMS := svgtiny_test:svgtiny_test.c
+
+include build/makefiles/Makefile.subdir