Makefile
上传用户:xqtpzdz
上传日期:2022-05-21
资源大小:1764k
文件大小:4k
- #/****************License************************************************
- # * Vocalocity OpenVXI
- # * Copyright (C) 2004-2005 by Vocalocity, Inc. All Rights Reserved.
- # * This program is free software; you can redistribute it and/or
- # * modify it under the terms of the GNU General Public License
- # * as published by the Free Software Foundation; either version 2
- # * of the License, or (at your option) any later version.
- # *
- # * This program is distributed in the hope that it will be useful,
- # * but WITHOUT ANY WARRANTY; without even the implied warranty of
- # * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- # * GNU General Public License for more details.
- # *
- # * You should have received a copy of the GNU General Public License
- # * along with this program; if not, write to the Free Software
- # * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- # * Vocalocity, the Vocalocity logo, and VocalOS are trademarks or
- # * registered trademarks of Vocalocity, Inc.
- # * OpenVXI is a trademark of Scansoft, Inc. and used under license
- # * by Vocalocity.
- # ***********************************************************************/
- #
- #**********************************************************************
- #
- # SBlog, OpenSpeech Browser implementation of the VXIlog interface
- # UNIX make file
- #
- #
- #**********************************************************************/
- #--------------------------------------------
- # Required Environment Variables
- #--------------------------------------------
- SHELL = /bin/sh
- ifndef SWISBSDK
- $(error The environment variable SWISBSDK is not defined (it should point to your baseline directory))
- endif
- # By default, set PRODUCT_LIB_PREFIX to SB
- ifndef PRODUCT_LIB_PREFIX
- PRODUCT_LIB_PREFIX = SB
- $(message PRODUCT_LIB_PREFIX not defined. Defaulting to SB)
- endif
- #--------------------------------------------
- # Include the common def's and config logic
- #--------------------------------------------
- PROJ_ROOT = ..
- include ../make/i386-linux/make.defs
- #--------------------------------------------
- # Project specific settings
- #--------------------------------------------
- PROJ_CFLAGS =
- -DCOMPANY_DOMAIN=L"com.vocalocity"
- -DMODULE_PREFIX=L"swi:"
- -DHAVE_XERCES
- -I"$(XERCESDIR)/include"
- -I"$(XERCESDIR)/include/xercesc"
- -L"$(XERCESDIR)/lib"
- PUBLIC_HEADERS =
- SBlog.h
- SBlogInternal.h
- SBlogMapper.h
- SBlogOSUtils.h
- PUBLIC_ERROR_FILES =
- SBlogErrors.xml
- SBlogDiagnostics.xml
- # Mask the exports of shared objects by explicitly listing public functions
- EXPLICIT_VER_FILES = 1
-
- # Set defaults for the library version and product name burnt into
- # shared libraries
- LIBVER = 3
- # Define libaries to be build
- LIBS = $(PRODUCT_LIB_PREFIX)log $(PRODUCT_LIB_PREFIX)logMapper
- # Define library sources
- $(PRODUCT_LIB_PREFIX)log_SRC =
- SBlog.cpp
- SBlogOSUtils.cpp
- $(PRODUCT_LIB_PREFIX)logMapper_SRC =
- SBlogOSUtils.cpp
- SBlogMapper.cpp
- # Define any linked libraries
- $(PRODUCT_LIB_PREFIX)log_LDLIBS =
- -lVXIvalue$(CFG_SUFFIX)
- -l$(PRODUCT_LIB_PREFIX)trd$(CFG_SUFFIX)
- $(PRODUCT_LIB_PREFIX)logMapper_LDLIBS =
- -lVXIvalue$(CFG_SUFFIX)
- -lxerces-c
- # Define version file
- $(PRODUCT_LIB_PREFIX)log_VER = SBlog.ver
- $(PRODUCT_LIB_PREFIX)logMapper_VER = SBlogMapper.ver
- #--------------------------------
- # Programs
- #--------------------------------
- PROGS =
- #---------------------------------------------
- # Include some rules common to all makefiles
- #---------------------------------------------
- include ../make/i386-linux/make.rules