ACLOCAL_AMFLAGS = -I .
-SUBDIRS = raw lib cli
+SUBDIRS = raw wireshark
-#if ENABLE_SPY
-#SUBDIRS += dump
-#endif
+if ENABLE_LIB
+SUBDIRS += lib
+endif
+if ENABLE_CLI
+SUBDIRS += cli
+endif
-#if ENABLE_DEBUG
-#CFLAGS += -g
-#else
-#CFLAGS += -fomit-frame-pointer
-#LDFLAGS+= -s
-#endif
+if ENABLE_SPY
+SUBDIRS += spy
+endif
+
+if ENABLE_EMU
+SUBDIRS += emu
+endif