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