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 cb962a844cc2d9abe09c5bfbdaf4b2dfdaa7df7a..93b187e93c7464036f068f4c91fbad5eaf58ad44 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 db8fdf694a4d53cd61716733ea142795fba85edf..33473e0654863964702145e4c27fbd757aec11d1 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