• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1LOCAL_PATH:= $(call my-dir)
2
3include $(CLEAR_VARS)
4
5LOCAL_MODULE := libcxcore
6LOCAL_MODULE_TAGS := optional
7
8LOCAL_C_INCLUDES := \
9        $(LOCAL_PATH)/cxcore/include
10LOCAL_CFLAGS := $(LOCAL_C_INCLUDES:%=-I%)
11LOCAL_LDLIBS := -L$(SYSROOT)/usr/lib -ldl
12
13LOCAL_SRC_FILES := \
14        cxcore/src/cxalloc.cpp \
15        cxcore/src/cxarithm.cpp \
16        cxcore/src/cxarray.cpp \
17        cxcore/src/cxcmp.cpp \
18        cxcore/src/cxconvert.cpp \
19        cxcore/src/cxcopy.cpp \
20        cxcore/src/cxdatastructs.cpp \
21        cxcore/src/cxdrawing.cpp \
22        cxcore/src/cxdxt.cpp \
23        cxcore/src/cxerror.cpp \
24        cxcore/src/cximage.cpp \
25        cxcore/src/cxjacobieigens.cpp \
26        cxcore/src/cxlogic.cpp \
27        cxcore/src/cxlut.cpp \
28        cxcore/src/cxmathfuncs.cpp \
29        cxcore/src/cxmatmul.cpp \
30        cxcore/src/cxmatrix.cpp \
31        cxcore/src/cxmean.cpp \
32        cxcore/src/cxmeansdv.cpp \
33        cxcore/src/cxminmaxloc.cpp \
34        cxcore/src/cxnorm.cpp \
35        cxcore/src/cxouttext.cpp \
36        cxcore/src/cxpersistence.cpp \
37        cxcore/src/cxprecomp.cpp \
38        cxcore/src/cxrand.cpp \
39        cxcore/src/cxsumpixels.cpp \
40        cxcore/src/cxsvd.cpp \
41        cxcore/src/cxswitcher.cpp \
42        cxcore/src/cxtables.cpp \
43        cxcore/src/cxutils.cpp
44
45include $(BUILD_STATIC_LIBRARY)
46
47
48
49include $(CLEAR_VARS)
50
51LOCAL_MODULE    := libcv
52LOCAL_MODULE_TAGS := optional
53
54LOCAL_C_INCLUDES := \
55        $(LOCAL_PATH)/cxcore/include \
56        $(LOCAL_PATH)/cxcore/src \
57        $(LOCAL_PATH)/cv/include
58LOCAL_CFLAGS := $(LOCAL_C_INCLUDES:%=-I%)
59LOCAL_LDLIBS := -L$(SYSROOT)/usr/lib -ldl
60
61LOCAL_SRC_FILES := \
62        cv/src/cvaccum.cpp \
63        cv/src/cvadapthresh.cpp \
64        cv/src/cvapprox.cpp \
65        cv/src/cvcalccontrasthistogram.cpp \
66        cv/src/cvcalcimagehomography.cpp \
67        cv/src/cvcalibinit.cpp \
68        cv/src/cvcalibration.cpp \
69        cv/src/cvcamshift.cpp \
70        cv/src/cvcanny.cpp \
71        cv/src/cvcolor.cpp \
72        cv/src/cvcondens.cpp \
73        cv/src/cvcontours.cpp \
74        cv/src/cvcontourtree.cpp \
75        cv/src/cvconvhull.cpp \
76        cv/src/cvcorner.cpp \
77        cv/src/cvcornersubpix.cpp \
78        cv/src/cvderiv.cpp \
79        cv/src/cvdistransform.cpp \
80        cv/src/cvdominants.cpp \
81        cv/src/cvemd.cpp \
82        cv/src/cvfeatureselect.cpp \
83        cv/src/cvfilter.cpp \
84        cv/src/cvfloodfill.cpp \
85        cv/src/cvfundam.cpp \
86        cv/src/cvgeometry.cpp \
87        cv/src/cvhaar.cpp \
88        cv/src/cvhistogram.cpp \
89        cv/src/cvhough.cpp \
90        cv/src/cvimgwarp.cpp \
91        cv/src/cvinpaint.cpp \
92        cv/src/cvkalman.cpp \
93        cv/src/cvlinefit.cpp \
94        cv/src/cvlkpyramid.cpp \
95        cv/src/cvmatchcontours.cpp \
96        cv/src/cvmoments.cpp \
97        cv/src/cvmorph.cpp \
98        cv/src/cvmotempl.cpp \
99        cv/src/cvoptflowbm.cpp \
100        cv/src/cvoptflowhs.cpp \
101        cv/src/cvoptflowlk.cpp \
102        cv/src/cvpgh.cpp \
103        cv/src/cvposit.cpp \
104        cv/src/cvprecomp.cpp \
105        cv/src/cvpyramids.cpp \
106        cv/src/cvpyrsegmentation.cpp \
107        cv/src/cvrotcalipers.cpp \
108        cv/src/cvsamplers.cpp \
109        cv/src/cvsegmentation.cpp \
110        cv/src/cvshapedescr.cpp \
111        cv/src/cvsmooth.cpp \
112        cv/src/cvsnakes.cpp \
113        cv/src/cvstereobm.cpp \
114        cv/src/cvstereogc.cpp \
115        cv/src/cvsubdivision2d.cpp \
116        cv/src/cvsumpixels.cpp \
117        cv/src/cvsurf.cpp \
118        cv/src/cvswitcher.cpp \
119        cv/src/cvtables.cpp \
120        cv/src/cvtemplmatch.cpp \
121        cv/src/cvthresh.cpp \
122        cv/src/cvundistort.cpp \
123        cv/src/cvutils.cpp \
124        cv/src/mycvHaarDetectObjects.cpp
125#        cv/src/cvkdtree.cpp \
126
127include $(BUILD_STATIC_LIBRARY)
128
129
130
131include $(CLEAR_VARS)
132
133LOCAL_MODULE    := libcvaux
134LOCAL_MODULE_TAGS := optional
135LOCAL_C_INCLUDES := \
136        $(LOCAL_PATH)/cv/src \
137        $(LOCAL_PATH)/cv/include \
138        $(LOCAL_PATH)/cxcore/include \
139        $(LOCAL_PATH)/cvaux/include
140LOCAL_CFLAGS := $(LOCAL_C_INCLUDES:%=-I%)
141LOCAL_LDLIBS := -L$(SYSROOT)/usr/lib -ldl
142
143LOCAL_SRC_FILES := \
144        cvaux/src/camshift.cpp \
145        cvaux/src/cvaux.cpp \
146        cvaux/src/cvauxutils.cpp \
147        cvaux/src/cvbgfg_acmmm2003.cpp \
148        cvaux/src/cvbgfg_codebook.cpp \
149        cvaux/src/cvbgfg_common.cpp \
150        cvaux/src/cvbgfg_gaussmix.cpp \
151        cvaux/src/cvcalibfilter.cpp \
152        cvaux/src/cvclique.cpp \
153        cvaux/src/cvcorrespond.cpp \
154        cvaux/src/cvcorrimages.cpp \
155        cvaux/src/cvcreatehandmask.cpp \
156        cvaux/src/cvdpstereo.cpp \
157        cvaux/src/cveigenobjects.cpp \
158        cvaux/src/cvepilines.cpp \
159        cvaux/src/cvface.cpp \
160        cvaux/src/cvfacedetection.cpp \
161        cvaux/src/cvfacetemplate.cpp \
162        cvaux/src/cvfindface.cpp \
163        cvaux/src/cvfindhandregion.cpp \
164        cvaux/src/cvhmm.cpp \
165        cvaux/src/cvhmm1d.cpp \
166        cvaux/src/cvhmmobs.cpp \
167        cvaux/src/cvlcm.cpp \
168        cvaux/src/cvlee.cpp \
169        cvaux/src/cvlevmar.cpp \
170        cvaux/src/cvlevmarprojbandle.cpp \
171        cvaux/src/cvlevmartrif.cpp \
172        cvaux/src/cvlines.cpp \
173        cvaux/src/cvlmeds.cpp \
174        cvaux/src/cvmat.cpp \
175        cvaux/src/cvmorphcontours.cpp \
176        cvaux/src/cvmorphing.cpp \
177        cvaux/src/cvprewarp.cpp \
178        cvaux/src/cvscanlines.cpp \
179        cvaux/src/cvsegment.cpp \
180        cvaux/src/cvsubdiv2.cpp \
181        cvaux/src/cvtexture.cpp \
182        cvaux/src/cvtrifocal.cpp \
183        cvaux/src/cvvecfacetracking.cpp \
184        cvaux/src/cvvideo.cpp \
185        cvaux/src/decomppoly.cpp \
186        cvaux/src/enmin.cpp \
187        cvaux/src/extendededges.cpp \
188        cvaux/src/precomp.cpp
189#        cvaux/src/cv3dtracker.cpp \
190
191include $(BUILD_STATIC_LIBRARY)
192
193
194
195include $(CLEAR_VARS)
196
197LOCAL_MODULE    := libcvml
198LOCAL_MODULE_TAGS := optional
199LOCAL_C_INCLUDES := \
200        $(LOCAL_PATH)/cv/src \
201        $(LOCAL_PATH)/cv/include \
202        $(LOCAL_PATH)/cxcore/include \
203        $(LOCAL_PATH)/ml/include
204LOCAL_CFLAGS := $(LOCAL_C_INCLUDES:%=-I%)
205LOCAL_LDLIBS := -L$(SYSROOT)/usr/lib -ldl
206
207LOCAL_SRC_FILES := \
208        ml/src/ml.cpp \
209        ml/src/mlann_mlp.cpp \
210        ml/src/mlboost.cpp \
211        ml/src/mlcnn.cpp \
212        ml/src/mlem.cpp \
213        ml/src/mlestimate.cpp \
214        ml/src/mlknearest.cpp \
215        ml/src/mlnbayes.cpp \
216        ml/src/mlrtrees.cpp \
217        ml/src/mlsvm.cpp \
218        ml/src/mltestset.cpp \
219        ml/src/mltree.cpp \
220        ml/src/ml_inner_functions.cpp
221
222include $(BUILD_STATIC_LIBRARY)
223
224
225
226include $(CLEAR_VARS)
227
228LOCAL_MODULE    := libcvhighgui
229LOCAL_MODULE_TAGS := optional
230LOCAL_C_INCLUDES := \
231        $(LOCAL_PATH)/cv/src \
232        $(LOCAL_PATH)/cv/include \
233        $(LOCAL_PATH)/cxcore/include \
234        $(LOCAL_PATH)/otherlibs/highgui \
235        external/jpeg
236
237LOCAL_SHARED_LIBRARIES += libjpeg
238
239LOCAL_CFLAGS := $(LOCAL_C_INCLUDES:%=-I%) -DHAVE_JPEG
240LOCAL_LDLIBS := -L$(SYSROOT)/usr/lib -ldl -ljpeg
241
242LOCAL_SRC_FILES := \
243        otherlibs/highgui/bitstrm.cpp \
244        otherlibs/highgui/grfmt_base.cpp \
245        otherlibs/highgui/grfmt_bmp.cpp \
246        otherlibs/highgui/grfmt_exr.cpp \
247        otherlibs/highgui/grfmt_imageio.cpp \
248        otherlibs/highgui/grfmt_jpeg.cpp \
249        otherlibs/highgui/grfmt_jpeg2000.cpp \
250        otherlibs/highgui/grfmt_png.cpp \
251        otherlibs/highgui/grfmt_pxm.cpp \
252        otherlibs/highgui/grfmt_sunras.cpp \
253        otherlibs/highgui/grfmt_tiff.cpp \
254        otherlibs/highgui/image.cpp \
255        otherlibs/highgui/loadsave.cpp \
256        otherlibs/highgui/precomp.cpp \
257        otherlibs/highgui/utils.cpp \
258        otherlibs/highgui/cvcap.cpp \
259        otherlibs/highgui/cvcap_socket.cpp
260
261include $(BUILD_STATIC_LIBRARY)
262
263include $(CLEAR_VARS)
264
265LOCAL_MODULE    := libopencv
266LOCAL_MODULE_TAGS := optional
267
268include $(LOCAL_PATH)/libopencv.mk
269
270LOCAL_CFLAGS := $(LOCAL_C_INCLUDES:%=-I%)
271LOCAL_LDLIBS := -L$(SYSROOT)/usr/lib -ldl -llog \
272                -L$(TARGET_OUT) -lcxcore -lcv -lcvaux -lcvml -lcvhighgui
273
274
275LOCAL_SRC_FILES := \
276        WLNonFileByteStream.cpp
277
278
279LOCAL_STATIC_LIBRARIES := libcxcore libcv libcvaux libcvml libcvhighgui
280
281include $(BUILD_STATIC_LIBRARY)
282
283