summaryrefslogtreecommitdiffstats
path: root/src/svg/Makefile_insert
blob: eae713d23a82c792eb77a0001989868df989f62d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
## Makefile.am fragment sourced by src/Makefile.am.

#
# Sodipodi svg wrapper
# Author: Lauris Kaplinski <lauris@ariman.ee>
# Most code is actually written by Raph Levien
#
# Implements svg interpretation of xml tree
#

svg/all: svg/libspsvg.a

svg/clean:
	rm -f svg/libspsvg.a $(svg_libspsvg_a_OBJECTS)

svg_libspsvg_a_SOURCES =	\
	svg/css-ostringstream.h	\
	svg/css-ostringstream.cpp	\
	svg/itos.cpp	\
	svg/path-string.h	\
	svg/path-string.cpp \
	svg/round.cpp	\
	svg/stringstream.h	\
	svg/stringstream.cpp	\
	svg/strip-trailing-zeros.h	\
	svg/strip-trailing-zeros.cpp	\
	svg/svg-affine.cpp	\
	svg/svg-color.cpp	\
	svg/svg-color.h 	\
        svg/svg-icc-color.h \
	svg/svg-length.cpp	\
	svg/svg-length.h	\
	svg/svg-path.cpp	\
	svg/svg.h

# ######################
# ### CxxTest stuff ####
# ######################
svg_testsuites = \
	$(srcdir)/svg/css-ostringstream-test.h	\
	$(srcdir)/svg/stringstream-test.h	\
	$(srcdir)/svg/svg-affine-test.h		\
	$(srcdir)/svg/svg-color-test.h		\
	$(srcdir)/svg/svg-length-test.h		\
	$(srcdir)/svg/svg-path-geom-test.h

svg_test_svg_SOURCES =		\
	svg/test-svg.cpp	\
	$(svg_testsuites)

svg_test_svg_LDADD =		\
	svg/libspsvg.a		\
	svg/libtest-svg.a 	\
	test-stubs.o 		\
	2geom/lib2geom.a	\
	libnr/libnr.a		\
	$(INKSCAPE_LIBS)

svg/test-svg.cpp: $(svg_testsuites) svg/Makefile_insert $(CXXTEST_TEMPLATE)
	$(CXXTESTGEN) -o svg/test-svg.cpp $(svg_testsuites)