ovsdb-idl: Make IDL-generated files depend on ovsdb-idlc.
authorBen Pfaff <blp@nicira.com>
Thu, 3 Dec 2009 18:53:58 +0000 (10:53 -0800)
committerBen Pfaff <blp@nicira.com>
Thu, 3 Dec 2009 18:55:00 +0000 (10:55 -0800)
This ensures that IDL-generated files get rebuilt whenever the IDL
compiler itself is updated.

tests/automake.mk
vswitchd/automake.mk

index cb962a8..93b187e 100644 (file)
@@ -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
index db8fdf6..33473e0 100644 (file)
@@ -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