• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1lib_LTLIBRARIES = libxcam_capi.la
2
3XCAMCAPI_LIBS =                    \
4    $(LIBCL_LIBS)                  \
5    -ldl                           \
6    $(NULL)
7
8XCAMCAPI_CXXFLAGS =                \
9    $(XCAM_CXXFLAGS)               \
10    $(LIBCL_CFLAGS)                \
11    -I$(top_srcdir)/xcore          \
12    -I$(top_srcdir)/modules        \
13    $(NULL)
14
15if HAVE_LIBDRM
16XCAMCAPI_CXXFLAGS += $(LIBDRM_CFLAGS)
17XCAMCAPI_LIBS +=                   \
18    -ldrm_intel                    \
19    $(LIBDRM_LIBS)                 \
20    $(NULL)
21endif
22
23xcam_ocl_sources =                 \
24    xcam_handle.cpp                \
25    context_priv.cpp               \
26   $(NULL)
27
28libxcam_capi_la_SOURCES =          \
29    $(xcam_ocl_sources)            \
30    $(NULL)
31
32libxcam_capi_la_CXXFLAGS =       \
33    $(XCAMCAPI_CXXFLAGS)         \
34    $(NULL)
35
36libxcam_capi_la_LIBADD =           \
37    $(top_builddir)/modules/ocl/libxcam_ocl.la \
38    $(top_builddir)/xcore/libxcam_core.la      \
39    $(XCAMCAPI_LIBS)                           \
40    $(NULL)
41
42libxcam_capi_la_LDFLAGS =          \
43    $(XCAM_LT_LDFLAGS)             \
44    $(PTHREAD_LDFLAGS)             \
45    $(NULL)
46
47libxcam_capiincludedir = $(includedir)/xcam/capi
48
49nobase_libxcam_capiinclude_HEADERS = \
50    xcam_handle.h                    \
51   $(NULL)
52
53libxcam_capi_la_LIBTOOLFLAGS = --tag=disable-static
54