Commit 18ddcf98 authored by Christian Hergert's avatar Christian Hergert
Browse files

initial commit.

parents
aclocal.m4
autom4te.cache
config.h
config.h.in
config.h.in~
config.log
config.status
configure
*.deps
.dirstamp
gnome-builder
*.libs
libtool
Makefile
Makefile.in
Makefile.in
*.o
stamp-h1
*.swp
This diff is collapsed.
include build/autotools/automake/Defaults.mk
include build/autotools/automake/ChangeLog.mk
include build/autotools/automake/AutomakeDocs.mk
ACLOCAL_AMFLAGS = -I build/autotools/m4 ${ACLOCAL_FLAGS}
include src/gnome-builder.mk
Builder - Develop software for GNOME
====================================
Bugs: https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-builder
Design: https://live.gnome.org/Design/Apps/Builder
Download: http://download.gnome.org/sources/gnome-builder
Git: http://git.gnome.org/browse/gnome-builder
Website: https://wiki.gnome.org/Apps/Builder
IRC: irc.gimp.net #gnome-builder
----
Builder attempts to be an IDE for writing software for GNOME. It does not try
to be a generic IDE, but one specialized for writing GNOME software. We believe
this this focus will help us to build something great.
If you would like to help in this effort, join our IRC channel and we will help
you find something to work on.
Builder is written in C, but some aspects of Builder may be written in another
language if it makes sense.
----
Builder is licensed under the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or (at
your option) any later version.
#!/bin/sh
#
# Run this to generate all of the initial configure scripts and Makefiles.
#
# Switch to the source directory to initialize autoconf.
olddir=`pwd`
test -n "${srcdir}" || srcdir=`dirname "$0"`
test -n "${srcdir}" || srcdir=.
cd "${srcdir}"
# Load all of our autogen scripts for various features.
for script in build/autotools/autogen.d/*.sh; do
. "${script}"
done
# Discover the location of autoconf.
AUTORECONF=`which autoreconf`
if test -z "${AUTORECONF}"; then
echo "*** No autoreconf found, please install it ***"
exit 1
fi
# Generate m4 sub-configure scripts for inclusion by configure.ac.
for group in ac am config lt output print; do
for mode in pre post; do
FILE="build/autotools/autoconf.d/${mode}-${group}.m4"
cat build/autotools/autoconf.d/*.${mode}-${group} 2>/dev/null> ${FILE}
done
done
# Run autoconf to build configure.
autoreconf --force --install --verbose -I build/autotools ${ACLOCAL_FLAGS} || exit $?
# Remove that pesky autom4te.cache
rm -rf autom4te.cache
# Return to the original directory.
cd "$olddir"
# Unless NOCONFIGURE is set, run configure too.
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
compile
config.guess
config.sub
depcomp
install-sh
ltmain.sh
missing
post-ac.m4
post-am.m4
post-config.m4
post-lt.m4
post-output.m4
pre-ac.m4
pre-am.m4
pre-config.m4
pre-lt.m4
pre-output.m4
echo " Debug ............................ : ${enable_debug}"
AC_ARG_ENABLE([tracing],
[AS_HELP_STRING([--enable-tracing=@<:@no/yes@:>@],
[turn on tracing @<:@default=no@:>@])],
[],
[enable_debug=no])
# use strict compiler flags only on development releases
m4_define([maintainer_flags_default], [m4_if(m4_eval(project_minor_version % 2), [1], [yes], [no])])
AC_ARG_ENABLE([maintainer-flags],
[AS_HELP_STRING([--enable-maintainer-flags=@<:@no/yes@:>@],
[Use strict compiler flags @<:@default=]maintainer_flags_default[@:>@])],
[],
[enable_maintainer_flags=maintainer_flags_default])
PKG_CHECK_MODULES(GTK, gtk+-3.0 >= 3.12.0)
PKG_CHECK_MODULES(GIO, gio-2.0 >= 2.40.0)
PKG_CHECK_MODULES(GTKSOURCEVIEW, gtksourceview-3.0 >= 3.12.0)
PKG_CHECK_MODULES(DEVHELP, libdevhelp-3.0 >= 3.12.0)
PKG_CHECK_MODULES(WEBKIT, webkit2gtk-4.0 >= 2.5.3)
PACKAGE_LT_CURRENT=lt_current
PACKAGE_LT_REVISION=lt_revision
PACKAGE_LT_AGE=lt_age
PACKAGE_LT_VERSION="$PACKAGE_LT_CURRENT:$PACKAGE_LT_REVISION:$PACKAGE_LT_AGE"
PACKAGE_LT_LDFLAGS="-version-info $PACKAGE_LT_VERSION"
# Check for various compiler flags.
AS_IF([test "x$enable_maintainer_flags" = "xyes" && test "x$GCC" = "xyes"],
[AX_CHECK_COMPILE_FLAG([-Wall], [MAINTAINER_CFLAGS="$MAINTAINER_CFLAGS -Wall"])
AX_CHECK_COMPILE_FLAG([-Waggregate-return], [MAINTAINER_CFLAGS="$MAINTAINER_CFLAGS -Waggregate-return"])
AX_CHECK_COMPILE_FLAG([-Wcast-align], [MAINTAINER_CFLAGS="$MAINTAINER_CFLAGS -Wcast-align"])
AX_CHECK_COMPILE_FLAG([-Wdeclaration-after-statement], [MAINTAINER_CFLAGS="$MAINTAINER_CFLAGS -Wdeclaration-after-statement"])
AX_CHECK_COMPILE_FLAG([-Wempty-body], [MAINTAINER_CFLAGS="$MAINTAINER_CFLAGS -Wempty-body"])
AX_CHECK_COMPILE_FLAG([-Wformat], [MAINTAINER_CFLAGS="$MAINTAINER_CFLAGS -Wformat"])
AX_CHECK_COMPILE_FLAG([-Wformat-nonliteral], [MAINTAINER_CFLAGS="$MAINTAINER_CFLAGS -Wformat-nonliteral"])
AX_CHECK_COMPILE_FLAG([-Wformat-security], [MAINTAINER_CFLAGS="$MAINTAINER_CFLAGS -Wformat-security"])
AX_CHECK_COMPILE_FLAG([-Winit-self], [MAINTAINER_CFLAGS="$MAINTAINER_CFLAGS -Winit-self"])
AX_CHECK_COMPILE_FLAG([-Winline], [MAINTAINER_CFLAGS="$MAINTAINER_CFLAGS -Winline"])
AX_CHECK_COMPILE_FLAG([-Wmissing-include-dirs], [MAINTAINER_CFLAGS="$MAINTAINER_CFLAGS -Wmissing-include-dirs"])
AX_CHECK_COMPILE_FLAG([-Wno-strict-aliasing], [MAINTAINER_CFLAGS="$MAINTAINER_CFLAGS -Wno-strict-aliasing"])
AX_CHECK_COMPILE_FLAG([-Wno-uninitialized], [MAINTAINER_CFLAGS="$MAINTAINER_CFLAGS -Wno-uninitialized"])
AX_CHECK_COMPILE_FLAG([-Wredundant-decls], [MAINTAINER_CFLAGS="$MAINTAINER_CFLAGS -Wredundant-decls"])
AX_CHECK_COMPILE_FLAG([-Wreturn-type], [MAINTAINER_CFLAGS="$MAINTAINER_CFLAGS -Wreturn-type"])
AX_CHECK_COMPILE_FLAG([-Wshadow], [MAINTAINER_CFLAGS="$MAINTAINER_CFLAGS -Wshadow"])
AX_CHECK_COMPILE_FLAG([-Wswitch-default], [MAINTAINER_CFLAGS="$MAINTAINER_CFLAGS -Wswitch-default"])
AX_CHECK_COMPILE_FLAG([-Wswitch-enum], [MAINTAINER_CFLAGS="$MAINTAINER_CFLAGS -Wswitch-enum"])
AX_CHECK_COMPILE_FLAG([-Wundef], [MAINTAINER_CFLAGS="$MAINTAINER_CFLAGS -Wundef"])
AX_CHECK_COMPILE_FLAG([-Wuninitialized], [MAINTAINER_CFLAGS="$MAINTAINER_CFLAGS -Wuninitialized"])])
AC_SUBST(MAINTAINER_CFLAGS)
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES(yes)])
AM_CONDITIONAL([ENABLE_TRACING], [test "$enable_tracing" = "yes"])
m4_define([project_version], [project_major_version.project_minor_version.project_micro_version])
m4_define([project_binary_age], [m4_eval(100 * project_minor_version + project_micro_version)])
m4_define([lt_current], [m4_eval(100 * project_minor_version + project_micro_version - project_interface_age)])
m4_define([lt_revision], [project_interface_age])
m4_define([lt_age], [m4_eval(project_binary_age - project_interface_age)])
# Define the minimum version of Clang compiler.
m4_define(clang_major_required_version, 3)
m4_define(clang_minor_required_version, 3)
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
#if !(defined(__clang__) && ((__clang_major__ > clang_major_required_version) || ((__clang_major__ == clang_major_required_version) && (__clang_minor__ >= clang_minor_required_version))))
#error Not a supported Clang compiler
#endif
])], [c_compiler="clang"], [])
# Define the minimum version of GCC.
m4_define(gcc_major_required_version, 4)
m4_define(gcc_minor_required_version, 1)
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
#if !(defined(__GNUC__) && ((__GNUC__ > gcc_major_required_version) || ((__GNUC__ == gcc_major_required_version) && (__GNUC_MINOR__ >= gcc_minor_required_version))))
#error Not a supported GCC compiler
#endif
])], [c_compiler="gcc"], [])
# Define the minimum version of Sun C compiler.
m4_define(sunpro_c_required_version, 0x570)
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
#if !(defined(__SUNPRO_C) && __SUNPRO_C >= sunpro_c_required_version)
#error Not a supported Sun compiler
#endif
])], [c_compiler="sunpro_c"], [])
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