nmakefile95.nss
上传用户:lyxiangda
上传日期:2007-01-12
资源大小:3042k
文件大小:2k
源码类别:

CA认证

开发平台:

WINDOWS

  1. # The contents of this file are subject to the Mozilla Public
  2. # License Version 1.1 (the "License"); you may not use this file
  3. # except in compliance with the License. You may obtain a copy of
  4. # the License at http://www.mozilla.org/MPL/
  5. # Software distributed under the License is distributed on an "AS
  6. # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  7. # implied. See the License for the specific language governing
  8. # rights and limitations under the License.
  9. # The Original Code is the Netscape security libraries.
  10. # The Initial Developer of the Original Code is Netscape
  11. # Communications Corporation.  Portions created by Netscape are 
  12. # Copyright (C) 1994-2000 Netscape Communications Corporation.  All
  13. # Rights Reserved.
  14. # Contributor(s):
  15. # Alternatively, the contents of this file may be used under the
  16. # terms of the GNU General Public License Version 2 or later (the
  17. # "GPL"), in which case the provisions of the GPL are applicable 
  18. # instead of those above.  If you wish to allow use of your 
  19. # version of this file only under the terms of the GPL and not to
  20. # allow others to use your version of this file under the MPL,
  21. # indicate your decision by deleting the provisions above and
  22. # replace them with the notice and other provisions required by
  23. # the GPL.  If you do not delete the provisions above, a recipient
  24. # may use your version of this file under either the MPL or the
  25. # GPL.
  26. #
  27. # NSS 2.6.2 Sample Win95 Makefile
  28. #
  29. #
  30. # This nmake file will build server.c and client.c on Windows 95.
  31. #
  32. DEFINES=-D_X86_ -DXP_PC -UDEBUG -U_DEBUG -DNDEBUG -DWIN32 -D_WINDOWS
  33. INCPATH=/I. /I..includedbm /I..includenspr /I..includesecurity
  34. LIBS=nss.lib ssl.lib pkcs7.lib pkcs12.lib secmod.lib cert.lib key.lib crypto.lib secutil.lib hash.lib dbm.lib libplc3.lib libplds3.lib libnspr3.lib wsock32.lib
  35. CFLAGS=-O2 -MD -W3 -nologo
  36. CC=cl
  37. LDOPTIONS=/link /LIBPATH:..lib /nodefaultlib:libcd.lib /subsystem:console
  38. server:
  39. $(CC) $(CFLAGS) $(INCPATH) /Feserver server.c getopt.c $(LIBS) $(DEFINES) $(LDOPTIONS)
  40. client:
  41. $(CC) $(CFLAGS) $(INCPATH) /Feclient client.c getopt.c $(LIBS) $(DEFINES) $(LDOPTIONS)
  42. clean:
  43. del /S server.exe client.exe server.lib server.exp client.lib client.exp server.obj client.obj getopt.obj