freebsd-src/crypto/heimdal/lib/auth/afskauthlib/Makefile.am
2001-02-13 16:46:19 +00:00

50 lines
808 B
Makefile

# $Id: Makefile.am,v 1.5 2000/11/30 01:39:09 joda Exp $
include $(top_srcdir)/Makefile.am.common
INCLUDES += $(INCLUDE_krb4)
DEFS = @DEFS@
foodir = $(libdir)
foo_DATA = afskauthlib.so
SUFFIXES += .c .o
SRCS = verify.c
OBJS = verify.o
CLEANFILES = $(foo_DATA) $(OBJS) so_locations
afskauthlib.so: $(OBJS)
$(LINK) -shared $(OBJS) $(L)
.c.o:
$(COMPILE) -c $<
if KRB4
KAFS = $(top_builddir)/lib/kafs/libkafs.la
endif
if KRB5
L = \
$(KAFS) \
$(top_builddir)/lib/krb5/libkrb5.la \
$(top_builddir)/lib/asn1/libasn1.la \
$(LIB_krb4) \
$(top_builddir)/lib/des/libdes.la \
$(top_builddir)/lib/roken/libroken.la \
-lc
else
L = \
$(KAFS) \
$(LIB_krb4) \
$(top_builddir)/lib/des/libdes.la \
$(top_builddir)/lib/roken/libroken.la \
-lc
endif
$(OBJS): $(top_builddir)/include/config.h