X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=cafa233caaf1de930089d530662b1065b7631048;hb=09c8bab103518e9c02b2c8938e5e6cc9658a7402;hp=7ce3113840867e50e2aee6f5a7ca6ac0eb1d549c;hpb=11f9efdde75b31b6d4b78ff04618cebd4b4496f4;p=mech_eap.orig diff --git a/Makefile.am b/Makefile.am index 7ce3113..cafa233 100644 --- a/Makefile.am +++ b/Makefile.am @@ -7,16 +7,16 @@ gssdir = $(libdir)/gss gss_LTLIBRARIES = mech_eap.la mech_eap_la_CPPFLAGS = -DBUILD_GSSEAP_LIB -DSYSCONFDIR=\"${sysconfdir}\" -DDATAROOTDIR=\"${datarootdir}\" -mech_eap_la_CFLAGS = -g -Wall -fno-strict-aliasing \ - @EAP_CFLAGS@ @RADSEC_CFLAGS@ @KRB5_CFLAGS@ @TARGET_CFLAGS@ -mech_eap_la_CXXFLAGS = -g -Wall \ - @EAP_CFLAGS@ @RADSEC_CFLAGS@ @KRB5_CFLAGS@ \ - @SHIBSP_CXXFLAGS@ @SHIBRESOLVER_CXXFLAGS@ @TARGET_CFLAGS@ +mech_eap_la_CFLAGS = -Wall -Wunused-parameter \ + @KRB5_CFLAGS@ @EAP_CFLAGS@ @RADSEC_CFLAGS@ @TARGET_CFLAGS@ +mech_eap_la_CXXFLAGS = -Wall -Wunused-parameter \ + @KRB5_CFLAGS@ @EAP_CFLAGS@ @RADSEC_CFLAGS@ \ + @SHIBRESOLVER_CXXFLAGS@ @SHIBSP_CXXFLAGS@ @TARGET_CFLAGS@ mech_eap_la_LDFLAGS = -avoid-version -module \ -export-symbols mech_eap.exports -no-undefined \ @EAP_LDFLAGS@ @RADSEC_LDFLAGS@ @TARGET_LDFLAGS@ -mech_eap_la_LIBADD = @EAP_LIBS@ @RADSEC_LIBS@ @KRB5_LIBS@ @SHIBSP_LIBS@ \ - @SHIBRESOLVER_LIBS@ +mech_eap_la_LIBADD = @KRB5_LIBS@ @EAP_LIBS@ @RADSEC_LIBS@ \ + @SHIBRESOLVER_LIBS@ @SHIBSP_LIBS@ mech_eap_la_SOURCES = \ accept_sec_context.c \ @@ -57,6 +57,7 @@ mech_eap_la_SOURCES = \ map_name_to_any.c \ process_context_token.c \ pseudo_random.c \ + radsec_err.c \ release_any_name_mapping.c \ release_cred.c \ release_name.c \ @@ -73,7 +74,6 @@ mech_eap_la_SOURCES = \ util_cksum.c \ util_cred.c \ util_crypt.c \ - util_exts.c \ util_krb.c \ util_lucid.c \ util_mech.c \ @@ -83,6 +83,7 @@ mech_eap_la_SOURCES = \ util_radius.cpp \ util_saml.cpp \ util_shib.cpp \ + util_sm.c \ util_token.c \ verify_mic.c \ wrap.c \ @@ -90,9 +91,14 @@ mech_eap_la_SOURCES = \ wrap_iov_length.c \ wrap_size_limit.c +BUILT_SOURCES = gsseap_err.c radsec_err.c + if GSSEAP_ENABLE_REAUTH mech_eap_la_SOURCES += util_reauth.c + + +if !HEIMDAL krb5pluginsdir = $(libdir)/krb5/plugins/authdata krb5plugins_LTLIBRARIES = radius_ad.la @@ -103,9 +109,15 @@ radius_ad_la_LDFLAGS = -avoid-version -module \ radius_ad_la_LIBADD = @KRB5_LIBS@ radius_ad_la_SOURCES = util_adshim.c endif +endif + +gsseap_err.h gsseap_err.c: gsseap_err.et + $(COMPILE_ET) $< + +radsec_err.h radsec_err.c: radsec_err.et + $(COMPILE_ET) $< -gsseap_err.c: gsseap_err.et - $(prefix)/bin/compile_et $< +radsec_err.c: radsec_err.h clean-generic: - rm -f gsseap_err.[ch] + rm -f gsseap_err.[ch] radsec_err.[ch]