]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - crypto/heimdal/lib/auth/afskauthlib/Makefile.am
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / crypto / heimdal / lib / auth / afskauthlib / Makefile.am
1 # $Id: Makefile.am 22298 2007-12-14 06:38:06Z lha $
2
3 include $(top_srcdir)/Makefile.am.common
4
5 AM_CPPFLAGS += $(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         $(LIBTOOL) --mode=link $(CC) -shared -o $@ $(OBJS) $(L) $(LDFLAGS)
21
22 .c.o:
23         $(CC) $(DEFS) $(DEFAULT_AM_CPPFLAGS) $(INCLUDES) $(AM_CPPFLAGS) \
24         $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) \
25         -c `test -f '$<' || echo '$(srcdir)/'`$<
26
27 KAFS = $(top_builddir)/lib/kafs/libkafs.la
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_hcrypto)                          \
36         $(top_builddir)/lib/roken/libroken.la   \
37         -lc
38
39 else
40
41 L = \
42         $(KAFS) \
43         $(LIB_krb4)                             \
44         $(LIB_hcrypto)                          \
45         $(top_builddir)/lib/roken/libroken.la   \
46         -lc
47 endif
48
49 $(OBJS): $(top_builddir)/include/config.h
50
51 EXTRA_DIST = $(SRCS)