diff options
author | Mike Frysinger <vapier@gentoo.org> | 2014-01-10 10:07:41 -0500 |
---|---|---|
committer | Andreas Gruenbacher <agruen@linbit.com> | 2014-01-13 13:18:39 +0100 |
commit | c8f23c92177c5a82ab3699b1b0d4acbee9afb770 (patch) | |
tree | 72b6c7cf7a006babd2177055d8c61d1f6bd15375 /libmisc | |
parent | 2d13383b7fbcc04fc16681caa4f43d9d9083cca1 (diff) | |
download | acl-c8f23c92177c5a82ab3699b1b0d4acbee9afb770.tar.gz |
modernize build system
This deletes the hand rolled build system and replaces it entirely
with autotools. The overall diffstat shows that this is a clear
win, and it makes the package build/install like every other autotool
package out there which makes the lives of distro maintainers a lot
easier.
This should also be faster by virtue of using a non-recursive build.
Things to note:
- to generate autotools:
./autogen.sh
- to see full compile output:
make V=1
- to build specific targets:
make attr getfattr ...
- to run tests:
make check
- to create a release:
make distcheck -j
Other non-developer things:
- man pages are no longer compressed as this is uncommon in the
autotools world and distros don't need it anyways (they already
handle it automatically for most pakages)
- the minor # of the shared library is now based on the package
version so it'll be much bigger ... this isn't a problem, and
is actually a bugfix (older releases didn't change when they
should have)
(Again, this is all using the standard autotool targets.)
Diffstat (limited to 'libmisc')
-rw-r--r-- | libmisc/Makefile | 31 | ||||
-rw-r--r-- | libmisc/Makemodule.am | 8 |
2 files changed, 8 insertions, 31 deletions
diff --git a/libmisc/Makefile b/libmisc/Makefile deleted file mode 100644 index e64a287..0000000 --- a/libmisc/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -# -# Copyright (c) 2000, 2002 Silicon Graphics, Inc. All Rights Reserved. -# Copyright (C) 2009 Andreas Gruenbacher <agruen@suse.de> -# -# This program is free software: you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# - -TOPDIR = .. -include $(TOPDIR)/include/builddefs - -LTLIBRARY = libmisc.la -LTLDFLAGS = - -CFILES = quote.c unquote.c high_water_alloc.c next_line.c walk_tree.c - -default: $(LTLIBRARY) -install install-dev install-lib: - -include $(BUILDRULES) - diff --git a/libmisc/Makemodule.am b/libmisc/Makemodule.am new file mode 100644 index 0000000..d784622 --- /dev/null +++ b/libmisc/Makemodule.am @@ -0,0 +1,8 @@ +noinst_LTLIBRARIES += libmisc.la + +libmisc_la_SOURCES = \ + libmisc/high_water_alloc.c \ + libmisc/next_line.c \ + libmisc/quote.c \ + libmisc/unquote.c \ + libmisc/walk_tree.c |