1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
|
#
# $Id: Makefile.am,v 1.7 2010/02/04 10:27:09 aland Exp $
#
# Copyright (C) 1995,1997,1998 Lars Fenneberg
#
# See the file COPYRIGHT for the respective terms and conditions.
# If the file is missing contact me at lf@elemental.net
# and I'll send you a copy.
#
AUTOMAKE_OPTIONS = foreign
EXTRA_DIST = radcli.map.in radcli.pc.in
RC_LOG_FACILITY = @RC_LOG_FACILITY@
LIBVERSION = @LIBVERSION@
AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir)/include -I$(top_builddir) $(CRYPTO_CFLAGS) -Wall
DEFS = @DEFS@ -DRC_LOG_FACILITY=$(RC_LOG_FACILITY)
CLEANFILES = *~
# Pkg-config script.
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = radcli.pc
sharedir = $(datadir)/@PACKAGE@
DISTCLEANFILES = $(pkgconfig_DATA)
lib_LTLIBRARIES = libradcli.la
libradcli_la_SOURCES = buildreq.c sendserver.c \
avpair.c config.c dict.c ip_util.c log.c util.c \
options.h rc-md5.h rc-md5.c util.h tls.c tls.h \
aaa_ctx.c radcli.map rc-hmac.h
if !ENABLE_NETTLE
libradcli_la_SOURCES += md5.c md5.h hmac.c hmac.h
else
libradcli_la_SOURCES += nettle-hmac.c
endif
libradcli_la_LDFLAGS = -version-info $(LIBVERSION)
if HAVE_LD_VERSION_SCRIPT
libradcli_la_LDFLAGS += -Wl,--version-script=$(srcdir)/radcli.map
endif
libradcli_la_LIBADD = $(LINK_LIBS)
install-exec-hook:
if ENABLE_LEGACY_COMPAT
cd $(DESTDIR)$(libdir) && $(LN_S) libradcli.so libfreeradius-client.so
cd $(DESTDIR)$(libdir) && $(LN_S) libradcli.so libradiusclient-ng.so
endif
|