1 include $(top_srcdir)/pixman/Makefile.sources
3 lib_LTLIBRARIES = libpixman-1.la
5 libpixman_1_la_LDFLAGS = -version-info $(LT_VERSION_INFO) -no-undefined @PTHREAD_LDFLAGS@
6 libpixman_1_la_LIBADD = @PTHREAD_LIBS@ @DEP_LIBS@ -lm
7 libpixman_1_la_SOURCES = $(libpixman_sources) $(libpixman_headers)
9 libpixmanincludedir = $(includedir)/pixman-1
10 libpixmaninclude_HEADERS = pixman.h pixman-version.h
16 pixman-combine.c.template \
17 pixman-combine.h.template \
19 solaris-hwcap.mapfile \
22 DISTCLEANFILES = $(BUILT_SOURCES)
26 noinst_LTLIBRARIES += libpixman-mmx.la
27 libpixman_mmx_la_SOURCES = \
29 libpixman_mmx_la_CFLAGS = $(DEP_CFLAGS) $(MMX_CFLAGS)
30 libpixman_mmx_la_LIBADD = $(DEP_LIBS)
31 libpixman_1_la_LDFLAGS += $(MMX_LDFLAGS)
32 libpixman_1_la_LIBADD += libpixman-mmx.la
34 ASM_CFLAGS_mmx=$(MMX_CFLAGS)
39 noinst_LTLIBRARIES += libpixman-vmx.la
40 libpixman_vmx_la_SOURCES = \
43 libpixman_vmx_la_CFLAGS = $(DEP_CFLAGS) $(VMX_CFLAGS)
44 libpixman_vmx_la_LIBADD = $(DEP_LIBS)
45 libpixman_1_la_LIBADD += libpixman-vmx.la
47 ASM_CFLAGS_vmx=$(VMX_CFLAGS)
52 noinst_LTLIBRARIES += libpixman-sse2.la
53 libpixman_sse2_la_SOURCES = \
55 libpixman_sse2_la_CFLAGS = $(DEP_CFLAGS) $(SSE2_CFLAGS)
56 libpixman_sse2_la_LIBADD = $(DEP_LIBS)
57 libpixman_1_la_LDFLAGS += $(SSE2_LDFLAGS)
58 libpixman_1_la_LIBADD += libpixman-sse2.la
60 ASM_CFLAGS_sse2=$(SSE2_CFLAGS)
65 noinst_LTLIBRARIES += libpixman-arm-simd.la
66 libpixman_arm_simd_la_SOURCES = \
70 libpixman_arm_simd_la_CFLAGS = $(DEP_CFLAGS)
71 libpixman_arm_simd_la_LIBADD = $(DEP_LIBS)
72 libpixman_1_la_LIBADD += libpixman-arm-simd.la
79 noinst_LTLIBRARIES += libpixman-arm-neon.la
80 libpixman_arm_neon_la_SOURCES = \
83 pixman-arm-neon-asm.S \
84 pixman-arm-neon-asm-bilinear.S \
86 libpixman_arm_neon_la_CFLAGS = $(DEP_CFLAGS)
87 libpixman_arm_neon_la_LIBADD = $(DEP_LIBS)
88 libpixman_1_la_LIBADD += libpixman-arm-neon.la
93 .c.s : $(libpixmaninclude_HEADERS) $(BUILT_SOURCES)
94 $(CC) $(CFLAGS) $(ASM_CFLAGS_$(@:pixman-%.s=%)) $(ASM_CFLAGS_$(@:pixman-arm-%.s=arm_%)) -DHAVE_CONFIG_H -I$(srcdir) -I$(builddir) -I$(top_builddir) -S -o $@ $<