mirror of
https://github.com/projectatomic/bubblewrap.git
synced 2026-02-05 15:45:22 +01:00
Initial version
This commit is contained in:
14
Makefile.am
Normal file
14
Makefile.am
Normal file
@@ -0,0 +1,14 @@
|
||||
NULL =
|
||||
|
||||
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
|
||||
AM_CPPFLAGS = -DDATADIR='"$(datadir)"' -DLIBEXECDIR='"$(libexecdir)"'
|
||||
AM_CFLAGS = $(WARN_CFLAGS)
|
||||
|
||||
bin_PROGRAMS = build-root
|
||||
|
||||
build_root_SOURCES = \
|
||||
build-root.c \
|
||||
$(NULL)
|
||||
|
||||
build_root_CFLAGS = $(AM_CFLAGS)
|
||||
build_root_LDFLAGS =
|
||||
19
autogen.sh
Executable file
19
autogen.sh
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/bin/sh
|
||||
|
||||
test -n "$srcdir" || srcdir=`dirname "$0"`
|
||||
test -n "$srcdir" || srcdir=.
|
||||
|
||||
olddir=`pwd`
|
||||
cd $srcdir
|
||||
|
||||
if ! (autoreconf --version >/dev/null 2>&1); then
|
||||
echo "*** No autoreconf found, please install it ***"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
mkdir -p m4
|
||||
|
||||
autoreconf --force --install --verbose
|
||||
|
||||
cd $olddir
|
||||
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
|
||||
1566
build-root.c
Normal file
1566
build-root.c
Normal file
File diff suppressed because it is too large
Load Diff
34
configure.ac
Normal file
34
configure.ac
Normal file
@@ -0,0 +1,34 @@
|
||||
AC_PREREQ([2.63])
|
||||
AC_INIT([build-root], [0.1], [alexl@redhat.com])
|
||||
AC_CONFIG_HEADER([config.h])
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
AC_CONFIG_AUX_DIR([build-aux])
|
||||
|
||||
AM_INIT_AUTOMAKE([1.11 -Wno-portability foreign no-define tar-ustar no-dist-gzip dist-xz])
|
||||
AM_MAINTAINER_MODE([enable])
|
||||
AM_SILENT_RULES([yes])
|
||||
|
||||
AC_SYS_LARGEFILE
|
||||
|
||||
AC_PROG_CC
|
||||
AM_PROG_CC_C_O
|
||||
|
||||
changequote(,)dnl
|
||||
if test "x$GCC" = "xyes"; then
|
||||
WARN_CFLAGS="-Wall -Werror=missing-prototypes"
|
||||
fi
|
||||
changequote([,])dnl
|
||||
AC_SUBST(WARN_CFLAGS)
|
||||
|
||||
# Initialize libtool
|
||||
LT_PREREQ([2.2.4])
|
||||
LT_INIT([disable-static])
|
||||
|
||||
PKG_CHECK_MODULES(LIBSECCOMP, [libseccomp])
|
||||
AC_SUBST(LIBSECCOMP_CFLAGS)
|
||||
AC_SUBST(LIBSECCOMP_LIBS)
|
||||
|
||||
AC_CONFIG_FILES([
|
||||
Makefile
|
||||
])
|
||||
AC_OUTPUT
|
||||
Reference in New Issue
Block a user