You should also add these two files to BUILT_SOURCES because otherwise, automake is unable to know that the header is needed for `mpris.c` to compile.

The other solution is to add a rule to states the dependency:

    mpris/mpris.la mpris/src/mpris_mpris_la-mpris.lo: mpris/src/mpris-generated.h