diff --git a/Makefile b/Makefile index e784468..cf1ced7 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,18 @@ +# ***************************************************************** +# +# VLibras: Automatic contents translator from Portuguese to LIBRAS +# +# Copyright (c) 2015 Leonardo Araújo +# VLibras-Core group at LAViD, Federal University of Paraiba +# +# ***************************************************************** + +# ----------------------------------------------------------------- +# \file Makefile, Makefile.build, Makefile.top +# \authors Leonardo Araújo +# \date Março 2015 +# ----------------------------------------------------------------- + include Makefile.top MODULE = vlibras_desktop @@ -9,7 +24,7 @@ CFLAGS = \ -I$(INCDIR)\ -I/usr/include/python2.7 -CFLAGS += -m32 -g -fPIC +CFLAGS += -m64 -g -fPIC LDFLAGS = \ -L/usr/lib/python2.7/config\ diff --git a/README b/README index 13aea09..13dc8ec 100644 --- a/README +++ b/README @@ -1,19 +1,20 @@ --------------------------------------------- -COMPILE --------------------------------------------- +# ***************************************************************** +# +# VLibras: Automatic contents translator from Portuguese to LIBRAS +# +# Copyright (c) 2015 +# VLibras-Core group at LAViD, Federal University of Paraiba +# +# ***************************************************************** -$ g++ -Iinclude/ -I/usr/include/python2.7 -g -c src/py_tradutor.cpp src/core_plugin.cpp -fPIC -Wall +------------------------------------------------------------------- +Compile and generate the shared library to VLibras-Core-Desktop +------------------------------------------------------------------- --------------------------------------------- -BUILD SHARED LIBRARY (.so) --------------------------------------------- +$ make -$ g++ -shared -fPIC py_tradutor.o core_plugin.o $(python2.7-config --ldflags) -o libCorePlugin.so -lm +------------------------------------------------------------------- +Clean object and shared library files +------------------------------------------------------------------- -$ g++ -shared -fPIC py_tradutor.o core_plugin.o -L/usr/lib/python2.7/config -lpthread -ldl -lutil -lm -lpython2.7 -o libCorePlugin.so -lm - --------------------------------------------- -TEST WITH MAIN FILE --------------------------------------------- - -$ g++ $(python2.7-config --cflags) -I /usr/local/include/ src/main.cpp -L/usr/local/lib -lcoreplugin -o vlibras \ No newline at end of file +$ make clean \ No newline at end of file diff --git a/plugin/libCorePlugin-0.2.so b/plugin/libCorePlugin-0.2.so deleted file mode 100755 index c8d7fa0..0000000 Binary files a/plugin/libCorePlugin-0.2.so and /dev/null differ diff --git a/plugin/libCorePlugin.so b/plugin/libCorePlugin.so deleted file mode 120000 index a37bec0..0000000 --- a/plugin/libCorePlugin.so +++ /dev/null @@ -1 +0,0 @@ -libCorePlugin-0.2.so \ No newline at end of file diff --git a/src/core_plugin.o b/src/core_plugin.o deleted file mode 100644 index a972738..0000000 Binary files a/src/core_plugin.o and /dev/null differ diff --git a/src/py_tradutor.o b/src/py_tradutor.o deleted file mode 100644 index bc1ad73..0000000 Binary files a/src/py_tradutor.o and /dev/null differ -- libgit2 0.21.2