1noinst_LTLIBRARIES = libsimd.la 2 3BUILT_SOURCES = jsimdcfg.inc 4 5EXTRA_DIST = nasm_lt.sh CMakeLists.txt \ 6 jccolext-mmx.asm jcgryext-mmx.asm jdcolext-mmx.asm jdmrgext-mmx.asm \ 7 jccolext-sse2.asm jcgryext-sse2.asm jdcolext-sse2.asm jdmrgext-sse2.asm \ 8 jccolext-sse2-64.asm jcgryext-sse2-64.asm jdcolext-sse2-64.asm \ 9 jdmrgext-sse2-64.asm 10 11if SIMD_X86_64 12 13libsimd_la_SOURCES = jsimd_x86_64.c jsimd.h jsimdcfg.inc.h jsimdext.inc \ 14 jcolsamp.inc jdct.inc jfdctflt-sse-64.asm \ 15 jccolor-sse2-64.asm jcgray-sse2-64.asm jcsample-sse2-64.asm \ 16 jdcolor-sse2-64.asm jdmerge-sse2-64.asm jdsample-sse2-64.asm \ 17 jfdctfst-sse2-64.asm jfdctint-sse2-64.asm jidctflt-sse2-64.asm \ 18 jidctfst-sse2-64.asm jidctint-sse2-64.asm jidctred-sse2-64.asm \ 19 jquantf-sse2-64.asm jquanti-sse2-64.asm 20 21jccolor-sse2-64.lo: jccolext-sse2-64.asm 22jcgray-sse2-64.lo: jcgryext-sse2-64.asm 23jdcolor-sse2-64.lo: jdcolext-sse2-64.asm 24jdmerge-sse2-64.lo: jdmrgext-sse2-64.asm 25 26endif 27 28if SIMD_I386 29 30libsimd_la_SOURCES = jsimd_i386.c jsimd.h jsimdcfg.inc.h jsimdext.inc \ 31 jcolsamp.inc jdct.inc jsimdcpu.asm \ 32 jfdctflt-3dn.asm jidctflt-3dn.asm jquant-3dn.asm \ 33 jccolor-mmx.asm jcgray-mmx.asm jcsample-mmx.asm \ 34 jdcolor-mmx.asm jdmerge-mmx.asm jdsample-mmx.asm \ 35 jfdctfst-mmx.asm jfdctint-mmx.asm jidctfst-mmx.asm \ 36 jidctint-mmx.asm jidctred-mmx.asm jquant-mmx.asm \ 37 jfdctflt-sse.asm jidctflt-sse.asm jquant-sse.asm \ 38 jccolor-sse2.asm jcgray-sse2.asm jcsample-sse2.asm \ 39 jdcolor-sse2.asm jdmerge-sse2.asm jdsample-sse2.asm \ 40 jfdctfst-sse2.asm jfdctint-sse2.asm jidctflt-sse2.asm \ 41 jidctfst-sse2.asm jidctint-sse2.asm jidctred-sse2.asm \ 42 jquantf-sse2.asm jquanti-sse2.asm 43 44jccolor-mmx.lo: jccolext-mmx.asm 45jcgray.-mmx.lo: jcgryext-mmx.asm 46jdcolor-mmx.lo: jdcolext-mmx.asm 47jdmerge-mmx.lo: jdmrgext-mmx.asm 48jccolor-sse2.lo: jccolext-sse2.asm 49jcgray-sse2.lo: jcgryext-sse2.asm 50jdcolor-sse2.lo: jdcolext-sse2.asm 51jdmerge-sse2.lo: jdmrgext-sse2.asm 52 53endif 54 55if SIMD_ARM 56 57libsimd_la_SOURCES = jsimd_arm.c jsimd_arm_neon.S 58 59endif 60 61if SIMD_ARM_64 62 63libsimd_la_SOURCES = jsimd_arm64.c jsimd_arm64_neon.S 64 65endif 66 67if SIMD_MIPS 68 69libsimd_la_SOURCES = jsimd_mips.c jsimd_mips_dspr2_asm.h jsimd_mips_dspr2.S 70 71endif 72 73AM_CPPFLAGS = -I$(top_srcdir) 74 75.asm.lo: 76 $(AM_V_GEN) $(LIBTOOL) $(AM_V_lt) --mode=compile --tag NASM $(srcdir)/nasm_lt.sh $(AM_V_lt) $(NASM) $(NAFLAGS) -I$(srcdir) -I. $< -o $@ 77 78jsimdcfg.inc: $(srcdir)/jsimdcfg.inc.h ../jpeglib.h ../jconfig.h ../jmorecfg.h 79 $(AM_V_GEN) $(CPP) -I$(top_builddir) -I$(top_builddir)/simd $(srcdir)/jsimdcfg.inc.h | $(EGREP) "^[\;%]|^\ %" | sed 's%_cpp_protection_%%' | sed 's@% define@%define@g' > $@ 80