summaryrefslogtreecommitdiffstats
path: root/make.tmpl.in
Commit message (Collapse)AuthorAgeFilesLines
* systemd: integrate lvm2 activation generator with conf+makePeter Rajnoha2012-07-311-1/+2
|
* veritysetup: Remove code as now in cryptsetup.Alasdair G Kergon2012-06-111-2/+0
| | | | | The veritysetup code has moved to the cryptsetup package. http://code.google.com/p/cryptsetup/
* Improve test suiteZdenek Kabelac2012-03-281-2/+3
| | | | | | | | | Add make help target. Add LVM_TEST_PARALLEL to support parallel runs of tests Work around the problem the dmsetup table/info may return error by using dmtable and dminfo function that will use 'should'. (Error happens when some concurently running process removes table entry while dmsetup command resolves table entries inside the loop.)
* Rename verity dirAlasdair Kergon2012-03-261-0/+2
|
* Reflect new file locations, include file updates etc.Alasdair Kergon2012-02-281-1/+7
|
* Add -ldaemon to make.tmpl.in.Petr Rockai2012-02-231-1/+1
|
* Add configure --with-tmpfilesdir and lvm2 tmpfiles.d configuration file itself.Peter Rajnoha2012-02-221-1/+3
| | | | | | | | | | | /etc/tmpfiles.d directory holds configuration files for temporary/volatile files and directories that should be automatically managed. For example, if we have some parts of the fs hierarchy on tmpfs, we'd like to recreate some files or directories on every boot so they're always prepared for use. Systemd can read such configuration files. For now, the lock and run directory are the ones that are most probably placed on tmpfs. If this is the case, we can install the configuration by 'make install_tmpfiles_configuration'.
* Superfluous '/' in systemd_dir path.Peter Rajnoha2012-02-131-1/+1
|
* Add configure --with-systemdsystemunitdir.Peter Rajnoha2012-02-131-1/+1
|
* Split gcc warning optionsZdenek Kabelac2011-11-231-11/+14
| | | | | | | | | Use gcc warning options only for .c -> .o compilation So it makes the output more clear. Do not use INCLUDES and DEFS for .o -> .so. Do not use CFLAGS for deps .d generation.
* Use 3 digits for chmodZdenek Kabelac2011-11-231-4/+4
| | | | | Use same sized chmod params (0 are filled from left on its own) and we use just 3 digits elsewhere.
* Add some cflags to ldflagsZdenek Kabelac2011-11-211-0/+1
| | | | | Things like gcov needs the compilation flags for linker as well. TODO: cleanup compilation flags usage
* Don't ignore configure --mandir and --infodir.Alasdair Kergon2011-11-201-3/+3
|
* Make dmsetup.static and lvm.static build when dmeventd is disabled.Alasdair Kergon2011-11-141-0/+1
| | | | | | | | udev may also need to be disabled if you didn't build it statically too. dmeventd.static could be fixed with some more work but I don't really see the point: without dlopen() it's useless, and if you have dlopen(), why not support normal shared libraries too?
* core removed with clean not distcleanAlasdair Kergon2011-08-121-1/+1
|
* Do not remove makefile during "make clean".Milan Broz2011-08-121-1/+1
|
* pre-release fixes incl make distclean and configure --with-raid=none/sharedAlasdair Kergon2011-08-111-1/+2
|
* Add memory pool locking functionsZdenek Kabelac2011-08-111-0/+4
| | | | | | | | | | | | | | | | | | | Adding debuging functionality to lock and unlock memory pool. 2 ways to debug code: crc - is default checksum/hash of the locked pool. It gets slower when the pool is larger - so the check is only made when VG is finaly released and it has been used more then once.Thus the result is rather informative. mprotect - quite fast all the time - but requires more memory and currently it is using posix_memalign() - this could be later modified to use dm_malloc() and align internally. Tool segfaults when locked memory is modified and core could be examined for faulty code section (backtrace). Only fast memory pools could use mprotect for now - so such debug builds cannot be combined with DEBUG_POOL.
* Configure and makefile changes for newly added systemd unit files.Peter Rajnoha2011-07-281-0/+1
|
* Move common libudev code to lvm-wrappers.[ch].Peter Rajnoha2011-04-221-1/+1
| | | | ...so we can use it throughout.
* Handle decimal digits with --units instead of ignoring them silently.Alasdair Kergon2011-02-181-2/+2
| | | | Fix remaining warnings and compile with -Wpointer-arith.
* Improve OCF dir supportZdenek Kabelac2011-01-101-1/+1
| | | | | Add --with-ocfdir configurable option. Fix superfluous /usr in ocf_scriptdir instalation path.
* Add OCF supportZdenek Kabelac2010-11-051-1/+8
| | | | | | | | | | | | Updated patch from Florian Haas from Linux-HA project. User needs to 'configure --enable-ocf' to get file installed by 'make install' target by default. User can also use 'make install_ocf' to get only ocf files installed. With disabled (default) ocf support - no ocf files are installed. FIXME: ocf installation path needs to be kept in sync with pacemaker. find better way and possible also better location.
* Add given user prefix to make target install_initscriptsZdenek Kabelac2010-11-051-0/+2
| | | | | | | Avoid files to be written into the live system if lvm was configured with different --prefix. Use initdir for install target path.
* Allow CC to be overridden at build time (for 'scan-build make').Alasdair Kergon2010-10-071-2/+1
|
* Speed up CRC32 calculations by using a larger lookup table.Alasdair Kergon2010-09-271-0/+1
| | | | Use -DDEBUG_CRC32 to revert to old function and check new one gives same result.
* set DEFAULT_RUN_DIR (missed from earlier checkin?)Alasdair Kergon2010-08-161-0/+1
|
* revert the 'Base' change - that wasn't the cause of the problemAlasdair Kergon2010-08-021-1/+1
|
* Fix exported_symbols generation to use standard compiler arguments.Alasdair Kergon2010-08-021-1/+1
|
* Drop explicit 'Base' version from exported symbols.Alasdair Kergon2010-07-311-1/+1
|
* Report generators for unit tests and memory checks. Configure withJoe Thornber2010-07-201-0/+1
| | | | --enable-testing.
* Fix redundant declarations and always compile with -Wredundant-decls.Alasdair Kergon2010-07-091-2/+2
|
* Generate liblvm2app and libdevmapper exported symbols from header files.Alasdair Kergon2010-06-251-1/+10
| | | | | Detection is simply by prefix - dm_ or lvm_ - and any additional symbols needed but not detected this way are placed in .exported_symbols.
* Use INSTALL_DIR to create directoriesZdenek Kabelac2010-06-031-1/+1
|
* Fix $(INSTALL_SCRIPT)Alasdair Kergon2010-05-201-1/+1
|
* Add make install_initscriptsAlasdair Kergon2010-05-201-1/+3
|
* Add install_system_dirs makefile target.Alasdair Kergon2010-05-201-0/+9
| | | | Add configure options for system and locking directories.
* Install lvmconf script by default.Alasdair Kergon2010-05-201-1/+0
| | | | Remove unnecessary versioned dmeventd plugin symlinks.
* For lcov target there is no need to include source file dependenciesZdenek Kabelac2010-05-141-1/+1
|
* Add pkgconfigdir for placement of .pc filesZdenek Kabelac2010-05-111-0/+1
| | | | Use easily overideable make install pkgconfigdir variable.
* Skip unneeded 'cat' command execution.Zdenek Kabelac2010-05-111-6/+3
|
* Link liblvm2cmd.so with devmapper-event and devmapper libs.Zdenek Kabelac2010-05-111-5/+0
| | | | and remove generic %.so: %.a target.
* Install plugins to subdirsZdenek Kabelac2010-05-061-4/+13
| | | | | | | | | | | Target install_dm_plugin installs files to libdir/device-mapper. Target install_lvm2_plugin installs files to libdir/lvm2. Both targets creates relative links to libdir to keep the code compatible with current dlopen handling. Once we will be able to read plugins from subdir, links could be removed.
* change awk pathAlasdair Kergon2010-04-301-4/+5
|
* Install symbolic .so links with relative paths between usrlibdir and libdir.Zdenek Kabelac2010-04-151-1/+3
|
* Fix double DESTDIR usage for infodir and mandir.Zdenek Kabelac2010-04-151-2/+2
|
* INSTALL rules updatesZdenek Kabelac2010-04-091-12/+35
| | | | | | | | | | | | | | | | | | | | | | | | | Patch is inspired by Debian's extra patch. - removes OWNER & GROUP make vars they are parts of INSTALL command. - adds INSTALL_PROGRAM for executable, uses $(INSTALL) - adds INSTALL_DATA for non-executable data, uses ($INSTALL) - adds INSTALL_WDATA for writable non-executable data, uses ($INSTALL) - adds configure option --enable-write_install - to support installatin of writable files used by distribution - replaces usage of ifeq @LIB_SUFFIX@ with $(LIB_SUFFIX) - installs .a files from static builds without executable flag - installs .a files to $(usrlibdir) instead of $(libdir) - installs all static binaries to $(staticdir) - create .so links for devel package in $(usrlibdir) instead of $(libdir) - makes .so and .so.LIB_VERSION files within builddir - removes VERSIONED_SHLIB and created versioned LIB_SHARED automagicaly - install LIB_SHARED via install_lib_shared target - install plugins via install_lib_shared_plugin target - prints whole 'install' command during installation instead of less informative "Installing $(something) $(somewhere)" - install multiple man pages with one INSTALL command - use DISTCLEAN_TARGETS instead of creating multiple distclean targets
* Use vpath instead of VPATH.Zdenek Kabelac2010-04-091-0/+6
| | | | | | | | | | | | | | | Usage of VPATH makes troubles when used within $(builddir). Not only source files are being found through VPATH, but targets as well. (make --debug=v) Thus if user builds the code in $(srcdir) and also in some $(builddir) he gets mangled results as some generated files (i.e. .export.sym) are 'reused' from $(srcdir) instead of $(builddir). This patch switches to use vpath were we could explicitly name suffixes that should be looked via vpath - we must take care, we do not generate files with these suffixes: .c, .in, .po, .exported_symbols
* Add cleandir target.Zdenek Kabelac2010-04-081-6/+8
| | | | | | Using non-recursive cleandir target for resursive distclean and clean. Avoids duplicated clean invocation during distclean. Indent $(RM) parameters.
* Distcleanup config files only in toplevel directory.Zdenek Kabelac2010-04-061-5/+2
| | | | | | Do not execute 'rm -r' with empty $(DISTCLEAN_DIRS). lvm-version.h is already cleaned with subtarget distcleaning. Always distcleanup lcov_reports*.