home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / Makefile < prev   
Encoding:
Makefile  |  1998-04-08  |  3.2 KB  |  84 lines

  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. DEPTH        = .
  19.  
  20. NSPRDIR        = nsprpub
  21. NSPR20        = 1
  22. MOZILLA_CLIENT    = 1
  23.  
  24. ifndef NO_MOCHA
  25. DIRS_JS        = js
  26. endif
  27.  
  28. DIRS        = config coreconf $(NSPRDIR) jpeg dbm xpcom
  29.  
  30. ifdef MOZ_NETCAST
  31. DIRS        += netcast
  32. endif
  33.  
  34. ifdef MOZ_JAVA
  35. DIRS        += sun-java ldap ifc $(DIRS_JS) nav-java ifc/tools js/jsd
  36. else
  37. DIRS        += sun-java nav-java $(DIRS_JS)
  38. endif
  39.  
  40. ifndef NO_SECURITY
  41. DIRS        += security
  42. endif
  43.  
  44. DIRS        += modules lib l10n cmd
  45.  
  46. ifeq ($(STAND_ALONE_JAVA),1)
  47. DIRS        = config lib/xp $(NSPRDIR) jpeg modules/zlib sun-java ifc js ifc/tools sun-java/java
  48. endif
  49.  
  50. include $(DEPTH)/config/rules.mk
  51.  
  52. export:: $(OBJS)
  53.  
  54. # Running this rule assembles all the SDK source pieces into dist/sdk.
  55. # You'll need to run this rule on every platform to get all the
  56. # binaries (e.g. javah) copied there. You'll also have to do special
  57. # magic on a Mac.
  58. sdk-src::
  59.     $(SDKINSTALL) include/npapi.h $(SDK)/include/
  60.     $(SDKINSTALL) include/jri_md.h $(SDK)/include/
  61.     $(SDKINSTALL) include/jritypes.h $(SDK)/include/
  62.     $(SDKINSTALL) include/jri.h $(SDK)/include/
  63.     $(SDKINSTALL) lib/plugin/npupp.h $(SDK)/include/
  64.     $(SDKINSTALL) sdk/common/*.c* $(SDK)/common/
  65.     $(SDKINSTALL) sun-java/classsrc/$(ZIP_NAME).x $(SDK)/classes/$(ZIP_NAME)
  66.     $(SDKINSTALL) sdk/examples/simple/Source/*.c $(SDK)/examples/simple/Source/
  67.     $(SDKINSTALL) sdk/examples/simple/Source/*.java $(SDK)/examples/simple/Source/
  68.     $(SDKINSTALL) sdk/examples/simple/Source/*.class $(SDK)/examples/simple/Source/
  69.     $(SDKINSTALL) sdk/examples/simple/Source/_gen/*.h $(SDK)/examples/simple/Source/_gen/
  70.     $(SDKINSTALL) sdk/examples/simple/Source/_stubs/*.c $(SDK)/examples/simple/Source/_stubs/
  71.     $(SDKINSTALL) sdk/examples/simple/Unix/makefile.* $(SDK)/examples/simple/Unix/
  72.     $(SDKINSTALL) sdk/examples/simple/Testing/SimpleExample.html $(SDK)/examples/simple/Testing/
  73.     $(SDKINSTALL) sdk/examples/simple/readme.html $(SDK)/examples/simple/
  74.     $(SDKINSTALL) sdk/examples/UnixTemplate/Source/*.c $(SDK)/examples/UnixTemplate/Source/
  75.     $(SDKINSTALL) sdk/examples/UnixTemplate/Testing/Test.html $(SDK)/examples/UnixTemplate/Testing/
  76.     $(SDKINSTALL) sdk/examples/UnixTemplate/Unix/makefile.* $(SDK)/examples/UnixTemplate/Unix/
  77.     $(SDKINSTALL) sdk/examples/UnixTemplate/readme.html $(SDK)/examples/UnixTemplate/
  78.  
  79. sdk-bin::
  80.     cd sdk; $(MAKE); cd ..
  81.     $(SDKINSTALL) $(DIST)/bin/javah$(BIN_SUFFIX) $(SDK)/bin/$(OS_CONFIG)/
  82.     $(SDKINSTALL) sdk/examples/simple/Source/$(OBJDIR)/npsimple.$(DLL_SUFFIX) $(SDK)/bin/$(OS_CONFIG)/
  83.     $(SDKINSTALL) sdk/examples/UnixTemplate/Source/$(OBJDIR)/nptemplate.$(DLL_SUFFIX) $(SDK)/bin/$(OS_CONFIG)/
  84.