X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=cafa233caaf1de930089d530662b1065b7631048;hb=09c8bab103518e9c02b2c8938e5e6cc9658a7402;hp=2370ef48d600f634249117f2cf8f328c204732a5;hpb=cf00b33fcc2840de5e4fe78181929f4c4634f98a;p=mech_eap.orig diff --git a/Makefile.am b/Makefile.am index 2370ef4..cafa233 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,17 +6,17 @@ gssinclude_HEADERS = gssapi_eap.h gssdir = $(libdir)/gss gss_LTLIBRARIES = mech_eap.la -mech_eap_la_CPPFLAGS = -DBUILD_GSSEAP_LIB -DSYSCONFDIR=\"${sysconfdir}\" -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_CPPFLAGS = -DBUILD_GSSEAP_LIB -DSYSCONFDIR=\"${sysconfdir}\" -DDATAROOTDIR=\"${datarootdir}\" +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@ -lfreeradius-client +mech_eap_la_LIBADD = @KRB5_LIBS@ @EAP_LIBS@ @RADSEC_LIBS@ \ + @SHIBRESOLVER_LIBS@ @SHIBSP_LIBS@ mech_eap_la_SOURCES = \ accept_sec_context.c \ @@ -39,6 +39,7 @@ mech_eap_la_SOURCES = \ export_sec_context.c \ get_mic.c \ get_name_attribute.c \ + gsseap_err.c \ import_name.c \ import_sec_context.c \ indicate_mechs.c \ @@ -56,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 \ @@ -81,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 \ @@ -88,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 @@ -101,3 +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) $< + +radsec_err.c: radsec_err.h + +clean-generic: + rm -f gsseap_err.[ch] radsec_err.[ch]