2012-06-26 11:31:53 -05:00
|
|
|
|
|
|
|
AM_CPPFLAGS = \
|
|
|
|
-include config.h \
|
|
|
|
-I$(top_srcdir)/include \
|
|
|
|
-DLOCALEDIR=\"$(localedir)\"
|
|
|
|
AM_CFLAGS = -fsigned-char $(WARN_CFLAGS)
|
|
|
|
AM_LDFLAGS =
|
|
|
|
|
2012-07-09 09:44:25 -05:00
|
|
|
# Add gettext stuff to the global LDADD for systems with separate libintl
|
|
|
|
# library. The LTLIBINTL is generated by AM_GNU_GETTEXT macro.
|
|
|
|
#
|
|
|
|
LDADD = $(LTLIBINTL)
|
|
|
|
|
2012-06-26 11:31:53 -05:00
|
|
|
# Automake (at least up to 1.10) mishandles dist_man_MANS inside conditionals.
|
|
|
|
# Unlike with other dist primaries, the files are not distributed if the
|
|
|
|
# conditional is false.
|
|
|
|
# Work the bug around until it is fixed:
|
|
|
|
dist_noinst_DATA = $(dist_man_MANS)
|
|
|
|
|
|
|
|
# Paths to in-tree libraries (use ul_ prefix to avoid possible collisions)
|
|
|
|
# Note that blkid.h and libmount.h are generated and stored in build dirs.
|
|
|
|
#
|
|
|
|
ul_libblkid_incdir = $(top_builddir)/libblkid/src
|
|
|
|
ul_libmount_incdir = $(top_builddir)/libmount/src
|
|
|
|
ul_libuuid_incdir = $(top_srcdir)/libuuid/src
|
2006-12-06 17:26:54 -06:00
|
|
|
|
2012-05-23 02:37:38 -05:00
|
|
|
pkgconfigdir = $(usrlib_execdir)/pkgconfig
|
|
|
|
|
2012-05-16 08:05:11 -05:00
|
|
|
dist_noinst_HEADERS =
|
2012-05-16 17:54:26 -05:00
|
|
|
noinst_PROGRAMS =
|
2012-06-26 10:44:15 -05:00
|
|
|
noinst_LTLIBRARIES =
|
2012-05-22 08:57:23 -05:00
|
|
|
usrbin_exec_PROGRAMS =
|
2012-05-30 09:10:11 -05:00
|
|
|
usrsbin_exec_PROGRAMS =
|
2012-05-22 08:57:23 -05:00
|
|
|
dist_man_MANS =
|
2012-05-23 02:37:38 -05:00
|
|
|
man_MANS =
|
|
|
|
pkgconfig_DATA =
|
|
|
|
usrlib_exec_LTLIBRARIES =
|
2012-06-26 10:53:09 -05:00
|
|
|
bin_PROGRAMS =
|
|
|
|
sbin_PROGRAMS =
|
|
|
|
dist_usrbin_exec_SCRIPTS =
|
2012-06-26 11:14:36 -05:00
|
|
|
systemdsystemunit_DATA =
|
2012-06-26 11:31:53 -05:00
|
|
|
ruman1_DATA =
|
2012-05-16 08:05:11 -05:00
|
|
|
|
2012-06-26 10:44:15 -05:00
|
|
|
INSTALL_EXEC_HOOKS =
|
|
|
|
UNINSTALL_HOOKS =
|
|
|
|
INSTALL_DATA_HOOKS =
|
2012-06-01 08:30:56 -05:00
|
|
|
CLEAN_LOCALS =
|
2012-06-26 10:44:15 -05:00
|
|
|
|
2012-05-23 02:37:38 -05:00
|
|
|
EXTRA_DIST =
|
|
|
|
CLEANFILES =
|
|
|
|
|
2012-06-26 11:31:53 -05:00
|
|
|
SUBDIRS = po
|
2008-11-26 05:42:35 -06:00
|
|
|
|
2011-02-26 08:37:20 -06:00
|
|
|
RCS_FIND_IGNORE = \( -name SCCS -o -name BitKeeper -o -name .svn -o \
|
2008-11-26 05:42:35 -06:00
|
|
|
-name CVS -o -name .pc -o -name .hg -o -name .git \) -prune -o
|
|
|
|
|
2006-12-06 17:26:54 -06:00
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
|
2012-05-23 02:37:38 -05:00
|
|
|
EXTRA_DIST += \
|
2012-02-08 02:51:34 -06:00
|
|
|
.version \
|
|
|
|
autogen.sh \
|
|
|
|
Documentation \
|
|
|
|
po/update-potfiles \
|
|
|
|
README.licensing
|
2007-02-08 05:38:25 -06:00
|
|
|
|
2012-05-16 08:05:11 -05:00
|
|
|
|
|
|
|
include include/Makemodule.am
|
2012-05-16 17:54:26 -05:00
|
|
|
include lib/Makemodule.am
|
2012-05-23 02:37:38 -05:00
|
|
|
include libuuid/Makemodule.am
|
2012-06-26 10:44:15 -05:00
|
|
|
include libblkid/Makemodule.am
|
2012-06-26 10:49:37 -05:00
|
|
|
include libmount/Makemodule.am
|
|
|
|
|
|
|
|
include schedutils/Makemodule.am
|
2012-06-26 10:53:09 -05:00
|
|
|
include text-utils/Makemodule.am
|
|
|
|
include term-utils/Makemodule.am
|
2012-05-30 09:10:11 -05:00
|
|
|
include login-utils/Makemodule.am
|
2012-05-30 10:16:11 -05:00
|
|
|
include mount-deprecated/Makemodule.am
|
2012-06-26 11:06:21 -05:00
|
|
|
include sys-utils/Makemodule.am
|
2012-06-26 11:14:36 -05:00
|
|
|
include misc-utils/Makemodule.am
|
2012-06-26 11:20:00 -05:00
|
|
|
include disk-utils/Makemodule.am
|
2012-06-01 09:15:29 -05:00
|
|
|
include fdisks/Makemodule.am
|
2012-05-16 08:05:11 -05:00
|
|
|
|
2012-06-01 08:30:56 -05:00
|
|
|
include tests/Makemodule.am
|
|
|
|
|
2011-03-31 15:10:07 -05:00
|
|
|
# Arrange so that .tarball-version appears only in the distribution
|
|
|
|
# tarball, and never in a checked-out repository.
|
|
|
|
dist-hook:
|
|
|
|
echo $(VERSION) > $(distdir)/.tarball-version
|
2011-05-21 08:02:10 -05:00
|
|
|
# Set ChangeLog tag reference.
|
|
|
|
sed -i "s/log/log;h=$(VERSION)/" $(distdir)/ChangeLog
|
2006-12-06 17:26:58 -06:00
|
|
|
|
|
|
|
distclean-local:
|
2007-05-15 13:46:30 -05:00
|
|
|
-find . -name \*~ -o -name \*.orig -o -name \*.rej | xargs rm -f
|
2006-12-06 17:26:58 -06:00
|
|
|
rm -rf autom4te.cache
|
2007-01-03 15:20:44 -06:00
|
|
|
|
2008-11-26 05:42:35 -06:00
|
|
|
|
|
|
|
checkincludes:
|
2008-11-26 06:42:16 -06:00
|
|
|
@find * $(RCS_FIND_IGNORE) \
|
2008-11-26 05:42:35 -06:00
|
|
|
-name '*.[hcS]' -type f -print | sort -u \
|
|
|
|
| xargs $(top_srcdir)/tools/checkincludes.pl
|
|
|
|
|
2008-11-26 06:42:16 -06:00
|
|
|
checkconfig:
|
|
|
|
@find * $(RCS_FIND_IGNORE) \
|
|
|
|
-name '*.[hcS]' -type f -print | sort -u \
|
|
|
|
| xargs $(top_srcdir)/tools/checkconfig.sh $(top_srcdir)
|
|
|
|
|
2012-06-02 07:36:43 -05:00
|
|
|
checkmans:
|
|
|
|
@$(top_srcdir)/tools/checkmans.sh
|
|
|
|
|
2012-01-04 07:25:21 -06:00
|
|
|
checkxalloc:
|
|
|
|
@ $(top_srcdir)/tools/checkxalloc.sh
|
2008-11-26 05:42:35 -06:00
|
|
|
|
2012-06-13 04:59:29 -05:00
|
|
|
checkdecl:
|
|
|
|
@ $(top_srcdir)/tools/checkdecl.sh
|
|
|
|
|
2011-09-12 07:12:43 -05:00
|
|
|
ENABLE_ALL = --enable-static-programs --enable-most-builds
|
2012-04-24 03:20:53 -05:00
|
|
|
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --disable-use-tty-group \
|
2012-05-03 14:01:58 -05:00
|
|
|
--disable-silent-rules $(ENABLE_ALL) \
|
|
|
|
--with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir)
|
2011-03-31 15:10:07 -05:00
|
|
|
|
|
|
|
|
|
|
|
BUILT_SOURCES = .version
|
|
|
|
.version:
|
|
|
|
echo $(VERSION) > $@-t && mv $@-t $@
|
|
|
|
|
2012-01-18 14:29:52 -06:00
|
|
|
CHANGELOG_FILE = v$(VERSION)-ChangeLog
|
2012-01-19 03:32:32 -06:00
|
|
|
|
|
|
|
$(CHANGELOG_FILE):
|
|
|
|
@ if test "x$$PREVIOUS_VERSION" == "x"; then \
|
2012-01-18 14:29:52 -06:00
|
|
|
echo "Usage make changelog PREVIOUS_VERSION=<version>"; \
|
|
|
|
exit 1; \
|
|
|
|
fi
|
|
|
|
@ echo "Changes between v$(PREVIOUS_VERSION) and v$(VERSION)" > $(CHANGELOG_FILE)
|
|
|
|
@ echo "--------------------------------------------" >> $(CHANGELOG_FILE)
|
|
|
|
@ echo >> $(CHANGELOG_FILE)
|
|
|
|
$(AM_V_GEN) git log --stat v$(PREVIOUS_VERSION)..HEAD >> $(CHANGELOG_FILE)
|
2012-06-26 11:31:53 -05:00
|
|
|
#
|
|
|
|
#
|
|
|
|
# smatch scan -- smatch and cgcc are expected in $PATH
|
|
|
|
#
|
|
|
|
checksmatch:
|
|
|
|
$(MAKE) CHECK="smatch --data=$(abs_top_srcdir)/tools/smatch-data" CC=cgcc
|
2012-01-18 14:29:52 -06:00
|
|
|
|
2012-01-19 03:32:32 -06:00
|
|
|
changelog: $(CHANGELOG_FILE)
|
|
|
|
|
2012-06-26 10:44:15 -05:00
|
|
|
install-exec-hook: $(INSTALL_EXEC_HOOKS)
|
|
|
|
|
|
|
|
uninstall-hook: $(UNINSTALL_HOOKS)
|
|
|
|
|
|
|
|
install-data-hook: $(INSTALL_DATA_HOOKS)
|
2012-01-19 03:32:32 -06:00
|
|
|
|
2012-06-01 08:30:56 -05:00
|
|
|
clean-local: $(CLEAN_LOCALS)
|