Apply maemo2 patch
[opencv] / otherlibs / highgui / makefile.gnu
1 TARGET := highgui
2 BINTYPE := DLL
3 SRC_ROOT := ../../otherlibs/highgui
4 INC_ROOT := ../../otherlibs/highgui
5 CXCORE_INC := ../../cxcore/include
6 SRC_DIRS := . ../../cxcore/include
7
8
9 OBJS := bitstrm.o cvcap.o cvcap_cmu.o cvcap_vfw.o cvcap_win32.o grfmt_base.o grfmt_bmp.o \
10     grfmt_jpeg.o grfmt_png.o grfmt_pxm.o grfmt_sunras.o grfmt_tiff.o image.o \
11     loadsave.o utils.o window.o window_w32.o
12
13 CXXFLAGS := -D"HAVE_JPEG" -D"HAVE_PNG" -D"HAVE_ZLIB" -D"HAVE_TIFF" -D"CVAPI_EXPORTS" \
14     -I"$(INC_ROOT)" -I"$(CXCORE_INC)" -I"../../otherlibs/_graphics/include"
15
16 INCS := bitstrm.h grfmts.h grfmt_base.h grfmt_bmp.h grfmt_jpeg.h \
17     grfmt_png.h grfmt_pxm.h grfmt_sunras.h grfmt_tiff.h \
18     _highgui.h utils.h highgui.h \
19     cxcore.h cxcore.hpp cxerror.h cxmisc.h cxtypes.h cvver.h
20
21 LIBS := -lcxcore$(DBG) -Wl,-L../../otherlibs/_graphics/lib \
22     -ltiff -ljpeg -lpng -lz -lvfw_avi32 -lvfw_cap32 -lvfw_ms32 -lcomctl32
23
24 include ../../_make/make_module_gnu.mak