diff options
author | Joe Thornber <ejt@redhat.com> | 2018-06-04 13:53:07 +0100 |
---|---|---|
committer | Joe Thornber <ejt@redhat.com> | 2018-06-04 13:53:07 +0100 |
commit | 232918fb86e1ee254ae5e4c9aece4615d828c9bb (patch) | |
tree | 90100a4e18fbaf53b5e73c112cdf393bdd42b39b /make.tmpl.in | |
parent | 29abba378520a270c3a9385724c8ef5df66497b1 (diff) | |
download | lvm2-232918fb86e1ee254ae5e4c9aece4615d828c9bb.tar.gz |
build: libbase.a
Diffstat (limited to 'make.tmpl.in')
-rw-r--r-- | make.tmpl.in | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/make.tmpl.in b/make.tmpl.in index b9672dc4a..0790d7bcb 100644 --- a/make.tmpl.in +++ b/make.tmpl.in @@ -342,7 +342,11 @@ SUBDIRS.distclean := $(SUBDIRS:=.distclean) TARGETS += $(LIB_SHARED) $(LIB_STATIC) -all: $(top_builddir)/device_mapper/libdevice-mapper.a $(SUBDIRS) $(TARGETS) +INTERNAL_LIBS=\ + $(top_builddir)/device_mapper/libdevice-mapper.a \ + $(top_builddir)/base/libbase.a + +all: $(INTERNAL_LIBS) $(SUBDIRS) $(TARGETS) install: all $(SUBDIRS.install) install_cluster: all $(SUBDIRS.install_cluster) @@ -351,7 +355,7 @@ install_lvm2: $(SUBDIRS.install_lvm2) install_ocf: $(SUBDIRS.install_ocf) cflow: $(SUBDIRS.cflow) -$(SUBDIRS): $(SUBDIRS.device-mapper) $(top_builddir)/device_mapper/libdevice-mapper.a +$(SUBDIRS): $(SUBDIRS.device-mapper) $(INTERNAL_LIBS) $(MAKE) -C $@ $(SUBDIRS.device-mapper): |