initial package
This commit is contained in:
parent
59b218c4e0
commit
07d57f15a8
2
.gitignore
vendored
2
.gitignore
vendored
@ -0,0 +1,2 @@
|
||||
/julius-4.2.2.tar.gz
|
||||
/japanese-models.tar.gz
|
336
julius-4.2.2-DESTDIR.patch
Normal file
336
julius-4.2.2-DESTDIR.patch
Normal file
@ -0,0 +1,336 @@
|
||||
diff -up julius-4.2.2/adinrec/Makefile.in.DESTDIR julius-4.2.2/adinrec/Makefile.in
|
||||
--- julius-4.2.2/adinrec/Makefile.in.DESTDIR 2012-08-13 13:13:41.986343204 -0400
|
||||
+++ julius-4.2.2/adinrec/Makefile.in 2012-08-13 13:13:55.378342724 -0400
|
||||
@@ -36,8 +36,8 @@ $(TARGET): adinrec.c $(LIBSENT)/libsent.
|
||||
install: install.bin
|
||||
|
||||
install.bin: $(TARGET)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
############################################################
|
||||
|
||||
diff -up julius-4.2.2/adintool/Makefile.in.DESTDIR julius-4.2.2/adintool/Makefile.in
|
||||
--- julius-4.2.2/adintool/Makefile.in.DESTDIR 2012-08-13 13:14:02.713342463 -0400
|
||||
+++ julius-4.2.2/adintool/Makefile.in 2012-08-13 13:14:11.552342146 -0400
|
||||
@@ -36,8 +36,8 @@ $(TARGET): adintool.c $(LIBSENT)/libsent
|
||||
install: install.bin
|
||||
|
||||
install.bin: $(TARGET)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
############################################################
|
||||
|
||||
diff -up julius-4.2.2/generate-ngram/Makefile.in.DESTDIR julius-4.2.2/generate-ngram/Makefile.in
|
||||
--- julius-4.2.2/generate-ngram/Makefile.in.DESTDIR 2012-08-13 13:15:45.119338806 -0400
|
||||
+++ julius-4.2.2/generate-ngram/Makefile.in 2012-08-13 13:15:58.838338311 -0400
|
||||
@@ -33,8 +33,8 @@ $(TARGET): $(OBJ) $(LIBSENT)/libsent.a
|
||||
install: install.bin
|
||||
|
||||
install.bin: $(TARGET)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
clean:
|
||||
$(RM) $(OBJ) *~ core
|
||||
diff -up julius-4.2.2/gramtools/accept_check/Makefile.in.DESTDIR julius-4.2.2/gramtools/accept_check/Makefile.in
|
||||
--- julius-4.2.2/gramtools/accept_check/Makefile.in.DESTDIR 2012-08-13 13:18:34.345332753 -0400
|
||||
+++ julius-4.2.2/gramtools/accept_check/Makefile.in 2012-08-13 13:18:52.255332113 -0400
|
||||
@@ -36,8 +36,8 @@ $(TARGET): $(OBJ)
|
||||
install: install.bin
|
||||
|
||||
install.bin: $(TARGET)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
############################################################
|
||||
|
||||
diff -up julius-4.2.2/gramtools/dfa_determinize/Makefile.in.DESTDIR julius-4.2.2/gramtools/dfa_determinize/Makefile.in
|
||||
--- julius-4.2.2/gramtools/dfa_determinize/Makefile.in.DESTDIR 2012-08-13 13:19:54.860329875 -0400
|
||||
+++ julius-4.2.2/gramtools/dfa_determinize/Makefile.in 2012-08-13 13:20:07.328329430 -0400
|
||||
@@ -35,8 +35,8 @@ $(TARGET): $(OBJ)
|
||||
install: install.bin
|
||||
|
||||
install.bin: $(TARGET)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
############################################################
|
||||
|
||||
diff -up julius-4.2.2/gramtools/dfa_minimize/Makefile.in.DESTDIR julius-4.2.2/gramtools/dfa_minimize/Makefile.in
|
||||
--- julius-4.2.2/gramtools/dfa_minimize/Makefile.in.DESTDIR 2012-08-13 13:17:56.410334110 -0400
|
||||
+++ julius-4.2.2/gramtools/dfa_minimize/Makefile.in 2012-08-13 13:18:09.214333651 -0400
|
||||
@@ -34,8 +34,8 @@ $(TARGET): $(OBJ)
|
||||
install: install.bin
|
||||
|
||||
install.bin: $(TARGET)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
############################################################
|
||||
|
||||
diff -up julius-4.2.2/gramtools/generate/Makefile.in.DESTDIR julius-4.2.2/gramtools/generate/Makefile.in
|
||||
--- julius-4.2.2/gramtools/generate/Makefile.in.DESTDIR 2012-08-13 13:18:16.196333402 -0400
|
||||
+++ julius-4.2.2/gramtools/generate/Makefile.in 2012-08-13 13:18:27.686332991 -0400
|
||||
@@ -35,8 +35,8 @@ $(TARGET): $(OBJ)
|
||||
install: install.bin
|
||||
|
||||
install.bin: $(TARGET)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
############################################################
|
||||
|
||||
diff -up julius-4.2.2/gramtools/gram2sapixml/Makefile.in.DESTDIR julius-4.2.2/gramtools/gram2sapixml/Makefile.in
|
||||
--- julius-4.2.2/gramtools/gram2sapixml/Makefile.in.DESTDIR 2012-08-13 13:19:37.367330501 -0400
|
||||
+++ julius-4.2.2/gramtools/gram2sapixml/Makefile.in 2012-08-13 13:19:47.339330144 -0400
|
||||
@@ -17,8 +17,8 @@ all:
|
||||
install: install.bin
|
||||
|
||||
install.bin:
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
clean:
|
||||
echo nothing to do
|
||||
diff -up julius-4.2.2/gramtools/Makefile.in.DESTDIR julius-4.2.2/gramtools/Makefile.in
|
||||
diff -up julius-4.2.2/gramtools/mkdfa/Makefile.in.DESTDIR julius-4.2.2/gramtools/mkdfa/Makefile.in
|
||||
--- julius-4.2.2/gramtools/mkdfa/Makefile.in.DESTDIR 2012-08-13 13:17:28.637335102 -0400
|
||||
+++ julius-4.2.2/gramtools/mkdfa/Makefile.in 2012-08-13 13:17:46.600334459 -0400
|
||||
@@ -18,13 +18,13 @@ all:
|
||||
|
||||
install:
|
||||
(cd $(SUBDIR); $(MAKE) install)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
install.bin:
|
||||
(cd $(SUBDIR); $(MAKE) install.bin)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
clean:
|
||||
(cd $(SUBDIR); $(MAKE) clean)
|
||||
diff -up julius-4.2.2/gramtools/nextword/Makefile.in.DESTDIR julius-4.2.2/gramtools/nextword/Makefile.in
|
||||
--- julius-4.2.2/gramtools/nextword/Makefile.in.DESTDIR 2012-08-13 13:18:59.540331853 -0400
|
||||
+++ julius-4.2.2/gramtools/nextword/Makefile.in 2012-08-13 13:19:11.613331420 -0400
|
||||
@@ -36,8 +36,8 @@ $(TARGET): $(OBJ)
|
||||
install: install.bin
|
||||
|
||||
install.bin: $(TARGET)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
############################################################
|
||||
|
||||
diff -up julius-4.2.2/gramtools/yomi2voca/Makefile.in.DESTDIR julius-4.2.2/gramtools/yomi2voca/Makefile.in
|
||||
--- julius-4.2.2/gramtools/yomi2voca/Makefile.in.DESTDIR 2012-08-13 13:19:19.833331127 -0400
|
||||
+++ julius-4.2.2/gramtools/yomi2voca/Makefile.in 2012-08-13 13:19:30.178330757 -0400
|
||||
@@ -17,8 +17,8 @@ all:
|
||||
install: install.bin
|
||||
|
||||
install.bin:
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
clean:
|
||||
echo nothing to do
|
||||
diff -up julius-4.2.2/jclient-perl/Makefile.in.DESTDIR julius-4.2.2/jclient-perl/Makefile.in
|
||||
--- julius-4.2.2/jclient-perl/Makefile.in.DESTDIR 2012-08-13 13:16:09.779337920 -0400
|
||||
+++ julius-4.2.2/jclient-perl/Makefile.in 2012-08-13 13:16:17.950337629 -0400
|
||||
@@ -17,8 +17,8 @@ all:
|
||||
install: install.bin
|
||||
|
||||
install.bin:
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
clean:
|
||||
echo nothing to do
|
||||
diff -up julius-4.2.2/jcontrol/Makefile.in.DESTDIR julius-4.2.2/jcontrol/Makefile.in
|
||||
--- julius-4.2.2/jcontrol/Makefile.in.DESTDIR 2012-08-13 13:15:10.583340037 -0400
|
||||
+++ julius-4.2.2/jcontrol/Makefile.in 2012-08-13 13:15:21.849339634 -0400
|
||||
@@ -31,8 +31,8 @@ $(TARGET): $(OBJ)
|
||||
install: install.bin
|
||||
|
||||
install.bin: $(TARGET)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
clean:
|
||||
$(RM) $(OBJ)
|
||||
diff -up julius-4.2.2/julius/Makefile.in.DESTDIR julius-4.2.2/julius/Makefile.in
|
||||
--- julius-4.2.2/julius/Makefile.in.DESTDIR 2012-08-13 13:12:32.007345705 -0400
|
||||
+++ julius-4.2.2/julius/Makefile.in 2012-08-13 13:12:45.407345225 -0400
|
||||
@@ -61,8 +61,8 @@ $(TARGET): $(LIBSENT)/libsent.a $(LIBJUL
|
||||
install: install.bin
|
||||
|
||||
install.bin: $(TARGET)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- ${INSTALL_PROGRAM} $(TARGET) ${bindir}/${INSTALLTARGET}
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ ${INSTALL_PROGRAM} $(TARGET) ${DESTDIR}${bindir}/${INSTALLTARGET}
|
||||
|
||||
depend:
|
||||
makedepend -- $(CFLAGS) -- $(OBJSENT)
|
||||
diff -up julius-4.2.2/libjulius/Makefile.in.DESTDIR julius-4.2.2/libjulius/Makefile.in
|
||||
--- julius-4.2.2/libjulius/Makefile.in.DESTDIR 2012-08-13 13:11:41.927347496 -0400
|
||||
+++ julius-4.2.2/libjulius/Makefile.in 2012-08-13 13:12:07.924346565 -0400
|
||||
@@ -90,16 +90,16 @@ $(TARGET): $(OBJ)
|
||||
install: install.lib install.include install.bin
|
||||
|
||||
install.lib: $(TARGET)
|
||||
- ${INSTALL} -d ${libdir}
|
||||
- ${INSTALL_DATA} $(TARGET) ${libdir}
|
||||
+ ${INSTALL} -d ${DESTDIR}${libdir}
|
||||
+ ${INSTALL_DATA} $(TARGET) ${DESTDIR}${libdir}
|
||||
|
||||
install.include:
|
||||
- ${INSTALL} -d ${includedir}/julius
|
||||
- ${INSTALL_DATA} include/julius/*.h ${includedir}/julius
|
||||
+ ${INSTALL} -d ${DESTDIR}${includedir}/julius
|
||||
+ ${INSTALL_DATA} include/julius/*.h ${DESTDIR}${includedir}/julius
|
||||
|
||||
install.bin: libjulius-config-dist
|
||||
- ${INSTALL} -d ${bindir}
|
||||
- ${INSTALL_PROGRAM} libjulius-config-dist ${bindir}/libjulius-config
|
||||
+ ${INSTALL} -d ${DESTDIR}${bindir}
|
||||
+ ${INSTALL_PROGRAM} libjulius-config-dist ${DESTDIR}${bindir}/libjulius-config
|
||||
|
||||
depend:
|
||||
makedepend -- $(CFLAGS) -- $(OBJSENT)
|
||||
diff -up julius-4.2.2/libsent/Makefile.in.DESTDIR julius-4.2.2/libsent/Makefile.in
|
||||
--- julius-4.2.2/libsent/Makefile.in.DESTDIR 2012-08-13 13:10:55.572349152 -0400
|
||||
+++ julius-4.2.2/libsent/Makefile.in 2012-08-13 13:11:28.571347973 -0400
|
||||
@@ -144,16 +144,16 @@ $(TARGET): $(OBJ)
|
||||
install: install.lib install.include install.bin
|
||||
|
||||
install.lib: $(TARGET)
|
||||
- ${INSTALL} -d ${libdir}
|
||||
- ${INSTALL_DATA} $(TARGET) ${libdir}
|
||||
+ ${INSTALL} -d ${DESTDIR}${libdir}
|
||||
+ ${INSTALL_DATA} $(TARGET) ${DESTDIR}${libdir}
|
||||
|
||||
install.include:
|
||||
- ${INSTALL} -d ${includedir}/sent
|
||||
- ${INSTALL_DATA} include/sent/*.h ${includedir}/sent
|
||||
+ ${INSTALL} -d ${DESTDIR}${includedir}/sent
|
||||
+ ${INSTALL_DATA} include/sent/*.h ${DESTDIR}${includedir}/sent
|
||||
|
||||
install.bin: libsent-config-dist
|
||||
- ${INSTALL} -d ${bindir}
|
||||
- ${INSTALL_PROGRAM} libsent-config-dist ${bindir}/libsent-config
|
||||
+ ${INSTALL} -d ${DESTDIR}${bindir}
|
||||
+ ${INSTALL_PROGRAM} libsent-config-dist ${DESTDIR}${bindir}/libsent-config
|
||||
|
||||
clean:
|
||||
$(RM) *~ src/*/*~ src/*/*.o src/*/*/*.o src/*/*/*/*.o src/*/*/*/*/*.o include/sent/*~
|
||||
diff -up julius-4.2.2/man/Makefile.in.DESTDIR julius-4.2.2/man/Makefile.in
|
||||
--- julius-4.2.2/man/Makefile.in.DESTDIR 2012-08-13 13:16:39.154336871 -0400
|
||||
+++ julius-4.2.2/man/Makefile.in 2012-08-13 13:16:58.414336182 -0400
|
||||
@@ -19,16 +19,16 @@ all:
|
||||
install: install.man install.man.ja
|
||||
|
||||
install.man:
|
||||
- ${INSTALL} -d @mandir@/man1
|
||||
+ ${INSTALL} -d ${DESTDIR}@mandir@/man1
|
||||
for f in *.1; do \
|
||||
- @INSTALL_DATA@ $$f @mandir@/man1/$$f; \
|
||||
+ @INSTALL_DATA@ $$f ${DESTDIR}@mandir@/man1/$$f; \
|
||||
done
|
||||
|
||||
install.man.ja:
|
||||
- ${INSTALL} -d @mandir@/ja/man1
|
||||
+ ${INSTALL} -d ${DESTDIR}@mandir@/ja/man1
|
||||
cd ja;
|
||||
for f in *.1; do \
|
||||
- @INSTALL_DATA@ $$f @mandir@/ja/man1/$$f; \
|
||||
+ @INSTALL_DATA@ $$f ${DESTDIR}@mandir@/ja/man1/$$f; \
|
||||
done
|
||||
cd ..
|
||||
|
||||
diff -up julius-4.2.2/mkbingram/Makefile.in.DESTDIR julius-4.2.2/mkbingram/Makefile.in
|
||||
--- julius-4.2.2/mkbingram/Makefile.in.DESTDIR 2012-08-13 13:12:55.460344867 -0400
|
||||
+++ julius-4.2.2/mkbingram/Makefile.in 2012-08-13 13:13:08.584344398 -0400
|
||||
@@ -32,8 +32,8 @@ $(TARGET): $(OBJ) $(LIBSENT)/libsent.a
|
||||
install: install.bin
|
||||
|
||||
install.bin: $(TARGET)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
clean:
|
||||
$(RM) $(OBJ)
|
||||
diff -up julius-4.2.2/mkbinhmm/Makefile.in.DESTDIR julius-4.2.2/mkbinhmm/Makefile.in
|
||||
--- julius-4.2.2/mkbinhmm/Makefile.in.DESTDIR 2012-08-13 13:13:19.525344007 -0400
|
||||
+++ julius-4.2.2/mkbinhmm/Makefile.in 2012-08-13 13:13:34.055343487 -0400
|
||||
@@ -32,8 +32,8 @@ mkbinhmmlist@EXEEXT@: mkbinhmmlist.o $(L
|
||||
install: install.bin
|
||||
|
||||
install.bin: mkbinhmm@EXEEXT@ mkbinhmmlist@EXEEXT@
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ mkbinhmm@EXEEXT@ mkbinhmmlist@EXEEXT@ @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ mkbinhmm@EXEEXT@ mkbinhmmlist@EXEEXT@ ${DESTDIR}@bindir@
|
||||
|
||||
clean:
|
||||
$(RM) mkbinhmm.o mkbinhmmlist.o
|
||||
diff -up julius-4.2.2/mkgshmm/Makefile.in.DESTDIR julius-4.2.2/mkgshmm/Makefile.in
|
||||
--- julius-4.2.2/mkgshmm/Makefile.in.DESTDIR 2012-08-13 13:14:19.842341851 -0400
|
||||
+++ julius-4.2.2/mkgshmm/Makefile.in 2012-08-13 13:14:36.130341270 -0400
|
||||
@@ -23,8 +23,8 @@ $(TARGET):
|
||||
install: install.bin
|
||||
|
||||
install.bin: $(TARGET)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
############################################################
|
||||
|
||||
diff -up julius-4.2.2/mkss/Makefile.in.DESTDIR julius-4.2.2/mkss/Makefile.in
|
||||
--- julius-4.2.2/mkss/Makefile.in.DESTDIR 2012-08-13 13:14:42.697341034 -0400
|
||||
+++ julius-4.2.2/mkss/Makefile.in 2012-08-13 13:15:01.406340364 -0400
|
||||
@@ -36,8 +36,8 @@ $(TARGET): mkss.c $(LIBSENT)/libsent.a $
|
||||
install: install.bin
|
||||
|
||||
install.bin: $(TARGET)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
############################################################
|
||||
|
181
julius-4.2.2-sharedlibs.patch
Normal file
181
julius-4.2.2-sharedlibs.patch
Normal file
@ -0,0 +1,181 @@
|
||||
diff -up julius-4.2.2/adinrec/Makefile.in.shared julius-4.2.2/adinrec/Makefile.in
|
||||
--- julius-4.2.2/adinrec/Makefile.in.shared 2012-08-13 13:44:27.067277251 -0400
|
||||
+++ julius-4.2.2/adinrec/Makefile.in 2012-08-13 13:44:27.079277250 -0400
|
||||
@@ -28,7 +28,7 @@ TARGET=adinrec@EXEEXT@
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
-$(TARGET): adinrec.c $(LIBSENT)/libsent.a $(LIBJULIUS)/libjulius.a
|
||||
+$(TARGET): adinrec.c $(LIBSENT)/libsent.so.0.0.0 $(LIBJULIUS)/libjulius.so.0.0.0
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ adinrec.c $(LDFLAGS)
|
||||
|
||||
############################################################
|
||||
diff -up julius-4.2.2/adintool/Makefile.in.shared julius-4.2.2/adintool/Makefile.in
|
||||
--- julius-4.2.2/adintool/Makefile.in.shared 2012-08-13 13:44:27.068277251 -0400
|
||||
+++ julius-4.2.2/adintool/Makefile.in 2012-08-13 13:44:27.079277250 -0400
|
||||
@@ -28,7 +28,7 @@ TARGET=adintool@EXEEXT@
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
-$(TARGET): adintool.c $(LIBSENT)/libsent.a $(LIBJULIUS)/libjulius.a
|
||||
+$(TARGET): adintool.c $(LIBSENT)/libsent.so.0.0.0 $(LIBJULIUS)/libjulius.so.0.0.0
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ adintool.c $(LDFLAGS)
|
||||
|
||||
############################################################
|
||||
diff -up julius-4.2.2/generate-ngram/Makefile.in.shared julius-4.2.2/generate-ngram/Makefile.in
|
||||
--- julius-4.2.2/generate-ngram/Makefile.in.shared 2012-08-13 13:44:27.069277251 -0400
|
||||
+++ julius-4.2.2/generate-ngram/Makefile.in 2012-08-13 13:44:27.080277250 -0400
|
||||
@@ -27,7 +27,7 @@ TARGET=generate-ngram@EXEEXT@
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
-$(TARGET): $(OBJ) $(LIBSENT)/libsent.a
|
||||
+$(TARGET): $(OBJ) $(LIBSENT)/libsent.so.0.0.0
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $(OBJ) $(LDFLAGS)
|
||||
|
||||
install: install.bin
|
||||
diff -up julius-4.2.2/julius/Makefile.in.shared julius-4.2.2/julius/Makefile.in
|
||||
--- julius-4.2.2/julius/Makefile.in.shared 2012-08-13 13:44:27.074277251 -0400
|
||||
+++ julius-4.2.2/julius/Makefile.in 2012-08-13 13:44:27.081277249 -0400
|
||||
@@ -53,7 +53,7 @@ record.o \
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
-$(TARGET): $(LIBSENT)/libsent.a $(LIBJULIUS)/libjulius.a $(OBJ)
|
||||
+$(TARGET): $(LIBSENT)/libsent.so.0.0.0 $(LIBJULIUS)/libjulius.so.0.0.0 $(OBJ)
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $(OBJ) $(LDFLAGS) $(GTK_LIBS)
|
||||
|
||||
############################################################
|
||||
diff -up julius-4.2.2/libjulius/Makefile.in.shared julius-4.2.2/libjulius/Makefile.in
|
||||
--- julius-4.2.2/libjulius/Makefile.in.shared 2012-08-13 13:44:27.074277251 -0400
|
||||
+++ julius-4.2.2/libjulius/Makefile.in 2012-08-13 13:45:53.218274170 -0400
|
||||
@@ -16,8 +16,8 @@ SHELL=/bin/sh
|
||||
LIBSENT=../libsent
|
||||
|
||||
CC=@CC@
|
||||
-CFLAGS=@CFLAGS@
|
||||
-CPPFLAGS=-Iinclude -I$(LIBSENT)/include @CPPFLAGS@ `$(LIBSENT)/libsent-config --cflags`
|
||||
+CFLAGS=@CFLAGS@ -fPIC
|
||||
+CPPFLAGS=-Iinclude -I$(LIBSENT)/include @CPPFLAGS@ -fPIC `$(LIBSENT)/libsent-config --cflags`
|
||||
LDFLAGS=@LDFLAGS@ @LIBS@ -L$(LIBSENT) `$(LIBSENT)/libsent-config --libs`
|
||||
RM=@RM@ -f
|
||||
AR=@AR@ r
|
||||
@@ -35,7 +35,9 @@ INSTALL_PROGRAM=@INSTALL_PROGRAM@
|
||||
|
||||
############################################################
|
||||
|
||||
-TARGET = libjulius.a
|
||||
+BASESHAREDLIB=libjulius.so
|
||||
+SHAREDLIB=$(BASESHAREDLIB).0
|
||||
+TARGET=$(SHAREDLIB).0.0
|
||||
|
||||
OBJ = \
|
||||
src/recogmain.o \
|
||||
@@ -82,8 +84,11 @@ src/version.o
|
||||
all: $(TARGET)
|
||||
|
||||
$(TARGET): $(OBJ)
|
||||
- $(AR) $@ $?
|
||||
- $(RANLIB) $@
|
||||
+ $(CC) $(CFLAGS) -shared -Wl,-soname,$(SHAREDLIB) -o $@ $?
|
||||
+ ln -s $(TARGET) $(SHAREDLIB)
|
||||
+ ln -s $(TARGET) $(BASESHAREDLIB)
|
||||
+ # $(AR) $@ $?
|
||||
+ # $(RANLIB) $@
|
||||
|
||||
############################################################
|
||||
|
||||
@@ -92,6 +97,8 @@ install: install.lib install.include ins
|
||||
install.lib: $(TARGET)
|
||||
${INSTALL} -d ${DESTDIR}${libdir}
|
||||
${INSTALL_DATA} $(TARGET) ${DESTDIR}${libdir}
|
||||
+ ln -s $(TARGET) ${DESTDIR}${libdir}/$(SHAREDLIB)
|
||||
+ ln -s $(TARGET) ${DESTDIR}${libdir}/$(BASESHAREDLIB)
|
||||
|
||||
install.include:
|
||||
${INSTALL} -d ${DESTDIR}${includedir}/julius
|
||||
diff -up julius-4.2.2/libsent/Makefile.in.shared julius-4.2.2/libsent/Makefile.in
|
||||
--- julius-4.2.2/libsent/Makefile.in.shared 2012-08-13 13:44:27.074277251 -0400
|
||||
+++ julius-4.2.2/libsent/Makefile.in 2012-08-13 13:45:39.105274676 -0400
|
||||
@@ -14,13 +14,15 @@ SHELL=/bin/sh
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -c $<
|
||||
|
||||
CC=@CC@
|
||||
-CFLAGS=@CFLAGS@
|
||||
-CPPFLAGS=-Iinclude @CPPFLAGS@ @SOUNDINC@ @DEFS@
|
||||
+CFLAGS=@CFLAGS@ -fPIC
|
||||
+CPPFLAGS=-Iinclude @CPPFLAGS@ -fPIC @SOUNDINC@ @DEFS@
|
||||
# LDFLAGS=@LDFLAGS@ @LIBS@
|
||||
RM=@RM@ -f
|
||||
AR=@AR@ r
|
||||
RANLIB=@RANLIB@
|
||||
-TARGET=libsent.a
|
||||
+BASESHAREDLIB=libsent.so
|
||||
+SHAREDLIB=$(BASESHAREDLIB).0
|
||||
+TARGET=$(SHAREDLIB).0.0
|
||||
|
||||
## install
|
||||
prefix=@prefix@
|
||||
@@ -136,8 +138,11 @@ src/wav2mfcc/para.o \
|
||||
all: $(TARGET)
|
||||
|
||||
$(TARGET): $(OBJ)
|
||||
- $(AR) $@ $?
|
||||
- $(RANLIB) $@
|
||||
+ $(CC) $(CFLAGS) -shared -Wl,-soname,$(SHAREDLIB) -o $@ $?
|
||||
+ ln -s $(TARGET) $(SHAREDLIB)
|
||||
+ ln -s $(TARGET) $(BASESHAREDLIB)
|
||||
+ # $(AR) $@ $?
|
||||
+ # $(RANLIB) $@
|
||||
|
||||
############################################################
|
||||
|
||||
@@ -146,6 +151,8 @@ install: install.lib install.include ins
|
||||
install.lib: $(TARGET)
|
||||
${INSTALL} -d ${DESTDIR}${libdir}
|
||||
${INSTALL_DATA} $(TARGET) ${DESTDIR}${libdir}
|
||||
+ ln -s $(TARGET) ${DESTDIR}${libdir}/$(SHAREDLIB)
|
||||
+ ln -s $(TARGET) ${DESTDIR}${libdir}/$(BASESHAREDLIB)
|
||||
|
||||
install.include:
|
||||
${INSTALL} -d ${DESTDIR}${includedir}/sent
|
||||
diff -up julius-4.2.2/mkbingram/Makefile.in.shared julius-4.2.2/mkbingram/Makefile.in
|
||||
--- julius-4.2.2/mkbingram/Makefile.in.shared 2012-08-13 13:44:27.075277250 -0400
|
||||
+++ julius-4.2.2/mkbingram/Makefile.in 2012-08-13 13:44:27.083277248 -0400
|
||||
@@ -26,7 +26,7 @@ TARGET=mkbingram@EXEEXT@
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
-$(TARGET): $(OBJ) $(LIBSENT)/libsent.a
|
||||
+$(TARGET): $(OBJ) $(LIBSENT)/libsent.so.0.0.0
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $(OBJ) $(LDFLAGS)
|
||||
|
||||
install: install.bin
|
||||
diff -up julius-4.2.2/mkbinhmm/Makefile.in.shared julius-4.2.2/mkbinhmm/Makefile.in
|
||||
--- julius-4.2.2/mkbinhmm/Makefile.in.shared 2012-08-13 13:44:27.075277250 -0400
|
||||
+++ julius-4.2.2/mkbinhmm/Makefile.in 2012-08-13 13:44:27.083277248 -0400
|
||||
@@ -23,10 +23,10 @@ INSTALL=@INSTALL@
|
||||
|
||||
all: mkbinhmm@EXEEXT@ mkbinhmmlist@EXEEXT@
|
||||
|
||||
-mkbinhmm@EXEEXT@: mkbinhmm.o $(LIBSENT)/libsent.a
|
||||
+mkbinhmm@EXEEXT@: mkbinhmm.o $(LIBSENT)/libsent.so.0.0.0
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ mkbinhmm.o $(LDFLAGS)
|
||||
|
||||
-mkbinhmmlist@EXEEXT@: mkbinhmmlist.o $(LIBSENT)/libsent.a
|
||||
+mkbinhmmlist@EXEEXT@: mkbinhmmlist.o $(LIBSENT)/libsent.so.0.0.0
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ mkbinhmmlist.o $(LDFLAGS)
|
||||
|
||||
install: install.bin
|
||||
diff -up julius-4.2.2/mkss/Makefile.in.shared julius-4.2.2/mkss/Makefile.in
|
||||
--- julius-4.2.2/mkss/Makefile.in.shared 2012-08-13 13:44:27.075277250 -0400
|
||||
+++ julius-4.2.2/mkss/Makefile.in 2012-08-13 13:44:27.083277248 -0400
|
||||
@@ -28,7 +28,7 @@ TARGET=mkss@EXEEXT@
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
-$(TARGET): mkss.c $(LIBSENT)/libsent.a $(LIBJULIUS)/libjulius.a
|
||||
+$(TARGET): mkss.c $(LIBSENT)/libsent.so.0.0.0 $(LIBJULIUS)/libjulius.so.0.0.0
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ mkss.c $(LDFLAGS)
|
||||
|
||||
############################################################
|
Loading…
Reference in New Issue
Block a user