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. # SBinet, Vocalocity inet 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 OPENSSLDIR
  38. !error The environment variable OPENSSLDIR 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. PUBLIC_HEADERS = 
  51. SBinet.h
  52. PUBLIC_ERROR_FILES = 
  53. SBinetErrors.xml 
  54. SBinetDiagnostics.xml
  55. PROJ_CFLAGS = 
  56.   -I"./" -I"$(OPENSSLDIR)/inc32" 
  57.   -I"util" 
  58.   -DSWIUTIL_NO_DLL 
  59. -DCOMPANY_DOMAIN=L"com.vocalocity" 
  60. -DMODULE_PREFIX=L"swi:"
  61. MYLFLAGS = 
  62. !if "$(CFG)" == "debug"
  63.   -libpath:"$(OPENSSLDIR)/out32dll"
  64. !else
  65.   -libpath:"$(OPENSSLDIR)/out32dll"
  66. !endif
  67.  
  68. # Suppress using a *.def file to define exports from DLLs, use the
  69. # SYMBOL_EXPORT_DECL definition from VXIheaderPrefix.h instead
  70. NO_DEF_FILES = 1
  71. #--------------------------------
  72. # Static libraries
  73. #--------------------------------
  74. LIBS = 
  75. #--------------------------------
  76. # Dynamic libraries
  77. #--------------------------------
  78. DLLS = $(PRODUCT_LIB_PREFIX)inet
  79. $(PRODUCT_LIB_PREFIX)inet_OBJS = 
  80. $(BUILDDIR)/md5.obj 
  81. $(BUILDDIR)/HttpUtils.obj 
  82. $(BUILDDIR)/SBinet.obj 
  83. $(BUILDDIR)/SBinetChannel.obj
  84. $(BUILDDIR)/SBinetCookie.obj 
  85. $(BUILDDIR)/SBinetFileStream.obj 
  86. $(BUILDDIR)/SBinetSSLsocket.obj 
  87. $(BUILDDIR)/SBinetHttpCacheStream.obj 
  88. $(BUILDDIR)/SBinetHttpConnection.obj 
  89. $(BUILDDIR)/SBinetHttpStream.obj 
  90. $(BUILDDIR)/SBinetProxyMatcher.obj 
  91. $(BUILDDIR)/SBinetStoppable.obj 
  92. $(BUILDDIR)/SBinetStream.obj 
  93. $(BUILDDIR)/SBinetTimedStream.obj 
  94. $(BUILDDIR)/SBinetURL.obj 
  95. $(BUILDDIR)/SBinetUtils.obj 
  96. $(BUILDDIR)/SBinetValidator.obj 
  97. $(BUILDDIR)/util_date.obj 
  98. $(BUILDDIR)/SWIHashMap.obj 
  99. $(BUILDDIR)/SWIList.obj 
  100. $(BUILDDIR)/SWIipAddress.obj 
  101. $(BUILDDIR)/SWIsocket.obj 
  102. $(BUILDDIR)/SWIinputStream.obj 
  103. $(BUILDDIR)/SWIoutputStream.obj 
  104. $(BUILDDIR)/SWIdataOutputStream.obj 
  105. $(BUILDDIR)/SWIbufferedInputStream.obj 
  106. $(BUILDDIR)/SWIbufferedOutputStream.obj 
  107. $(BUILDDIR)/SWIfilterInputStream.obj 
  108. $(BUILDDIR)/SWIfilterOutputStream.obj 
  109. $(BUILDDIR)/SWITimeWatch.obj 
  110. $(BUILDDIR)/SWITimeStamp.obj 
  111. $(BUILDDIR)/SWIutilLogger.obj 
  112. $(BUILDDIR)/SBinet.res
  113. $(PRODUCT_LIB_PREFIX)inet_LIBS = 
  114. # SB libraries
  115. VXIvalue$(CFG_SUFFIX).lib 
  116. $(PRODUCT_LIB_PREFIX)trd$(CFG_SUFFIX).lib 
  117. # Open SSL
  118. SSLeay32.lib 
  119. libeay32.lib 
  120. # WinInet libraries
  121. wsock32.lib 
  122. wininet.lib 
  123. urlmon.lib 
  124. # Win32 libraries
  125. version.lib
  126. #-------------------------------------
  127. # Programs
  128. #-------------------------------------
  129. PROGS =
  130. #--------------------------------------------
  131. # Include the common def's and config logic
  132. #--------------------------------------------
  133. !include "..makei386-win32make.defs"
  134. #------------------------------------------------
  135. # Targets
  136. #------------------------------------------------
  137. all : $(LIBS) $(DLLS) $(PROGS)
  138. #---------------------------------------------
  139. # Include some rules common to all makefiles
  140. #---------------------------------------------
  141. !include "..makei386-win32make.rules"
  142. #---------------------
  143. # Inference rules
  144. #---------------------
  145. {util}.c{$(BUILDDIR)}.obj:
  146.         $(CC) $(CFLAGS) -c $<
  147. {util}.cpp{$(BUILDDIR)}.obj:
  148.         $(CC) $(CPPFLAGS) -c $<