Makefile_insert revision ae3943ca1cf2df6a4d570787dee506977d0aed6b
2454dfa32c93c20a8522c6ed42fe057baaac9f9aStephan Bosch## Makefile.am fragment sourced by src/Makefile.am.
a81d5c3f5a4ad5d100b258d10d4c75f4a02ab1f6Stephan Bosch
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomilibnr/all: libnr/libnr.a
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomilibnr/clean:
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi rm -f libnr/libnr.a libnr/libtest-nr.a $(libnr_libnr_a_OBJECTS) $(libnr_libtest_nr_a_OBJECTS)
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomiif USE_MMX
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomilibnr_mmx_sources = \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/have_mmx.S \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr_mmx_R8G8B8A8_P_EMPTY_A8_RGBAP.S \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr_mmx_R8G8B8A8_P_R8G8B8A8_P_A8_RGBAP.S \
17fbd200b78112bd0d89e89598aa01cea72a74e5Martti Rannanjärvi libnr/nr_mmx_R8G8B8A8_P_R8G8B8A8_P_R8G8B8A8_N_TRANSFORM.S \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr_mmx_R8G8B8_R8G8B8_R8G8B8A8_P.S
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomiendif
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomilibnr_libnr_a_SOURCES = \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/in-svg-plane.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-blit.cpp \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-blit.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-compose-transform.cpp \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-compose-transform.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-compose.cpp \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-compose.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-convert2geom.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-convex-hull.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-coord.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-dim2.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-forward.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-gradient.cpp \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-gradient.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-i-coord.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-macros.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-matrix-div.cpp \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-matrix-div.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-matrix-fns.cpp \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-matrix-fns.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-matrix-ops.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-matrix-rotate-ops.cpp \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-matrix-rotate-ops.h \
ebd1c50bc43e08ee0a05ad68c7d48497a1563fabMartti Rannanjärvi libnr/nr-matrix-scale-ops.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-matrix-translate-ops.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-matrix.cpp \
ebd1c50bc43e08ee0a05ad68c7d48497a1563fabMartti Rannanjärvi libnr/nr-matrix.h \
ebd1c50bc43e08ee0a05ad68c7d48497a1563fabMartti Rannanjärvi libnr/nr-maybe.h \
ebd1c50bc43e08ee0a05ad68c7d48497a1563fabMartti Rannanjärvi libnr/nr-object.cpp \
ebd1c50bc43e08ee0a05ad68c7d48497a1563fabMartti Rannanjärvi libnr/nr-object.h \
ebd1c50bc43e08ee0a05ad68c7d48497a1563fabMartti Rannanjärvi libnr/nr-path-code.h \
ebd1c50bc43e08ee0a05ad68c7d48497a1563fabMartti Rannanjärvi libnr/nr-pixblock-line.cpp \
ebd1c50bc43e08ee0a05ad68c7d48497a1563fabMartti Rannanjärvi libnr/nr-pixblock-line.h \
ebd1c50bc43e08ee0a05ad68c7d48497a1563fabMartti Rannanjärvi libnr/nr-pixblock-pattern.cpp \
ebd1c50bc43e08ee0a05ad68c7d48497a1563fabMartti Rannanjärvi libnr/nr-pixblock-pattern.h \
ebd1c50bc43e08ee0a05ad68c7d48497a1563fabMartti Rannanjärvi libnr/nr-pixblock-pixel.cpp \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-pixblock-pixel.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-pixblock.cpp \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-pixblock.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-pixops.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-point-fns.cpp \
a84b413ef72378bbe235a13846fe6a84899eaedcTimo Sirainen libnr/nr-point-fns.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-point-l.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-point-matrix-ops.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-point-ops.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-point.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-rect-l.cpp \
a84b413ef72378bbe235a13846fe6a84899eaedcTimo Sirainen libnr/nr-rect-l.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-rect.cpp \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-rect.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-rect-ops.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-render.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-rotate-fns.cpp \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-rotate-fns.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-rotate-ops.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-rotate-matrix-ops.cpp \
a84b413ef72378bbe235a13846fe6a84899eaedcTimo Sirainen libnr/nr-rotate-matrix-ops.h \
a84b413ef72378bbe235a13846fe6a84899eaedcTimo Sirainen libnr/nr-rotate.h \
b9e830a81455faf3c0dadfc9dbf0c7dc8aca955cJosef 'Jeff' Sipek libnr/nr-scale-matrix-ops.cpp \
a84b413ef72378bbe235a13846fe6a84899eaedcTimo Sirainen libnr/nr-scale-matrix-ops.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-scale-translate-ops.cpp \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-scale-translate-ops.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-scale-ops.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-scale.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-translate-matrix-ops.cpp \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-translate-matrix-ops.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-translate-scale-ops.cpp \
a84b413ef72378bbe235a13846fe6a84899eaedcTimo Sirainen libnr/nr-translate-scale-ops.h \
a84b413ef72378bbe235a13846fe6a84899eaedcTimo Sirainen libnr/nr-translate-ops.h \
a84b413ef72378bbe235a13846fe6a84899eaedcTimo Sirainen libnr/nr-translate.h \
aefadb693342d9a2cba15e252f0368e47e9a59ebTimo Sirainen libnr/nr-translate-rotate-ops.cpp \
aefadb693342d9a2cba15e252f0368e47e9a59ebTimo Sirainen libnr/nr-translate-rotate-ops.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-types.cpp \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-types.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-values.cpp \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-values.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi $(libnr_mmx_sources)
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi# Ancient performance test (?)
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomilibnr_testnr_SOURCES = \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/testnr.cpp
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomilibnr_testnr_LDADD = \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/libnr.a \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi -lglib-2.0
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi# ######################
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi# ### CxxTest stuff ####
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi# ######################
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomilibnr_testsuites = \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi $(srcdir)/libnr/in-svg-plane-test.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi $(srcdir)/libnr/nr-compose-test.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi $(srcdir)/libnr/nr-matrix-test.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi $(srcdir)/libnr/nr-point-fns-test.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi $(srcdir)/libnr/nr-rotate-test.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi $(srcdir)/libnr/nr-rotate-fns-test.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi $(srcdir)/libnr/nr-scale-test.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi $(srcdir)/libnr/nr-translate-test.h \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi $(srcdir)/libnr/nr-types-test.h
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomilibnr_test_nr_SOURCES = \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/test-nr.cpp \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi $(libnr_testsuites)
aefadb693342d9a2cba15e252f0368e47e9a59ebTimo Sirainen
aefadb693342d9a2cba15e252f0368e47e9a59ebTimo Sirainenlibnr_test_nr_LDADD = \
aefadb693342d9a2cba15e252f0368e47e9a59ebTimo Sirainen libnr/libnr.a \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi libnr/nr-compose-reference.o \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi 2geom/lib2geom.a \
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi -lglib-2.0
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomilibnr/test-nr.cpp: $(libnr_testsuites) libnr/Makefile_insert $(CXXTEST_TEMPLATE)
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi $(CXXTESTGEN) -o libnr/test-nr.cpp $(libnr_testsuites)
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi