X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fautomake.mk;h=3531ba97ff5abc45e5bfed26b8201eac58ec626d;hb=541bc79f73add327072470c9bc3febb4195cdb3c;hp=7153e9301f9d906e988d717d251e33f4056a55ed;hpb=9c8e276ec3f4a3368ec1cb7f713543d46d8ad23a;p=sliver-openvswitch.git diff --git a/lib/automake.mk b/lib/automake.mk index 7153e9301..3531ba97f 100644 --- a/lib/automake.mk +++ b/lib/automake.mk @@ -1,4 +1,4 @@ -# Copyright (C) 2009, 2010, 2011 Nicira Networks, Inc. +# Copyright (C) 2009, 2010, 2011, 2012 Nicira Networks, Inc. # # Copying and distribution of this file, with or without modification, # are permitted in any medium without royalty provided the copyright @@ -45,6 +45,8 @@ lib_libopenvswitch_a_SOURCES = \ lib/dpif-provider.h \ lib/dpif.c \ lib/dpif.h \ + lib/heap.c \ + lib/heap.h \ lib/dynamic-string.c \ lib/dynamic-string.h \ lib/entropy.c \ @@ -278,13 +280,12 @@ lib/dirs.c: lib/dirs.c.in Makefile > lib/dirs.c.tmp mv lib/dirs.c.tmp lib/dirs.c -$(srcdir)/lib/ofp-errors.c: \ - include/openflow/openflow.h include/openflow/nicira-ext.h \ - build-aux/extract-ofp-errors - cd $(srcdir)/include && \ - $(PYTHON) ../build-aux/extract-ofp-errors \ - openflow/openflow.h openflow/nicira-ext.h > ../lib/ofp-errors.c -EXTRA_DIST += build-aux/extract-ofp-errors +$(srcdir)/lib/ofp-errors.inc: \ + lib/ofp-errors.h $(srcdir)/build-aux/extract-ofp-errors + $(PYTHON) $(srcdir)/build-aux/extract-ofp-errors \ + $(srcdir)/lib/ofp-errors.h > $@.tmp && mv $@.tmp $@ +lib/ofp-errors.c: lib/ofp-errors.inc +EXTRA_DIST += build-aux/extract-ofp-errors lib/ofp-errors.inc INSTALL_DATA_LOCAL += lib-install-data-local lib-install-data-local: