home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / modules / security / freenav / makefile.win < prev    next >
Encoding:
Makefile  |  1998-04-08  |  3.1 KB  |  99 lines

  1. IGNORE_MANIFEST=1
  2. # The contents of this file are subject to the Netscape Public License
  3. # Version 1.0 (the "NPL"); you may not use this file except in
  4. # compliance with the NPL.  You may obtain a copy of the NPL at
  5. # http://www.mozilla.org/NPL/
  6. #
  7. # Software distributed under the NPL is distributed on an "AS IS" basis,
  8. # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
  9. # for the specific language governing rights and limitations under the
  10. # NPL.
  11. #
  12. # The Initial Developer of this code under the NPL is Netscape
  13. # Communications Corporation.  Portions created by Netscape are
  14. # Copyright (C) 1998 Netscape Communications Corporation.  All Rights
  15. # Reserved.
  16.  
  17.  
  18. !if "$(MOZ_BITS)" == "16"
  19. !ifndef MOZ_DEBUG
  20. OPTIMIZER=-Os -UDEBUG -DNDEBUG
  21. !endif
  22. !endif
  23.  
  24. #//------------------------------------------------------------------------
  25. #//
  26. #// Specify the depth of the current directory relative to the
  27. #// root of NS
  28. #//
  29. #//------------------------------------------------------------------------
  30. DEPTH= ..\..\..
  31.  
  32. ## Include support for MOZ_LITE/MOZ_MEDIUM
  33. include <$(DEPTH)/config/liteness.mak>
  34.  
  35. !ifndef MAKE_OBJ_TYPE
  36. MAKE_OBJ_TYPE=EXE
  37. !endif
  38.  
  39. #//------------------------------------------------------------------------
  40. #//
  41. #// Define any Public Make Variables here: (ie. PDFFILE, MAPFILE, ...)
  42. #//
  43. #//------------------------------------------------------------------------
  44. LIBNAME=secfreenav$(MOZ_BITS)
  45. PDBFILE=$(LIBNAME).pdb
  46.  
  47. LINCS =  \
  48. !if "$(MOZ_BITS)" != "16"
  49.         -I$(PUBLIC)\security \
  50.         -I$(PUBLIC)\liblayer \
  51.         -I$(PUBLIC)\dbm \
  52.         -I$(PUBLIC)\js \
  53.         -I$(PUBLIC)\util \
  54.         -I$(PUBLIC)\img \
  55. !endif
  56.         -I$(DEPTH)\include
  57.  
  58. #//------------------------------------------------------------------------
  59. #// 
  60. #// Define the files necessary to build the target (ie. OBJS)
  61. #//
  62. #//------------------------------------------------------------------------
  63. OBJS=                         \
  64.     .\$(OBJDIR)\secport.obj  \
  65.     .\$(OBJDIR)\navstubs.obj   \
  66.     $(NULL)
  67.  
  68. #//------------------------------------------------------------------------
  69. #//
  70. #// Define any Public Targets here (ie. PROGRAM, LIBRARY, DLL, ...)
  71. #// (these must be defined before the common makefiles are included)
  72. #//
  73. #//------------------------------------------------------------------------
  74. LIBRARY    = .\$(OBJDIR)\$(LIBNAME).lib
  75.  
  76. #//------------------------------------------------------------------------
  77. #//
  78. #// install headers
  79. #//
  80. #//------------------------------------------------------------------------
  81. INSTALL_DIR=$(PUBLIC)\security
  82. INSTALL_FILE_LIST=base64.h cert.h preenc.h seccomon.h secerr.h sechash.h secnav.h secrng.h secstubn.h secstubs.h secstubt.h ssl.h sslerr.h zig.h secprefs.rc rosetta.h
  83.  
  84. #//------------------------------------------------------------------------
  85. #//
  86. #// Include the common makefile rules
  87. #//
  88. #//------------------------------------------------------------------------
  89. include <$(DEPTH)/config/rules.mak>
  90.  
  91. CFLAGS = $(CFLAGS) -DMOZILLA_CLIENT
  92.  
  93. install:: $(LIBRARY)
  94.     $(MAKE_INSTALL) $(LIBRARY) $(DIST)\lib
  95.  
  96. export:: INSTALL_FILES
  97.  
  98. libs:: install
  99.