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

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