## ## ------------------------------------------------------------------------- ## SIVP - Scilab Image and Video Processing toolbox ## Copyright (C) 2007 Shiqi Yu ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or ## (at your option) any later version. ## ## This program is distributed in the hope that it will be useful, ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with this program; if not, write to the Free Software ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ## ------------------------------------------------------------------------- ## # list of *.c files IMG_IO_SRC=imread.c imwrite.c imfinfo.c test.c mat2utfimg.c AVI_IO_SRC=aviinfo.c aviopen.c avifile.c aviclose.c avicloseall.c avilistopened.c avireadframe.c camopen.c addframe.c IMG_TRAN_SRC=imresize.c imabsdiff.c imadd.c imsubtract.c immultiply.c imdivide.c IMG_FILTER_SRC=sobel.c imfilter.c filter2.c canny.c IMG_COLOR_SRC=cvtcolor.c ALL_SRC=libsivp.c common.c sivp_init.c $(IMG_IO_SRC) $(AVI_IO_SRC) $(IMG_TRAN_SRC) $(IMG_FILTER_SRC) $(IMG_COLOR_SRC) # list of objects file OBJS=$(ALL_SRC:.c=.obj) # software install path SCIDIR =C:/PROGRA~1/scilab-4.1 SCIDIR1 =C:\PROGRA~1\scilab-4.1 OPENCV_PATH=C:\PROGRA~1\OpenCV # name of the dll to be built LIBRARY = ..\lib\libsivp # added libraries OTHERLIBS = cxcore.lib cv.lib highgui.lib !include $(SCIDIR1)\Makefile.incl.mak CFLAGS = -D"WIN_SIVP" $(CC_OPTIONS) -DFORDLL -I"$(SCIDIR)\routines" -Dmexfunction_=mex$*_ -DmexFunction=mex_$* -I"..\config" -I"$(OPENCV_PATH)\cxcore\include" -I"$(OPENCV_PATH)\cv\include" -I"$(OPENCV_PATH)\otherlibs\highgui" FFLAGS = $(FC_OPTIONS) -DFORDLL -I"$(SCIDIR)/routines" -Dmexfunction=mex$* EXTRA_LDFLAGS = -LIBPATH:$(OPENCV_PATH)\lib !include $(SCIDIR1)\config\Makedll.incl