Philipp Maier | e8ae9fc | 2017-03-20 12:08:42 +0100 | [diff] [blame] | 1 | AM_CFLAGS = -Wall -std=gnu99 -I${srcdir}/../common |
Thomas Tsou | 17bbb9b | 2013-10-30 21:24:40 -0400 | [diff] [blame] | 2 | |
| 3 | noinst_LTLIBRARIES = libarch.la |
Philipp Maier | e8ae9fc | 2017-03-20 12:08:42 +0100 | [diff] [blame] | 4 | noinst_LTLIBRARIES += libarch_sse_3.la |
| 5 | noinst_LTLIBRARIES += libarch_sse_4_1.la |
| 6 | |
| 7 | libarch_la_LIBADD = |
| 8 | |
| 9 | # SSE 3 specific code |
| 10 | if HAVE_SSE3 |
| 11 | libarch_sse_3_la_SOURCES = \ |
| 12 | convert_sse_3.c \ |
| 13 | convolve_sse_3.c |
| 14 | libarch_sse_3_la_CFLAGS = $(AM_CFLAGS) -msse3 |
| 15 | libarch_la_LIBADD += libarch_sse_3.la |
| 16 | endif |
| 17 | |
| 18 | # SSE 4.1 specific code |
| 19 | if HAVE_SSE4_1 |
| 20 | libarch_sse_4_1_la_SOURCES = \ |
| 21 | convert_sse_4_1.c |
| 22 | libarch_sse_4_1_la_CFLAGS = $(AM_CFLAGS) -msse4.1 |
| 23 | libarch_la_LIBADD += libarch_sse_4_1.la |
| 24 | endif |
Thomas Tsou | 17bbb9b | 2013-10-30 21:24:40 -0400 | [diff] [blame] | 25 | |
| 26 | libarch_la_SOURCES = \ |
| 27 | ../common/convolve_base.c \ |
Philipp Maier | fe97698 | 2017-03-16 14:50:25 +0100 | [diff] [blame] | 28 | ../common/convert_base.c \ |
Thomas Tsou | 17bbb9b | 2013-10-30 21:24:40 -0400 | [diff] [blame] | 29 | convert.c \ |
| 30 | convolve.c |