From ebf33323b93870f811c5a701826cfab1f4d41489 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Sat, 10 Apr 2021 01:21:33 +0200 Subject: [PATCH] makefiles: deps also for cxx Generate deps also for .cxx. Remove include dir deps - there is nothing to build. --- Makefile.in | 5 ----- libdm/make.tmpl.in | 2 +- make.tmpl.in | 2 +- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/Makefile.in b/Makefile.in index 5dd642f63..4dceaba1d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -47,8 +47,6 @@ include $(top_srcdir)/base/Makefile include $(top_srcdir)/device_mapper/Makefile include $(top_srcdir)/test/unit/Makefile -libdm: include -libdaemon: include lib: libdaemon $(BASE_TARGET) $(DEVICE_MAPPER_TARGET) daemons: lib libdaemon tools scripts: lib @@ -59,11 +57,8 @@ all_man: tools test: tools daemons unit-test run-unit-test: test -lib.device-mapper: include.device-mapper -libdm.device-mapper: include.device-mapper daemons.device-mapper: libdm.device-mapper tools.device-mapper: libdm.device-mapper -scripts.device-mapper: include.device-mapper device-mapper: tools.device-mapper daemons.device-mapper man.device-mapper device_mapper: device-mapper diff --git a/libdm/make.tmpl.in b/libdm/make.tmpl.in index f7a5a7a73..a306101d5 100644 --- a/libdm/make.tmpl.in +++ b/libdm/make.tmpl.in @@ -403,7 +403,7 @@ DEFS+=-D_FILE_OFFSET_BITS=64 %.o: %.cpp $(DEPS) @echo " [CXX] $(