summaryrefslogtreecommitdiff
path: root/libdm/Makefile.in
Commit message (Collapse)AuthorAgeFilesLines
* configure: allow for overriding of `readelf`David Seifert2022-11-251-2/+2
| | | | | | | This allows users to use e.g. `llvm-readelf` on systems with binutils as default. Bug: https://bugs.gentoo.org/840628
* makefiles: static linking enhancementsZdenek Kabelac2021-04-121-4/+2
|
* makefiles: add check for versioned symbolsZdenek Kabelac2021-04-061-1/+11
| | | | | Simple check produced library has the latest symbol as well as its versioned older version with check for dm_stats_create_region().
* make: cflow target works againZdenek Kabelac2021-03-201-0/+1
| | | | | Restored 'make cflow' functinality. Produces some quick referece of function chaining and usage.
* makefiles: correcting login of makefileZdenek Kabelac2018-12-171-1/+1
| | | | | | Fixing some ordering issue with inclusion of common make.tmpl. Correcting dependency calculation Simplifying inclusive makefile
* makefiles: improving cleaning rulesZdenek Kabelac2018-11-291-1/+1
|
* makefiles: updates for less verbosityZdenek Kabelac2018-11-291-4/+8
|
* build: ensure libdm is built before dm-toolsZdenek Kabelac2018-06-141-0/+2
| | | | | Making libs before entering dm-tools subdir, so the tool will not link i.e. system library if present.
* dmsetup: move to libdm/dm-tools/dmsetupJoe Thornber2018-06-141-0/+2
| | | | | links against libdevmapper again. no longer includes code from lvm.
* device-mapper: Fork libdm internally.Joe Thornber2018-05-161-1/+1
| | | | | | | | | | | | The device-mapper directory now holds a copy of libdm source. At the moment this code is identical to libdm. Over time code will migrate out to appropriate places (see doc/refactoring.txt). The libdm directory still exists, and contains the source for the libdevmapper shared library, which we will continue to ship (though not neccessarily update). All code using libdm should now use the version in device-mapper.
* configure: improve test for realtime clockZdenek Kabelac2017-08-011-1/+1
| | | | | | | | | | Check first if we need to even link -lrt - since clock functions are normally emebeded with recent glibc (>=2.17) Use standard RT_LIBS name. Avoid duplicate test for realtime clock with lvmlockd Show better error message when realtime clock support is missing or disabled. Link RT_LIBS explicitely with lvmlockd and lvmetad.
* makefiles: fixing linkingZdenek Kabelac2017-08-011-1/+1
| | | | | | | | | | | Avoid adding -g more then once for debug builds. Avoid enabling DEBUG_MEM when we build multithreaded tools. Link executables with -fPIE -pie and --export-dynamic LDFLAGS Introduce PROGS_FLAGS to add option to pass flags for external libs. Link lvm2 internally library only when really used. Link DAEMON_LIBS with daemons. Pass VALGRIND_CFLAGS internally Set shell failure mode on couple places.
* makefiles: RT_LIBZdenek Kabelac2017-08-011-1/+1
| | | | | Link -lrt directly only with libdevmapper. All other users get dependency transiently.
* doc: change fsf addressZdenek Kabelac2016-01-211-1/+1
| | | | | Hmm rpmlint suggest fsf is using a different address these days, so lets keep it up-to-date
* libdm: Move status fns from deptree to targets.Alasdair G Kergon2015-09-281-4/+5
| | | | libdm-deptree is only for functions working with dm tree nodes.
* configure: check for -lm and log10 functionBryn M. Reeves2015-08-181-1/+1
| | | | | | We already use -lm functions in a couple of places (these are satisfied by gcc built-ins for most builds): add a configure.in check and explicitly link to -lm.
* dmstats: add libdm-stats library and 'dmsetup stats' commandBryn M. Reeves2015-08-091-0/+1
| | | | | | | | | | | | | | | | | | | | Add the libdm-stats module to libdm: this implements a simple interface for creating, managing and interrogating I/O statistics regions and areas on device-mapper devices. The library interface is documented in libdevmapper.h and provides a 'dm_stats' handle that is used to perform statistics operations and obtain data. Public methods are provided to create and destroy handles and to list, create, and destroy statistics regions as well as to obtain and parse counter data and calculate rate-based metrics. This commit also adds a 'dmsetup stats' (aka 'dmstats') command with 'clear', 'create', 'delete', 'list', 'print', and 'report' sub-commands. See the library documentation and the dmstats.8 manual page for detailed API and command descriptions.
* libdm: Add dm_timestamp functions.Alasdair G Kergon2015-07-291-0/+1
|
* makefiles: better cleanZdenek Kabelac2015-05-181-1/+1
| | | | | | | | | More exact clean of library exported symbols files. Also use $(firstword) test to check for empty string so 'make clean' has now cleaner condensed look. Clean also created include links.
* configure: move DEFS to configure.hZdenek Kabelac2015-05-181-3/+0
|
* makefiles: assign vars before includeZdenek Kabelac2015-05-141-3/+4
| | | | | Before we include, set INCLUDE and TARGETS. Extend CFLAGS after include.
* configure: Look for valgrind.h independently of VALGRIND_POOLS.Petr Rockai2015-02-051-4/+1
|
* libdm: Add missing UDEV_CFLAGS.Petr Rockai2014-04-011-0/+1
|
* libdm: Link to libpthread unconditionally.Petr Rockai2013-10-101-1/+1
|
* configure: Use pkg-config to look for valgrind/memcheck.h.Petr Rockai2012-10-091-0/+3
|
* Move the core of the lib/config/config.c functionality into libdevmapper,Petr Rockai2011-08-301-0/+1
| | | | | | | leaving behind the LVM-specific parts of the code (convenience wrappers that handle `struct device` and `struct cmd_context`, basically). A number of functions have been renamed (in addition to getting a dm_ prefix) -- namely, all of the config interface now has a dm_config_ prefix.
* Clean generated files .exported_symbols_generated, example.conf for distclean.Zdenek Kabelac2010-08-031-1/+1
|
* Generate liblvm2app and libdevmapper exported symbols from header files.Alasdair Kergon2010-06-251-0/+3
| | | | | Detection is simply by prefix - dm_ or lvm_ - and any additional symbols needed but not detected this way are placed in .exported_symbols.
* Add pkgconfigdir for placement of .pc filesZdenek Kabelac2010-05-111-1/+1
| | | | Use easily overideable make install pkgconfigdir variable.
* INSTALL rules updatesZdenek Kabelac2010-04-091-36/+15
| | | | | | | | | | | | | | | | | | | | | | | | | 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-1/+0
| | | | | | | | | | | | | | | 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
* Fixing another set of distclean problems where we left some generated filesZdenek Kabelac2010-03-291-2/+2
| | | | | | | | in clvmd, dmevend, man, tests. Don't include dependency files for clow and cscope.out targets Improve dependency tracking for dmeventd and liblvm2cmd sources.
* Update cflow file generation - support build dir and use $(top_srcdir)Zdenek Kabelac2010-03-291-0/+3
| | | | | | | to obtain sources. Create make.tmpl target for simplier generation of cflow files with the help of CFLOW_LIST, CFLOW_LIST_TARGET, CFLOW_TARGET. Still cflow usage is not perfect.
* Use UDEV_LIBS, and link -ludev only when needed.Zdenek Kabelac2010-03-041-1/+1
|
* This patch add SELINUX_LIBS and STATIC_LIBS variables.Zdenek Kabelac2010-03-041-0/+2
| | | | | | | | | | | For static builds dependency for SELinux libs is not handled by 'ar'. Till better solution is found, for static builds STATIC_LIBS is used. Patch updates SELinux detection to use 3rd & 4th parameter for Success/Fail. Also removes detection of pthread from this check as we know which version of libdevmapper we are going to link with lvm after merge. SELinux header check moved to the SELinux test code.
* This patch moves inclusion of the make.tmpl before DEFS modification,Zdenek Kabelac2010-03-041-2/+2
| | | | | so it goes in the same order on the compilation line. (i.e. HAVE_CONFIG_H goes first)
* Use $(top_builddir) for inclusion of make.tmpl in Makefiles.Zdenek Kabelac2010-03-041-1/+1
|
* Allow for a build directory separate from the source.Alasdair Kergon2009-10-021-2/+3
|
* Do not create some dm and lvm static librarie when they are not requestedZdenek Kabelac2009-04-081-0/+2
| | | | | by configure option Add dependency for static dmeventd library
* Fix some clean rules, fix previous distclean checkin.Dave Wysochanski2009-03-161-0/+2
| | | | | | | | | | | | | In libdm/Makefile.in, we need to cleanup the symlink properly. Adding to CLEAN_TARGETS seemed like the simplest way to do this in the current build framework. We could redo dependencies for VERSIONED_SHLIB, but for now just add to CLEAN_TARGETS. For scripts/Makefile.in, we should be adding to DISTCLEAN_TARGETS. The generic rule in make.tmpl.in takes care of the cleanup. Signed-off-by: Dave Wysochanski <dwysocha@redhat.com> Author: Takahiro Yasui <tyasui@redhat.com>
* some makefile fixes for liblvm2cmd & remove some hardcoded .soAlasdair Kergon2008-11-141-2/+2
|
* make install_device-mapperAlasdair Kergon2008-11-041-0/+2
|
* Right, a simple build (without options) is working again.Alasdair Kergon2008-11-031-7/+9
|
* more tweaking to get things to compile - dmlib.h for log fns, list.hAlasdair Kergon2008-11-031-0/+1
|
* further progressAlasdair Kergon2008-11-011-1/+3
|
* rename some config varsAlasdair Kergon2008-06-061-2/+2
|
* Arrange for "make clean" to remove the symlink, too.Jim Meyering2007-10-031-3/+6
| | | | | | | | | * make.tmpl.in ($(VERSIONED_SHLIB)): Move rule to... * lib/Makefile.in ($(VERSIONED_SHLIB)): ...here, removing the $(interface)/ prefix. Reported by Milan Broz. Author: Jim Meyering <meyering@redhat.com>
* Create a symlink, e.g., libdevmapper.so.1.02, in the build dir,Jim Meyering2007-09-181-0/+1
| | | | | | | | | | | alongside the .so file. This helps build dynamically linked LVM. * lib/Makefile.in (VERSIONED_SHLIB): Define. * make.tmpl.in (TARGETS): Append $(VERSIONED_SHLIB). ($(VERSIONED_SHLIB)): New rule. Author: Jim Meyering <jim@meyering.net>
* Remove obsolete dmfs code from tree and update INSTALL.Alasdair Kergon2007-08-211-5/+1
|
* Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1.Alasdair Kergon2007-08-211-1/+1
|