X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=84f74915f636a8132191e86fae9b9152bd7c8e23;hb=d2880e067aa9a124d2256599aef81113475abe0c;hp=e2ab1e01b25135a25660d4105288db3976a2bac7;hpb=ea4f850a2412df8bc4618b98350c2f961d8202ae;p=radsecproxy.git diff --git a/Makefile.am b/Makefile.am index e2ab1e0..84f7491 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,60 +1,72 @@ AUTOMAKE_OPTIONS = foreign +ACLOCAL_AMFLAGS = -I m4 -sbin_PROGRAMS = radsecproxy -bin_PROGRAMS = catgconf - -radsecproxy_SOURCES = radsecproxy.c \ - tlscommon.c \ - gconfig.c \ - util.c \ - debug.c \ - list.c \ - hash.c \ - tlv11.c \ - hostport.c \ - radmsg.c \ - udp.c \ - tcp.c \ - tls.c \ - dtls.c \ - radsecproxy.h \ - tlscommon.h \ - gconfig.h \ - debug.h \ - util.h \ - list.h \ - hash.h \ - tlv11.h \ - hostport.h \ - radmsg.h \ - udp.h \ - tcp.h \ - tls.h \ - dtls.h - -catgconf_SOURCES = debug.c \ - util.c \ - gconfig.c \ - catgconf.c - -radsecproxy_CFLAGS = -g -Wall @SSL_CFLAGS@ @TARGET_CFLAGS@ -radsecproxy_LDFLAGS = @SSL_LDFLAGS@ @TARGET_LDFLAGS@ -radsecproxy_LDADD = @SSL_LIBS@ - -catgconf_CFLAGS = -g -Wall @TARGET_CFLAGS@ -catgconf_LDFLAGS = @TARGET_LDFLAGS@ - -EXTRA_DIST = radsecproxy.conf-example \ - radsecproxy.1 \ - radsecproxy.conf.5.xml - -man: $(srcdir)/radsecproxy.conf.5.xml - docbook2x-man $< - -# Build HTML version of radsecproxy.conf.5. NOTE: Only tested with -# 'openjade' package installed on Ubuntu 9.10. -html: $(srcdir)/radsecproxy.conf.5.xml - -openjade -E2000 -t sgml-raw -d /usr/share/sgml/docbook/stylesheet/dsssl/modular/html/docbook.dsl -o radsecproxy.conf.html $< - -clean-local: - -rm radsecproxy.conf.5 +# Shared library interface version, i.e. -version-info to Libtool, +# expressed as three integers CURRENT:REVISION:AGE. +# +# CURRENT is the version number of the current interface. Increment +# CURRENT when the library interface has changed or has been extended. +# +# REVISION is the version number of the _implementation_ of the +# CURRENT interface. Set REVISION to 0 when CURRENT changes, else +# increment. +# +# AGE is the number of interfaces this library implements, i.e. how +# many versions before CURRENT that are supported. Increment AGE when +# the library interface is _extended_. Set AGE to 0 when the library +# interface is _changed_. + + +SUBDIRS = radius radsecproxy include . examples +DIST_SUBDIRS = $(SUBDIRS) tests + +AM_CPPFLAGS = -I$(srcdir)/include +AM_CFLAGS = -Wall -Werror -g + +lib_LTLIBRARIES = libradsec.la + +libradsec_la_SOURCES = \ + avp.c \ + compat.c \ + conf.c \ + conn.c \ + debug.c \ + err.c \ + event.c \ + packet.c \ + peer.c \ + radsec.c \ + request.c \ + send.c \ + tcp.c \ + udp.c \ + util.c + +if RS_ENABLE_TLS +libradsec_la_SOURCES += tls.c +else +libradsec_la_SOURCES += md5.c +endif + +libradsec_la_SOURCES += \ + compat.h \ + conn.h \ + debug.h \ + err.h \ + event.h \ + md5.h \ + packet.h \ + peer.h \ + radsec.h \ + tcp.h \ + tls.h \ + udp.h \ + util.h + +EXTRA_DIST = CHANGES HACKING LICENSE libradsec.spec radsec.sym +EXTRA_libradsec_la_DEPENDENCIES = radsec.sym +AM_DISTCHECK_CONFIGURE_FLAGS = --enable-tls --enable-tls-psk + +libradsec_la_LIBADD = radsecproxy/libradsec-radsecproxy.la radius/libradsec-radius.la +libradsec_la_LDFLAGS = -version-info 1:0:1 -export-symbols $(srcdir)/radsec.sym +libradsec_la_CFLAGS = $(AM_CFLAGS) -DHAVE_CONFIG_H -Werror # -DDEBUG -DDEBUG_LEVENT