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 6d383d7..ca10779 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 e7942df..d260920 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