mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-10-20 05:49:08 +02:00
Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
5f9608c775 | ||
![]() |
eef07993c9 | ||
![]() |
c6d589bc71 | ||
![]() |
2975d809a0 | ||
![]() |
f11ab67223 |
32
README
32
README
@@ -37,3 +37,35 @@ The master repository can be browsed at:
|
|||||||
and cloned from:
|
and cloned from:
|
||||||
|
|
||||||
<https://anongit.freedesktop.org/git/libbsd>
|
<https://anongit.freedesktop.org/git/libbsd>
|
||||||
|
|
||||||
|
Building from git source
|
||||||
|
------------------------
|
||||||
|
|
||||||
|
To prepare the libbsd source tree from git before starting the build process
|
||||||
|
some required software needs to be installed:
|
||||||
|
|
||||||
|
GNU autoconf >= 2.67
|
||||||
|
GNU automake >= 1.9
|
||||||
|
GNU libtool >= 2.0
|
||||||
|
|
||||||
|
After installing the needed software, and running the following command on
|
||||||
|
the git tree:
|
||||||
|
|
||||||
|
$ ./autogen
|
||||||
|
|
||||||
|
the source should be roughly equivalent to the distributed tar source.
|
||||||
|
|
||||||
|
Building from tar source
|
||||||
|
------------------------
|
||||||
|
|
||||||
|
The minimum software required to configure and build dpkg from a tarball is:
|
||||||
|
|
||||||
|
C89 compiler
|
||||||
|
make
|
||||||
|
|
||||||
|
The following software might be required depending on the system:
|
||||||
|
|
||||||
|
libmd (whenever the libc does not provide the needed digest functions)
|
||||||
|
|
||||||
|
The build process is done by running the usual «./configure; make». To
|
||||||
|
see all available configuration options please run «./configure --help».
|
||||||
|
@@ -13,7 +13,7 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])],
|
|||||||
|
|
||||||
LIBBSD_ABI_MAJOR=0
|
LIBBSD_ABI_MAJOR=0
|
||||||
LIBBSD_ABI_MINOR=11
|
LIBBSD_ABI_MINOR=11
|
||||||
LIBBSD_ABI_PATCH=4
|
LIBBSD_ABI_PATCH=5
|
||||||
|
|
||||||
LIBBSD_ABI="$LIBBSD_ABI_MAJOR:$LIBBSD_ABI_MINOR:$LIBBSD_ABI_PATCH"
|
LIBBSD_ABI="$LIBBSD_ABI_MAJOR:$LIBBSD_ABI_MINOR:$LIBBSD_ABI_PATCH"
|
||||||
AC_SUBST([LIBBSD_ABI])
|
AC_SUBST([LIBBSD_ABI])
|
||||||
@@ -47,6 +47,7 @@ AM_CONDITIONAL([HAVE_LINKER_VERSION_SCRIPT],
|
|||||||
[test "x$libbsd_cv_version_script" = "xyes"])
|
[test "x$libbsd_cv_version_script" = "xyes"])
|
||||||
|
|
||||||
# Checks for programs.
|
# Checks for programs.
|
||||||
|
AC_CHECK_TOOL([OBJDUMP], [objdump])
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
AC_PROG_SED
|
AC_PROG_SED
|
||||||
AC_PROG_INSTALL
|
AC_PROG_INSTALL
|
||||||
|
@@ -141,7 +141,7 @@ TRANSPARENT_LIBMD_DEPENDS = format.ld
|
|||||||
|
|
||||||
format.ld:
|
format.ld:
|
||||||
$(CC) -shared -nostdlib -nostartfiles -x assembler /dev/null -o $@.so
|
$(CC) -shared -nostdlib -nostartfiles -x assembler /dev/null -o $@.so
|
||||||
objdump -f $@.so | sed -n 's/.*file format \(.*\)/OUTPUT_FORMAT(\1)/;T;p' > $@
|
$(OBJDUMP) -f $@.so | sed -n 's/.*file format \(.*\)/OUTPUT_FORMAT(\1)/;T;p' > $@
|
||||||
rm -f $@.so
|
rm -f $@.so
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@@ -41,7 +41,6 @@ check_PROGRAMS = \
|
|||||||
fpurge \
|
fpurge \
|
||||||
md5 \
|
md5 \
|
||||||
nlist \
|
nlist \
|
||||||
proctitle \
|
|
||||||
proctitle-init \
|
proctitle-init \
|
||||||
progname \
|
progname \
|
||||||
pwcache \
|
pwcache \
|
||||||
|
Reference in New Issue
Block a user