]> gitweb.michael.orlitzky.com - libsvgtiny.git/commitdiff
Something approximating a makefile for the test binary.
authorJohn Mark Bell <jmb@netsurf-browser.org>
Mon, 24 Aug 2009 09:25:11 +0000 (09:25 -0000)
committerJohn Mark Bell <jmb@netsurf-browser.org>
Mon, 24 Aug 2009 09:25:11 +0000 (09:25 -0000)
pkg-config control file.

svn path=/trunk/libsvgtiny/; revision=9426

Makefile
libsvgtiny.pc.in [new file with mode: 0644]
test/Makefile [new file with mode: 0644]

index 04fe3fc362eb81bfc413a3a389b22ebdf49fc379..2f74aa11fdffb6f9a0807286c3ad0eec94896e84 100644 (file)
--- 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 (file)
index 0000000..3dc6be8
--- /dev/null
@@ -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 (file)
index 0000000..d37b66a
--- /dev/null
@@ -0,0 +1,4 @@
+# Tests
+DIR_TEST_ITEMS := svgtiny_test:svgtiny_test.c
+
+include build/makefiles/Makefile.subdir