X-Git-Url: https://git.gag.com/?p=debian%2Famanda;a=blobdiff_plain;f=ndmp-src%2FMakefile.am;h=343e7d3f57d01432fc7a7686ed068c2c853e60cb;hp=46534a9d042b6c903335ab917eef89ab7462844e;hb=b116e9366c7b2ea2c2eb53b0a13df4090e176235;hpb=fd48f3e498442f0cbff5f3606c7c403d0566150e diff --git a/ndmp-src/Makefile.am b/ndmp-src/Makefile.am index 46534a9..343e7d3 100644 --- a/ndmp-src/Makefile.am +++ b/ndmp-src/Makefile.am @@ -209,25 +209,33 @@ ndmjob_LDADD = libndmjob.la \ amndmjob_LDADD = libndmjob.la \ ../common-src/libamanda.la -# for systems without rpcgen, don't even include rules that *might* -# regenerate things from the .x files. These would rarely change -# upstream, and *definitely* shouldn't change in Amanda. -if HAVE_RPCGEN ndmp0.h ndmp0_xdr.c : ndmp0.x - rpcgen ndmp0.x + $(RPCGEN) ndmp0.x ndmp2.h ndmp2_xdr.c : ndmp2.x - rpcgen ndmp2.x + $(RPCGEN) ndmp2.x ndmp3.h ndmp3_xdr.c : ndmp3.x - rpcgen ndmp3.x + $(RPCGEN) ndmp3.x ndmp4.h ndmp4_xdr.c : ndmp4.x - rpcgen ndmp4.x + $(RPCGEN) ndmp4.x ndmp9.h ndmp9_xdr.c : ndmp9.x - rpcgen ndmp9.x -endif + $(RPCGEN) ndmp9.x + +# cause these files to be built before those that might depend on them +BUILT_SOURCES += \ + ndmp0.h \ + ndmp0_xdr.c \ + ndmp2.h \ + ndmp2_xdr.c \ + ndmp3.h \ + ndmp3_xdr.c \ + ndmp4.h \ + ndmp4_xdr.c \ + ndmp9.h \ + ndmp9_xdr.c noinst_HEADERS = \ md5.h ndmp0_enum_strs.h ndmp3.x ndmprotocol.h \