Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Abdelwahab HEBA
kaldi_2015
Commits
ba9d5357
Commit
ba9d5357
authored
Jul 24, 2015
by
Jan "yenda" Trmal
Browse files
Merge pull request #26 from jtrmal/kaldi-lat-makefile
removing the kald-lat custom rule -- does not matter now
parents
8d43d2e3
1ad6f99c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
24 deletions
+0
-24
src/lat/Makefile
src/lat/Makefile
+0
-24
No files found.
src/lat/Makefile
View file @
ba9d5357
...
...
@@ -21,27 +21,3 @@ ADDLIBS = ../hmm/kaldi-hmm.a ../tree/kaldi-tree.a ../matrix/kaldi-matrix.a \
include
../makefiles/default_rules.mk
# Overriding the default library rule
# Added 2015-06-22 in connection with creating a standalone kws lib
# It's purpose is to make the transition more seamless for users
# Will be removed in a half a year or so.
$(LIBFILE)
:
$(OBJFILES)
$(AR)
-d
$(LIBNAME)
.a kws-functions.o
$(AR)
-cru
$(LIBNAME)
.a
$(OBJFILES)
$(RANLIB)
$(LIBNAME)
.a
ifeq
($(KALDI_FLAVOR), dynamic)
ifeq
($(shell uname), Darwin)
$(CXX)
-dynamiclib
-o
$@
-install_name
@rpath/
$@
-framework
Accelerate
$(LDFLAGS)
$(XLDLIBS)
$(OBJFILES)
$(LDLIBS)
rm
-f
$(KALDILIBDIR)
/
$@
;
ln
-s
$(
shell
pwd
)
/
$@
$(KALDILIBDIR)
/
$@
else
ifeq
($(shell uname), Linux)
# Building shared library from static
(
static was compiled with
-fPIC
)
$(CXX)
-shared
-o
$@
-Wl
,--no-undefined
-Wl
,--as-needed
-Wl
,-soname
=
$@
,--whole-archive
$(LIBNAME)
.a
-Wl
,--no-whole-archive
$(LDFLAGS)
$(XDEPENDS)
$(LDLIBS)
rm
-f
$(KALDILIBDIR)
/
$@
;
ln
-s
$(
shell
pwd
)
/
$@
$(KALDILIBDIR)
/
$@
#cp $@
$(KALDILIBDIR)
else
# Platform not supported
$(
error
Dynamic libraries not supported on this platform. Run configure with
--static
flag.
)
endif
endif
endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment