imapext-2007

view src/osdep/unix/Makefile.gss @ 0:ada5e610ab86

imap-2007e
author yuuji@gentei.org
date Mon, 14 Sep 2009 15:17:45 +0900
parents
children
line source
1 # ========================================================================
2 # Copyright 1988-2007 University of Washington
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 # http://www.apache.org/licenses/LICENSE-2.0
9 #
10 #
11 # ========================================================================
13 # Program: GSSAPI makefile
14 #
15 # Author: Mark Crispin
16 # Networks and Distributed Computing
17 # Computing & Communications
18 # University of Washington
19 # Administration Building, AG-44
20 # Seattle, WA 98195
21 # Internet: MRC@CAC.Washington.EDU
22 #
23 # Date: 11 May 1989
24 # Last Edited: 4 April 2007
27 # Extended flags needed for additional authenticators. You may need to modify.
29 GSSDIR=/usr/local
30 GSSINCLUDE=$(GSSDIR)/include
31 GSSLIB=$(GSSDIR)/lib
32 GSSCFLAGS= -I$(GSSINCLUDE) -DGSS_C_NT_HOSTBASED_SERVICE=gss_nt_service_name -DKRB5_DEPRECATED=1
33 GSSOLDLDFLAGS= -L$(GSSLIB) -lgssapi_krb5 -lkrb5 -lcrypto -lcom_err
34 GSSNEWLDFLAGS= -L$(GSSLIB) -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err
36 gss: # GSSAPI Kerberos V flags
37 echo $(GSSCFLAGS) >> OSCFLAGS
38 sh -c '(test -f $(GSSLIB)/libk5crypto.a) && echo $(GSSNEWLDFLAGS) || echo $(GSSOLDLDFLAGS)' >> LDFLAGS
39 echo "#include \"kerb_mit.c\"" >> auths.c

UW-IMAP'd extensions by yuuji