From 2235d513b23c2330ff42959b16d8c260cebecf07 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Mon, 24 Aug 2009 09:25:11 +0000 Subject: [PATCH] Something approximating a makefile for the test binary. pkg-config control file. svn path=/trunk/libsvgtiny/; revision=9426 --- Makefile | 2 ++ libsvgtiny.pc.in | 11 +++++++++++ test/Makefile | 4 ++++ 3 files changed, 17 insertions(+) create mode 100644 libsvgtiny.pc.in create mode 100644 test/Makefile 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 -- 2.44.2