Commit 7881c5ae authored by Julian Kranz's avatar Julian Kranz

Automake

parent 8a658e91
......@@ -26,6 +26,7 @@
/tools/.cproject
/tools/.project
/tools/.settings/
/config.h.in~
*.cm/
### Manual make
......
......@@ -93,6 +93,7 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
AC_CHECK_HEADERS([gelf.h], [has_elf=yes], [has_elf=no])
AC_CHECK_HEADERS([jni.h], [has_jni=yes], [has_jni=no])
AC_CHECK_HEADERS([stdint-gcc.h], [has_stdint_gcc=yes], [has_stdint_gcc=no])
AM_CONDITIONAL([X86_RREIL],[test x$with_frontend = xx86-rreil])
AM_CONDITIONAL([X86],[test x$with_frontend = xx86])
......@@ -105,6 +106,7 @@ AM_CONDITIONAL([HAVE_X86], [test x$has_x86 = xyes])
AM_CONDITIONAL([HAVE_ANON_MEMBERS], [test x$has_anon_members = xyes])
AM_CONDITIONAL([HAVE_OPEN_MEMSTREAM], [test x$has_open_memstream = xyes])
AM_CONDITIONAL([HAVE_POSIX200809_C11], [test x$has_anon_members = xyes && test x$has_open_memstream = xyes])
AM_CONDITIONAL([HAVE_STDINT_GCC], [test x$has_stdint_gcc = xyes])
AM_CONDITIONAL([HAVE_ELF], [test x$has_elf = xyes])
#AM_COND_IF([HAVE_RREIL], [AM_COND_IF([HAVE_POSIX200809_C11], [has_semantics_cli=yes], [has_semantics_cli=yes])])
......@@ -126,11 +128,11 @@ AM_CONDITIONAL([ENV_UTIL], true)
AM_CONDITIONAL([ENV_GDSL_MULTIPLEX], true)
AM_CONDITIONAL([ENV_GDWRAP], true)
AM_CONDITIONAL([ENV_READHEX], true)
AM_COND_IF([HAVE_RREIL], [AM_COND_IF([HAVE_ANON_MEMBERS], [AM_COND_IF([HAVE_POSIX200809_C11], [AM_CONDITIONAL([ENV_RREIL_LIB], true)], [AM_CONDITIONAL([ENV_RREIL_LIB], false)])])])
AM_COND_IF([HAVE_RREIL], [AM_COND_IF([HAVE_ANON_MEMBERS], [AM_COND_IF([HAVE_POSIX200809_C11], [AM_CONDITIONAL([ENV_RREIL_LIB], true)])])])
AM_CONDITIONAL([ENV_JRREIL], [test x$has_jni = xyes])
AM_COND_IF([HAVE_X86], [AM_CONDITIONAL([ENV_X86_LIB], true)], [AM_CONDITIONAL([ENV_X86_LIB], false)])
AM_COND_IF([X86_RREIL], [AM_COND_IF([HAVE_ANON_MEMBERS], [AM_COND_IF([HAVE_POSIX200809_C11], [AM_CONDITIONAL([ENV_RREIL_SIM], true)], [AM_CONDITIONAL([ENV_RREIL_SIM], false)])])])
AM_COND_IF([X86_RREIL], [AM_COND_IF([HAVE_ANON_MEMBERS], [AM_COND_IF([HAVE_POSIX200809_C11], [AM_CONDITIONAL([ENV_X86_TESTER], true)], [AM_CONDITIONAL([ENV_X86_TESTER], false)])])])
AM_COND_IF([HAVE_X86], [AM_CONDITIONAL([ENV_X86_LIB], true)])
AM_COND_IF([X86_RREIL], [AM_COND_IF([HAVE_ANON_MEMBERS], [AM_COND_IF([HAVE_POSIX200809_C11], [AM_COND_IF([HAVE_STDINT_GCC], [AM_CONDITIONAL([ENV_RREIL_SIM], true)])])])])
AM_COND_IF([X86_RREIL], [AM_COND_IF([HAVE_ANON_MEMBERS], [AM_COND_IF([HAVE_POSIX200809_C11], [AM_CONDITIONAL([ENV_X86_TESTER], true)])])])
AM_CONDITIONAL([ENV_X86_GENERATOR], true)
#Tool requirements
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment