1lib_LTLIBRARIES = libxcam_core.la
2
3XCAM_CORE_CXXFLAGS = $(XCAM_CXXFLAGS)
4XCAM_CORE_LIBS = \
5    -ldl      \
6    -lpthread \
7    $(NULL)
8
9xcam_sources = \
10    analyzer_loader.cpp                 \
11    smart_analyzer_loader.cpp           \
12    buffer_pool.cpp                     \
13    calibration_parser.cpp              \
14    device_manager.cpp                  \
15    pipe_manager.cpp                    \
16    dma_video_buffer.cpp                \
17    dynamic_analyzer.cpp                \
18    dynamic_analyzer_loader.cpp         \
19    smart_analyzer.cpp                  \
20    smart_analysis_handler.cpp          \
21    smart_buffer_priv.cpp               \
22    fake_poll_thread.cpp                \
23    file_handle.cpp                     \
24    handler_interface.cpp               \
25    image_handler.cpp                   \
26    image_processor.cpp                 \
27    image_projector.cpp                 \
28    image_file_handle.cpp               \
29    poll_thread.cpp                     \
30    surview_fisheye_dewarp.cpp          \
31    swapped_buffer.cpp                  \
32    thread_pool.cpp                     \
33    uvc_device.cpp                      \
34    v4l2_buffer_proxy.cpp               \
35    v4l2_device.cpp                     \
36    video_buffer.cpp                    \
37    worker.cpp                          \
38    xcam_analyzer.cpp                   \
39    x3a_analyzer.cpp                    \
40    x3a_analyzer_manager.cpp            \
41    x3a_analyzer_simple.cpp             \
42    x3a_image_process_center.cpp        \
43    x3a_stats_pool.cpp                  \
44    x3a_result.cpp                      \
45    x3a_result_factory.cpp              \
46    xcam_common.cpp                     \
47    xcam_buffer.cpp                     \
48    xcam_thread.cpp                     \
49    xcam_utils.cpp                      \
50    interface/feature_match.cpp         \
51    interface/blender.cpp               \
52    interface/geo_mapper.cpp            \
53    interface/stitcher.cpp              \
54    $(NULL)
55
56if HAVE_LIBDRM
57XCAM_CORE_CXXFLAGS += $(LIBDRM_CFLAGS)
58XCAM_CORE_LIBS += \
59    -ldrm_intel          \
60    $(LIBDRM_LIBS)       \
61    $(NULL)
62
63xcam_sources += \
64    drm_bo_buffer.cpp    \
65    drm_display.cpp      \
66    drm_v4l2_buffer.cpp  \
67    $(NULL)
68endif
69
70libxcam_core_la_CXXFLAGS = \
71    $(XCAM_CORE_CXXFLAGS)  \
72    $(NULL)
73
74libxcam_core_la_SOURCES = \
75    $(xcam_sources)  \
76    $(NULL)
77
78libxcam_core_la_LDFLAGS = \
79    -no-undefined       \
80    $(XCAM_LT_LDFLAGS)  \
81    $(PTHREAD_LDFLAGS)  \
82    $(NULL)
83
84libxcam_core_la_LIBADD = \
85    $(XCAM_CORE_LIBS)  \
86    $(NULL)
87
88libxcam_coreincludedir = $(includedir)/xcam
89
90nobase_libxcam_coreinclude_HEADERS = \
91    base/xcam_3a_result.h          \
92    base/xcam_3a_types.h           \
93    base/xcam_3a_description.h     \
94    base/xcam_buffer.h             \
95    base/xcam_params.h             \
96    base/xcam_common.h             \
97    base/xcam_defs.h               \
98    base/xcam_smart_description.h  \
99    base/xcam_smart_result.h       \
100    calibration_parser.h           \
101    device_manager.h               \
102    dma_video_buffer.h             \
103    file_handle.h                  \
104    pipe_manager.h                 \
105    handler_interface.h            \
106    image_handler.h                \
107    image_processor.h              \
108    image_projector.h              \
109    image_file_handle.h            \
110    safe_list.h                    \
111    smartptr.h                     \
112    surview_fisheye_dewarp.h       \
113    swapped_buffer.h               \
114    thread_pool.h                  \
115    v4l2_buffer_proxy.h            \
116    v4l2_device.h                  \
117    video_buffer.h                 \
118    worker.h                       \
119    xcam_analyzer.h                \
120    x3a_analyzer.h                 \
121    x3a_analyzer_manager.h         \
122    x3a_event.h                    \
123    x3a_image_process_center.h     \
124    x3a_result.h                   \
125    xcam_mutex.h                   \
126    xcam_thread.h                  \
127    xcam_std.h                     \
128    xcam_utils.h                   \
129    xcam_obj_debug.h               \
130    buffer_pool.h                  \
131    meta_data.h                    \
132    vec_mat.h                      \
133    interface/data_types.h         \
134    interface/feature_match.h      \
135    interface/blender.h            \
136    interface/geo_mapper.h         \
137    interface/stitcher.h           \
138    $(NULL)
139
140if HAVE_LIBDRM
141nobase_libxcam_coreinclude_HEADERS += \
142    drm_bo_buffer.h    \
143    drm_display.h      \
144    drm_v4l2_buffer.h  \
145    $(NULL)
146endif
147