Pierre Ossman | 3a65ef4 | 2009-03-16 13:34:18 +0000 | [diff] [blame] | 1 | noinst_LTLIBRARIES = libsimd.la |
| 2 | |
| 3 | BUILT_SOURCES = jsimdcfg.inc |
| 4 | |
| 5 | EXTRA_DIST = nasm_lt.sh |
| 6 | |
DRC | cdc8ac3 | 2009-06-25 20:38:31 +0000 | [diff] [blame^] | 7 | if WITH_SIMD64 |
| 8 | |
| 9 | libsimd_la_SOURCES = jsimd.h jsimdcfg.inc.h \ |
| 10 | jsimdext.inc jcolsamp.inc jdct.inc \ |
| 11 | jsimdcpu-64.asm jfsseflt-64.asm \ |
| 12 | jccolss2-64.asm jdcolss2-64.asm \ |
| 13 | jcsamss2-64.asm jdsamss2-64.asm jdmerss2-64.asm \ |
| 14 | jcqnts2i-64.asm jfss2fst-64.asm jfss2int-64.asm \ |
| 15 | jiss2red-64.asm jiss2int-64.asm jiss2fst-64.asm \ |
| 16 | jcqnts2f-64.asm jiss2flt-64.asm |
| 17 | |
| 18 | jccolss2-64.lo: jcclrss2-64.asm |
| 19 | jdcolss2-64.lo: jdclrss2-64.asm |
| 20 | jdmerss2-64.lo: jdmrgss2-64.asm |
| 21 | |
| 22 | else |
| 23 | |
Pierre Ossman | 3a65ef4 | 2009-03-16 13:34:18 +0000 | [diff] [blame] | 24 | libsimd_la_SOURCES = jsimd.h jsimdcfg.inc.h \ |
| 25 | jsimdext.inc jcolsamp.inc jdct.inc \ |
| 26 | jsimdcpu.asm \ |
| 27 | jccolmmx.asm jdcolmmx.asm \ |
| 28 | jcsammmx.asm jdsammmx.asm jdmermmx.asm \ |
| 29 | jcqntmmx.asm jfmmxfst.asm jfmmxint.asm \ |
| 30 | jimmxred.asm jimmxint.asm jimmxfst.asm \ |
| 31 | jcqnt3dn.asm jf3dnflt.asm ji3dnflt.asm \ |
| 32 | jcqntsse.asm jfsseflt.asm jisseflt.asm \ |
| 33 | jccolss2.asm jdcolss2.asm \ |
| 34 | jcsamss2.asm jdsamss2.asm jdmerss2.asm \ |
| 35 | jcqnts2i.asm jfss2fst.asm jfss2int.asm \ |
| 36 | jiss2red.asm jiss2int.asm jiss2fst.asm \ |
| 37 | jcqnts2f.asm jiss2flt.asm |
| 38 | |
DRC | f25c071 | 2009-04-03 12:00:51 +0000 | [diff] [blame] | 39 | jccolmmx.lo: jcclrmmx.asm |
| 40 | jccolss2.lo: jcclrss2.asm |
| 41 | jdcolmmx.lo: jdclrmmx.asm |
| 42 | jdcolss2.lo: jdclrss2.asm |
DRC | 3a63184 | 2009-06-25 20:33:51 +0000 | [diff] [blame] | 43 | jdmermmx.lo: jdmrgmmx.asm |
| 44 | jdmerss2.lo: jdmrgss2.asm |
DRC | f25c071 | 2009-04-03 12:00:51 +0000 | [diff] [blame] | 45 | |
DRC | cdc8ac3 | 2009-06-25 20:38:31 +0000 | [diff] [blame^] | 46 | endif |
| 47 | |
Pierre Ossman | 3a65ef4 | 2009-03-16 13:34:18 +0000 | [diff] [blame] | 48 | .asm.lo: |
| 49 | $(LIBTOOL) --mode=compile --tag NASM ./nasm_lt.sh $(NASM) $(NAFLAGS) $< -o $@ |
| 50 | |
| 51 | jsimdcfg.inc: jsimdcfg.inc.h ../jpeglib.h ../jconfig.h ../jmorecfg.h |
| 52 | $(CPP) $< | grep ^[\;%] | sed 's%_cpp_protection_%%' > $@ |
| 53 | |