mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
fail if included Makefiles are missing
This commit is contained in:
parent
18a6e035a0
commit
2aaa6520d0
10 changed files with 17 additions and 17 deletions
6
Makefile
6
Makefile
|
@ -165,6 +165,6 @@ clean: $(addprefix clean-, $(filter-out thirdparty doc clients,$(MODULES)))
|
|||
|
||||
.PHONY: all everything clean install
|
||||
|
||||
-include $(wildcard $(SRCDIR)/Makefile.*)
|
||||
-include $(wildcard $(BUILDDIR)/**/*.d)
|
||||
-include $(patsubst %,$(SRCDIR)/%/Makefile.inc,$(MODULES))
|
||||
include $(wildcard $(SRCDIR)/Makefile.*)
|
||||
include $(wildcard $(BUILDDIR)/**/*.d)
|
||||
include $(patsubst %,$(SRCDIR)/%/Makefile.inc,$(MODULES))
|
||||
|
|
|
@ -22,10 +22,10 @@
|
|||
|
||||
CLIENTS =
|
||||
|
||||
-include $(SRCDIR)/clients/python/Makefile.inc
|
||||
include $(SRCDIR)/clients/python/Makefile.inc
|
||||
|
||||
ifneq ($(wildcard $(SRCDIR)/thirdparty/libopal/include/opal/AsyncApi.h),)
|
||||
-include $(SRCDIR)/clients/opal/Makefile.inc
|
||||
include $(SRCDIR)/clients/opal/Makefile.inc
|
||||
endif
|
||||
|
||||
clients: $(addprefix clients-,$(CLIENTS))
|
||||
|
|
|
@ -26,11 +26,11 @@ LIBS = $(patsubst %, lib%, $(SONAMES))
|
|||
|
||||
LIB_CFLAGS = $(CFLAGS) -fPIC
|
||||
|
||||
-include lib/hooks/Makefile.inc
|
||||
-include lib/nodes/Makefile.inc
|
||||
-include lib/io/Makefile.inc
|
||||
include lib/hooks/Makefile.inc
|
||||
include lib/nodes/Makefile.inc
|
||||
include lib/io/Makefile.inc
|
||||
|
||||
-include $(patsubst %, lib/Makefile.%.inc, $(SONAMES))
|
||||
include $(patsubst %, lib/Makefile.%.inc, $(SONAMES))
|
||||
|
||||
LIB_CFLAGS += $(addprefix -DWITH_, $(call escape,$(LIB_PKGS)))
|
||||
|
||||
|
|
|
@ -52,7 +52,7 @@ ifeq ($(WITH_WEB),1)
|
|||
endif
|
||||
|
||||
ifeq ($(WITH_API),1)
|
||||
-include lib/api/Makefile.inc
|
||||
include lib/api/Makefile.inc
|
||||
endif
|
||||
|
||||
# Add flags by pkg-config
|
||||
|
|
|
@ -25,4 +25,4 @@ LIB_SRCS += $(wildcard lib/api/*.c)
|
|||
|
||||
LIB_CFLAGS += -DWITH_API
|
||||
|
||||
-include lib/api/actions/Makefile.inc
|
||||
include lib/api/actions/Makefile.inc
|
||||
|
|
|
@ -22,4 +22,4 @@
|
|||
|
||||
LIB_SRCS += $(wildcard lib/fpga/*.c)
|
||||
|
||||
-include lib/fpga/ips/Makefile.inc
|
||||
include lib/fpga/ips/Makefile.inc
|
||||
|
|
|
@ -92,7 +92,7 @@ ifeq ($(shell $(PKGCONFIG) libxil; echo $$?),0)
|
|||
LIB_SRCS += $(addprefix lib/nodes/, fpga.c) \
|
||||
$(addprefix lib/kernel/, pci.c vfio.c) \
|
||||
|
||||
-include lib/fpga/Makefile.inc
|
||||
include lib/fpga/Makefile.inc
|
||||
|
||||
LIB_PKGS += libxil
|
||||
LIB_CFLAGS += -DWITH_FPGA
|
||||
|
|
|
@ -72,4 +72,4 @@ install-packaging:
|
|||
|
||||
.PHONY: packaging install-packaging clean-packaging deploy deploy-dist deploy-rpm dist docker docker-dev run-docker-dev $(TAR_VILLAS)
|
||||
|
||||
-include packaging/rpm/Makefile.inc
|
||||
include packaging/rpm/Makefile.inc
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
###################################################################################
|
||||
|
||||
-include tests/unit/Makefile.inc
|
||||
-include tests/integration/Makefile.inc
|
||||
include tests/unit/Makefile.inc
|
||||
include tests/integration/Makefile.inc
|
||||
|
||||
tests: unit-tests integration-tests
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ $(BUILDDIR)/unit-tests: $(TEST_OBJS) $(LIB)
|
|||
$(CC) $(TEST_LDFLAGS) $^ $(TEST_LDLIBS) -o $@
|
||||
|
||||
ifdef COVERAGE
|
||||
-include tests/unit/Makefile.gcov.inc
|
||||
include tests/unit/Makefile.gcov.inc
|
||||
endif
|
||||
|
||||
# Tests are not installed
|
||||
|
|
Loading…
Add table
Reference in a new issue