home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / amiga / os / kludge03.tz / kludge03 / mk74 / user / threads / makefile < prev    next >
Makefile  |  1992-08-29  |  3KB  |  106 lines

  1.  
  2. CP = cp
  3. RM = rm
  4. MV = mv
  5. CHMOD_BIN = echo
  6. CC = gcc -O2
  7. CPP = cpp
  8. AR = ar
  9. RANLIB = ranlib
  10. CFLAGS = -I. -Imach -Imach:include
  11. MIGFLAGS = -Imach:include -DMACH_IPC_COMPAT=0 -DSTANDALONE -DTypeCheck=0
  12.  
  13. #
  14. # Mach Operating System
  15. # Copyright (c) 1991,1990,1989 Carnegie Mellon University
  16. # All Rights Reserved.
  17. #
  18. # Permission to use, copy, modify and distribute this software and its
  19. # documentation is hereby granted, provided that both the copyright
  20. # notice and this permission notice appear in all copies of the
  21. # software, derivative works or modified versions, and any portions
  22. # thereof, and that both notices appear in supporting documentation.
  23. #
  24. # CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
  25. # CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
  26. # ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
  27. #
  28. # Carnegie Mellon requests users of this software to return to
  29. #
  30. #  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
  31. #  School of Computer Science
  32. #  Carnegie Mellon University
  33. #  Pittsburgh PA 15213-3890
  34. #
  35. # any improvements or extensions that they make and grant Carnegie Mellon
  36. # the rights to redistribute these changes.
  37. #
  38. #
  39. # HISTORY
  40. # $Log:    Makefile,v $
  41. # Revision 2.21  92/05/22  18:38:31  jfriedl
  42. #     From Mike Kupfer <kupfer@sprite.Berkeley.EDU>:
  43. #     Enable CTHREAD_DATA for the kernel bootstrap program.
  44. #
  45. # Revision 2.20  92/03/05  22:46:34  rpd
  46. #     Changed to use double-colon rules for top-level targets.
  47. #     [92/02/28            rpd]
  48. #
  49. # Revision 2.19  92/01/23  15:22:53  rpd
  50. #     Revised for new Makefile organization.
  51. #     [92/01/16            rpd]
  52. #
  53. # Revision 1.4  91/09/09  15:55:51  kupfer
  54. # MK63 merge.
  55. #
  56. # Revision 1.2  91/08/23  19:12:32  kupfer
  57. # Put back the changes for the Posix thread local data support.
  58. #
  59.  
  60. # Define CTHREAD_DATA to enable source compatibility with the old
  61. # "cthread_data" interface.
  62. DEFS = -DCTHREAD_DATA
  63.  
  64. #include ${MAKETOP}Makefile-common
  65.  
  66. # find machine-dependent files in machine subdirectory
  67.  
  68. VPATH = .:${cpu}
  69.  
  70. all :: libthreads.a
  71.  
  72. #install :: ${INSTALLDIR}/lib/libthreads.a
  73. #
  74. #release :: ${TRELEASEDIR}/lib/libthreads.a
  75. #
  76. #clean ::
  77. #    ${RM} ${INSTALLDIR}/lib/libthreads.a
  78.  
  79. # installation rules
  80.  
  81. #${INSTALLDIR}/lib/libthreads.a : libthreads.a
  82. #    -${RM} $@
  83. #    ${CP} $? $@
  84. #    ${CHMOD_LIB} $@
  85.  
  86. # release rules
  87.  
  88. #${TRELEASEDIR}/lib/libthreads.a : ${FRELEASEDIR}/lib/libthreads.a
  89. #    -${RM} $@
  90. #    ${CP} $? $@
  91.  
  92. # build rules
  93.  
  94. OBJS = cprocs.o cthreads.o malloc.o \
  95.        mig_support.o stack.o sync.o \
  96.        thread.o lock.o csw.o cthread_data.o
  97.  
  98. libthreads.a : ${OBJS}
  99.     -${RM} $@
  100.     ${AR} cq $@ ${OBJS}
  101.     ${RANLIB} $@
  102.  
  103. # For lint, do ``lint -I. -un *.c mips/*.c''
  104.  
  105. #-include Makedep
  106.