From b0fc010acb340f51a0517c36fbcdedd4f40f800e Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 7 Dec 2009 17:00:14 -0800 Subject: [PATCH] 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. --- tests/automake.mk | 1 + vswitchd/automake.mk | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/automake.mk b/tests/automake.mk index 6d383d71..ca10779f 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 e7942df7..d2609206 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 -- 2.30.2