mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-26 13:48:21 +01:00
979c0ebbcd
This gives a similar structure to libwebp and fixes a bug where passing NULL to SharpYuvInit() would unconditionally set optimized function pointers. SharpYuvInit() is left as an undocumented public function and SharpYuvGetCPUInfo is kept private to serialize updates to the pointer. Change-Id: Id72fbf3ba5b396367510e3bcd1ee2e4e11b95b8c
42 lines
1.4 KiB
Makefile
42 lines
1.4 KiB
Makefile
AM_CPPFLAGS += -I$(top_builddir) -I$(top_srcdir)
|
|
AM_CPPFLAGS += -I$(top_builddir)/src -I$(top_srcdir)/src
|
|
|
|
lib_LTLIBRARIES = libsharpyuv.la
|
|
|
|
noinst_LTLIBRARIES =
|
|
noinst_LTLIBRARIES += libsharpyuv_sse2.la
|
|
noinst_LTLIBRARIES += libsharpyuv_neon.la
|
|
|
|
libsharpyuvinclude_HEADERS =
|
|
libsharpyuvinclude_HEADERS += sharpyuv.h
|
|
libsharpyuvinclude_HEADERS += sharpyuv_csp.h
|
|
noinst_HEADERS =
|
|
noinst_HEADERS += ../src/dsp/cpu.c
|
|
noinst_HEADERS += ../src/dsp/cpu.h
|
|
noinst_HEADERS += ../src/webp/types.h
|
|
|
|
libsharpyuv_sse2_la_SOURCES =
|
|
libsharpyuv_sse2_la_SOURCES += sharpyuv_sse2.c
|
|
libsharpyuv_sse2_la_CPPFLAGS = $(libsharpyuv_la_CPPFLAGS)
|
|
libsharpyuv_sse2_la_CFLAGS = $(AM_CFLAGS) $(SSE2_FLAGS)
|
|
|
|
libsharpyuv_neon_la_SOURCES =
|
|
libsharpyuv_neon_la_SOURCES += sharpyuv_neon.c
|
|
libsharpyuv_neon_la_CPPFLAGS = $(libsharpyuv_la_CPPFLAGS)
|
|
libsharpyuv_neon_la_CFLAGS = $(AM_CFLAGS) $(NEON_FLAGS)
|
|
|
|
libsharpyuv_la_SOURCES =
|
|
libsharpyuv_la_SOURCES += sharpyuv_cpu.c sharpyuv_cpu.h
|
|
libsharpyuv_la_SOURCES += sharpyuv_csp.c sharpyuv_csp.h
|
|
libsharpyuv_la_SOURCES += sharpyuv_dsp.c sharpyuv_dsp.h
|
|
libsharpyuv_la_SOURCES += sharpyuv_gamma.c sharpyuv_gamma.h
|
|
libsharpyuv_la_SOURCES += sharpyuv.c sharpyuv.h
|
|
|
|
libsharpyuv_la_CPPFLAGS = $(AM_CPPFLAGS)
|
|
libsharpyuv_la_LDFLAGS = -no-undefined -version-info 0:0:0 -lm
|
|
libsharpyuv_la_LIBADD =
|
|
libsharpyuv_la_LIBADD += libsharpyuv_sse2.la
|
|
libsharpyuv_la_LIBADD += libsharpyuv_neon.la
|
|
libsharpyuvincludedir = $(includedir)/webp/sharpyuv
|
|
pkgconfig_DATA = libsharpyuv.pc
|