summaryrefslogtreecommitdiff
path: root/libdm/make.tmpl.in
Commit message (Collapse)AuthorAgeFilesLines
* configure.ac: use pkg-config to detect static libsRobin H. Johnson2023-02-231-1/+4
| | | | | | | | | | | Add some Gentoo based patches for better support of static linking. This are not tested nor supported by upstream developers. Usage requires presence of several libraries in their static form which is however not commonly available. Selinux modified by zkabelac to still work on older sofrware which did not provided libselinux.pc at a time - see keep the old check present and use pkg-config only when possible.
* configure.ac: add STATIC_LDFLAGSDavid Seifert2023-02-231-0/+1
| | | | Add support for specif STATIC_LDFLAGS when linking static binaries.
* configure.ac: use LIBSYSTEMDZdenek Kabelac2023-02-171-1/+1
| | | | | | | Convert naming SYSTEMD_CFLAGS/LIB -> LIBSYSTEMD_CFLAGS/LIBS to better fit library check for libsystemd. Build lvmlockd with SD_NOTIFY when we have defined LIBSYSTEMD_LIBS.
* makefiles: allow using configure cppflagsZdenek Kabelac2023-02-131-2/+3
| | | | | | | Configure defines 'CPPFLAGS' and we should use defined value for compilation. Reported-by: debian
* doc: fix typos in documentationSamanta Navarro2023-01-031-1/+1
| | | | Typos found with codespell.
* configure: allow for overriding of `readelf`David Seifert2022-11-251-0/+1
| | | | | | | This allows users to use e.g. `llvm-readelf` on systems with binutils as default. Bug: https://bugs.gentoo.org/840628
* make: update make.tmplZdenek Kabelac2022-09-071-5/+19
| | | | | | Add new define 'newline' for use in 'foreach()' Add new $(SHOW) for makefile printing output Add 'make print-VAR' for easier debugging of Makefiles' variables.
* makefiles: deps also for cxxZdenek Kabelac2021-04-121-1/+1
| | | | | Generate deps also for .cxx. Remove include dir deps - there is nothing to build.
* makefiles: static linking enhancementsZdenek Kabelac2021-04-121-4/+2
|
* makefiles: remove unneeded var changesZdenek Kabelac2021-04-061-3/+0
|
* makefiles: slight change in .export.symZdenek Kabelac2021-04-061-6/+7
| | | | | | | Avoid emitting Local symbol and sort symbols from start and add dependency on previous version Should not change anything, just better followup linkage guidlines.
* make: cflow target works againZdenek Kabelac2021-03-201-10/+8
| | | | | Restored 'make cflow' functinality. Produces some quick referece of function chaining and usage.
* make: simplify dependency loadingZdenek Kabelac2021-03-191-6/+2
| | | | No need for extra ifdefs around.
* make: restore buildir != srcdir supportZdenek Kabelac2021-03-191-1/+4
| | | | | | Our new faster deps generation missed support for buildirs != srcdir - as it can be usable to have several builds from unchanged directory with sources.
* makefiles: retry faster deps againZdenek Kabelac2021-03-021-15/+8
| | | | | | | | | From commit 29abba378520a270c3a9385724c8ef5df66497b1 we have hopefully fixed most of troubles for deps tracking we had in past - so retry again. Drop explicit configure.h from DEPS - as it's automatically gathered by gcc dependency tracking anyway.
* makefiles: better loggingZdenek Kabelac2021-03-021-6/+6
| | | | | Show only filename instead of full path name when building in builddir != srcdir
* makefiles: fix pofile generationZdenek Kabelac2021-03-021-1/+1
| | | | | If there is any user of --enable-nls and wants to get usable .po language file - use 'make pofile'
* makefiles: add alias for device-mapperZdenek Kabelac2021-03-021-0/+1
| | | | Support also 'make device_mapper' so user is less confused.
* lvm: add readline alternative editlineBastian Germann2020-09-291-0/+1
| | | | | | | | | | | | | LVM2 is distributed under GPLv2 only. The readline library changed its license long ago to GPLv3. Given that those licenses are incompatible and you follow the FSF in their interpretation that dynamically linking creates a derivative work, distributing LVM2 linked against a current readline version might be legally problematic. Add support for the BSD licensed editline library as an alternative for readline. Link: https://thrysoee.dk/editline
* make: support comments in exported symbolsZdenek Kabelac2019-08-091-3/+3
| | | | | Now the lines starting with '#' in exported symbols files are treated as comments (ignored).
* configure: avoid repeative inclusion of configure.hZdenek Kabelac2018-12-211-2/+2
| | | | | | | | | | Since configure.h is a generated header and it's missing traditional ifdefs preambule - it can be included & parsed multiple times. Normally compiler is fine when defines have same value and there is no warning - yet we don't need to parse this several times and by adding -include directive we can ensure every file in the package is rightly compile with configure.h as the first header file.
* makefiles: no longer used defineZdenek Kabelac2018-12-171-2/+0
| | | | Not used anymore -D_BUILDING_LVM
* makefiles: some leftovers from lvmetadZdenek Kabelac2018-12-141-1/+1
|
* makefiles: correct libdm dependencyZdenek Kabelac2018-12-141-3/+3
| | | | Correcting dependency tracking for libdm internal files.
* makefiles: updates for less verbosityZdenek Kabelac2018-11-291-4/+6
|
* build: drop some lvm references from libdm makingZdenek Kabelac2018-06-141-51/+4
| | | | Some simplification, more may follow...
* build: libbase.aJoe Thornber2018-06-041-2/+2
|
* build: get separate builddir working againJoe Thornber2018-06-041-9/+20
|
* device-mapper: Fork libdm internally.Joe Thornber2018-05-161-0/+578
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.