From: John Mark Bell Date: Mon, 24 Aug 2009 09:25:11 +0000 (-0000) Subject: Something approximating a makefile for the test binary. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=2235d513b23c2330ff42959b16d8c260cebecf07;p=libsvgtiny.git Something approximating a makefile for the test binary. pkg-config control file. svn path=/trunk/libsvgtiny/; revision=9426 --- 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