2 topsrcdir
= @top_srcdir@
6 include $(DEPTH
)/config
/autoconf.mk
14 EXPORTS
= qcms.h qcmstypes.h
16 CSRCS
= iccread.c transform.c
18 ifeq (86,$(findstring 86,$(OS_TEST
)))
19 CSRCS
+= transform-sse2.c
21 ifneq ($(OS_ARCH
)_
$(OS_TEST
),WINNT_x86_64
)
22 CSRCS
+= transform-sse1.c
25 CSRCS
+= transform-sse1.c
30 ifeq ($(SOLARIS_SUNPRO_CC
),1)
31 ifneq (64,$(findstring 64,$(OS_TEST
)))
33 SSE2_FLAGS
=-xarch
=sse2
35 # Sun Studio doesn't work correctly for x86 intristics
36 # with -m64 and without optimization.
49 # This library is used by other shared libs
52 include $(topsrcdir
)/config
/rules.mk
56 # Disable spammy "missing initializer" GCC warning
58 CFLAGS
+= -Wno-missing-field-initializers
61 # special rules for transform-sse*.c to get the right cflags. (taken from pixman/src/Makefile.in)
62 transform-sse1.
$(OBJ_SUFFIX
): transform-sse1.c
$(GLOBAL_DEPS
)
65 $(ELOG
) $(CC
) $(OUTOPTION
)$@
-c
$(COMPILE_CFLAGS
) $(SSE1_FLAGS
) $(_VPATH_SRCS
)
67 transform-sse2.
$(OBJ_SUFFIX
): transform-sse2.c
$(GLOBAL_DEPS
)
70 $(ELOG
) $(CC
) $(OUTOPTION
)$@
-c
$(COMPILE_CFLAGS
) $(SSE2_FLAGS
) $(_VPATH_SRCS
)