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