Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
WCCL
Manage
Activity
Members
Labels
Plan
Issues
4
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Analysers
WCCL
Commits
5f44070f
Commit
5f44070f
authored
13 years ago
by
Paweł Kędzia
Browse files
Options
Downloads
Patches
Plain Diff
Updated Makefile for the ccl and corpus2 wrappers
parent
e8185fae
Branches
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
swig/Makefile
+57
-15
57 additions, 15 deletions
swig/Makefile
with
57 additions
and
15 deletions
swig/Makefile
+
57
−
15
View file @
5f44070f
...
...
@@ -15,47 +15,53 @@ ANTLRLIB=/usr/lib/libantlr-pic.a
# CPPFLAGS=-fPIC -Wall -O2
CPPFLAGS
=
-fPIC
-O2
# CBIN=libcorpustag.o libcorpustagset.o libcorpustagsetmanager.o libcclparser.o
# CBIN=libcclvalue.o libcclbool.o libcclmatch.o libcclposition.o libccltset.o libcclstrset.o
# CBIN=libcclexpression.o libcclparsedexpression.o
CBIN
=
libcclvariables.o libcclparsedexpression.o
#CBIN=boost_shared_ptr.o \
libcorpustag.o
libcorpustagset.o
libcorpustagsetmanager.o
\
libcclvalue.o
libcclstrset.o
libcclbool.o
libcclmatch.o
libcclposition.o
\
CBIN
=
# CBIN=libcorpustag.o libcorpustagset.o libcorpustagsetmanager.o \
libcclvalue.o
libcclstrset.o
libcclbool.o
libcclposition.o
\
libccltset.o
libcclexpression.o
libcclparsedexpression.o
\
libcclfunctionaloperator.o
libcclvariables.o
libcclfunctionaloperator.o
libcclvariables.o
libcclmatch.o
\
boostsharedptr.o
libcorpustoken.o
libcorpuslexeme.o
\
libcclsentencecontext.o
libcorpussentence.o
libccloperator.o
CBINOUT
=
_libcorpustag.so _libcorpustagset.so _libcorpustagsetmanager.so
\
_libcclvalue.so _libcclstrset.so _libcclbool.so _libcclposition.so
\
_libccltset.so _libcclexpression.so _libcclparsedexpression.so
\
_libcclfunctionaloperator.so _libcclvariables.so _libcclmatch.so
\
_boost_shared_ptr.so
_boost_shared_ptr.so _libcorpustoken.so _libcorpuslexeme.so
\
_libcclsentencecontext.so _libcorpussentence.so _libccloperator.so
CWRAP
=
libcorpustag_wrap.cxx libcorpustagset_wrap.cxx libcorpustagsetmanager_wrap.cxx
\
libcclvalue_wrap.cxx libcclstrset_wrap.cxx libcclbool_wrap.cxx
\
libcclparser_wrap.cxx libcclposition_wrap.cxx libccltset_wrap.cxx
\
libcclexpression_wrap.cxx libcclparsedexpression_wrap.cxx
\
libcclfunctionaloperator_wrap.cxx libcclvariables_wrap.cxx libcclmatch_wrap.cxx
\
boost_shared_ptr_wrap.cxx
boost_shared_ptr_wrap.cxx libcorpustoken_wrap.cxx libcorpuslexeme_wrap.cxx
\
libcclsentencecontext_wrap.cxx libcorpussentence_wrap.cxx
\
libccloperator_wrap.cxx
CWRAPBIN
=
libcorpustag_wrap.o libcorpustagset_wrap.o libcorpustagsetmanager_wrap.o
\
libcclvalue_wrap.o libcclstrset_wrap.o libcclbool_wrap.o
\
libcclposition_wrap.o libccltset_wrap.o
\
libcclexpression_wrap.o libcclparsedexpression_wrap.o
\
libcclfunctionaloperator_wrap.o libcclvariables_wrap.o
\
libcclmatch_wrap.o boost_shared_ptr_wrap.o
libcclmatch_wrap.o boost_shared_ptr_wrap.o libcorpustoken_wrap.o
\
libcorpuslexeme_wrap.o libcclsentencecontext_wrap.o
\
libcorpussentence_wrap.o libccloperator_wrap.o
PYMODULES
=
libcorpustag.py libcorpustagset.py libcorpustagsetmanager.py
\
libcclvalue.py libcclstrset.py libcclbool.py
\
libcclparser.py libcclposition.py libccltset.py
\
libcclexpression.py libcclparsedexpression.py libcclvariables.py
\
boost_shared_ptr.py
boost_shared_ptr.py libcorpuslexeme.py libcorpustoken.py
\
libcclsentencecontext.py libcorpussentence.py
\
libcclfunctionaloperator.py libccloperator.py
PYCBIN
=
libcorpustag.pyc libcorpustagset.pyc libcorpustagsetmanager.pyc
\
libcclvalue.pyc libcclstrset.pyc libcclbool.pyc
\
libcclposition.pyc libccltset.pyc libcclexpression.pyc libcclparsedexpression.pyc
\
libcclvariables.pyc boost_shared_ptr.pyc
libcclvariables.pyc boost_shared_ptr.pyc libcorpuslexeme.pyc libcorpustoken.pyc
\
libcorpussentence.pyc libcclsentencecontext.pyc libcclfunctionaloperator.pyc
\
libccloperator.pyc
all
:
boost_shared_ptr.o $(CBIN)
# Nothing to do
...
...
@@ -96,7 +102,28 @@ libcorpustagsetmanager.o:
$(
SWIG
)
$(
SWIGOPTS_LANG
)
libcorpustagsetmanager.i
$(
CPP
)
-c
libcorpustagsetmanager_wrap.cxx
-I
$(
PYTHONDIR
)
$(
CPPFLAGS
)
$(
CPP
)
-shared
libcorpustagsetmanager_wrap.o
\
$(
CCLBIN
)
$(
PWRUTILBIN
)
$(
CORPUS2BIN
)
-o
_libcorpustagsetmanager.so
$(
PWRUTILBIN
)
$(
CORPUS2BIN
)
-o
_libcorpustagsetmanager.so
# Token
libcorpustoken.o
:
$(
SWIG
)
$(
SWIGOPTS_LANG
)
libcorpustoken.i
$(
CPP
)
-c
libcorpustoken_wrap.cxx
-I
$(
PYTHONDIR
)
$(
CPPFLAGS
)
$(
CPP
)
-shared
libcorpustoken_wrap.o
\
$(
PWRUTILBIN
)
$(
CORPUS2BIN
)
-o
_libcorpustoken.so
# Lexeme
libcorpuslexeme.o
:
$(
SWIG
)
$(
SWIGOPTS_LANG
)
libcorpuslexeme.i
$(
CPP
)
-c
libcorpuslexeme_wrap.cxx
-I
$(
PYTHONDIR
)
$(
CPPFLAGS
)
$(
CPP
)
-shared
libcorpuslexeme_wrap.o
\
$(
PWRUTILBIN
)
$(
CORPUS2BIN
)
-o
_libcorpuslexeme.so
# Sentence
libcorpussentence.o
:
$(
SWIG
)
$(
SWIGOPTS_LANG
)
libcorpussentence.i
$(
CPP
)
-c
libcorpussentence_wrap.cxx
-I
$(
PYTHONDIR
)
$(
CPPFLAGS
)
$(
CPP
)
-shared
libcorpussentence_wrap.o
\
$(
PWRUTILBIN
)
$(
CORPUS2BIN
)
-o
_libcorpussentence.so
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
...
...
@@ -166,6 +193,14 @@ libcclfunctionaloperator.o:
$(
CPP
)
-shared
libcclfunctionaloperator_wrap.o
\
$(
CCLBIN
)
$(
ANTLRLIB
)
-o
_libcclfunctionaloperator.so
# Operator
libccloperator.o
:
$(
SWIG
)
$(
SWIGOPTS_LANG
)
libccloperator.i
$(
CPP
)
-c
libccloperator_wrap.cxx
-I
$(
PYTHONDIR
)
-I
$(
WCCLDIR
)
$(
CPPFLAGS
)
$(
CPP
)
-shared
libccloperator_wrap.o
\
$(
CCLBIN
)
$(
ANTLRLIB
)
-o
_libccloperator.so
# Variables
libcclvariables.o
:
$(
SWIG
)
$(
SWIGOPTS_LANG
)
libcclvariables.i
...
...
@@ -173,6 +208,13 @@ libcclvariables.o:
$(
CPP
)
-shared
libcclvariables_wrap.o
\
$(
CCLBIN
)
$(
ANTLRLIB
)
-o
_libcclvariables.so
# SentenceContext
libcclsentencecontext.o
:
$(
SWIG
)
$(
SWIGOPTS_LANG
)
libcclsentencecontext.i
$(
CPP
)
-c
libcclsentencecontext_wrap.cxx
-I
$(
PYTHONDIR
)
-I
$(
WCCLDIR
)
$(
CPPFLAGS
)
$(
CPP
)
-shared
libcclsentencecontext_wrap.o
\
$(
CCLBIN
)
$(
ANTLRLIB
)
-o
_libcclsentencecontext.so
# -----------------------------------------------------------------------------
clean
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment