libs-gui/Tools/speech/GNUmakefile
fredkiefer b17b443266 * Tools/speech/GNUmakefile,
* configure.ac: Give up on dynamic library detecion.
* configure: Regnerate
2018-01-29 18:37:19 +01:00

35 lines
933 B
Makefile

ETOILE_CORE_MODULE = YES
include $(GNUSTEP_MAKEFILES)/common.make
# Set the default. Eventually this should be conditional.
GSSPEECHENGINE = Flite
VERSION = 0.1
# This is an app not a tool because, eventually, it will present the user
# interface for the GUI part of the speech engine.
APP_NAME = GSSpeechServer
GSSpeechServer_LANGUAGES = English
GSSpeechServer_OBJC_FILES = \
GSSpeechEngine.m \
GSSpeechServer.m \
GSSpeechSynthesizer.m \
main.m
ifeq ($(GSSPEECHENGINE), Flite)
FLITE_BASE_LIBS = -lflite_usenglish -lflite_cmulex -lflite
FLITE_EXTRA_LIBS = -lflite_cmu_us_kal16
GSSpeechServer_OBJC_FILES += FliteSpeechEngine.m
GSSpeechServer_INCLUDE_DIRS += -I/usr/local/include/flite -I../../Headers \
-I../../Headers/Additions
GSSpeechServer_LIB_DIRS += -L../../Source/$(GNUSTEP_OBJ_DIR) \
-L/usr/local/lib -lgnustep-gui $(FLITE_EXTRA_LIBS) \
$(FLITE_BASE_LIBS)
endif
include $(GNUSTEP_MAKEFILES)/application.make