1 | noinst_PROGRAMS = testart testuta gen_art_config |
---|
2 | |
---|
3 | bin_SCRIPTS = \ |
---|
4 | libart2-config |
---|
5 | |
---|
6 | BUILT_SOURCES = art_config.h |
---|
7 | |
---|
8 | art_config.h: gen_art_config |
---|
9 | ./gen_art_config > art_config.h |
---|
10 | |
---|
11 | EXTRA_DIST = \ |
---|
12 | libart.def \ |
---|
13 | libart-config.in \ |
---|
14 | libart-2.0.pc.in \ |
---|
15 | libart-2.0-uninstalled.pc.in |
---|
16 | |
---|
17 | lib_LTLIBRARIES = libart_lgpl_2.la |
---|
18 | |
---|
19 | if OS_WIN32 |
---|
20 | no_undefined = -no-undefined |
---|
21 | |
---|
22 | export_symbols = -export-symbols libart.def |
---|
23 | |
---|
24 | install-libtool-import-lib: |
---|
25 | $(INSTALL) .libs/libart_lgpl_2.dll.a $(DESTDIR)$(libdir) |
---|
26 | uninstall-libtool-import-lib: |
---|
27 | -rm $(DESTDIR)$(libdir)/libart_lgpl_2.dll.a |
---|
28 | else |
---|
29 | install-libtool-import-lib: |
---|
30 | uninstall-libtool-import-lib: |
---|
31 | |
---|
32 | libm = -lm |
---|
33 | endif |
---|
34 | |
---|
35 | if MS_LIB_AVAILABLE |
---|
36 | noinst_DATA = art_lgpl_2.lib |
---|
37 | |
---|
38 | install-ms-lib: |
---|
39 | $(INSTALL) art_lgpl_2.lib $(DESTDIR)$(libdir) |
---|
40 | |
---|
41 | uninstall-ms-lib: |
---|
42 | -rm $(DESTDIR)$(libdir)/art_lgpl_2.lib |
---|
43 | |
---|
44 | art_lgpl_2.lib : libart_lgpl_2.la |
---|
45 | lib -name:libart_lgpl_2-@LIBART_MAJOR_VERSION@.dll -def:libart.def -out:$@ |
---|
46 | |
---|
47 | else |
---|
48 | install-ms-lib: |
---|
49 | uninstall-ms-lib: |
---|
50 | endif |
---|
51 | |
---|
52 | libart_lgpl_2_la_SOURCES = \ |
---|
53 | art_affine.c \ |
---|
54 | art_alphagamma.c \ |
---|
55 | art_bpath.c \ |
---|
56 | art_gray_svp.c \ |
---|
57 | art_misc.c \ |
---|
58 | art_pixbuf.c \ |
---|
59 | art_rect.c \ |
---|
60 | art_rect_svp.c \ |
---|
61 | art_rect_uta.c \ |
---|
62 | art_render.c \ |
---|
63 | art_render_gradient.c \ |
---|
64 | art_render_mask.c \ |
---|
65 | art_render_svp.c \ |
---|
66 | art_rgb.c \ |
---|
67 | art_rgb_affine.c \ |
---|
68 | art_rgb_affine_private.c \ |
---|
69 | art_rgb_affine_private.h \ |
---|
70 | art_rgb_bitmap_affine.c \ |
---|
71 | art_rgb_pixbuf_affine.c \ |
---|
72 | art_rgb_rgba_affine.c \ |
---|
73 | art_rgb_a_affine.c \ |
---|
74 | art_rgba.c \ |
---|
75 | art_rgb_svp.c \ |
---|
76 | art_svp.c \ |
---|
77 | art_svp_intersect.c \ |
---|
78 | art_svp_ops.c \ |
---|
79 | art_svp_point.c \ |
---|
80 | art_svp_render_aa.c \ |
---|
81 | art_svp_vpath.c \ |
---|
82 | art_svp_vpath_stroke.c \ |
---|
83 | art_svp_wind.c \ |
---|
84 | art_uta.c \ |
---|
85 | art_uta_ops.c \ |
---|
86 | art_uta_rect.c \ |
---|
87 | art_uta_vpath.c \ |
---|
88 | art_uta_svp.c \ |
---|
89 | art_vpath.c \ |
---|
90 | art_vpath_bpath.c \ |
---|
91 | art_vpath_dash.c \ |
---|
92 | art_vpath_svp.c \ |
---|
93 | libart-features.c |
---|
94 | |
---|
95 | libart_lgpl_2_la_LDFLAGS = -version-info @LIBART_VERSION_INFO@ $(no_undefined) $(export_symbols) |
---|
96 | libart_lgpl_2_la_LIBADD = $(libm) |
---|
97 | |
---|
98 | libart_lgplincdir = $(includedir)/libart-2.0/libart_lgpl |
---|
99 | libart_lgplinc_HEADERS = \ |
---|
100 | art_affine.h \ |
---|
101 | art_alphagamma.h \ |
---|
102 | art_bpath.h \ |
---|
103 | art_config.h \ |
---|
104 | art_filterlevel.h \ |
---|
105 | art_gray_svp.h \ |
---|
106 | art_misc.h \ |
---|
107 | art_pathcode.h \ |
---|
108 | art_pixbuf.h \ |
---|
109 | art_point.h \ |
---|
110 | art_rect.h \ |
---|
111 | art_rect_svp.h \ |
---|
112 | art_rect_uta.h \ |
---|
113 | art_render.h \ |
---|
114 | art_render_gradient.h \ |
---|
115 | art_render_mask.h \ |
---|
116 | art_render_svp.h \ |
---|
117 | art_rgb.h \ |
---|
118 | art_rgb_affine.h \ |
---|
119 | art_rgb_bitmap_affine.h \ |
---|
120 | art_rgb_pixbuf_affine.h \ |
---|
121 | art_rgb_rgba_affine.h \ |
---|
122 | art_rgb_a_affine.h \ |
---|
123 | art_rgb_svp.h \ |
---|
124 | art_rgba.h \ |
---|
125 | art_svp.h \ |
---|
126 | art_svp_intersect.h \ |
---|
127 | art_svp_ops.h \ |
---|
128 | art_svp_point.h \ |
---|
129 | art_svp_render_aa.h \ |
---|
130 | art_svp_vpath.h \ |
---|
131 | art_svp_vpath_stroke.h \ |
---|
132 | art_svp_wind.h \ |
---|
133 | art_uta.h \ |
---|
134 | art_uta_ops.h \ |
---|
135 | art_uta_rect.h \ |
---|
136 | art_uta_vpath.h \ |
---|
137 | art_uta_svp.h \ |
---|
138 | art_vpath.h \ |
---|
139 | art_vpath_bpath.h \ |
---|
140 | art_vpath_dash.h \ |
---|
141 | art_vpath_svp.h \ |
---|
142 | libart.h \ |
---|
143 | libart-features.h |
---|
144 | |
---|
145 | INCLUDES = -I$(top_srcdir) -I$(top_builddir) -DLIBART_COMPILATION |
---|
146 | |
---|
147 | DEPS = $(top_builddir)/libart_lgpl_2.la |
---|
148 | LDADDS = $(top_builddir)/libart_lgpl_2.la |
---|
149 | |
---|
150 | testart_SOURCES=testart.c |
---|
151 | testart_LDFLAGS = |
---|
152 | testart_DEPENDENCIES = $(DEPS) |
---|
153 | testart_LDADD = $(LDADDS) $(libm) |
---|
154 | |
---|
155 | testuta_SOURCES=testuta.c |
---|
156 | testuta_LDFLAGS = |
---|
157 | testuta_DEPENDENCIES = $(DEPS) |
---|
158 | testuta_LDADD = $(LDADDS) $(libm) |
---|
159 | |
---|
160 | tests: testart testuta |
---|
161 | |
---|
162 | pkgconfigdir = $(libdir)/pkgconfig |
---|
163 | pkgconfig_DATA = libart-2.0.pc |
---|
164 | |
---|
165 | libart2-config: libart-config |
---|
166 | cp -f libart-config libart2-config |
---|
167 | |
---|
168 | install-data-local: install-ms-lib install-libtool-import-lib |
---|
169 | |
---|
170 | uninstall-local: uninstall-ms-lib uninstall-libtool-import-lib |
---|