Browse Source

Updated makefile, add README.txt in root directory

git-svn-id: https://emgucv.svn.sourceforge.net/svnroot/emgucv/trunk@79 d7f09016-e345-0410-b530-edf29a71df78
UWP10
canming 17 years ago
parent
commit
5c7ba03fea
  1. 6
      Emgu.CV/makefile
  2. 7
      README.txt
  3. 27
      makefile

6
Emgu.CV/makefile

@ -1,10 +1,10 @@
NAME = emgu-cv
VERSION = 1.0.0.1
VERSION = 1.2.2.0
PKG_NAME = ${NAME}-${VERSION}
LIB_NAME = Emgu.CV.dll
MCS_FLAG= -d:LINUX -d:NET_2_0 -target:library -r:System.Xml -r:/usr/lib/mono/3.0/System.Runtime.Serialization.dll -r:/usr/lib/mono/3.0/System.ServiceModel.dll -r:System.Drawing
MCS_FLAG= -d:LINUX -d:NET_2_0 -pkg:olive -r:System.Xml -r:System.Drawing -r:System.Windows.Forms -r:System.Data -target:library
MCS=gmcs ${MCS_FLAG}
SRC= *.cs Properties/*.cs PInvoke/*.cs PInvoke/CvType/*.cs Shape/*.cs PointAndLine/*.cs Capture/*.cs Color/*.cs
SRC= *.cs Properties/*.cs PInvoke/*.cs PInvoke/CvType/*.cs Shape/*.cs PointAndLine/*.cs Capture/*.cs Color/*.cs UI/*.cs
INSTALL_DIR = var/lib
EMGU_DIR = ${INSTALL_DIR}/emgu
PKG_DIR = ${EMGU_DIR}/bin

7
README.txt

@ -0,0 +1,7 @@
Working with IDE
* Visual Studio 2005
** Solution files are located in 'Solution\VS2005_MonoDevelop' folder
* Visual Studio 2008
** Solution files are located in 'Solution\VS2008' folder
* MonoDevelop
** Solution files are located in 'Solution\VS2005_MonoDevelop' folder

27
makefile

@ -1,6 +1,10 @@
CC=gmcs
CVTEST_SRC = Emgu.CV.Test/*.cs
SVN_URL = https://emgucv.svn.sourceforge.net/svnroot/emgucv/trunk/
VERSION = 1.2.2.0
CV_RELEASE: Utils CV FORCE
install -d release; cp Emgu.CV/README.txt Emgu.CV/Emgu.CV.License.txt lib/zlib.net.license.txt lib/zlib.net.dll bin/Emgu.CV.dll bin/Emgu.Utils.dll release; tar -cv release | gzip -c > Emgu.CV.Linux.Binary-${VERSION}.tar.gz; rm -rf release
Utils: FORCE
make -C Emgu.Utils bin; cp Emgu.Utils/bin/Emgu.Utils.dll ./bin;
@ -8,31 +12,34 @@ Utils: FORCE
CV: Utils FORCE
make -C Emgu.CV bin; cp Emgu.CV/bin/Emgu.CV.dll ./bin;
CV_RELEASE: Utils CV FORCE
install -d release; cp Emgu.CV/README.txt Emgu.CV/Emgu.CV.License.txt lib/zlib.net.license.txt lib/zlib.net.dll bin/Emgu.CV.dll bin/Emgu.Utils.dll release; tar -cv release | gzip -c > Emgu.CV.Linux.Binary.tar.gz; rm -rf release
CV_SRC:
install -d src
svn export ${SVN_URL}Emgu.CV src/Emgu.CV
svn export ${SVN_URL}Emgu.Utils src/Emgu.Utils
svn export ${SVN_URL}Emgu.CV_VS2005.sln src/Emgu.CV_VS2005.sln
svn export ${SVN_URL}Emgu.CV_VS2008.sln src/Emgu.CV_VS2008.sln
svn export ${SVN_URL}Emgu.CV.Example_VS2005.sln src/Emgu.CV_VS2005.sln
svn export ${SVN_URL}Emgu.CV.Example_VS2008.sln src/Emgu.CV_VS2008.sln
svn export ${SVN_URL}Emgu.CV.Example src/Emgu.CV.Example
svn export ${SVN_URL}Solution/VS2005_MonoDevelop/Emgu.CV_VS2005.sln src/Solution/VS2005_MonoDevelop/Emgu.CV_VS2005.sln
svn export ${SVN_URL}Solution/VS2008/Emgu.CV_VS2008.sln src/Solution/VS2008/Emgu.CV_VS2008.sln
svn export ${SVN_URL}Solution/VS2005_MonoDevelop/Emgu.CV.Example_VS2005.sln src/Solution/VS2005_MonoDevelop/Emgu.CV_VS2005.sln
svn export ${SVN_URL}Solution/VS2008/Emgu.CV.Example_VS2008.sln src/Solution/VS2008/Emgu.CV_VS2008.sln
svn export ${SVN_URL}Emgu.CV.Example src/Emgu.CV.Exampl
svn export ${SVN_URL}README.txt src/README.txt
install -d src/lib
svn export ${SVN_URL}lib/zlib.net.dll src/lib/zlib.net.dll
zip -r Emgu.CV.source.zip src
zip -r Emgu.CV-${VERSION}.source.zip src
rm -rf src
UI: FORCE
cd Emgu.UI; make bin; cp bin/Emgu.UI.dll ../bin; cd ..;
CVTest: CV UI $(CVTEST_SRC)
$(CC) -target:library -r:System.Data -r:/usr/lib/mono/1.0/nunit.framework.dll -r:bin/Emgu.Utils.dll -r:bin/Emgu.UI.dll -r:/usr/lib/mono/2.0/System.Windows.Forms.dll -r:/usr/lib/mono/2.0/System.Drawing.dll -r:bin/Emgu.CV.dll $(CVTEST_SRC) -out:bin/Emgu.CV.Test.dll
$(CC) -target:library -r:System.Data -r:/usr/lib/mono/nunit22/nunit.framework -r:bin/Emgu.Utils.dll -r:bin/Emgu.UI.dll -r:System.Windows.Forms -r:System.Drawing -r:bin/Emgu.CV.dll $(CVTEST_SRC) -out:bin/Emgu.CV.Test.dll
Test: CVTest
cd bin; nunit-console2 Emgu.CV.Test.dll; cd ..
FORCE:
Loading…
Cancel
Save