home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / c / condor40.zip / CONDOR / src / h / Makefile < prev    next >
Makefile  |  1989-05-15  |  3KB  |  117 lines

  1. # Copyright 1986, 1987, 1988, 1989 University of Wisconsin
  2. # Permission to use, copy, modify, and distribute this software and its
  3. # documentation for any purpose and without fee is hereby granted,
  4. # provided that the above copyright notice appear in all copies and that
  5. # both that copyright notice and this permission notice appear in
  6. # supporting documentation, and that the name of the University of
  7. # Wisconsin not be used in advertising or publicity pertaining to
  8. # distribution of the software without specific, written prior
  9. # permission.  The University of Wisconsin makes no representations about
  10. # the suitability of this software for any purpose.  It is provided "as
  11. # is" without express or implied warranty.
  12. # THE UNIVERSITY OF WISCONSIN DISCLAIMS ALL WARRANTIES WITH REGARD TO
  13. # THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
  14. # FITNESS. IN NO EVENT SHALL THE UNIVERSITY OF WISCONSIN  BE LIABLE FOR
  15. # ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  16. # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  17. # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  18. # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  19. # Authors:  Allan Bricker and Michael J. Litzkow,
  20. #              University of Wisconsin, Computer Sciences Dept.
  21.  
  22.  
  23.  
  24.  
  25. #
  26. # The following variables must be passed in to this makefile:
  27. #
  28. #    SRCDIR    =    The pathname (relative or absolute) of the source
  29. #                directory (eg. ../src, /var/home/condor/CONDOR/src)
  30. #
  31. #    DSTDIR    =    The pathname (relative or absolute) of the directory
  32. #                which will contain the installed binaries and libraries.
  33. #                There must be "bin" and "lib" subdirectories within DSTDIR.
  34. #
  35. #    COPTS    =    Default flags to cc (eg -O, -g)
  36. #
  37. #    IDENT    =    Any #defines which are not automatically supplied
  38. #                by cpp (eg. -Dsunos40 or -Dsunos32).  Note that
  39. #                cpp provides definitions for architectures (eg.
  40. #                vax, sun, mc68020, sparc)
  41. #
  42.  
  43. DIRECTORY=h
  44.  
  45. PDIR=$(SRCDIR)/$(DIRECTORY)
  46. CFLAGS=$(COPTS) -I$(SRCDIR)/h $(IDENT)
  47.  
  48. #
  49. #    Options to 'ctags'
  50. #
  51. TFLAGS=-dt
  52.  
  53. #
  54. #    Each file in the CSRC list should be prepended by $(PDIR).
  55. #
  56. CSRC= \
  57.     $(PDIR)/avail.h \
  58.     $(PDIR)/ckpt.h \
  59.     $(PDIR)/ckpt_file.h \
  60.     $(PDIR)/debug.h \
  61.     $(PDIR)/errno.h \
  62.     $(PDIR)/except.h \
  63.     $(PDIR)/exit.h \
  64.     $(PDIR)/expr.h \
  65.     $(PDIR)/fileno.h \
  66.     $(PDIR)/files.h \
  67.     $(PDIR)/job.h \
  68.     $(PDIR)/machdep.h \
  69.     $(PDIR)/manager.h \
  70.     $(PDIR)/proc.h \
  71.     $(PDIR)/condor_rsc.h \
  72.     $(PDIR)/condor_sys.h \
  73.     $(PDIR)/condor_types.h \
  74.     $(PDIR)/sched.h \
  75.     $(PDIR)/stats.h \
  76.     $(PDIR)/trace.h \
  77.     $(PDIR)/xdr_lib.h
  78. SSRC=
  79.  
  80. SRC=$(CSRC) $(SSRC)
  81.  
  82. OBJ=
  83. LIB=../util_lib/util_lib.a ../xdr_lib/xdr_lib.a
  84.  
  85. PROGRAMS=
  86. CLEANUP=
  87.  
  88. all: $(PROGRAMS)
  89.     @echo Nothing to make...
  90.  
  91. ALWAYS:
  92.  
  93. release: $(PROGRAMS)
  94.     @echo Nothing to make...
  95.  
  96. lint: ALWAYS
  97.     @echo Nothing to lint...
  98.  
  99. clean: ALWAYS
  100.     @echo Nothing to clean up...
  101.  
  102. tags: ALWAYS
  103.     cd $(PDIR) ; ctags $(TFLAGS) $(CSRC)
  104.  
  105. #############################################################################
  106. # Put program specific things here
  107. #############################################################################
  108.  
  109. depend: ALWAYS
  110.     @echo Nothing to make...
  111.