AUTOMAKE_OPTIONS=foreign
-SUBDIRS = lib datapath secchan controller
-if HAVE_IF_PACKET
-SUBDIRS += switch
+ACLOCAL_AMFLAGS = -I m4
+SUBDIRS = \
+ lib \
+ datapath \
+ secchan \
+ controller \
+ utilities \
+ switch \
+ tests \
+ include \
+ third-party
+if HAVE_EXT
+SUBDIRS += ext
endif
-SUBDIRS += utilities tests man include third-party
+
+DIST_SUBDIRS = $(SUBDIRS)
+
+EXTRA_DIST = README.hwtables