home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / modules / libhook / src / makefile.win < prev    next >
Encoding:
Makefile  |  1998-04-08  |  1.7 KB  |  52 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. MODULE=hook 
  22. LIBRARY_NAME=hook 
  23. DEPTH=..\..\.. 
  24. LOCAL_INCLUDES=-I. 
  25. LIBRARY=libhook.a 
  26. CSRCS=hk_conf.c hk_file.c hk_hook.c hk_init.c hk_tag.c 
  27. REQUIRES=libxp util js img layer parse hook pref dbm nspr 
  28. C_OBJS=.\$(OBJDIR)\hk_conf.obj .\$(OBJDIR)\hk_file.obj \
  29.     .\$(OBJDIR)\hk_hook.obj .\$(OBJDIR)\hk_init.obj \
  30.     .\$(OBJDIR)\hk_tag.obj 
  31. !if "$(MOZ_BITS)" != "16"
  32. LINCS=-I$(XPDIST)\public\libxp -I$(XPDIST)\public\util \
  33.     -I$(XPDIST)\public\js -I$(XPDIST)\public\img \
  34.     -I$(XPDIST)\public\layer -I$(XPDIST)\public\parse \
  35.     -I$(XPDIST)\public\hook -I$(XPDIST)\public\pref \
  36.     -I$(XPDIST)\public\dbm -I$(XPDIST)\public\nspr 
  37. !endif
  38.  
  39. !include $(MOZ_SRC)\ns\config\rules.mak
  40.  
  41. #
  42. # JMC doesn't install the module library that we make on windows
  43. # Hence we have our own rule to install the library.
  44. #
  45. MY_INSTALL_FILE_LIST = $(LIBRARY)
  46. MY_INSTALL_DIR = $(DIST)\lib
  47.  
  48. install::
  49.         !$(MAKE_INSTALL) $(MY_INSTALL_FILE_LIST) $(MY_INSTALL_DIR)
  50.  
  51.