Makefile
上传用户:xqtpzdz
上传日期:2022-05-21
资源大小:1764k
文件大小:3k
源码类别:

xml/soap/webservice

开发平台:

Visual C++

  1. #
  2. #/****************License************************************************
  3. # * Vocalocity OpenVXI
  4. # * Copyright (C) 2004-2005 by Vocalocity, Inc. All Rights Reserved.
  5. # * This program is free software; you can redistribute it and/or
  6. # * modify it under the terms of the GNU General Public License
  7. # * as published by the Free Software Foundation; either version 2
  8. # * of the License, or (at your option) any later version.
  9. # *  
  10. # * This program is distributed in the hope that it will be useful,
  11. # * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. # * GNU General Public License for more details.
  14. # *
  15. # * You should have received a copy of the GNU General Public License
  16. # * along with this program; if not, write to the Free Software
  17. # * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  18. # * Vocalocity, the Vocalocity logo, and VocalOS are trademarks or 
  19. # * registered trademarks of Vocalocity, Inc. 
  20. # * OpenVXI is a trademark of Scansoft, Inc. and used under license 
  21. # * by Vocalocity.
  22. # ***********************************************************************/
  23. #
  24. #**********************************************************************
  25. #
  26. # SBcache, OpenSpeech Browser implementation of the VXIcache interface
  27. # UNIX make file 
  28. #
  29. #
  30. #**********************************************************************/
  31. #--------------------------------------------
  32. # Required Environment Variables
  33. #--------------------------------------------
  34. SHELL = /bin/sh
  35. ifndef SWISBSDK
  36. $(error The environment variable SWISBSDK is not defined (it should point to your baseline directory))
  37. endif
  38. ifndef SPIDERMONKEYDIR
  39. $(error The environment variable SPIDERMONKEYDIR is not defined)
  40. endif
  41. # By default, set PRODUCT_LIB_PREFIX to SB
  42. ifndef PRODUCT_LIB_PREFIX
  43. PRODUCT_LIB_PREFIX = SB
  44. $(message PRODUCT_LIB_PREFIX not defined. Defaulting to SB)
  45. endif
  46. #--------------------------------------------
  47. # Include the common def's and config logic
  48. #--------------------------------------------
  49. PROJ_ROOT = ..
  50. include ../make/i386-linux/make.defs
  51. #--------------------------------------------
  52. # Project specific settings
  53. #--------------------------------------------
  54. PROJ_CFLAGS = 
  55. -DCOMPANY_DOMAIN=L"com.vocalocity" 
  56. -DMODULE_PREFIX=L"swi:"
  57. PUBLIC_HEADERS = 
  58. SBcache.h
  59. PUBLIC_ERROR_FILES = 
  60. SBcacheErrors.xml 
  61. SBcacheDiagnostics.xml
  62. # Mask the exports of shared objects by explicitly listing public functions
  63. EXPLICIT_VER_FILES = 1
  64.  
  65. # Set defaults for the library version and product name burnt into
  66. # shared libraries
  67. LIBVER = 3
  68. # Define libaries to be build
  69. LIBS = $(PRODUCT_LIB_PREFIX)cache
  70. # Define library sources
  71. $(PRODUCT_LIB_PREFIX)cache_SRC = 
  72. md5.cpp 
  73. base64.cpp 
  74. SBcacheMisc.cpp 
  75. SBcacheEntry.cpp 
  76. SBcacheManager.cpp 
  77. SBcache.cpp 
  78. SBinetLogger.cpp
  79. # Define any linked libraries
  80. $(PRODUCT_LIB_PREFIX)cache_LDLIBS = 
  81. -lVXIvalue$(CFG_SUFFIX) 
  82. -l$(PRODUCT_LIB_PREFIX)trd$(CFG_SUFFIX) 
  83. -l$(PRODUCT_LIB_PREFIX)trdUtil$(CFG_SUFFIX)
  84. # Define version file
  85. $(PRODUCT_LIB_PREFIX)cache_VER = SBcache.ver
  86. #--------------------------------
  87. # Programs
  88. #--------------------------------
  89. PROGS =
  90. #---------------------------------------------
  91. # Include some rules common to all makefiles
  92. #---------------------------------------------
  93. include ../make/i386-linux/make.rules