Merge from vendor branch HEIMDAL:
[dragonfly.git] / crypto / heimdal-0.6.3 / lib / auth / afskauthlib / Makefile.am
1 # $Id: Makefile.am,v 1.6 2001/07/15 04:21:07 assar Exp $
2
3 include $(top_srcdir)/Makefile.am.common
4
5 INCLUDES += $(INCLUDE_krb4)
6
7 DEFS = @DEFS@
8
9 foodir = $(libdir)
10 foo_DATA = afskauthlib.so
11
12 SUFFIXES += .c .o
13
14 SRCS = verify.c
15 OBJS = verify.o
16
17 CLEANFILES = $(foo_DATA) $(OBJS) so_locations
18
19 afskauthlib.so: $(OBJS)
20         $(LINK) -shared $(OBJS) $(L)
21
22 .c.o:
23         $(COMPILE) -c $<
24
25 if KRB4
26 KAFS = $(top_builddir)/lib/kafs/libkafs.la
27 endif
28
29 if KRB5
30 L = \
31         $(KAFS) \
32         $(top_builddir)/lib/krb5/libkrb5.la     \
33         $(top_builddir)/lib/asn1/libasn1.la     \
34         $(LIB_krb4)                             \
35         $(LIB_des)                              \
36         $(top_builddir)/lib/roken/libroken.la   \
37         -lc
38
39 else
40
41 L = \
42         $(KAFS) \
43         $(LIB_krb4)                             \
44         $(LIB_des)                              \
45         $(top_builddir)/lib/roken/libroken.la   \
46         -lc
47 endif
48
49 $(OBJS): $(top_builddir)/include/config.h