Blame SOURCES/festival-1.96-main-shared-build.patch

7b3626
--- festival/speech_tools/config/rules/defaults.mak.orig	2007-03-16 12:39:12.000000000 -0400
7b3626
+++ festival/speech_tools/config/rules/defaults.mak	2007-03-16 12:39:19.000000000 -0400
7b3626
@@ -69,15 +69,21 @@
7b3626
 	MADE_FROM_ABOVE:=$(N)
7b3626
 endif
7b3626
 
7b3626
+ifneq ($(SHARED),0)
7b3626
+    LIBTYPE=so
7b3626
+else
7b3626
+    LIBTYPE=a   
7b3626
+endif
7b3626
+
7b3626
 ifndef PROJECT_LIBDEPS
7b3626
-    PROJECT_LIBDEPS = $(foreach l,$(PROJECT_LIBRARIES),$(PROJECT_LIBRARY_DIR_$(l))/lib$(l).a)
7b3626
+    PROJECT_LIBDEPS = $(foreach l,$(PROJECT_LIBRARIES),$(PROJECT_LIBRARY_DIR_$(l))/lib$(l).$(LIBTYPE))
7b3626
 endif
7b3626
 ifndef PROJECT_LIBS
7b3626
     PROJECT_LIBS = $(foreach l,$(PROJECT_LIBRARIES),-L$(PROJECT_LIBRARY_DIR_$(l)) -l$(l))
7b3626
 endif
7b3626
 
7b3626
 ifndef REQUIRED_LIBDEPS
7b3626
-    REQUIRED_LIBDEPS = $(foreach l,$(REQUIRED_LIBRARIES),$(REQUIRED_LIBRARY_DIR_$(l))/lib$(l).a)
7b3626
+    REQUIRED_LIBDEPS = $(foreach l,$(REQUIRED_LIBRARIES),$(REQUIRED_LIBRARY_DIR_$(l))/lib$(l).$(LIBTYPE))
7b3626
 endif
7b3626
 ifndef REQUIRED_LIBS
7b3626
     REQUIRED_LIBS = $(foreach l,$(REQUIRED_LIBRARIES),-L$(REQUIRED_LIBRARY_DIR_$(l)) -l$(l))
7b3626
--- festival/config/project.mak.orig	2007-03-16 13:01:40.000000000 -0400
7b3626
+++ festival/config/project.mak	2007-03-16 13:02:24.000000000 -0400
7b3626
@@ -84,6 +84,8 @@
7b3626
 PROJECT_LIBRARY_DIR_Festival = $(TOP)/src/lib
7b3626
 PROJECT_DEFAULT_LIBRARY = Festival
7b3626
 
7b3626
+PROJECT_LIBRARY_VERSION_Festival = $(PROJECT_VERSION).0
7b3626
+
7b3626
 # Libraries used from other projects
7b3626
 
7b3626
 REQUIRED_LIBRARIES = estools estbase eststring