X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=3636c3d1338637318668e4c332978476ed429972;hb=a1e936386219fa915e4c46a8d099274a06ce68ad;hp=2067c5db4d43fdbd41b1ac9c6311dfd4cc796b0d;hpb=52a34859e9d39a12bf5942ae2cee6fe55881f3a4;p=libradsec.git diff --git a/Makefile.am b/Makefile.am index 2067c5d..3636c3d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,14 +1,26 @@ AUTOMAKE_OPTIONS = foreign +if WANT_FTICKS +fticks_sources = fticks.c fticks.h fticks_hashmac.c fticks_hashmac.h +fticks_programs = radsecproxy-hash +radsecproxy_hash_LDADD = fticks_hashmac.o hash.o list.o +endif + +if HAVE_DOCBOOK2X_MAN +GENMANPAGES = radsecproxy.conf.5 +endif + SUBDIRS = tests + sbin_PROGRAMS = radsecproxy -bin_PROGRAMS = radsecproxy-conf +bin_PROGRAMS = radsecproxy-conf $(fticks_programs) noinst_LIBRARIES = librsp.a radsecproxy_SOURCES = main.c librsp_a_SOURCES = \ + $(fticks_sources) \ debug.c debug.h \ dtls.c dtls.h \ gconfig.c gconfig.h \ @@ -24,35 +36,34 @@ librsp_a_SOURCES = \ udp.c udp.h \ util.c util.h -if WANT_FTICKS -librsp_a_SOURCES += fticks.c fticks.h -endif - radsecproxy_conf_SOURCES = \ catgconf.c \ debug.c debug.h \ gconfig.c gconfig.h \ util.c util.h -librsp_a_CFLAGS = \ +#################### +AM_CPPFLAGS = -DSYSCONFDIR=\"$(sysconfdir)\" +AM_CFLAGS = \ -g -Wall -Werror -fno-strict-aliasing @SSL_CFLAGS@ @TARGET_CFLAGS@ -librsp_a_LDFLAGS = @SSL_LDFLAGS@ @TARGET_LDFLAGS@ -radsecproxy_CFLAGS = $(librsp_a_CFLAGS) -radsecproxy_LDFLAGS = $(librsp_a_LDFLAGS) + +radsecproxy_LDFLAGS = @SSL_LDFLAGS@ @TARGET_LDFLAGS@ radsecproxy_LDADD = librsp.a @SSL_LIBS@ -catgconf_CFLAGS = -g -Wall -fno-strict-aliasing @TARGET_CFLAGS@ -catgconf_LDFLAGS = @TARGET_LDFLAGS@ +radsecproxy_conf_LDFLAGS = @TARGET_LDFLAGS@ + +dist_man_MANS = radsecproxy.1 radsecproxy-hash.1 $(GENMANPAGES) -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 + LICENSE THANKS \ + configure Makefile.in tests/Makefile.in \ + compile config.guess config.sub install-sh missing depcomp \ + radsecproxy.conf.5.xml radsecproxy.conf-example \ + tools/README tools/naptr-eduroam.sh tools/radsec-dynsrv.sh -if HAVE_DOCBOOK2X_MAN -GENMANPAGES = radsecproxy.conf.5 -endif +DISTCHECK_CONFIGURE_FLAGS = --enable-fticks +#################### radsecproxy.conf.5: $(srcdir)/radsecproxy.conf.5.xml docbook2x-man $< @@ -62,4 +73,4 @@ 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 + -rm $(GENMANPAGES)