home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / modules / libreg / src / makefile.win < prev    next >
Encoding:
Makefile  |  1998-04-08  |  3.0 KB  |  94 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. IGNORE_MANIFEST=1
  18. #//------------------------------------------------------------------------
  19. #//
  20. #// Makefile to build 
  21. #//
  22. #//------------------------------------------------------------------------
  23.  
  24.  
  25. #//------------------------------------------------------------------------
  26. #//
  27. #// Specify the depth of the current directory relative to the
  28. #// root of NS
  29. #//
  30. #//------------------------------------------------------------------------
  31. DEPTH= ..\..\..
  32.  
  33. !ifndef MAKE_OBJ_TYPE
  34. MAKE_OBJ_TYPE=EXE
  35. !endif
  36.  
  37. #//------------------------------------------------------------------------
  38. #//
  39. #// Define any Public Make Variables here: (ie. PDFFILE, MAPFILE, ...)
  40. #//
  41. #//------------------------------------------------------------------------
  42. LIBNAME=libreg$(MOZ_BITS)
  43. PDBFILE=$(LIBNAME).pdb
  44.  
  45. #//------------------------------------------------------------------------
  46. #// 
  47. #// Define the files necessary to build the target (ie. OBJS)
  48. #//
  49. #//------------------------------------------------------------------------
  50.  
  51. OBJS=                                       \
  52.     .\$(OBJDIR)\reg.obj                     \
  53.     .\$(OBJDIR)\VerReg.obj                  \
  54.     $(NULL)
  55.  
  56. #//------------------------------------------------------------------------
  57. #//
  58. #// Define any Public Targets here (ie. PROGRAM, LIBRARY, DLL, ...)
  59. #// (these must be defined before the common makefiles are included)
  60. #//
  61. #//------------------------------------------------------------------------
  62.  
  63. LIBRARY= .\$(OBJDIR)\$(LIBNAME).lib
  64.  
  65. #//------------------------------------------------------------------------
  66. #//
  67. #// Define any local options for the make tools 
  68. #//     (ie. LCFLAGS, LLFLAGS, LLIBS, LINCS)
  69. #//
  70. #//------------------------------------------------------------------------
  71.  
  72. #//
  73. #// Win16 places ALL public header files in $(PUBLIC)/win16
  74. #//
  75. !if "$(MOZ_BITS)" != "16"
  76. LINCS= $(LINCS) -I$(PUBLIC)/libreg   \
  77.         -I$(PUBLIC)/nspr     \
  78.         -I$(PUBLIC)/dbm      \
  79.         -I$(PUBLIC)/pref     \
  80.         -I$(PUBLIC)/js       \
  81.         $(NULL)
  82. !endif
  83.  
  84. #//------------------------------------------------------------------------
  85. #//
  86. #// Include the common makefile rules
  87. #//
  88. #//------------------------------------------------------------------------
  89. include <$(DEPTH)/config/rules.mak>
  90.  
  91. install:: $(LIBRARY)
  92.     $(MAKE_INSTALL) $(LIBRARY) $(DIST)\lib
  93.  
  94.