X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=cd40c2ae007bf96c7057fd42c6294b36e74669cc;hb=464d80171f4a12ffadbcf8cea41a5867d49f9c77;hp=246d6ec5024150cf880012f1300fa0fadd366e94;hpb=a99d921cf322a09d779500c2cdeb55e3df260fb8;p=libradsec.git diff --git a/Makefile.am b/Makefile.am index 246d6ec..cd40c2a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,18 +1,22 @@ -sbin_PROGRAMS = radsecproxy +AUTOMAKE_OPTIONS = foreign + +sbin_PROGRAMS = radsecproxy +bin_PROGRAMS = catgconf radsecproxy_SOURCES = radsecproxy.c \ - tlscommon.c \ + tlscommon.c \ gconfig.c \ util.c \ debug.c \ list.c \ hash.c \ - tlv11.c \ - radmsg.c \ - udp.c \ - tcp.c \ - tls.c \ - dtls.c \ + tlv11.c \ + hostport.c \ + radmsg.c \ + udp.c \ + tcp.c \ + tls.c \ + dtls.c \ radsecproxy.h \ tlscommon.h \ gconfig.h \ @@ -20,16 +24,41 @@ radsecproxy_SOURCES = radsecproxy.c \ util.h \ list.h \ hash.h \ - tlv11.h \ - radmsg.h \ - udp.h \ - tcp.h \ - tls.h \ - dtls.h - -radsecproxy_CFLAGS = -g -Wall -pedantic -pthread -DRADPROT_UDP -DRADPROT_TCP -DRADPROT_TLS -DRADPROT_DTLS @SSL_CFLAGS@ @TARGET_CFLAGS@ + 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 -fno-strict-aliasing @SSL_CFLAGS@ @TARGET_CFLAGS@ radsecproxy_LDFLAGS = @SSL_LDFLAGS@ @TARGET_LDFLAGS@ radsecproxy_LDADD = @SSL_LIBS@ -dist_sysconf_DATA = $(srcdir)/radsecproxy.conf-example -dist_man_MANS = radsecproxy.1 radsecproxy.conf.5 +catgconf_CFLAGS = -g -Wall -fno-strict-aliasing @TARGET_CFLAGS@ +catgconf_LDFLAGS = @TARGET_LDFLAGS@ + +dist_man_MANS = radsecproxy.1 $(GENMANPAGES) +EXTRA_DIST = LICENSE THANKS radsecproxy.conf-example radsecproxy.conf.5.xml \ + tools/naptr-eduroam.sh tools/radsec-dynsrv.sh tools/README + +if HAVE_DOCBOOK2X_MAN +GENMANPAGES = radsecproxy.conf.5 +endif + +radsecproxy.conf.5: $(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