summaryrefslogtreecommitdiff
path: root/make.tmpl.in
Commit message (Collapse)AuthorAgeFilesLines
* configure: updateZdenek Kabelac2023-02-231-0/+1
|
* 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.
* makefiles: add pthread to libdevmapper pkgconfigDavid Seifert2023-02-231-1/+1
| | | | Add pthread to pkg_config file.
* configure.ac: use standardized LIBS and CFLAGSZdenek Kabelac2023-02-171-0/+8
| | | | | | | | Convert lvmlockd to use configure _LIBS and _CFLAGS for discovered libraries. TODO: ATM we ignore discovered libdlm and use libdlm_lt instead. Also libseagate_ilm is hard to find unicorn for testing.
* configure.ac: use LIBSYSTEMDZdenek Kabelac2023-02-171-3/+3
| | | | | | | 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
* makefiles: comment out hiding dir enteringZdenek Kabelac2023-01-161-3/+4
| | | | | | While the output of building looks more polished, text editors fail to find source file from compile errors - so until we start to print all file with full paths - comment out this make build parameter.
* doc: fix typos in documentationSamanta Navarro2023-01-031-1/+1
| | | | Typos found with codespell.
* makefiles: use single libs definitionZdenek Kabelac2022-09-211-3/+1
|
* make: update make.tmplZdenek Kabelac2022-09-071-8/+31
| | | | | | 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.
* python: variable without destdirZdenek Kabelac2022-09-071-1/+1
| | | | PYTHON_PREFIX without $(DESTDIR)
* configure: updatesZdenek Kabelac2021-10-141-6/+13
|
* makefiles: use proper install prefix for python dbusZdenek Kabelac2021-10-141-1/+1
| | | | | For non-standard prefix dir use correct installation path (so the python files are not installed into user's system).
* makefiles: add devmapper for devmapper-eventZdenek Kabelac2021-04-121-1/+1
| | | | | Older linkers do not take this dependency automatically from libdevmapper-event so need to be passed with linker command.
* makefiles: deps also for cxxZdenek Kabelac2021-04-121-1/+1
| | | | | Generate deps also for .cxx. Remove include dir deps - there is nothing to build.
* configure: make aio optionalZdenek Kabelac2021-04-121-0/+2
| | | | | | Add support for external AIO_CFLAGS and AIO_LIBS so user can point to his own build - this might be useful when user wants to use own libaio library.
* makefiles: static linking enhancementsZdenek Kabelac2021-04-121-2/+4
|
* 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: add few more predef symbols for cflowZdenek Kabelac2021-03-221-1/+4
|
* make: cflow target works againZdenek Kabelac2021-03-201-8/+6
| | | | | Restored 'make cflow' functinality. Produces some quick referece of function chaining and usage.
* make: simplify dependency loadingZdenek Kabelac2021-03-191-7/+1
| | | | 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: drop invalid dependency on allZdenek Kabelac2021-03-021-2/+2
|
* 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: correcting login of makefileZdenek Kabelac2018-12-171-16/+10
| | | | | | Fixing some ordering issue with inclusion of common make.tmpl. Correcting dependency calculation Simplifying inclusive makefile
* makefiles: allow to set LIBS in MakefilesZdenek Kabelac2018-12-171-2/+1
| | | | | | Avoid doing hard set of LIBS var, so if the LIBS is set before 'include make.tmpl' it's not lost. This gives better control over order of linked libraries.
* makefiles: no longer used defineZdenek Kabelac2018-12-171-2/+0
| | | | Not used anymore -D_BUILDING_LVM
* lvm: drop usage of dl libraryZdenek Kabelac2018-12-171-1/+1
| | | | | | Since lvm no longer supports any dlopen-able plugins (which in practice was never really usable) drop linking with -ldl.
* makefiles: some leftovers from lvmetadZdenek Kabelac2018-12-141-3/+1
|
* makefiles: local headers firstZdenek Kabelac2018-12-141-1/+1
|
* makefiles: updates for less verbosityZdenek Kabelac2018-11-291-5/+7
|
* build: add vdo configuration option --with-vdo=Zdenek Kabelac2018-07-091-0/+1
| | | | | | | | | | | | | Checks whether VDO support is enabled. Detects presence of 'vdoformat' tool which is required for to format VDO pool. ATM build of VDO is NOT automatically enabled (None is default). To enable build of LVM with VDO support use: configure --with-vdo=internal TODO: Maybe future version may switch to link some small VDO library for formating (would require linking and package dependency).
* build: avoid rebuild deps for top-level makefilesZdenek Kabelac2018-07-021-1/+2
|
* build: support --disable-silent-rulesZdenek Kabelac2018-06-221-0/+4
| | | | | Add support for standardized option for have verbose builds. Useful for distro builds where more details can be useful.
* build: drop libdm referring from lvm codeZdenek Kabelac2018-06-141-9/+2
| | | | Avoid adding /libdm paths into lvm building.
* build: libbase.aJoe Thornber2018-06-041-2/+6
|
* build: get separate builddir working againJoe Thornber2018-06-041-6/+13
|
* build: get clvmd building againJoe Thornber2018-06-011-1/+1
|
* build: Link with -lrtJoe Thornber2018-06-011-1/+1
| | | | Needed for older version of glibc
* build: make sure selinux, udev and blkid libraries are linked.Joe Thornber2018-06-011-0/+1
| | | | | | Fixes breakage from the recent libdm split. Though these didn't ever appear to be linked (could they have piggy backed from libdevmapper.so being linked to them?).
* Merge branch 'master' into 2018-05-11-fork-libdmJoe Thornber2018-06-011-0/+1
|\
| * bcache: switch to storing blocks in a radix tree.Joe Thornber2018-05-301-1/+1
| | | | | | | | | | | | Rather than a hash table. This will make invalidate_fd() more efficient since we can iterate just those blocks that are on a particular dev.
* | device-mapper: Fork libdm internally.Joe Thornber2018-05-161-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | build: Don't generate symlinks in include/ dirJoe Thornber2018-05-141-5/+3
| | | | | | | | | | | | | | As we start refactoring the code to break dependencies (see doc/refactoring.txt), I want us to use full paths in the includes (eg, #include "base/data-struct/list.h"). This makes it more obvious when we're breaking abstraction boundaries, eg, including a file in metadata/ from base/