mark *_err.c as built sources
[mech_eap.git] / Makefile.am
index ef09a5c..17757f4 100644 (file)
@@ -91,9 +91,13 @@ 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
@@ -107,12 +111,12 @@ radius_ad_la_SOURCES = util_adshim.c
 endif
 endif
 
-gsseap_err.h: gsseap_err.et
+gsseap_err.h gsseap_err.c: gsseap_err.et
        $(COMPILE_ET) $<
 
-gsseap_err.c: gsseap_err.h
 
-radsec_err.h: radsec_err.et
+
+radsec_err.h radsec_err.c: radsec_err.et
        $(COMPILE_ET) $<
 
 radsec_err.c: radsec_err.h