forked from ariadne/pkgconf
build system: switch to automake (closes #79)
parent
d67a04011f
commit
3142c25c56
|
@ -0,0 +1,20 @@
|
|||
libdir = @libdir@
|
||||
datarootdir = @datarootdir@
|
||||
datadir = @datadir@
|
||||
includedir = @includedir@
|
||||
system_includedir = @SYSTEM_INCLUDEDIR@
|
||||
system_libdir = @SYSTEM_LIBDIR@
|
||||
pkgconfigdir = @PKGCONFIGDIR@
|
||||
|
||||
CFLAGS = -Wall -Wextra -Wformat=2 -std=gnu99
|
||||
|
||||
bin_PROGRAMS = pkgconf
|
||||
|
||||
pkgconf_SOURCES = main.c cache.c pkg.c bsdstubs.c getopt_long.c fragment.c argvsplit.c fileio.c tuple.c dependency.c queue.c
|
||||
pkgconf_CPPFLAGS = -DLIBDIR=\"${libdir}\" -DINCLUDEDIR=\"${includedir}\" -DPKG_DEFAULT_PATH=\"${pkgconfigdir}\" -DSYSTEM_INCLUDEDIR=\"${system_includedir}\" -DSYSTEM_LIBDIR=\"${system_libdir}\"
|
||||
pkgconf_MANS = pkgconf.1
|
||||
|
||||
dist_doc_DATA = README.md AUTHORS
|
||||
|
||||
check: pkgconf
|
||||
$(SHELL) tests/run.sh ./pkgconf
|
1016
Makefile.in
1016
Makefile.in
File diff suppressed because it is too large
Load Diff
|
@ -11,6 +11,7 @@ fi
|
|||
AUTOCONF=${AUTOCONF:-autoconf}
|
||||
ACLOCAL=${ACLOCAL:-aclocal}
|
||||
AUTOHEADER=${AUTOHEADER:-autoheader}
|
||||
AUTOMAKE=${AUTOMAKE:-automake}
|
||||
|
||||
dump_help_screen ()
|
||||
{
|
||||
|
@ -81,3 +82,4 @@ cd $TOP_DIR
|
|||
run_or_die $ACLOCAL
|
||||
run_or_die $AUTOHEADER
|
||||
run_or_die $AUTOCONF
|
||||
run_or_die $AUTOMAKE --add-missing
|
||||
|
|
|
@ -12,10 +12,11 @@ dnl implied. In no event shall the authors be liable for any damages arising
|
|||
dnl from the use of this software.
|
||||
|
||||
AC_PREREQ([2.68])
|
||||
AC_INIT([pkgconf], [0.9.12], [http://github.com/pkgconf/pkgconf/issues])
|
||||
AC_INIT([pkgconf], [1], [http://github.com/pkgconf/pkgconf/issues])
|
||||
AC_CONFIG_SRCDIR([pkg.c])
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
AC_CHECK_FUNCS([strlcpy strlcat strndup strtok_r])
|
||||
AM_INIT_AUTOMAKE([foreign dist-xz])
|
||||
|
||||
AC_SYS_LARGEFILE
|
||||
|
||||
|
|
Loading…
Reference in New Issue