Lines Matching refs:plugin
27 GCC_PLUGINS_DIR = $(shell $(CC) -print-file-name=plugin)
39 plugin-single := $(foreach m, $(GCC_PLUGIN), $(if $($(m:%.so=%-objs)),,$(m)))
40 plugin-multi := $(filter-out $(plugin-single), $(GCC_PLUGIN))
41 plugin-objs := $(sort $(foreach m, $(plugin-multi), $($(m:%.so=%-objs))))
43 targets += $(plugin-single) $(plugin-multi) $(plugin-objs)
46 plugin-single := $(addprefix $(obj)/, $(plugin-single))
47 plugin-multi := $(addprefix $(obj)/, $(plugin-multi))
48 plugin-objs := $(addprefix $(obj)/, $(plugin-objs))
53 $(plugin-single): $(obj)/%.so: $(src)/%.c FORCE
60 $(plugin-multi): FORCE
62 $(foreach m, $(notdir $(plugin-multi)), $(eval $(obj)/$m: $(addprefix $(obj)/, $($(m:%.so=%-objs)))…
67 $(plugin-objs): $(obj)/%.o: $(src)/%.c FORCE