home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / misc / volume41 / wwfs / part18 / Makefile.com next >
Makefile  |  1994-01-17  |  4KB  |  119 lines

  1. #
  2. # Makefile.com for Worldwide File System.
  3. #
  4. # Author:    Youki Kadobayashi, Osaka University, Japan
  5. #        E-mail: <youki@wide.ad.jp>
  6. #
  7. # WorldWide File System
  8. # Copyright (c) 1992,1993 Youki Kadobayashi
  9. # Copyright (c) 1992,1993 Osaka University
  10. # All rights reserved.
  11. #
  12. # Permission to use, copy, modify and distribute this software and its
  13. # documentation is hereby granted, provided that the following conditions
  14. # are met:
  15. # 1. Both the copyright notice and this permission notice appear in
  16. #    all copies of the software, derivative works or modified versions,
  17. #    and any portions thereof, and that both notices appear in
  18. #    supporting documentation.
  19. # 2. All advertising materials mentioning features or use of this software
  20. #    must display the following acknowledgement:
  21. #      This product includes software developed by the Osaka University
  22. #      and its contributors.
  23. # 3. Neither the name of the University nor the names of its contributors
  24. #    may be used to endorse or promote products derived from this software
  25. #    without specific prior written permission.
  26. #
  27. # THIS SOFTWARE IS PROVIDED BY THE DEVELOPER ``AS IS'' AND OSAKA
  28. # UNIVERSITY DISCLAIMS ANY LIABILITY OF ANY KIND FOR ANY DAMAGES
  29. # WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
  30. #
  31. # Osaka University requests users of this software to return to
  32. #
  33. #  Youki Kadobayashi
  34. #  Department of Information and Computer Sciences
  35. #  Osaka University, Toyonaka 560, Osaka, Japan
  36. #
  37. # any improvements or extensions that they make and grant Osaka
  38. # University the rights to redistribute these changes.
  39.  
  40. # $Header: Makefile.com[109.2] Thu Dec 16 20:38:07 1993 youki-k@is.aist-nara.ac.jp saved $
  41. #
  42.  
  43. #
  44. # -------- Users may care to override these values --------
  45. #
  46. # Any of these values can be overridden by redefining them
  47. # in a file called config/Makefile.local or config/Makefile.local.foo
  48. # (where "foo" is the OS name)
  49. #
  50.  
  51. # Full pathname of where to install wwmount, wwumount
  52. ETCDIR = /usr/local/etc
  53.  
  54. # Full pathname of where to install libraries (e.g., libww.a)
  55. LIBDIR= /usr/local/lib
  56.  
  57. # Full pathname of where to install header files (e.g., libww.h)
  58. INCDIR= /usr/local/include
  59.  
  60. # Installed files are owned by this group.
  61. GROUP = daemon
  62.  
  63. # How to install binaries
  64. INSTBIN = install -o wwfs -g $(GROUP) -c -m 755
  65. # How to install header files, documents, libraries etc.
  66. INSTALL = install -o wwfs -g $(GROUP) -c -m 644
  67.  
  68. # Your favorite C compiler
  69. CC = cc
  70.  
  71. # Use -O for production use; use -g otherwise.
  72. CCOPTS = -O
  73.  
  74. # This space for rent :-)
  75. DEBUG =
  76.  
  77. # Define RPCINC if you have RPC header files in non-standard places
  78. RPCINC =
  79.  
  80. # Define RPCGEN as the name of your "rpcgen" program
  81. RPCGEN = rpcgen
  82.  
  83. # Your friendly printer
  84. PRINTER=ls4pa
  85.  
  86. # For old makes
  87. SHELL = /bin/sh
  88.  
  89. # -------- YOU SHOULD NOT NEED TO CHANGE ANYTHING BELOW THIS LINE --------
  90.  
  91. OS_HDR = os-$(OS).h
  92. OSDEF = -DOS_HDR=\"$(OS_HDR)\"
  93. CFLAGS = $(CCOPTS) $(DEBUG) $(OSDEF) $(RPCINC) -I../rpc -I../config -I../include -I.
  94.  
  95. STAGE=        beta
  96. GEN=        109
  97. REV=        4
  98. VERSION=    $(STAGE)-$(GEN).$(REV)
  99.  
  100. baseline::
  101.     -save -f -lock -q -m "$(STAGE)$(GEN) baseline" \
  102.     -setvnum $(GEN).$(REV) `/bin/csh -c "echo *.[chlyx] *.{sh,pl,el,tcl,conf,vol,txt,tex,ps,eps} Makefile* README*; cat AtFS-files"`
  103.  
  104. copyright::
  105.     -vattr copyright="^$(TOP)/$(STAGE)/Copyright" `vl -lastsaved`
  106.     -vattr copyright_el="^$(TOP)/$(STAGE)/Copyright.el" `vl -lastsaved`
  107.     -vattr copyright_mk="^$(TOP)/$(STAGE)/Copyright.mk" `vl -lastsaved`
  108.  
  109. version::
  110.     -save -lock -q `/bin/csh -c "echo *.[chlyx] *.{sh,pl,el,tcl,conf,vol,txt,tex,ps,eps} Makefile* README*; cat AtFS-files"`
  111.  
  112. print::
  113.     vgrind -t $(FILE) | lpr -P$(PRINTER)
  114.  
  115. clean::
  116.     -rm -f *~ *.o
  117.  
  118.