From: Ben Pfaff Date: Thu, 3 Dec 2009 18:53:58 +0000 (-0800) Subject: ovsdb-idl: Make IDL-generated files depend on ovsdb-idlc. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75c7fd6c824da2700b494e7e228b88d172f78be3;p=openvswitch ovsdb-idl: Make IDL-generated files depend on ovsdb-idlc. This ensures that IDL-generated files get rebuilt whenever the IDL compiler itself is updated. --- diff --git a/tests/automake.mk b/tests/automake.mk index cb962a84..93b187e9 100644 --- a/tests/automake.mk +++ b/tests/automake.mk @@ -113,6 +113,7 @@ EXTRA_DIST += tests/uuidfilt.pl tests/idltest.ovsidl BUILT_SOURCES += tests/idltest.c tests/idltest.h noinst_DATA += tests/idltest.ovsschema DISTCLEANFILES += tests/idltest.ovsschema +tests/idltest.c tests/idltest.h tests/idltest.ovsschema: ovsdb/ovsdb-idlc.in noinst_PROGRAMS += tests/test-reconnect tests_test_reconnect_SOURCES = tests/test-reconnect.c diff --git a/vswitchd/automake.mk b/vswitchd/automake.mk index db8fdf69..33473e06 100644 --- a/vswitchd/automake.mk +++ b/vswitchd/automake.mk @@ -44,3 +44,5 @@ BUILT_SOURCES += vswitchd/vswitch-idl.c vswitchd/vswitch-idl.h DISTCLEANFILES += vswitchd/vswitch-idl.c vswitchd/vswitch-idl.h noinst_DATA += vswitchd/vswitch-idl.ovsschema DISTCLEANFILES += vswitchd/vswitch-idl.ovsschema +vswitchd/vswitch-idl.c vswitchd/vswitch-idl.h vswitchd/vswitch-idl.ovsschema: \ + ovsdb/ovsdb-idlc.in