1# -----------------------------------------------------------------------------
2#               Common definitons
3# -----------------------------------------------------------------------------
4
5AM_CFLAGS = -g -O3
6AM_CFLAGS += -Werror
7
8AM_CPPFLAGS = -D_ANDROID_
9AM_CPPFLAGS += -DHAVE_ANDROID_OS
10AM_CPPFLAGS += -I$(top_srcdir)/mm-video-v4l2/vidc/common/inc
11
12# -----------------------------------------------------------------------------
13#           Make the Shared library (libhypv_intercept)
14# -----------------------------------------------------------------------------
15h_sources = hypv_intercept.h
16c_sources = hypv_intercept.cpp
17
18include_HEADERS = $(h_source)
19lib_LTLIBRARIES = libhypv_intercept.la
20libhypv_intercept_la_SOURCES = $(c_sources)
21libhypv_intercept_la_CFLAGS = $(AM_CFLAGS) -fPIC
22libhypv_intercept_la_CPPFLAGS = $(AM_CPPFLAGS)
23libhypv_intercept_la_LDFLAGS = -shared -llog -ldl
24