Code

fix by dvlierop2 for snapping bugs 1579556 and 1579587
[inkscape.git] / src / libnr / Makefile_insert
1 ## Makefile.am fragment sourced by src/Makefile.am.
3 libnr/all: libnr/libnr.a
5 libnr/clean:
6         rm -f libnr/libnr.a libnr/libtest-nr.a $(libnr_libnr_a_OBJECTS) $(libnr_libtest_nr_a_OBJECTS)
8 if USE_MMX
9 libnr_mmx_sources =     \
10         libnr/have_mmx.S        \
11         libnr/nr_mmx_R8G8B8A8_P_EMPTY_A8_RGBAP.S        \
12         libnr/nr_mmx_R8G8B8A8_P_R8G8B8A8_P_A8_RGBAP.S   \
13         libnr/nr_mmx_R8G8B8A8_P_R8G8B8A8_P_R8G8B8A8_N_TRANSFORM.S       \
14         libnr/nr_mmx_R8G8B8_R8G8B8_R8G8B8A8_P.S
15 endif
17 libnr_libnr_a_SOURCES = \
18         libnr/in-svg-plane.h    \
19         libnr/n-art-bpath.h     \
20         libnr/nr-blit.cpp       \
21         libnr/nr-blit.h \
22         libnr/nr-compose-transform.cpp  \
23         libnr/nr-compose-transform.h    \
24         libnr/nr-compose.cpp    \
25         libnr/nr-compose.h      \
26         libnr/nr-convex-hull.h  \
27         libnr/nr-coord.h        \
28         libnr/nr-dim2.h \
29         libnr/nr-forward.h      \
30         libnr/nr-gradient.cpp   \
31         libnr/nr-gradient.h     \
32         libnr/nr-i-coord.h      \
33         libnr/nr-macros.h       \
34         libnr/nr-matrix-div.cpp \
35         libnr/nr-matrix-div.h   \
36         libnr/nr-matrix-fns.cpp \
37         libnr/nr-matrix-fns.h   \
38         libnr/nr-matrix-ops.h   \
39         libnr/nr-matrix-rotate-ops.cpp  \
40         libnr/nr-matrix-rotate-ops.h    \
41         libnr/nr-matrix-scale-ops.cpp   \
42         libnr/nr-matrix-scale-ops.h     \
43         libnr/nr-matrix-translate-ops.cpp       \
44         libnr/nr-matrix-translate-ops.h \
45         libnr/nr-matrix.cpp     \
46         libnr/nr-matrix.h       \
47         libnr/nr-maybe.h        \
48         libnr/nr-object.cpp     \
49         libnr/nr-object.h       \
50         libnr/nr-path.cpp       \
51         libnr/nr-path.h \
52         libnr/nr-path-code.h    \
53         libnr/nr-pixblock-line.cpp      \
54         libnr/nr-pixblock-line.h        \
55         libnr/nr-pixblock-pattern.cpp   \
56         libnr/nr-pixblock-pattern.h     \
57         libnr/nr-pixblock-pixel.cpp     \
58         libnr/nr-pixblock-pixel.h       \
59         libnr/nr-pixblock.cpp   \
60         libnr/nr-pixblock.h     \
61         libnr/nr-pixops.h       \
62         libnr/nr-point-fns.cpp  \
63         libnr/nr-point-fns.h    \
64         libnr/nr-point-l.h      \
65         libnr/nr-point-matrix-ops.h     \
66         libnr/nr-point-ops.h    \
67         libnr/nr-point.h        \
68         libnr/nr-rect-l.cpp     \
69         libnr/nr-rect-l.h       \
70         libnr/nr-rect.cpp       \
71         libnr/nr-rect.h \
72         libnr/nr-rect-ops.h     \
73         libnr/nr-render.h       \
74         libnr/nr-rotate-fns.cpp \
75         libnr/nr-rotate-fns.h   \
76         libnr/nr-rotate-ops.h   \
77         libnr/nr-rotate-matrix-ops.cpp  \
78         libnr/nr-rotate-matrix-ops.h    \
79         libnr/nr-rotate.h       \
80         libnr/nr-scale-matrix-ops.cpp   \
81         libnr/nr-scale-matrix-ops.h     \
82         libnr/nr-scale-translate-ops.cpp        \
83         libnr/nr-scale-translate-ops.h  \
84         libnr/nr-scale-ops.h    \
85         libnr/nr-scale.h        \
86         libnr/nr-svp-private.h  \
87         libnr/nr-svp-render.cpp \
88         libnr/nr-svp-render.h   \
89         libnr/nr-svp.cpp        \
90         libnr/nr-svp.h  \
91         libnr/nr-translate-matrix-ops.cpp       \
92         libnr/nr-translate-matrix-ops.h \
93         libnr/nr-translate-scale-ops.cpp        \
94         libnr/nr-translate-scale-ops.h  \
95         libnr/nr-translate-ops.h        \
96         libnr/nr-translate.h    \
97         libnr/nr-translate-rotate-ops.cpp       \
98         libnr/nr-translate-rotate-ops.h         \
99         libnr/nr-types.cpp      \
100         libnr/nr-types.h        \
101         libnr/nr-values.cpp     \
102         libnr/nr-values.h       \
103         $(libnr_mmx_sources)
105 libnr_testnr_SOURCES =  \
106         libnr/testnr.cpp
108 libnr_testnr_LDADD =    \
109         libnr/libnr.a   \
110         -lglib-2.0
113 libnr/test-nr-main.cpp: libnr/test-nr.cpp
114         $(top_srcdir)/cxxtest/cxxtestgen.pl --template=$(srcdir)/selfname.tpl -root -o libnr/test-nr-main.cpp $(libnr_test_nr_includes)
116 libnr/test-nr.cpp: $(libnr_test_nr_includes)
117         $(top_srcdir)/cxxtest/cxxtestgen.pl -part -o libnr/test-nr.cpp $(libnr_test_nr_includes)
119 libnr_test_nr_includes = \
120         $(srcdir)/libnr/nr-types-test.h \
121         $(srcdir)/libnr/nr-translate-test.h     \
122         $(srcdir)/libnr/nr-rotate-test.h        \
123         $(srcdir)/libnr/nr-scale-test.h \
124         $(srcdir)/libnr/nr-point-fns-test.h     \
125         $(srcdir)/libnr/nr-rotate-fns-test.h    \
126         $(srcdir)/libnr/in-svg-plane-test.h     \
127         $(srcdir)/libnr/nr-matrix-test.h
129 libnr_libtest_nr_a_SOURCES =    \
130         libnr/test-nr.cpp \
131         $(libnr_test_nr_includes)
133 libnr_test_nr_SOURCES = \
134         libnr/test-nr-main.cpp \
135         $(libnr_test_nr_includes)
137 libnr_test_nr_LDADD =   \
138         libnr/libnr.a   \
139         libnr/libtest-nr.a      \
140         -lglib-2.0
142 #       -L/usr/X11R6/lib
143 #       -lX11
145 libnr_in_svg_plane_test_SOURCES = libnr/in-svg-plane-test.cpp
146 libnr_in_svg_plane_test_LDADD = libnr/libnr.a -lglib-2.0
148 libnr_nr_types_test_SOURCES = libnr/nr-types-test.cpp
149 libnr_nr_types_test_LDADD = libnr/libnr.a -lglib-2.0
151 libnr_nr_point_fns_test_SOURCES = libnr/nr-point-fns-test.cpp
152 libnr_nr_point_fns_test_LDADD = libnr/libnr.a -lglib-2.0
154 libnr_nr_matrix_test_SOURCES = libnr/nr-matrix-test.cpp
155 libnr_nr_matrix_test_LDADD = libnr/libnr.a -lglib-2.0
157 libnr_nr_rotate_test_SOURCES = libnr/nr-rotate-test.cpp
158 libnr_nr_rotate_test_LDADD = libnr/libnr.a -lglib-2.0
160 libnr_nr_rotate_fns_test_SOURCES = libnr/nr-rotate-fns-test.cpp
161 libnr_nr_rotate_fns_test_LDADD = libnr/libnr.a -lglib-2.0
163 libnr_nr_scale_test_SOURCES = libnr/nr-scale-test.cpp
164 libnr_nr_scale_test_LDADD = libnr/libnr.a -lglib-2.0
166 libnr_nr_translate_test_SOURCES = libnr/nr-translate-test.cpp
167 libnr_nr_translate_test_LDADD = libnr/libnr.a -lglib-2.0