home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / modules / schedulr / src / makefile.win < prev    next >
Encoding:
Makefile  |  1998-04-08  |  2.6 KB  |  84 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. IGNORE_MANIFEST=1
  19.  
  20. #//------------------------------------------------------------------------
  21. #//
  22. #// Specify the depth of the current directory relative to the
  23. #// root of NS
  24. #//
  25. #//------------------------------------------------------------------------
  26. DEPTH = ..\..\..
  27.  
  28.  
  29. #//------------------------------------------------------------------------
  30. #//
  31. #// Define any Public Make Variables here: (ie. PDFFILE, MAPFILE, ...)
  32. #//
  33. #//------------------------------------------------------------------------
  34.  
  35. DLLNAME            = sched$(MOZ_BITS)
  36. PDBFILE            = $(DLLNAME).pdb
  37. MAPFILE            = $(DLLNAME).map
  38. DLL                =.\$(OBJDIR)\$(DLLNAME).dll
  39. MAKE_OBJ_TYPE    = DLL
  40.  
  41. LINCS = -I$(DEPTH)/nspr20/pr/include \
  42.         -I$(DEPTH)/include \
  43.         -I$(PUBLIC)/schedulr \
  44.         $(NULL)
  45.  
  46. LCFLAGS = -DMOZILLA_CLIENT
  47.  
  48. !if ("$(MOZ_BITS)" == "16" ) 
  49. LLIBS=$(LIBNSPR) 
  50. DEFFILE        = $(DLLNAME).def
  51. !else
  52. LLIBS=$(LIBNSPR)
  53. !endif
  54.  
  55.  
  56. #//------------------------------------------------------------------------
  57. #// 
  58. #// Define the files necessary to build the target (ie. OBJS)
  59. #//
  60. #//------------------------------------------------------------------------
  61.  
  62. OBJS =                            \
  63.     .\$(OBJDIR)\schedulr.obj    \
  64.     $(NULL)
  65.  
  66. #//------------------------------------------------------------------------
  67. #//
  68. #// Define any Public Targets here (ie. PROGRAM, LIBRARY, DLL, ...)
  69. #// (these must be defined before the common makefiles are included)
  70. #//
  71. #//------------------------------------------------------------------------
  72. LIBRARY=.\$(OBJDIR)\$(LIBNAME).lib
  73.  
  74. #//------------------------------------------------------------------------
  75. #//
  76. #// Include the common makefile rules
  77. #//
  78. #//------------------------------------------------------------------------
  79. include <$(DEPTH)\config\rules.mak>
  80.  
  81. libs:: $(DLL)    
  82.     $(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).dll $(DIST)\bin
  83.     $(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).lib $(DIST)\lib
  84.