home *** CD-ROM | disk | FTP | other *** search
/ ftp.uv.es / 2014.11.ftp.uv.es.tar / ftp.uv.es / pub / unix / pine4.10.tar.gz / pine4.10.tar / pine4.10 / imap / src / imapd / Makefile < prev    next >
Makefile  |  1998-11-20  |  3KB  |  77 lines

  1. # Program:    IMAPD Makefile
  2. #
  3. # Author:    Mark Crispin
  4. #        Networks and Distributed Computing
  5. #        Computing & Communications
  6. #        University of Washington
  7. #        Administration Building, AG-44
  8. #        Seattle, WA  98195
  9. #        Internet: MRC@CAC.Washington.EDU
  10. #
  11. # Date:        5 November 1990
  12. # Last Edited:    20 November 1998
  13. #
  14. # Copyright 1998 by the University of Washington
  15. #
  16. #  Permission to use, copy, modify, and distribute this software and its
  17. # documentation for any purpose and without fee is hereby granted, provided
  18. # that the above copyright notice appears in all copies and that both the
  19. # above copyright notice and this permission notice appear in supporting
  20. # documentation, and that the name of the University of Washington not be
  21. # used in advertising or publicity pertaining to distribution of the software
  22. # without specific, written prior permission.  This software is made
  23. # available "as is", and
  24. # THE UNIVERSITY OF WASHINGTON DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED,
  25. # WITH REGARD TO THIS SOFTWARE, INCLUDING WITHOUT LIMITATION ALL IMPLIED
  26. # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, AND IN
  27. # NO EVENT SHALL THE UNIVERSITY OF WASHINGTON BE LIABLE FOR ANY SPECIAL,
  28. # INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  29. # LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, TORT
  30. # (INCLUDING NEGLIGENCE) OR STRICT LIABILITY, ARISING OUT OF OR IN CONNECTION
  31. # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  32.  
  33.  
  34. ALERT=/etc/imapd.alert
  35. USERALERT=.imapalert
  36. ANO=/etc/anonymous.newsgroups
  37. SHELL= /bin/sh
  38.  
  39. #  The "Manage Mail" menu item of Netscape Messager puts up an error message
  40. # that implies that there is something wrong with the IMAP server ("Contact
  41. # your mail server administrator.").  This is in spite of the fact that they
  42. # have a capability to control this proprietary feature, and thus could grey
  43. # out the offending button.
  44. #
  45. #  If your users complain about the error message, you can rebuild imapd with
  46. # NETSCAPE_BRAIN_DAMAGE defined as a string containing a URL to open, e.g. to
  47. # a homebrew mail account management page.
  48. #
  49. #  I personally find this definition quite amusing:
  50. #EXTRACFLAGS= -DNETSCAPE_BRAIN_DAMAGE=\"http://www.microsoft.com/ie/ie40/oe\"
  51.  
  52. # Get local definitions from c-client directory
  53.  
  54. C = ../c-client
  55. CCLIENTLIB = $C/c-client.a
  56. CC = `cat $C/CCTYPE`
  57. CFLAGS = -I$C `cat $C/CFLAGS` $(EXTRACFLAGS) -DANOFILE=\"$(ANO)\" \
  58.     -DALERTFILE=\"$(ALERT)\" -DUSERALERTFILE=\"$(USERALERT)\"
  59. LDFLAGS = $(CCLIENTLIB) `cat $C/LDFLAGS`
  60.  
  61. all:    imapd
  62.  
  63. imapd: $(CCLIENTLIB) imapd.o
  64.     $(CC) $(CFLAGS) -o imapd imapd.o $(LDFLAGS)
  65.  
  66. imapd.o: $C/mail.h $C/misc.h $C/osdep.h
  67.  
  68. $(CCLIENTLIB):
  69.     cd $C;make
  70.  
  71. clean:
  72.     rm -f *.o imapd || true
  73.  
  74. # A monument to a hack of long ago and far away...
  75. love:
  76.     @echo 'not war?'
  77.