Makefile


Log

Author Commit Date CI Message
Guillem Jover 755d86be 2011-05-27T21:39:14 Rename LIBBSD_CLEAN_INCLUDES to LIBBSD_DISABLE_DEPRECATED
Guillem Jover 8be40010 2011-05-27T20:37:10 Add new <bsd/sys/endian.h> header
Guillem Jover a7dd4457 2011-05-27T21:13:18 Add new <bsd/sys/poll.h> header
Guillem Jover 17a9a847 2011-05-25T07:36:19 Rename transparent support to overlay This affects the pkg-config file now named libbsd-overlay.pc, and the macro to use the overlay LIBBSD_OVERLAY.
Guillem Jover 28585a58 2011-05-14T17:58:08 Add fpurge function
Guillem Jover 8b6a7477 2011-02-23T12:38:42 Conditionalize temporary compatibility inclusions These inclusions were in place for backward compatibility purposes, when the headers were split so that code using them would not break. Make it possible for applications to disable them by defining LIBBSD_CLEAN_INCLUDES so that buildability can be tested and fixed before they get removed in a subsequent release.
Guillem Jover f7caf2b3 2011-02-23T11:07:30 Move all header files to /usr/include/bsd/ and deprecate /usr/include/ 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.
Guillem Jover 520682e5 2011-02-23T14:04:57 Add support for transparent compilation 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.
Guillem Jover 8a99226f 2011-02-23T14:01:06 Generalize pkg-config file handling Use a make pattern for the .pc rule to allow using more than one .pc file. And generalize the .gitignore entry.
Guillem Jover 9baf9640 2011-02-22T20:19:37 Add new <bsd/sys/bitstring.h> header Taken from FreeBSD.
Guillem Jover 4b95e82a 2011-02-25T18:48:10 Add new radixsort and sradixsort functions Taken from FreeBSD.
Guillem Jover c766e58a 2011-02-25T18:25:17 Add man pages for heapsort and mergesort Taken from FreeBSD, originally as qsort.3 but qsort references stripped.
Guillem Jover be6ab549 2011-02-25T18:17:16 Add new mergesort function Taken from FreeBSD.
Guillem Jover 5b19adfa 2010-12-17T10:50:56 Add getpeereid function
Aurelien Jarno acb7c42d 2010-07-30T08:00:41 Add reallocf function
Guillem Jover 06a60a16 2010-01-31T14:13:24 build: Use proper user variables during build 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>
Guillem Jover 51863b6c 2010-01-30T22:43:29 build: Use new AR variable instead of hardcoded command
Guillem Jover 08afd5d4 2010-01-30T22:42:00 build: Refactor COMPILER and LINK commands into new variables
Guillem Jover 1f0b0b23 2010-01-30T22:40:01 build: Use CCLD instead of hardcoded gcc for linking
Guillem Jover 32d79b03 2010-01-30T22:39:18 build: By default set CC to gcc
Eric Smith cd730a02 2010-01-30T22:13:18 build: Install shared library with 755 permission 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.
Guillem Jover ddebbd67 2010-01-10T12:04:03 Release libbsd 0.2.0
Guillem Jover 2872bfa1 2010-01-10T01:41:27 Add vis and unvis man pages Taken from OpenBSD.
Guillem Jover e544a41f 2010-01-10T01:37:18 Add dehumanize_number man page link
Guillem Jover d63e0813 2010-01-10T00:57:07 Add arc4random_buf and arc4random_uniform functions Update arc4random module from FreeBSD.
Guillem Jover 3fed78e5 2010-01-10T00:37:03 Replace setproctitle dummy macro with a function stub 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.
Guillem Jover 2a81893c 2010-01-10T00:10:21 Add pidfile functions 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.
Guillem Jover 98a2479f 2010-01-09T23:49:32 Add flopen function Taken from FreeBSD.
Guillem Jover 57cc5326 2010-01-09T20:17:16 Move man pages to the same directory as the source code This matches BSD style source tree, and makes it easier to see what's missing.
Guillem Jover 9e4adc46 2009-12-13T01:52:03 build: Untangle the package version from the soversion Add a new script to generate the package version from git. Use that for the pkg-config file and the tarball name.
Guillem Jover db406fe2 2009-12-12T01:46:25 build: Make dist use files from git plus few autogenerated ones 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.
Guillem Jover 9396cc62 2010-01-09T19:56:45 build: Do not duplicate generated filenames in several variables
Guillem Jover 7a70f1b0 2009-12-11T23:24:31 Move fmtcheck and fgetln declarations to <bsd/stdio.h> This is were they are located on the BSDs.
Guillem Jover ca28f280 2009-12-11T23:21:14 Move setmode and getmode declarations to <bsd/unistd.h> This is were they are located on the BSDs.
Guillem Jover c5398adf 2009-10-24T00:19:47 Add readpassphrase function Taken from OpenBSD.
Guillem Jover 538bc879 2009-10-24T00:17:57 Add dehumanize_number function Taken from NetBSD.
Guillem Jover 5c078ce2 2009-10-23T23:31:07 Move <bsd/ip_icmp.h> to <bsd/netinet/ip_icmp.h> 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>.
Guillem Jover 614eb040 2009-10-12T01:43:02 Add new <bsd/sys/tree.h> header
Guillem Jover b6e84690 2009-10-12T01:47:54 Move <bsd/queue.h> to <bsd/sys/queue.h> 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>.
Guillem Jover d3e14ea9 2009-10-23T23:04:42 Move <bsd/cdefs.h> to <bsd/sys/cdefs.h> 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>.
Guillem Jover 56ddcfe6 2009-10-11T21:07:53 Add strtonum function Taken from FreeBSD.
Guillem Jover 1bf8b96a 2009-10-24T01:06:09 Do not append a slash after DESTDIR
Guillem Jover 56f2e55b 2009-08-30T12:18:11 Release libbsd 0.1.6
Guillem Jover 2543c5a7 2009-07-17T13:37:38 Release libbsd 0.1.5
Guillem Jover 391c75b4 2009-05-29T02:48:00 Release libbsd 0.1.4
Guillem Jover 5902730a 2009-05-29T02:28:49 Create a relative symlink for .so if libdir and usrlibdir are the same
Guillem Jover 42601170 2009-05-25T10:02:26 Change @libdir@ in the pkg-config file to be $(usrlibdir) 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.
Guillem Jover 0bd48c4a 2009-05-25T09:57:14 Preserve the variables unexpanded in the pkg-config file
Guillem Jover d03b2b07 2009-05-25T09:37:39 Release libbsd 0.1.3
Guillem Jover f984a700 2009-05-25T06:57:50 Release libbsd 0.1.2
Guillem Jover 326a3a76 2009-05-25T06:57:03 Install humanize_number(3) man page
Gerardo Exequiel Pozzi c3feeb00 2009-05-22T20:44:35 Add some man page links Add man page links for strlcat, getmode and arc4random_*. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Guillem Jover 25dd60b9 2009-05-20T05:14:32 Release libbsd 0.1.1
Guillem Jover 5b16707e 2009-05-20T05:13:31 Install nlist header and man page
Guillem Jover dcaec44a 2009-05-20T04:11:57 Add nlist function
Guillem Jover 8dbfb352 2009-05-15T21:40:45 Add strmode function
Guillem Jover aefc6f44 2008-07-26T22:42:39 Do not include .gitignore in the dist tarball
Guillem Jover f2d93325 2008-07-26T22:39:29 Install md5.3 as md5.3bsd This man page is pretty common in other source projects, so we use a suffix to distinguish it.
Guillem Jover 4c9c8ed7 2008-07-26T22:35:31 Add a new header file to expose inet_net_pton prototype
Guillem Jover 6dc84320 2008-07-26T22:25:22 Add a micro version part
Guillem Jover 83210a83 2008-07-12T07:48:10 Switch remaining variables to single expanded ones
Guillem Jover 9a2b946f 2008-07-12T07:59:14 Move LIB_PKGCONFIG dependency to the libs target
Guillem Jover 2729ca82 2008-07-12T07:53:03 Define default CFLAGS overridable by the environment
Guillem Jover 69c94c50 2008-07-12T07:46:53 Remove useless comment header
Guillem Jover 2d5c088a 2008-07-12T07:46:37 Move each groups of related files to their own line
Guillem Jover 3de930e6 2008-07-12T07:41:07 Make action targets PHONY
Guillem Jover e9cb0d1c 2008-07-12T07:37:13 New README file
Guillem Jover c1615a50 2008-07-12T06:46:18 Define a LIB_PKGCONFIG variable
Guillem Jover 87d6d656 2008-07-12T07:31:59 Automatically generate libbsd.pc from libbsd.pc.in
Guillem Jover ff8539bc 2008-07-12T07:29:24 Add new path variables
Guillem Jover 8c7f053a 2008-07-12T07:00:19 Automatically generate the ChangeLog on 'make dist'
Guillem Jover e42791d0 2008-07-12T06:41:10 Move filename related variables to the beginning of the file Switch them to single expanded varibles.
Guillem Jover 1e1ab187 2008-07-12T06:35:45 Define a LIB_VERSION variable
Guillem Jover ba7ece77 2008-07-09T09:25:34 Create an armored detached signature on 'make dist'
Guillem Jover 38829bdc 2008-07-09T09:07:03 Add new setmode and getmode functions from FreeBSD
Guillem Jover 96358a2a 2008-07-09T08:47:09 Add support for 'make dist'
Guillem Jover fc163cee 2008-07-09T07:23:49 Move version and library name to the beginning of the file
Guillem Jover 7b1c361f 2008-07-09T07:17:20 Remove RCS tag
Guillem Jover efa9658b 2008-06-18T08:51:53 Remove link_addr and link_ntoa functions The address familiy used is kernel dependent, so the application will have to be ported regardless.
Guillem Jover bf4eeb29 2008-06-18T08:44:18 Add arc4random_stir and arc4random_addrandom functions
Guillem Jover 26ab4750 2008-06-18T08:25:48 Add a pkg-config file
Guillem Jover b37f1039 2008-06-18T08:19:41 Replace current md5 code with one from MirBSD and OpenBSD This adds the following public functions: MD5Transform, MD5End, MD5File, MD5FileChunk, MD5Data
Petr Salinger 30176335 2006-08-25T13:39:32 humanize_number: New function
Aurelien Jarno 2ef27385 2006-11-07T23:41:16 link_addr: New function
Robert Millan 3462d126 2006-03-29T13:55:22 Add heapsort
Robert Millan d493e6cd 2006-03-25T20:03:00 Move shared library to /lib Needed by binaries in /bin and /sbin.
Robert Millan 37c5b9a2 2006-03-19T11:12:07 Fix install paths so that /usr/include also works
Robert Millan 40bb012f 2006-03-19T10:25:49 Add vis and unvis
Robert Millan 5bd83402 2006-03-17T19:55:21 Add getprogname and setprogname
Guillem Jover 81504734 2006-02-14T06:43:04 Move some macros to cdefs.h
Guillem Jover 5372b736 2006-02-14T05:39:29 Move sources to src/
Guillem Jover 6be6380e 2006-02-14T05:33:38 Add missing %
Guillem Jover 7bd6e03a 2006-02-14T05:26:48 Makefile: Cleanup (LIB_SRCS): Line wrap. (LIB_INCLUDES): List only the files, automatically prefix the dir. (LIB_MANS): Likewise.
Robert Millan 7aed0593 2006-02-13T20:56:47 Add bsd_getopt
Robert Millan 019b5818 2006-02-13T20:25:22 Revert c849ba32af231fba36f4500d0d3290821f4dd7b7 Will use bsd_getopt() wrapper instead.
Robert Millan c849ba32 2006-02-13T09:02:17 reset_getopt: New function (borrowed from e2fsprogs)
Robert Millan 33eb3ecc 2006-02-10T14:59:03 Add errc, warnc, verrc and vwarnc
Aurelien Jarno bc2b90c0 2005-12-20T21:05:34 Makefile: Fix typo
Aurelien Jarno dedb8169 2005-12-20T20:29:47 Added manpages and fixed fmtcheck
Aurelien Jarno 91473e27 2005-12-18T04:02:56 fmtcheck: New function