aboutsummaryrefslogtreecommitdiff
path: root/plugins/smart/sample/Makefile.am
blob: 407d2dd35322418593b0cd85685633eaae155961 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
noinst_LTLIBRARIES = \
    $(NULL)

if ENABLE_IA_AIQ
noinst_LTLIBRARIES += \
    libxcam_sample_smart.la \
    $(NULL)
endif

XCAMSMART_CXXFLAGS = $(XCAM_CXXFLAGS)
XCAMSMART_LIBS = \
    $(NULL)

if USE_LOCAL_ATOMISP
XCAMSMART_CXXFLAGS += \
    -I$(top_srcdir)/ext/atomisp  \
    $(NULL)
endif

plugindir="$(libdir)/xcam/plugins/smart"

if ENABLE_IA_AIQ
libxcam_sample_smart_la_SOURCES = \
    sample_smart_analysis.cpp    \
    $(NULL)

libxcam_sample_smart_la_CXXFLAGS = \
    $(GST_CFLAGS) $(XCAMSMART_CXXFLAGS)  \
    -I$(top_srcdir)/xcore                \
    -I$(top_srcdir)/modules/isp          \
    -I$(top_srcdir)/plugins/smart        \
    $(NULL)

libxcam_sample_smart_la_LIBADD = \
    $(XCAMSMART_LIBS)                      \
    $(top_builddir)/xcore/libxcam_core.la  \
    $(NULL)

libxcam_sample_smart_la_LDFLAGS = \
    -module -avoid-version                 \
    $(top_builddir)/xcore/libxcam_core.la  \
    $(PTHREAD_LDFLAGS)                     \
    $(NULL)
endif

libxcam_sample_smart_la_LIBTOOLFLAGS = --tag=disable-static