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

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. # VXI, Vocalocity VXML interpreter library
  27. # NT make file 
  28. #
  29. #
  30. #**********************************************************************/
  31. #--------------------------------
  32. # Required Environment Variables
  33. #--------------------------------
  34. !ifndef SWISBSDK
  35. !error The environment variable SWISBSDK is not defined (it should point to your baseline directory).
  36. !endif
  37. !ifndef XERCESDIR
  38. !error The environment variable XERCESDIR is not defined.
  39. !endif
  40. # By default, set PRODUCT_LIB_PREFIX to SB
  41. !if "$(PRODUCT_LIB_PREFIX)" == ""
  42. !message PRODUCT_LIB_PREFIX not defined. Defaulting to SB
  43. PRODUCT_LIB_PREFIX = SB
  44. !endif
  45. #--------------------------------
  46. # Project specific settings
  47. #--------------------------------
  48. PROJ_ROOT = ..
  49. BUILDSUBDIRS = 
  50.   $(BUILDDIR)progs
  51.   
  52. PUBLIC_HEADERS =
  53. PUBLIC_ERROR_FILES = 
  54. VXIErrors.xml 
  55. VXIDiagnostics.xml 
  56. defaults.xml
  57. PROJ_CFLAGS = /Zm800 
  58.   -I "$(XERCESDIR)/src"  
  59.   -I "$(XERCESDIR)/src/xercesc" 
  60.   -I "$(XERCESDIR)/include" 
  61.   -I "$(XERCESDIR)/include/xercesc"
  62. -I"log" 
  63. -DHAVE_XERCES 
  64. -DCOMPANY_DOMAIN=L"com.vocalocity" 
  65. -DMODULE_PREFIX=L"swi:" 
  66. MYLFLAGS = 
  67.   -libpath:"$(XERCESDIR)/lib" 
  68. !if "$(CFG)" == "release"
  69. !if "$(MSVC_VERSION)" == "VC6"
  70.   -libpath:"$(XERCESDIR)/Build/Win32/VC6/Release"
  71. !else
  72.   -libpath:"$(XERCESDIR)/Build/Win32/VC7/Release"
  73. !endif
  74. !else
  75. !if "$(MSVC_VERSION)" == "VC6"
  76.   -libpath:"$(XERCESDIR)/Build/Win32/VC6/Debug"
  77. !else
  78.   -libpath:"$(XERCESDIR)/Build/Win32/VC7/Debug"
  79. !endif
  80. !endif
  81.  
  82. # Suppress using a *.def file to define exports from DLLs, use the
  83. # SYMBOL_EXPORT_DECL definition from VXIheaderPrefix.h instead
  84. NO_DEF_FILES = 1
  85. #--------------------------------
  86. # Static libraries
  87. #--------------------------------
  88. LIBS = 
  89. #--------------------------------
  90. # Dynamic libraries
  91. #--------------------------------
  92. DLLS = VXI
  93. VXI_OBJS   = $(BUILDDIR)/SimpleLogger.obj 
  94.              $(BUILDDIR)/DocumentModel.obj 
  95.              $(BUILDDIR)/md5.obj 
  96.              $(BUILDDIR)/DocumentStorage.obj 
  97.              $(BUILDDIR)/DocumentConverter.obj 
  98.              $(BUILDDIR)/DocumentParser.obj 
  99.              $(BUILDDIR)/VXICacheStream.obj 
  100.              $(BUILDDIR)/GrammarManager.obj 
  101.              $(BUILDDIR)/PromptManager.obj 
  102.              $(BUILDDIR)/PropertyList.obj 
  103.              $(BUILDDIR)/Counters.obj 
  104.              $(BUILDDIR)/DialogEventCounter.obj 
  105.              $(BUILDDIR)/Scripter.obj 
  106.              $(BUILDDIR)/AnswerParser.obj 
  107.              $(BUILDDIR)/VXI.obj 
  108.              $(BUILDDIR)/VXI_api.obj 
  109.              $(BUILDDIR)/AccessControl.obj 
  110.              $(BUILDDIR)/TokenList.obj 
  111.              $(BUILDDIR)/VXI.res
  112. VXI_LIBS   = $(PRODUCT_LIB_PREFIX)trd$(CFG_SUFFIX).lib 
  113.              VXIvalue$(CFG_SUFFIX).lib 
  114.              $(XERCES_LIB_PREFIX)xerces-c_2$(CFG_SUFFIX).lib
  115. #-------------------------------------
  116. # Programs
  117. #-------------------------------------
  118. PROGS = ValidateDoc
  119. ValidateDoc_OBJS = 
  120.   $(BUILDDIR)/progs/ValidateDoc.obj 
  121. $(BUILDDIR)/progs/ValidateDoc.res
  122. ValidateDoc_LIBS = 
  123.   VXI$(CFG_SUFFIX).lib 
  124.   VXIvalue$(CFG_SUFFIX).lib 
  125. $(PRODUCT_LIB_PREFIX)log$(CFG_SUFFIX).lib 
  126.   $(PRODUCT_LIB_PREFIX)inet$(CFG_SUFFIX).lib
  127. #--------------------------------------------
  128. # Include the common def's and config logic
  129. #--------------------------------------------
  130. !include "..makei386-win32make.defs"
  131. #------------------------------------------------
  132. # Targets
  133. #------------------------------------------------
  134. all : $(LIBS) $(DLLS) $(PROGS)
  135. #---------------------------------------------
  136. # Include some rules common to all makefiles
  137. #---------------------------------------------
  138. !include "..makei386-win32make.rules"
  139. #------------------
  140. # Inference rules
  141. #------------------
  142. {progs}.c{$(BUILDDIR)/progs}.obj:
  143.         $(CC) $(CFLAGS) $<
  144. {progs}.cpp{$(BUILDDIR)/progs}.obj:
  145.         $(CC) $(CPPFLAGS) $<
  146. {progs}.rc{$(BUILDDIR)/progs}.res:
  147.         $(RC) $(RFLAGS) /r $<