summaryrefslogtreecommitdiffstats
path: root/liblvm/Makefile.in
Commit message (Collapse)AuthorAgeFilesLines
* Add missing deps for lvm2apiZdenek Kabelac2012-02-081-1/+3
| | | | Hmm, wasted some time because of this missing deps....
* 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-4/+3
| | | | | Detection is simply by prefix - dm_ or lvm_ - and any additional symbols needed but not detected this way are placed in .exported_symbols.
* Update liblvm2app exported symbols.Alasdair Kergon2010-06-251-0/+4
| | | | Add Makefile target to generate current list of lvm2app.h functions.
* 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-33/+11
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* Introduce LVMINTERNAL_LIBSZdenek Kabelac2010-03-041-1/+1
| | | | Keep dependency libraries for liblvm-internal in one place.
* Use $(top_builddir) for inclusion of make.tmpl in Makefiles.Zdenek Kabelac2010-03-041-1/+1
|
* Add tag_list_copy() supporting function inside lvm2app.Dave Wysochanski2010-02-241-0/+1
| | | | | | | | | Add a supporting function to copy a list of internal tags to lvm2app list. We need to put this here because of the lvm_str_list_t type which we export in lvm2app.h. If we didn't export this type, we could put this in the internal library and use struct str_list. Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
* Allow for a build directory separate from the source.Alasdair Kergon2009-10-021-2/+3
|
* Fix build failure when enabling dmeventd and applib.Dave Wysochanski2009-09-141-0/+4
| | | | | This patch fixes a build with options similar to the following: ./configure --enable-debug --enable-applib --enable-dmeventd --enable-cmdlib
* Do not override the distclean target in liblvm's Makefile, it annoys make andPetr Rockai2009-09-031-1/+0
| | | | the make.tmpl-included distclean should work better anyway.
* Remove unwanted Makefiles and don't purge lvm2.po that'sFabio M. Di Nitto2009-09-011-0/+1
| | | | under RCS.
* Fix lvm2app.pc installation filename.Alasdair Kergon2009-07-291-1/+1
|
* Remove pv_t, vg_t & lv_t handles from lib. Only liblvm uses them.Alasdair Kergon2009-07-291-1/+1
| | | | Rename lvm.h to lvm2app.h for now.
* Add lvm_{pv|vg|lv}_get_{uuid|name}.Dave Wysochanski2009-07-231-0/+2
| | | | | | | | | | | | | Caller must free the memory of the uuid / name returned. This may not be the best memory management policy since it may lead to memory leaks if the caller has code like this: if (!lvm_vg_get_name(vg)) Maybe we don't care - if we do we can use pools tied to handles later or some other scheme. Signed-off-by: Dave Wysochanski <dwysocha@redhat.com> Acked-by: Thomas Woerner <twoerner@redhat.com>
* Add liblvm2app Makefile installation targets.Alasdair Kergon2009-07-221-3/+48
| | | | Add liblvm pkgconfig file.
* fix dir in generated file list for cflowAlasdair Kergon2009-07-221-1/+1
|
* Use newly-independent LVM_LIBAPI in liblvm soname. E.g. liblvm2app.so.2.1.Alasdair Kergon2009-07-221-2/+2
|
* Add lvm_vg_* APIs to create and modify VGs.Dave Wysochanski2009-07-141-1/+2
| | | | | | | | | | | | | | | | | | | | | | | Add some liblvm APIs for VGs. Most of these APIs simply call into the internal liblvm library. Ideally we should call the liblvm functions directly from the tools. However, until we convert more of the code to liblvm functions, things like the cmd_context will get in the way. For now just implement the liblvm functions as wrappers around the internal functions, with a little error checking and return code handling. We put all these vg APIs into a new file, lvm_vg.c The following APIs are implemented: lvm_vg_create, lvm_vg_extend, lvm_vg_set_extent_size, lvm_vg_write, lvm_vg_remove, lvm_vg_close. Still TODO: - cleanup error handling by using lvm_errno() and related APIs - cleanup naming / clarify which functions commit to disk vs not - implement more 'set' functions - decide on 'set' / 'change' nomenclature Signed-off-by: Dave Wysochanski <dwysocha@redhat.com> Acked-by: Alasdair G Kergon <agk@redhat.com>
* Rename liblvm.so to liblvm2app.so and use configure --enable-applib.Alasdair Kergon2009-05-221-1/+1
|
* 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 liblvm version symlink.Dave Wysochanski2009-03-081-3/+2
|
* Remove unnecessary linker flags for liblvm.Dave Wysochanski2009-03-081-1/+0
|
* Add DSO generation for new LVM application library.Dave Wysochanski2009-03-081-2/+13
| | | | Fix test/api/test build.
* Add new liblvm build directory and move lvm_base.c.Dave Wysochanski2009-03-061-0/+36
The original liblvm.a has been moved to liblvm-internal.a. We now use liblvm.a for the new application library and build it inside liblvm directory. Change dependencies so tools depend on liblvm application library, and application library depends on liblvm internal.