From 412d8e9df853ae3a6349d38163a1570dfa04434a Mon Sep 17 00:00:00 2001 From: Cyrille Bagard Date: Sun, 17 Apr 2016 20:46:38 +0200 Subject: Provided a convenient way to build Chrysalide from raw sources. --- ChangeLog | 5 +++++ autogen.sh | 30 ++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100755 autogen.sh diff --git a/ChangeLog b/ChangeLog index f7235b5..aa1dfa4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +16-04-17 Cyrille Bagard + + * autogen.sh: + New entry: provide a convenient way to build Chrysalide from raw sources. + 16-04-16 Cyrille Bagard * .gitignore: diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 0000000..0b4f620 --- /dev/null +++ b/autogen.sh @@ -0,0 +1,30 @@ +#!/bin/sh + +# Define internationalization (i18n) +gettextize --no-changelog + +# Beware of acknowledgment! + +sed -i 's/po\/Makefile.in \(po\/Makefile.in *\)*/po\/Makefile.in /' configure.ac +sed -i 's/EXTRA_DIST.*$/EXTRA_DIST = config.rpath ChangeLog/' Makefile.am + +rm po/Makevars.template +cp /usr/share/gettext/gettext.h . + +# Create a timestamp mark +echo "timestamp" > stamp-h.in + +# As some Makefiles expect an external fragment built dynamically, ensure these files exist +touch src/arch/arm/v7/opcodes/gencode.mk +touch src/arch/dalvik/opcodes/gencode.mk + +# Run the GNU tools +libtoolize --force +aclocal -Im4 +autoheader +automake --add-missing --copy +autoconf + +# Define the way the program will be built +#./configure --prefix=/dev/shm/chrysalide.git --enable-silent-rules --enable-debug CC=colorgcc CFLAGS="-O0 -ggdb" +#./configure --prefix=/usr/local --enable-silent-rules -- cgit v0.11.2-87-g4458