Better error reporting through com_err
[mech_eap.git] / Makefile.am
index 65826a6..f44d87b 100644 (file)
@@ -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                          \
@@ -66,13 +68,13 @@ mech_eap_la_SOURCES =                       \
        store_cred.c                            \
        unwrap.c                                \
        unwrap_iov.c                            \
-       util_alloc.c                            \
        util_attr.cpp                           \
        util_buffer.c                           \
        util_context.c                          \
        util_cksum.c                            \
        util_cred.c                             \
        util_crypt.c                            \
+       util_exts.c                             \
        util_krb.c                              \
        util_lucid.c                            \
        util_mech.c                             \
@@ -100,5 +102,18 @@ radius_ad_la_CFLAGS  = -g -Wall -fno-strict-aliasing \
 radius_ad_la_LDFLAGS = -avoid-version -module \
                       -export-symbols radius_ad.exports -no-undefined
 radius_ad_la_LIBADD  = @KRB5_LIBS@
-radius_ad_la_SOURCES = util_adshim.c util_alloc.c
+radius_ad_la_SOURCES = util_adshim.c
 endif
+
+gsseap_err.h: gsseap_err.et
+       $(prefix)/bin/compile_et $<
+
+gsseap_err.c: gsseap_err.h
+
+radsec_err.h: radsec_err.et
+       $(prefix)/bin/compile_et $<
+
+radsec_err.c: radsec_err.h
+
+clean-generic:
+       rm -f gsseap_err.[ch] radsec_err.[ch]