Commit eaff4546 authored by Kean Johnston's avatar Kean Johnston

[3170] fix rulkes that were breaking parallel builds

parent e4fe1a79
...@@ -20,7 +20,7 @@ CLEANFILES = *.gcno *.gcda auth.spec spec_config.h ...@@ -20,7 +20,7 @@ CLEANFILES = *.gcno *.gcda auth.spec spec_config.h
CLEANFILES += auth_messages.h auth_messages.cc CLEANFILES += auth_messages.h auth_messages.cc
CLEANFILES += gen-statisticsitems.py CLEANFILES += gen-statisticsitems.py
# auto-generated by gen-statisticsitems.py # auto-generated by gen-statisticsitems.py
CLEANFILES += statistics.cc statistics_items.h b10-auth.xml tests/statistics_unittest.cc CLEANFILES += statistics.cc statistics_items.h b10-auth.xml tests/statistics_unittest.cc s-genstats s-messages
man_MANS = b10-auth.8 man_MANS = b10-auth.8
DISTCLEANFILES = $(man_MANS) DISTCLEANFILES = $(man_MANS)
...@@ -49,14 +49,20 @@ gen-statisticsitems.py: gen-statisticsitems.py.pre ...@@ -49,14 +49,20 @@ gen-statisticsitems.py: gen-statisticsitems.py.pre
$(SED) -e "s|@@LOCALSTATEDIR@@|$(localstatedir)|" gen-statisticsitems.py.pre >$@ $(SED) -e "s|@@LOCALSTATEDIR@@|$(localstatedir)|" gen-statisticsitems.py.pre >$@
chmod +x $@ chmod +x $@
auth.spec b10-auth.xml statistics_items.h statistics.cc tests/statistics_unittest.cc: Makefile gen-statisticsitems.py auth.spec b10-auth.xml statistics_items.h statistics.cc tests/statistics_unittest.cc: Makefile s-genstats
s-genstats: gen-statisticsitems.py
./gen-statisticsitems.py ./gen-statisticsitems.py
touch $@
spec_config.h: spec_config.h.pre spec_config.h: spec_config.h.pre
$(SED) -e "s|@@LOCALSTATEDIR@@|$(localstatedir)|" spec_config.h.pre >$@ $(SED) -e "s|@@LOCALSTATEDIR@@|$(localstatedir)|" spec_config.h.pre >$@
auth_messages.h auth_messages.cc: auth_messages.mes auth_messages.h auth_messages.cc: s-messages
s-messages: auth_messages.mes
$(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/bin/auth/auth_messages.mes $(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/bin/auth/auth_messages.mes
touch $@
BUILT_SOURCES = spec_config.h auth_messages.h auth_messages.cc BUILT_SOURCES = spec_config.h auth_messages.h auth_messages.cc
# auto-generated by gen-statisticsitems.py # auto-generated by gen-statisticsitems.py
......
...@@ -16,7 +16,7 @@ endif ...@@ -16,7 +16,7 @@ endif
pkglibexecdir = $(libexecdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@
CLEANFILES = *.gcno *.gcda spec_config.h d2_messages.h d2_messages.cc CLEANFILES = *.gcno *.gcda spec_config.h d2_messages.h d2_messages.cc s-messages
man_MANS = b10-dhcp-ddns.8 man_MANS = b10-dhcp-ddns.8
DISTCLEANFILES = $(man_MANS) DISTCLEANFILES = $(man_MANS)
...@@ -39,8 +39,11 @@ endif ...@@ -39,8 +39,11 @@ endif
spec_config.h: spec_config.h.pre spec_config.h: spec_config.h.pre
$(SED) -e "s|@@LOCALSTATEDIR@@|$(localstatedir)|" spec_config.h.pre >$@ $(SED) -e "s|@@LOCALSTATEDIR@@|$(localstatedir)|" spec_config.h.pre >$@
d2_messages.h d2_messages.cc: d2_messages.mes d2_messages.h d2_messages.cc: s-messages
s-messages: d2_messages.mes
$(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/bin/d2/d2_messages.mes $(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/bin/d2/d2_messages.mes
touch $@
BUILT_SOURCES = spec_config.h d2_messages.h d2_messages.cc BUILT_SOURCES = spec_config.h d2_messages.h d2_messages.cc
......
...@@ -16,7 +16,7 @@ endif ...@@ -16,7 +16,7 @@ endif
pkglibexecdir = $(libexecdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@
CLEANFILES = *.gcno *.gcda spec_config.h dhcp4_messages.h dhcp4_messages.cc CLEANFILES = *.gcno *.gcda spec_config.h dhcp4_messages.h dhcp4_messages.cc s-messages
man_MANS = b10-dhcp4.8 man_MANS = b10-dhcp4.8
DISTCLEANFILES = $(man_MANS) DISTCLEANFILES = $(man_MANS)
...@@ -39,8 +39,11 @@ endif ...@@ -39,8 +39,11 @@ endif
spec_config.h: spec_config.h.pre spec_config.h: spec_config.h.pre
$(SED) -e "s|@@LOCALSTATEDIR@@|$(localstatedir)|" spec_config.h.pre >$@ $(SED) -e "s|@@LOCALSTATEDIR@@|$(localstatedir)|" spec_config.h.pre >$@
dhcp4_messages.h dhcp4_messages.cc: dhcp4_messages.mes dhcp4_messages.h dhcp4_messages.cc: s-messages
s-messages: dhcp4_messages.mes
$(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/bin/dhcp4/dhcp4_messages.mes $(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/bin/dhcp4/dhcp4_messages.mes
touch $@
BUILT_SOURCES = spec_config.h dhcp4_messages.h dhcp4_messages.cc BUILT_SOURCES = spec_config.h dhcp4_messages.h dhcp4_messages.cc
......
...@@ -17,7 +17,7 @@ endif ...@@ -17,7 +17,7 @@ endif
pkglibexecdir = $(libexecdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@
CLEANFILES = spec_config.h dhcp6_messages.h dhcp6_messages.cc CLEANFILES = spec_config.h dhcp6_messages.h dhcp6_messages.cc s-messages
man_MANS = b10-dhcp6.8 man_MANS = b10-dhcp6.8
DISTCLEANFILES = $(man_MANS) DISTCLEANFILES = $(man_MANS)
...@@ -41,8 +41,11 @@ endif ...@@ -41,8 +41,11 @@ endif
spec_config.h: spec_config.h.pre spec_config.h: spec_config.h.pre
$(SED) -e "s|@@LOCALSTATEDIR@@|$(localstatedir)|" spec_config.h.pre >$@ $(SED) -e "s|@@LOCALSTATEDIR@@|$(localstatedir)|" spec_config.h.pre >$@
dhcp6_messages.h dhcp6_messages.cc: dhcp6_messages.mes dhcp6_messages.h dhcp6_messages.cc: s-messages
s-messages: dhcp6_messages.mes
$(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/bin/dhcp6/dhcp6_messages.mes $(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/bin/dhcp6/dhcp6_messages.mes
touch $@
BUILT_SOURCES = spec_config.h dhcp6_messages.h dhcp6_messages.cc BUILT_SOURCES = spec_config.h dhcp6_messages.h dhcp6_messages.cc
......
...@@ -20,7 +20,7 @@ pkglibexecdir = $(libexecdir)/@PACKAGE@ ...@@ -20,7 +20,7 @@ pkglibexecdir = $(libexecdir)/@PACKAGE@
CLEANFILES = *.gcno *.gcda CLEANFILES = *.gcno *.gcda
CLEANFILES += resolver.spec spec_config.h CLEANFILES += resolver.spec spec_config.h
CLEANFILES += resolver_messages.cc resolver_messages.h CLEANFILES += resolver_messages.cc resolver_messages.h s-messages
man_MANS = b10-resolver.8 man_MANS = b10-resolver.8
DISTCLEANFILES = $(man_MANS) DISTCLEANFILES = $(man_MANS)
...@@ -46,9 +46,11 @@ spec_config.h: spec_config.h.pre ...@@ -46,9 +46,11 @@ spec_config.h: spec_config.h.pre
$(SED) -e "s|@@LOCALSTATEDIR@@|$(localstatedir)|" spec_config.h.pre >$@ $(SED) -e "s|@@LOCALSTATEDIR@@|$(localstatedir)|" spec_config.h.pre >$@
# Define rule to build logging source files from message file # Define rule to build logging source files from message file
resolver_messages.h resolver_messages.cc: resolver_messages.mes resolver_messages.h resolver_messages.cc: s-messages
$(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/bin/resolver/resolver_messages.mes
s-messages: resolver_messages.mes
$(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/bin/resolver/resolver_messages.mes
touch $@
BUILT_SOURCES = spec_config.h resolver_messages.cc resolver_messages.h BUILT_SOURCES = spec_config.h resolver_messages.cc resolver_messages.h
......
...@@ -8,11 +8,14 @@ AM_CPPFLAGS += -I$(top_srcdir)/src/lib/util -I$(top_builddir)/src/lib/util ...@@ -8,11 +8,14 @@ AM_CPPFLAGS += -I$(top_srcdir)/src/lib/util -I$(top_builddir)/src/lib/util
AM_CXXFLAGS = $(B10_CXXFLAGS) AM_CXXFLAGS = $(B10_CXXFLAGS)
CLEANFILES = *.gcno *.gcda asiodns_messages.h asiodns_messages.cc CLEANFILES = *.gcno *.gcda asiodns_messages.h asiodns_messages.cc s-messages
# Define rule to build logging source files from message file # Define rule to build logging source files from message file
asiodns_messages.h asiodns_messages.cc: asiodns_messages.mes asiodns_messages.h asiodns_messages.cc: s-messages
s-messages: asiodns_messages.mes
$(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/lib/asiodns/asiodns_messages.mes $(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/lib/asiodns/asiodns_messages.mes
touch $@
BUILT_SOURCES = asiodns_messages.h asiodns_messages.cc BUILT_SOURCES = asiodns_messages.h asiodns_messages.cc
......
...@@ -36,9 +36,12 @@ nodist_libb10_cache_la_SOURCES = cache_messages.cc cache_messages.h ...@@ -36,9 +36,12 @@ nodist_libb10_cache_la_SOURCES = cache_messages.cc cache_messages.h
BUILT_SOURCES = cache_messages.cc cache_messages.h BUILT_SOURCES = cache_messages.cc cache_messages.h
cache_messages.cc cache_messages.h: cache_messages.mes cache_messages.cc cache_messages.h: s-messages
s-messages: cache_messages.mes
$(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/lib/cache/cache_messages.mes $(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/lib/cache/cache_messages.mes
touch $@
CLEANFILES = *.gcno *.gcda cache_messages.cc cache_messages.h CLEANFILES = *.gcno *.gcda cache_messages.cc cache_messages.h s-messages
EXTRA_DIST = cache_messages.mes EXTRA_DIST = cache_messages.mes
...@@ -29,13 +29,16 @@ nodist_libb10_cc_la_SOURCES += proto_defs.h ...@@ -29,13 +29,16 @@ nodist_libb10_cc_la_SOURCES += proto_defs.h
libb10_cc_la_LIBADD = $(top_builddir)/src/lib/log/libb10-log.la libb10_cc_la_LIBADD = $(top_builddir)/src/lib/log/libb10-log.la
CLEANFILES = *.gcno *.gcda session_config.h cc_messages.cc cc_messages.h \ CLEANFILES = *.gcno *.gcda session_config.h cc_messages.cc cc_messages.h \
proto_defs.h proto_defs.h s-messages
session_config.h: session_config.h.pre session_config.h: session_config.h.pre
$(SED) -e "s|@@LOCALSTATEDIR@@|$(localstatedir)|" session_config.h.pre >$@ $(SED) -e "s|@@LOCALSTATEDIR@@|$(localstatedir)|" session_config.h.pre >$@
cc_messages.cc cc_messages.h: cc_messages.mes cc_messages.cc cc_messages.h: s-messages
s-messages: cc_messages.mes
$(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/lib/cc/cc_messages.mes $(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/lib/cc/cc_messages.mes
touch $@
BUILT_SOURCES = session_config.h cc_messages.cc cc_messages.h proto_defs.h BUILT_SOURCES = session_config.h cc_messages.cc cc_messages.h proto_defs.h
......
...@@ -6,8 +6,11 @@ AM_CPPFLAGS += -I$(top_srcdir)/src/lib/log -I$(top_builddir)/src/lib/log ...@@ -6,8 +6,11 @@ AM_CPPFLAGS += -I$(top_srcdir)/src/lib/log -I$(top_builddir)/src/lib/log
AM_CPPFLAGS += $(BOOST_INCLUDES) AM_CPPFLAGS += $(BOOST_INCLUDES)
# Define rule to build logging source files from message file # Define rule to build logging source files from message file
config_messages.h config_messages.cc: config_messages.mes config_messages.h config_messages.cc: s-messages
s-messages: config_messages.mes
$(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/lib/config/config_messages.mes $(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/lib/config/config_messages.mes
touch $@
BUILT_SOURCES = config_messages.h config_messages.cc BUILT_SOURCES = config_messages.h config_messages.cc
...@@ -27,4 +30,4 @@ nodist_libb10_cfgclient_la_SOURCES = config_messages.h config_messages.cc ...@@ -27,4 +30,4 @@ nodist_libb10_cfgclient_la_SOURCES = config_messages.h config_messages.cc
# The message file should be in the distribution. # The message file should be in the distribution.
EXTRA_DIST = config_messages.mes EXTRA_DIST = config_messages.mes
CLEANFILES = *.gcno *.gcda config_messages.h config_messages.cc CLEANFILES = *.gcno *.gcda config_messages.h config_messages.cc s-messages
...@@ -22,6 +22,7 @@ CLEANFILES = *.gcno *.gcda datasrc_messages.h datasrc_messages.cc ...@@ -22,6 +22,7 @@ CLEANFILES = *.gcno *.gcda datasrc_messages.h datasrc_messages.cc
CLEANFILES += sqlite3_datasrc_messages.h sqlite3_datasrc_messages.cc CLEANFILES += sqlite3_datasrc_messages.h sqlite3_datasrc_messages.cc
CLEANFILES += datasrc_config.h CLEANFILES += datasrc_config.h
CLEANFILES += static.zone CLEANFILES += static.zone
CLEANFILES += s-messages1 s-messages2
lib_LTLIBRARIES = libb10-datasrc.la lib_LTLIBRARIES = libb10-datasrc.la
libb10_datasrc_la_SOURCES = exceptions.h libb10_datasrc_la_SOURCES = exceptions.h
...@@ -65,10 +66,17 @@ libb10_datasrc_la_LIBADD += $(SQLITE_LIBS) ...@@ -65,10 +66,17 @@ libb10_datasrc_la_LIBADD += $(SQLITE_LIBS)
BUILT_SOURCES = datasrc_config.h datasrc_messages.h datasrc_messages.cc BUILT_SOURCES = datasrc_config.h datasrc_messages.h datasrc_messages.cc
BUILT_SOURCES += sqlite3_datasrc_messages.h sqlite3_datasrc_messages.cc BUILT_SOURCES += sqlite3_datasrc_messages.h sqlite3_datasrc_messages.cc
datasrc_messages.h datasrc_messages.cc: Makefile datasrc_messages.mes datasrc_messages.h datasrc_messages.cc: s-messages1
s-messages1: Makefile datasrc_messages.mes
$(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/lib/datasrc/datasrc_messages.mes $(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/lib/datasrc/datasrc_messages.mes
sqlite3_datasrc_messages.h sqlite3_datasrc_messages.cc: Makefile sqlite3_datasrc_messages.mes touch $@
sqlite3_datasrc_messages.h sqlite3_datasrc_messages.cc: s-messages2
s-messages2: Makefile sqlite3_datasrc_messages.mes
$(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/lib/datasrc/sqlite3_datasrc_messages.mes $(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/lib/datasrc/sqlite3_datasrc_messages.mes
touch $@
EXTRA_DIST = datasrc_messages.mes sqlite3_datasrc_messages.mes static.zone.pre EXTRA_DIST = datasrc_messages.mes sqlite3_datasrc_messages.mes static.zone.pre
......
...@@ -40,8 +40,11 @@ nodist_libdatasrc_memory_la_SOURCES = memory_messages.h memory_messages.cc ...@@ -40,8 +40,11 @@ nodist_libdatasrc_memory_la_SOURCES = memory_messages.h memory_messages.cc
EXTRA_DIST = rdata_serialization_priv.cc EXTRA_DIST = rdata_serialization_priv.cc
BUILT_SOURCES = memory_messages.h memory_messages.cc BUILT_SOURCES = memory_messages.h memory_messages.cc
memory_messages.h memory_messages.cc: Makefile memory_messages.mes memory_messages.h memory_messages.cc: s-messages
s-messages: Makefile memory_messages.mes
$(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/lib/datasrc/memory/memory_messages.mes $(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/lib/datasrc/memory/memory_messages.mes
touch $@
EXTRA_DIST += memory_messages.mes EXTRA_DIST += memory_messages.mes
CLEANFILES += memory_messages.h memory_messages.cc CLEANFILES += memory_messages.h memory_messages.cc s-messages
...@@ -12,8 +12,11 @@ AM_CXXFLAGS += $(WARNING_NO_MISSING_FIELD_INITIALIZERS_CFLAG) ...@@ -12,8 +12,11 @@ AM_CXXFLAGS += $(WARNING_NO_MISSING_FIELD_INITIALIZERS_CFLAG)
# Define rule to build logging source files from message file # Define rule to build logging source files from message file
dhcp_ddns_messages.h dhcp_ddns_messages.cc: dhcp_ddns_messages.mes dhcp_ddns_messages.h dhcp_ddns_messages.cc: s-messages
s-messages: dhcp_ddns_messages.mes
$(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/lib/dhcp_ddns/dhcp_ddns_messages.mes $(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/lib/dhcp_ddns/dhcp_ddns_messages.mes
touch $@
# Tell automake that the message files are built as part of the build process # Tell automake that the message files are built as part of the build process
# (so that they are built before the main library is built). # (so that they are built before the main library is built).
...@@ -23,7 +26,7 @@ BUILT_SOURCES = dhcp_ddns_messages.h dhcp_ddns_messages.cc ...@@ -23,7 +26,7 @@ BUILT_SOURCES = dhcp_ddns_messages.h dhcp_ddns_messages.cc
EXTRA_DIST = dhcp_ddns_messages.mes libdhcp_ddns.dox EXTRA_DIST = dhcp_ddns_messages.mes libdhcp_ddns.dox
# Get rid of generated message files on a clean # Get rid of generated message files on a clean
CLEANFILES = *.gcno *.gcda dhcp_ddns_messages.h dhcp_ddns_messages.cc CLEANFILES = *.gcno *.gcda dhcp_ddns_messages.h dhcp_ddns_messages.cc s-messages
lib_LTLIBRARIES = libb10-dhcp_ddns.la lib_LTLIBRARIES = libb10-dhcp_ddns.la
libb10_dhcp_ddns_la_SOURCES = libb10_dhcp_ddns_la_SOURCES =
......
...@@ -11,8 +11,11 @@ endif ...@@ -11,8 +11,11 @@ endif
AM_CXXFLAGS = $(B10_CXXFLAGS) AM_CXXFLAGS = $(B10_CXXFLAGS)
# Define rule to build logging source files from message file # Define rule to build logging source files from message file
dhcpsrv_messages.h dhcpsrv_messages.cc: dhcpsrv_messages.mes dhcpsrv_messages.h dhcpsrv_messages.cc: s-messages
s-messages: dhcpsrv_messages.mes
$(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/lib/dhcpsrv/dhcpsrv_messages.mes $(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/lib/dhcpsrv/dhcpsrv_messages.mes
touch $@
# Tell Automake that the dhcpsrv_messages.{cc,h} source files are created in the # Tell Automake that the dhcpsrv_messages.{cc,h} source files are created in the
# build process, so it must create these before doing anything else. Although # build process, so it must create these before doing anything else. Although
...@@ -29,7 +32,7 @@ BUILT_SOURCES = dhcpsrv_messages.h dhcpsrv_messages.cc ...@@ -29,7 +32,7 @@ BUILT_SOURCES = dhcpsrv_messages.h dhcpsrv_messages.cc
AM_CXXFLAGS += $(WARNING_NO_MISSING_FIELD_INITIALIZERS_CFLAG) AM_CXXFLAGS += $(WARNING_NO_MISSING_FIELD_INITIALIZERS_CFLAG)
# Make sure the generated files are deleted in a "clean" operation # Make sure the generated files are deleted in a "clean" operation
CLEANFILES = *.gcno *.gcda dhcpsrv_messages.h dhcpsrv_messages.cc CLEANFILES = *.gcno *.gcda dhcpsrv_messages.h dhcpsrv_messages.cc s-messages
lib_LTLIBRARIES = libb10-dhcpsrv.la lib_LTLIBRARIES = libb10-dhcpsrv.la
libb10_dhcpsrv_la_SOURCES = libb10_dhcpsrv_la_SOURCES =
......
...@@ -7,7 +7,7 @@ AM_CPPFLAGS += $(BOOST_INCLUDES) ...@@ -7,7 +7,7 @@ AM_CPPFLAGS += $(BOOST_INCLUDES)
AM_CXXFLAGS = $(B10_CXXFLAGS) AM_CXXFLAGS = $(B10_CXXFLAGS)
CLEANFILES = *.gcno *.gcda CLEANFILES = *.gcno *.gcda
CLEANFILES += rrclass.h rrtype.h rrparamregistry.cc rdataclass.h rdataclass.cc CLEANFILES += rrclass.h rrtype.h rrparamregistry.cc rdataclass.h rdataclass.cc s-rdatacode
# These two are created with rrtype/class.h, so not explicitly listed in # These two are created with rrtype/class.h, so not explicitly listed in
# BUILT_SOURCES. # BUILT_SOURCES.
CLEANFILES += python/rrtype_constants_inc.cc CLEANFILES += python/rrtype_constants_inc.cc
...@@ -157,8 +157,12 @@ nodist_libb10_dns___la_SOURCES = rdataclass.cc rrparamregistry.cc ...@@ -157,8 +157,12 @@ nodist_libb10_dns___la_SOURCES = rdataclass.cc rrparamregistry.cc
rrclass.h: rrclass-placeholder.h rrclass.h: rrclass-placeholder.h
rrtype.h: rrtype-placeholder.h rrtype.h: rrtype-placeholder.h
rrparamregistry.cc: rrparamregistry-placeholder.cc rrparamregistry.cc: rrparamregistry-placeholder.cc
rrclass.h rrtype.h rrparamregistry.cc rdataclass.h rdataclass.cc: Makefile
s-rdatacode:
$(PYTHON) ./gen-rdatacode.py $(PYTHON) ./gen-rdatacode.py
touch $@
rrclass.h rrtype.h rrparamregistry.cc rdataclass.h rdataclass.cc: Makefile s-rdatacode
libdns___includedir = $(includedir)/$(PACKAGE_NAME)/dns libdns___includedir = $(includedir)/$(PACKAGE_NAME)/dns
libdns___include_HEADERS = \ libdns___include_HEADERS = \
......
...@@ -12,8 +12,11 @@ AM_CXXFLAGS += $(WARNING_NO_MISSING_FIELD_INITIALIZERS_CFLAG) ...@@ -12,8 +12,11 @@ AM_CXXFLAGS += $(WARNING_NO_MISSING_FIELD_INITIALIZERS_CFLAG)
# Define rule to build logging source files from message file # Define rule to build logging source files from message file
hooks_messages.h hooks_messages.cc: hooks_messages.mes hooks_messages.h hooks_messages.cc: s-messages
s-messages: hooks_messages.mes
$(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/lib/hooks/hooks_messages.mes $(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/lib/hooks/hooks_messages.mes
touch $@
# Tell automake that the message files are built as part of the build process # Tell automake that the message files are built as part of the build process
# (so that they are built before the main library is built). # (so that they are built before the main library is built).
...@@ -23,7 +26,7 @@ BUILT_SOURCES = hooks_messages.h hooks_messages.cc ...@@ -23,7 +26,7 @@ BUILT_SOURCES = hooks_messages.h hooks_messages.cc
EXTRA_DIST = hooks_messages.mes EXTRA_DIST = hooks_messages.mes
# Get rid of generated message files on a clean # Get rid of generated message files on a clean
CLEANFILES = *.gcno *.gcda hooks_messages.h hooks_messages.cc CLEANFILES = *.gcno *.gcda hooks_messages.h hooks_messages.cc s-messages
lib_LTLIBRARIES = libb10-hooks.la lib_LTLIBRARIES = libb10-hooks.la
libb10_hooks_la_SOURCES = libb10_hooks_la_SOURCES =
......
...@@ -14,10 +14,13 @@ CLEANFILES = *.gcno *.gcda *.lock ...@@ -14,10 +14,13 @@ CLEANFILES = *.gcno *.gcda *.lock
EXTRA_DIST = log_test_messages.mes EXTRA_DIST = log_test_messages.mes
BUILT_SOURCES = log_test_messages.h log_test_messages.cc BUILT_SOURCES = log_test_messages.h log_test_messages.cc
log_test_messages.h log_test_messages.cc: log_test_messages.mes log_test_messages.h log_test_messages.cc: s-messages
s-messages: log_test_messages.mes
$(AM_V_GEN) $(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/lib/log/tests/log_test_messages.mes $(AM_V_GEN) $(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/lib/log/tests/log_test_messages.mes
touch $@
CLEANFILES += log_test_messages.h log_test_messages.cc CLEANFILES += log_test_messages.h log_test_messages.cc s-messages
noinst_PROGRAMS = logger_example noinst_PROGRAMS = logger_example
logger_example_SOURCES = logger_example.cc logger_example_SOURCES = logger_example.cc
......
...@@ -22,8 +22,11 @@ AM_CXXFLAGS += -Wno-unused-parameter ...@@ -22,8 +22,11 @@ AM_CXXFLAGS += -Wno-unused-parameter
endif endif
# Define rule to build logging source files from message file # Define rule to build logging source files from message file
nsas_messages.h nsas_messages.cc: nsas_messages.mes nsas_messages.h nsas_messages.cc: s-messages
s-messages: nsas_messages.mes
$(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/lib/nsas/nsas_messages.mes $(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/lib/nsas/nsas_messages.mes
touch $@
# What is being built. # What is being built.
lib_LTLIBRARIES = libb10-nsas.la lib_LTLIBRARIES = libb10-nsas.la
...@@ -59,4 +62,4 @@ nodist_libb10_nsas_la_SOURCES = nsas_messages.h nsas_messages.cc ...@@ -59,4 +62,4 @@ nodist_libb10_nsas_la_SOURCES = nsas_messages.h nsas_messages.cc
EXTRA_DIST = nsas_messages.mes EXTRA_DIST = nsas_messages.mes
# Make sure that the generated files are got rid of in a clean operation # Make sure that the generated files are got rid of in a clean operation
CLEANFILES = *.gcno *.gcda nsas_messages.h nsas_messages.cc CLEANFILES = *.gcno *.gcda nsas_messages.h nsas_messages.cc s-messages
...@@ -8,8 +8,11 @@ AM_CPPFLAGS += $(SQLITE_CFLAGS) ...@@ -8,8 +8,11 @@ AM_CPPFLAGS += $(SQLITE_CFLAGS)
AM_CXXFLAGS = $(B10_CXXFLAGS) AM_CXXFLAGS = $(B10_CXXFLAGS)
# Define rule to build logging source files from message file # Define rule to build logging source files from message file
resolve_messages.h resolve_messages.cc: resolve_messages.mes resolve_messages.h resolve_messages.cc: s-messages
s-messages: resolve_messages.mes
$(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/lib/resolve/resolve_messages.mes $(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/lib/resolve/resolve_messages.mes
touch $@
# Tell Automake that the nsasdef.{cc,h} source files are created in the build # Tell Automake that the nsasdef.{cc,h} source files are created in the build
# process, so it must create these before doing anything else. Although they # process, so it must create these before doing anything else. Although they
...@@ -19,7 +22,7 @@ resolve_messages.h resolve_messages.cc: resolve_messages.mes ...@@ -19,7 +22,7 @@ resolve_messages.h resolve_messages.cc: resolve_messages.mes
# present when they are compiled), the safest option is to create it first. # present when they are compiled), the safest option is to create it first.
BUILT_SOURCES = resolve_messages.h resolve_messages.cc BUILT_SOURCES = resolve_messages.h resolve_messages.cc
CLEANFILES = *.gcno *.gcda resolve_messages.cc resolve_messages.h CLEANFILES = *.gcno *.gcda resolve_messages.cc resolve_messages.h s-messages
lib_LTLIBRARIES = libb10-resolve.la lib_LTLIBRARIES = libb10-resolve.la
libb10_resolve_la_SOURCES = resolve.h resolve.cc libb10_resolve_la_SOURCES = resolve.h resolve.cc
......
...@@ -33,9 +33,12 @@ libb10_server_common_la_LIBADD += $(top_builddir)/src/lib/acl/libb10-acl.la ...@@ -33,9 +33,12 @@ libb10_server_common_la_LIBADD += $(top_builddir)/src/lib/acl/libb10-acl.la
libb10_server_common_la_LIBADD += $(top_builddir)/src/lib/dns/libb10-dns++.la libb10_server_common_la_LIBADD += $(top_builddir)/src/lib/dns/libb10-dns++.la
libb10_server_common_la_LIBADD += $(top_builddir)/src/lib/util/io/libb10-util-io.la libb10_server_common_la_LIBADD += $(top_builddir)/src/lib/util/io/libb10-util-io.la
BUILT_SOURCES = server_common_messages.h server_common_messages.cc BUILT_SOURCES = server_common_messages.h server_common_messages.cc
server_common_messages.h server_common_messages.cc: server_common_messages.mes server_common_messages.h server_common_messages.cc: s-messages
s-messages: server_common_messages.mes
$(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/lib/server_common/server_common_messages.mes $(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/lib/server_common/server_common_messages.mes
touch $@
EXTRA_DIST = server_common_messages.mes EXTRA_DIST = server_common_messages.mes
CLEANFILES = *.gcno *.gcda server_common_messages.h server_common_messages.cc CLEANFILES = *.gcno *.gcda server_common_messages.h server_common_messages.cc s-messages
...@@ -50,8 +50,7 @@ run_unittests_LDFLAGS = $(AM_LDFLAGS) $(GTEST_LDFLAGS) ...@@ -50,8 +50,7 @@ run_unittests_LDFLAGS = $(AM_LDFLAGS) $(GTEST_LDFLAGS)
run_unittests_LDADD = $(top_builddir)/src/lib/util/libb10-util.la run_unittests_LDADD = $(top_builddir)/src/lib/util/libb10-util.la
run_unittests_LDADD += $(top_builddir)/src/lib/util/io/libb10-util-io.la run_unittests_LDADD += $(top_builddir)/src/lib/util/io/libb10-util-io.la
run_unittests_LDADD += \ run_unittests_LDADD += $(top_builddir)/src/lib/util/unittests/libutil_unittests.la
$(top_builddir)/src/lib/util/unittests/libutil_unittests.la
run_unittests_LDADD += $(top_builddir)/src/lib/exceptions/libb10-exceptions.la run_unittests_LDADD += $(top_builddir)/src/lib/exceptions/libb10-exceptions.la
run_unittests_LDADD += $(GTEST_LDADD) run_unittests_LDADD += $(GTEST_LDADD)
endif endif
......
...@@ -29,8 +29,7 @@ run_unittests_CPPFLAGS = $(AM_CPPFLAGS) $(GTEST_INCLUDES) ...@@ -29,8 +29,7 @@ run_unittests_CPPFLAGS = $(AM_CPPFLAGS) $(GTEST_INCLUDES)
run_unittests_LDFLAGS = $(AM_LDFLAGS) $(GTEST_LDFLAGS) $(PTHREAD_LDFLAGS) run_unittests_LDFLAGS = $(AM_LDFLAGS) $(GTEST_LDFLAGS) $(PTHREAD_LDFLAGS)
run_unittests_LDADD = $(top_builddir)/src/lib/util/threads/libb10-threads.la run_unittests_LDADD = $(top_builddir)/src/lib/util/threads/libb10-threads.la
run_unittests_LDADD += \ run_unittests_LDADD += $(top_builddir)/src/lib/util/unittests/libutil_unittests.la
$(top_builddir)/src/lib/util/unittests/libutil_unittests.la
run_unittests_LDADD += $(GTEST_LDADD) run_unittests_LDADD += $(GTEST_LDADD)
endif endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment