ovsdb-idlc: Add rules to make sure .h files get generated before .c files.
authorBen Pfaff <blp@nicira.com>
Tue, 8 Dec 2009 01:00:14 +0000 (17:00 -0800)
committerBen Pfaff <blp@nicira.com>
Tue, 8 Dec 2009 01:07:15 +0000 (17:07 -0800)
The .c files #include the .h files so the .h files need to be generated
first.

tests/automake.mk
vswitchd/automake.mk

index 6d383d71bbc73773d8026cbff4bba38184a52c37..ca10779f75b5fb52e319cb39891e14c32bef3bd5 100644 (file)
@@ -114,6 +114,7 @@ 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
+tests/idltest.c: tests/idltest.h
 EXTRA_DIST += tests/idltest.c tests/idltest.h tests/idltest.ovsschema
 
 noinst_PROGRAMS += tests/test-reconnect
index e7942df7e441303a454da333a18eaf725b4a78f1..d26092062d52e77d5e163f00008076a0beb3c40b 100644 (file)
@@ -40,4 +40,5 @@ 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
+vswitchd/vswitch-idl.c: vswitchd/vswitch-idl.h
 EXTRA_DIST += vswitchd/vswitch-idl.c vswitchd/vswitch-idl.h vswitchd/vswitch-idl.ovsschema