diff options
author | Cyrill Gorcunov <gorcunov@openvz.org> | 2016-09-26 22:36:34 +0300 |
---|---|---|
committer | Andrei Vagin <avagin@virtuozzo.com> | 2017-03-14 23:58:11 +0300 |
commit | a2e5b769e5a6263974a4e0150e1019f899635d97 (patch) | |
tree | 18b96025f3efbc7202b137e0a79736efeadc01d5 /Makefile.compel | |
parent | 34c8ef4a14488fe6c8f29971c408605c11e17251 (diff) |
compel: Define separate targtes for plugins
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
Diffstat (limited to 'Makefile.compel')
-rw-r--r-- | Makefile.compel | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile.compel b/Makefile.compel index b18cd8edc..e3edd558d 100644 --- a/Makefile.compel +++ b/Makefile.compel @@ -21,6 +21,19 @@ compel/%: $(COMPEL_VERSION_HEADER) $(CONFIG_HEADER) .FORCE compel/plugins/%: $(COMPEL_VERSION_HEADER) $(CONFIG_HEADER) .FORCE $(Q) $(MAKE) $(build)=compel/plugins $@ +# +# GNU make 4.x supports targets matching via wide +# match targeting, where GNU make 3.x series (used on +# Travis) is not, so we have to write them here explicitly. +compel/plugins/std.built-in.o: $(COMPEL_VERSION_HEADER) .FORCE + $(Q) $(MAKE) $(build)=compel/plugins $@ + +compel/plugins/shmem.built-in.o: $(COMPEL_VERSION_HEADER) .FORCE + $(Q) $(MAKE) $(build)=compel/plugins $@ + +compel/plugins/fds.built-in.o: $(COMPEL_VERSION_HEADER) .FORCE + $(Q) $(MAKE) $(build)=compel/plugins $@ + compel/compel: compel/built-in.o compel/lib.a $(COMPEL_VERSION_HEADER) $(call msg-link, $@) $(Q) $(CC) $(CFLAGS) $^ $(WRAPFLAGS) $(LDFLAGS) -rdynamic -o $@ |