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

  1. #!gmake
  2. #
  3. # The contents of this file are subject to the Netscape Public License
  4. # Version 1.0 (the "NPL"); you may not use this file except in
  5. # compliance with the NPL.  You may obtain a copy of the NPL at
  6. # http://www.mozilla.org/NPL/
  7. #
  8. # Software distributed under the NPL is distributed on an "AS IS" basis,
  9. # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
  10. # for the specific language governing rights and limitations under the
  11. # NPL.
  12. #
  13. # The Initial Developer of this code under the NPL is Netscape
  14. # Communications Corporation.  Portions created by Netscape are
  15. # Copyright (C) 1998 Netscape Communications Corporation.  All Rights
  16. # Reserved.
  17.  
  18.  
  19.  
  20. IGNORE_MANIFEST=1
  21.  
  22. #//------------------------------------------------------------------------
  23. #//
  24. #// Specify the depth of the current directory relative to the
  25. #// root of NS
  26. #//
  27. #//------------------------------------------------------------------------
  28. DEPTH = ..\..\..
  29.  
  30. #//------------------------------------------------------------------------
  31. #//
  32. #// Define any Public Make Variables here: (ie. PDFFILE, MAPFILE, ...)
  33. #//
  34. #//------------------------------------------------------------------------
  35.  
  36. DLLNAME        = adm$(MOZ_BITS)$(VERSION_NUMBER)
  37. PDBFILE        = $(DLLNAME).pdb
  38. MAPFILE        = $(DLLNAME).map
  39. RESFILE        = $(DLLNAME).res
  40. DLL        =.\$(OBJDIR)\$(DLLNAME).dll
  41. MAKE_OBJ_TYPE    = DLL
  42.  
  43. LINCS = -I$(PUBLIC)/js \
  44.     -I$(PUBLIC)/pref \
  45.     -I$(PUBLIC)/java \
  46.     -I$(PUBLIC)/ldap \
  47.     -I$(PUBLIC)/dbm \
  48.     -I$(PUBLIC)/security \
  49.         -I$(DEPTH)\include \
  50.  
  51. LCFLAGS = -DMOZILLA_CLIENT
  52.  
  53. !if ("$(MOZ_BITS)" == "16" )
  54. BINREL_DIST = $(DIST)
  55. !else
  56. !ifndef MOZ_DEBUG
  57. BINREL_DIST=$(XPDIST)\$(DIST_PREFIX)954.0_OPT.OBJ
  58. !else
  59. BINREL_DIST=$(XPDIST)\$(DIST_PREFIX)954.0_DBG.OBJD
  60. !endif
  61. !endif
  62.  
  63. !if ("$(MOZ_BITS)" == "16" ) 
  64. LLIBS=$(LIBNSPR) $(DIST)\lib\js$(MOZ_BITS)$(VERSION_NUMBER).lib    \
  65. $(DIST)\lib\nsldap.lib $(BINREL_DIST)\lib\hash.lib
  66. DEFFILE        = $(DLLNAME).def
  67. !else
  68. LLIBS=$(LIBNSPR) $(DIST)\lib\js$(MOZ_BITS)$(VERSION_NUMBER).lib \
  69. $(DIST)\lib\nsldap$(MOZ_BITS).lib $(BINREL_DIST)\lib\hash.lib
  70. !endif
  71.  
  72.  
  73. #//------------------------------------------------------------------------
  74. #// 
  75. #// Define the files necessary to build the target (ie. OBJS)
  76. #//
  77. #//------------------------------------------------------------------------
  78.  
  79. OBJS =    .\$(OBJDIR)\prefldap.obj    \
  80.     $(NULL)
  81.  
  82. #//------------------------------------------------------------------------
  83. #//
  84. #// Define any Public Targets here (ie. PROGRAM, LIBRARY, DLL, ...)
  85. #// (these must be defined before the common makefiles are included)
  86. #//
  87. #//------------------------------------------------------------------------
  88. LIBRARY=.\$(OBJDIR)\$(LIBNAME).lib
  89.  
  90. #//------------------------------------------------------------------------
  91. #//
  92. #// Include the common makefile rules
  93. #//
  94. #//------------------------------------------------------------------------
  95. include <$(DEPTH)\config\rules.mak>
  96.  
  97. libs:: $(DLL)    
  98.     $(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).dll $(DIST)\bin
  99. #    $(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).lib $(DIST)\lib
  100.  
  101.