Remove Kerberos support from libssl
[openssl.git] / crypto / krb5 / Makefile
1 #
2 # OpenSSL/krb5/Makefile
3 #
4
5 DIR=    krb5
6 TOP=    ../..
7 CC=     cc
8 INCLUDES= -I.. -I$(TOP) -I../../include
9 CFLAG=-g
10 MAKEFILE=       Makefile
11 AR=             ar r
12
13 CFLAGS= $(INCLUDES) $(CFLAG)
14
15 GENERAL=Makefile README
16
17 LIB=$(TOP)/libcrypto.a
18 LIBSRC= krb5_asn.c
19
20 LIBOBJ= krb5_asn.o
21
22 SRC= $(LIBSRC)
23
24 HEADER= 
25
26 ALL=    $(GENERAL) $(SRC) $(HEADER)
27
28 top:
29         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
30
31 all:    lib
32
33 lib:    $(LIBOBJ)
34         $(AR) $(LIB) $(LIBOBJ)
35         $(RANLIB) $(LIB) || echo Never mind.
36         @touch lib
37
38 files:
39         $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
40
41 tags:
42         ctags $(SRC)
43
44 tests:
45
46 lint:
47         lint -DLINT $(INCLUDES) $(SRC)>fluff
48
49 depend:
50         @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
51         $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC)
52
53 dclean:
54         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
55         mv -f Makefile.new $(MAKEFILE)
56
57 clean:
58         rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
59
60 # DO NOT DELETE THIS LINE -- make depend depends on it.
61
62 krb5_asn.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
63 krb5_asn.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
64 krb5_asn.o: ../../include/openssl/e_os2.h ../../include/openssl/krb5_asn.h
65 krb5_asn.o: ../../include/openssl/opensslconf.h
66 krb5_asn.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
67 krb5_asn.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
68 krb5_asn.o: ../../include/openssl/symhacks.h krb5_asn.c