From: Ben Pfaff Date: Tue, 8 Dec 2009 01:00:14 +0000 (-0800) Subject: ovsdb-idlc: Add rules to make sure .h files get generated before .c files. X-Git-Tag: v1.0.0~259^2~447 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=b0fc010acb340f51a0517c36fbcdedd4f40f800e;p=sliver-openvswitch.git ovsdb-idlc: Add rules to make sure .h files get generated before .c files. The .c files #include the .h files so the .h files need to be generated first. --- diff --git a/tests/automake.mk b/tests/automake.mk index 6d383d71b..ca10779f7 100644 --- a/tests/automake.mk +++ b/tests/automake.mk @@ -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 diff --git a/vswitchd/automake.mk b/vswitchd/automake.mk index e7942df7e..d26092062 100644 --- a/vswitchd/automake.mk +++ b/vswitchd/automake.mk @@ -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