]> git.sur5r.net Git - ngadmin/commitdiff
Add emulator stub directory structure
authordarkcoven <admin@darkcoven.tk>
Fri, 27 Sep 2013 23:09:50 +0000 (01:09 +0200)
committerdarkcoven <admin@darkcoven.tk>
Fri, 27 Sep 2013 23:09:50 +0000 (01:09 +0200)
Makefile.am
configure.ac
emu/Makefile.am [new file with mode: 0644]
emu/man/Makefile.am [new file with mode: 0644]
emu/src/Makefile.am [new file with mode: 0644]

index 3146684b7213ede2c85166bf36a4aa3046c22c37..a759fcd757f5466681004e160d30f89ddd0d3616 100644 (file)
@@ -7,3 +7,7 @@ if ENABLE_SPY
 SUBDIRS += spy
 endif
 
+if ENABLE_EMU
+SUBDIRS += emu
+endif
+
index 0987be3b0476ba78991ab354b8ad4fff2c2e3425..3c247a569302ab3ed715cc8b019bb78b56d53e4d 100644 (file)
@@ -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 (file)
index 0000000..1c0c975
--- /dev/null
@@ -0,0 +1,3 @@
+
+SUBDIRS = man src
+
diff --git a/emu/man/Makefile.am b/emu/man/Makefile.am
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emu/src/Makefile.am b/emu/src/Makefile.am
new file mode 100644 (file)
index 0000000..e69de29