Browse Source

use BUILT_SOURCES to make sure auto-generated file to be generated before
building others


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@635 e5f2f494-b856-4b98-b285-d166d9295462

JINMEI Tatuya 15 years ago
parent
commit
6d1457ea91
1 changed files with 5 additions and 4 deletions
  1. 5 4
      src/lib/dns/cpp/Makefile.am

+ 5 - 4
src/lib/dns/cpp/Makefile.am

@@ -3,18 +3,19 @@ AM_CPPFLAGS = -I$(top_srcdir)/ext
 CLEANFILES = *.gcno *.gcda
 CLEANFILES += rrclass.h rrtype.h rrparamregistry.cc rdataclass.h rdataclass.cc
 
+# auto-generate by gen-rdatacode.py:
+BUILT_SOURCES = rrclass.h rrtype.h rrparamregistry.cc
+
 lib_LTLIBRARIES = libdns.la
 libdns_la_SOURCES = buffer.h name.cc name.h messagerenderer.h messagerenderer.cc
-libdns_la_SOURCES += rrparamregistry.h
-libdns_la_SOURCES += rrclass.cc rrtype.cc rrttl.h rrttl.cc
+libdns_la_SOURCES += rrparamregistry.h rrparamregistry.cc
+libdns_la_SOURCES += rrclass.h rrclass.cc rrtype.h rrtype.cc rrttl.h rrttl.cc
 libdns_la_SOURCES += rdata.h rdata.cc
 libdns_la_SOURCES += rdataclass.h rdataclass.cc
 libdns_la_SOURCES += rrset.h rrset.cc
 libdns_la_SOURCES += question.h question.cc
 libdns_la_SOURCES += message.h message.cc
 libdns_la_SOURCES += exceptions.h exceptions.cc
-# auto-generate by gen-rdatacode.py:
-libdns_la_SOURCES += rrclass.h rrtype.h rrparamregistry.cc
 
 rrclass.h: rrclass-placeholder.h
 rrtype.h: rrtype-placeholder.h