summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2011-05-14Move all header files to /usr/include/bsd/ and deprecate /usr/include/Guillem Jover1-0/+3
First stage of the transition to avoid possible clashes with other software by moving out of the way the remaining headers from /usr/include/. At least nlist.h is known to cause file conflicts with some libelf implementations. libutil.h is not really complete and might cause confusion if software detects its availability w/o someone actually checking. And lastly vis.h is not known to cause any problem and it's complete, but better be safe than sorry. The compatibility headers will be removed in a later release.
2011-05-14Add support for transparent compilationGuillem Jover1-2/+5
This means that software being ported should not need to be modified in the usual case, as the libbsd headers will take over the standard namespace and fill the missing gaps, and include the system headers. To use this the new libbsd-transparent.pc file can be used through pkg-config, which should end up doing the right thing.
2011-05-14Generalize pkg-config file handlingGuillem Jover1-1/+1
Use a make pattern for the .pc rule to allow using more than one .pc file. And generalize the .gitignore entry.
2011-05-14Add new <bsd/sys/bitstring.h> headerGuillem Jover1-0/+1
Taken from FreeBSD.
2011-05-14Add new radixsort and sradixsort functionsGuillem Jover1-0/+3
Taken from FreeBSD.
2011-05-14Add man pages for heapsort and mergesortGuillem Jover1-0/+2
Taken from FreeBSD, originally as qsort.3 but qsort references stripped.
2011-05-14Add new mergesort functionGuillem Jover1-0/+1
Taken from FreeBSD.
2011-05-14Add getpeereid functionGuillem Jover1-0/+2
2011-02-23Add reallocf functionAurelien Jarno1-0/+2
2010-01-31build: Use proper user variables during buildGuillem Jover1-4/+9
To compile we need to use CPPFLAGS and CFLAGS, to link CFLAGS and LDFLAGS. Rename MK_CFLAGS to MK_CPPFLAGS as those are only relevant at compilation time. Reported-by: Eric Smith <eric@brouhaha.com>
2010-01-30build: Use new AR variable instead of hardcoded commandGuillem Jover1-1/+2
2010-01-30build: Refactor COMPILER and LINK commands into new variablesGuillem Jover1-3/+6
2010-01-30build: Use CCLD instead of hardcoded gcc for linkingGuillem Jover1-1/+3
2010-01-30build: By default set CC to gccGuillem Jover1-0/+2
2010-01-30build: Install shared library with 755 permissionEric Smith1-1/+1
The Makefile should install the shared library with 755 permission rather than 644. That's standard practice, and required when building RPMs on Fedora to get a debuginfo package.
2010-01-10Release libbsd 0.2.0Guillem Jover1-2/+2
2010-01-10Add vis and unvis man pagesGuillem Jover1-0/+2
Taken from OpenBSD.
2010-01-10Add dehumanize_number man page linkGuillem Jover1-0/+1
2010-01-10Add arc4random_buf and arc4random_uniform functionsGuillem Jover1-0/+2
Update arc4random module from FreeBSD.
2010-01-10Replace setproctitle dummy macro with a function stubGuillem Jover1-0/+1
This way we can replace it later on with a real implementation so that applications can immediately benefit from it w/o the need to recompile them.
2010-01-10Add pidfile functionsGuillem Jover1-0/+2
Taken from FreeBSD. Remove MAXPATHLEN from ‘struct pidfh’ and allocate pf_path dynamically, as some systems do not have such limits. Use dev_t instead of __dev_t. Replace EDOOFUS with EINVAL.
2010-01-10Add flopen functionGuillem Jover1-0/+2
Taken from FreeBSD.
2010-01-10Move man pages to the same directory as the source codeGuillem Jover1-3/+3
This matches BSD style source tree, and makes it easier to see what's missing.
2010-01-10build: Untangle the package version from the soversionGuillem Jover1-2/+5
Add a new script to generate the package version from git. Use that for the pkg-config file and the tarball name.
2010-01-10build: Make dist use files from git plus few autogenerated onesGuillem Jover1-7/+3
To avoid forgetting to include files, we'll use “git ls-files” and will include few precious autogenerated files that cannot be generated later on w/o git. This includes mainly the ChangeLog.
2010-01-09build: Do not duplicate generated filenames in several variablesGuillem Jover1-8/+11
2009-12-12Move fmtcheck and fgetln declarations to <bsd/stdio.h>Guillem Jover1-0/+1
This is were they are located on the BSDs.
2009-12-12Move setmode and getmode declarations to <bsd/unistd.h>Guillem Jover1-0/+1
This is were they are located on the BSDs.
2009-12-10Add readpassphrase functionGuillem Jover1-0/+3
Taken from OpenBSD.
2009-12-10Add dehumanize_number functionGuillem Jover1-0/+1
Taken from NetBSD.
2009-10-24Move <bsd/ip_icmp.h> to <bsd/netinet/ip_icmp.h>Guillem Jover1-1/+3
This maps more closely the location of the real header. For transitional purposes keep a <bsd/ip_icmp.h> that warns and includes <bsd/netinet/ip_icmp.h>.
2009-10-24Add new <bsd/sys/tree.h> headerGuillem Jover1-0/+1
2009-10-24Move <bsd/queue.h> to <bsd/sys/queue.h>Guillem Jover1-1/+2
This maps more closely the location of the real header. For transitional purposes keep a <bsd/queue.h> that warns and includes <bsd/sys/queue.h>.
2009-10-24Move <bsd/cdefs.h> to <bsd/sys/cdefs.h>Guillem Jover1-1/+3
This maps more closely the location of the real header. For transitional purposes keep a <bsd/cdefs.h> that warns and includes <bsd/sys/cdefs.h>.
2009-10-24Add strtonum functionGuillem Jover1-0/+2
Taken from FreeBSD.
2009-10-24Do not append a slash after DESTDIRGuillem Jover1-13/+13
2009-08-30Release libbsd 0.1.6Guillem Jover1-1/+1
2009-07-17Release libbsd 0.1.5Guillem Jover1-1/+1
2009-05-29Release libbsd 0.1.4Guillem Jover1-1/+1
2009-05-29Create a relative symlink for .so if libdir and usrlibdir are the sameGuillem Jover1-0/+6
2009-05-25Change @libdir@ in the pkg-config file to be $(usrlibdir)Guillem Jover1-1/+1
The variable in the .pc file points to the directory where the .so symlink is present, which is never going to be something like /lib, but something like /usr/lib.
2009-05-25Preserve the variables unexpanded in the pkg-config fileGuillem Jover1-12/+11
2009-05-25Release libbsd 0.1.3Guillem Jover1-1/+1
2009-05-25Release libbsd 0.1.2Guillem Jover1-1/+1
2009-05-25Install humanize_number(3) man pageGuillem Jover1-0/+1
2009-05-25Add some man page linksGerardo Exequiel Pozzi1-0/+4
Add man page links for strlcat, getmode and arc4random_*. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-05-20Release libbsd 0.1.1Guillem Jover1-1/+1
2009-05-20Install nlist header and man pageGuillem Jover1-0/+2
2009-05-20Add nlist functionGuillem Jover1-0/+1
2009-05-20Add strmode functionGuillem Jover1-2/+4