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 / osdep / nt / makefile.ntk < prev    next >
Makefile  |  1998-12-01  |  4KB  |  119 lines

  1. # Program:    Portable C client makefile -- NT version
  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:        11 May 1989
  12. # Last Edited:    24 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. EXTRAAUTHENTICATORS=gss
  35. EXTRADRIVERS = 
  36. EXTRACFLAGS= /I\k5\include
  37. DEFAULTAUTHENTICATORS=md5 log
  38. DRIVERS = imap nntp pop3 mbx mtx tenex unix
  39. DEFAULTDRIVER = mbx
  40. CFLAGS= /MT /W3 /Ox /DWIN32 -nologo $(EXTRACFLAGS)
  41. CC = cl
  42. CCLIENTLIB= cclient.lib
  43.  
  44. all:    $(CCLIENTLIB)
  45.  
  46. .c.obj:
  47.     $(CC) -c $(CFLAGS) $*.c
  48.  
  49. osdep.h: os_nt.h
  50.     copy os_nt.h osdep.h
  51.     drivers $(EXTRADRIVERS) $(DRIVERS) dummy
  52.     echo void setkrbdefkey (void); >> linkage.h
  53.     echo setkrbdefkey (); >> linkage.c
  54.     mkauths $(EXTRAAUTHENTICATORS) $(DEFAULTAUTHENTICATORS)
  55.     setproto $(DEFAULTDRIVER)
  56.  
  57. mail.obj: mail.h misc.h osdep.h mail.c
  58.  
  59. misc.obj: mail.h misc.h misc.c
  60.  
  61. fdstring.obj: mail.h misc.h osdep.h fdstring.h fdstring.c
  62.  
  63. flstring.obj: mail.h misc.h osdep.h flstring.h flstring.c
  64.  
  65. netmsg.obj: mail.h misc.h netmsg.h osdep.h netmsg.c
  66.  
  67. newsrc.obj: mail.h misc.h newsrc.h osdep.h newsrc.c
  68.  
  69. rfc822.obj: mail.h rfc822.h misc.h rfc822.c
  70.  
  71. smanager.obj: mail.h misc.h smanager.c
  72.  
  73. utf8.obj: mail.h misc.h osdep.h utf8.h
  74.  
  75. imap4r1.obj: mail.h imap4r1.h misc.h osdep.h imap4r1.c
  76.  
  77. nntp.obj: mail.h nntp.h smtp.h rfc822.h misc.h osdep.h nntp.c
  78.  
  79. pop3.obj: mail.h pop3.h misc.h osdep.h pop3.c
  80.  
  81. smtp.obj: mail.h smtp.h rfc822.h misc.h osdep.h smtp.c
  82.  
  83. os_nt.obj: mail.h osdep.h env_nt.h fs.h ftl.h nl.h tcp.h tcp_nt.h yunchan.h \
  84.     os_nt.c fs_nt.c ftl_nt.c nl_nt.c env_nt.c tcp_nt.c yunchan.c \
  85.     mailfile.h auth_md5.c auth_log.c auth_gss.c
  86.  
  87. mbxnt.obj: mail.h mbxnt.h misc.h osdep.h mbxnt.c
  88.  
  89. mtxnt.obj: mail.h mtxnt.h misc.h osdep.h mtxnt.c
  90.  
  91. tenexnt.obj: mail.h tenexnt.h misc.h osdep.h tenexnt.c
  92.  
  93. unixnt.obj: mail.h unixnt.h pseudo.h misc.h osdep.h unixnt.c
  94.  
  95. dummynt.obj: mail.h dummy.h misc.h osdep.h dummynt.c
  96.  
  97. pseudo.obj: pseudo.h
  98.  
  99. krbdefky.c: mail.h misc.h osdep.h
  100.  
  101. $(CCLIENTLIB): mail.obj misc.obj fdstring.obj flstring.obj netmsg.obj \
  102.     newsrc.obj rfc822.obj smanager.obj utf8.obj \
  103.     imap4r1.obj nntp.obj pop3.obj smtp.obj os_nt.obj krbdefky.obj \
  104.     mbxnt.obj mtxnt.obj tenexnt.obj unixnt.obj dummynt.obj pseudo.obj
  105.     erase $(CCLIENTLIB)
  106.     LIB /NOLOGO /OUT:cclient.lib \
  107.     mail.obj misc.obj fdstring.obj flstring.obj netmsg.obj \
  108.     newsrc.obj rfc822.obj smanager.obj utf8.obj \
  109.     imap4r1.obj nntp.obj pop3.obj smtp.obj os_nt.obj krbdefky.obj \
  110.     mbxnt.obj mtxnt.obj tenexnt.obj unixnt.obj dummynt.obj pseudo.obj
  111.  
  112. clean:
  113.     del *.lib *.obj linkage.* osdep.* auths.c *.exe *.exp
  114.  
  115. # A monument to a hack of long ago and far away...
  116.  
  117. love:
  118.     @echo not war?
  119.