home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / nsprpub / pr / src / threads / Makefile next >
Encoding:
Makefile  |  1998-04-08  |  1.3 KB  |  60 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. # Software distributed under the NPL is distributed on an "AS IS" basis,
  7. # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
  8. # for the specific language governing rights and limitations under the
  9. # NPL.
  10. # The Initial Developer of this code under the NPL is Netscape
  11. # Communications Corporation.  Portions created by Netscape are
  12. # Copyright (C) 1998 Netscape Communications Corporation.  All Rights
  13. # Reserved.
  14. #
  15.  
  16. #! gmake
  17.  
  18. MOD_DEPTH = ../../..
  19.  
  20. include $(MOD_DEPTH)/config/config.mk
  21.  
  22. ifdef USE_PTHREADS
  23.     DIRS =
  24. else
  25.     DIRS = combined
  26. endif
  27.  
  28. # Disable optimization of the nspr on SunOS4.1.3
  29. ifeq ($(OS_ARCH),SunOS)
  30. ifeq ($(OS_RELEASE),4.1.3_U1)
  31. OPTIMIZER =
  32. endif
  33. endif
  34.  
  35. ifdef USE_PTHREADS
  36. CSRCS = prcmon.c \
  37.     $(NULL)
  38. else
  39. CSRCS =          \
  40.     prcmon.c  \
  41.     prdump.c  \
  42.     prmon.c   \
  43.     prsem.c   \
  44.     prcthr.c \
  45.     prtpd.c \
  46.     $(NULL)
  47. endif
  48.  
  49. TARGETS    = $(OBJS)
  50.  
  51. INCLUDES = -I$(DIST)/include/private -I$(DIST)/include
  52.  
  53. include $(MOD_DEPTH)/config/rules.mk
  54.  
  55. export:: $(TARGETS)
  56.  
  57. install:: export
  58.