From: darkcoven Date: Fri, 27 Sep 2013 23:09:50 +0000 (+0200) Subject: Add emulator stub directory structure X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b74071c104e72aa53e3718a43d9e65fcf5541c14;p=ngadmin Add emulator stub directory structure --- diff --git a/Makefile.am b/Makefile.am index 3146684..a759fcd 100644 --- a/Makefile.am +++ b/Makefile.am @@ -7,3 +7,7 @@ if ENABLE_SPY SUBDIRS += spy endif +if ENABLE_EMU +SUBDIRS += emu +endif + diff --git a/configure.ac b/configure.ac index 0987be3..3c247a5 100644 --- a/configure.ac +++ b/configure.ac @@ -33,6 +33,12 @@ AC_ARG_ENABLE(spy, [enable_spy=yes], [enable_spy=no]) AM_CONDITIONAL(ENABLE_SPY, test x$enable_spy = xyes) +# enable/disable build of NgEmu +AC_ARG_ENABLE(emu, + [AS_HELP_STRING([--enable-emu], [enable NgEmu [default=no]])], + [enable_emu=yes], [enable_emu=no]) +AM_CONDITIONAL(ENABLE_EMU, test x$enable_emu = xyes) + if test "x${enable_doc}" = xyes; then @@ -107,6 +113,14 @@ AM_COND_IF([ENABLE_SPY], [ ]) ]) +AM_COND_IF([ENABLE_EMU], [ + AC_CONFIG_FILES([ + emu/Makefile + emu/man/Makefile + emu/src/Makefile + ]) +]) + AC_OUTPUT @@ -118,6 +132,7 @@ Debug..............: ${enable_debug} Compiler...........: ${CC} ${CFLAGS} ${CPPFLAGS} Readline suppport..: ${with_readline} Spy................: ${enable_spy} +Emulator...........: ${enable_emu} " diff --git a/emu/Makefile.am b/emu/Makefile.am new file mode 100644 index 0000000..1c0c975 --- /dev/null +++ b/emu/Makefile.am @@ -0,0 +1,3 @@ + +SUBDIRS = man src + diff --git a/emu/man/Makefile.am b/emu/man/Makefile.am new file mode 100644 index 0000000..e69de29 diff --git a/emu/src/Makefile.am b/emu/src/Makefile.am new file mode 100644 index 0000000..e69de29