thin-provisioning-tools/contrib/Makefile.in

25 lines
508 B
Makefile
Raw Normal View History

PLUGIN_LIBS= \
contrib/thin_sexp_emitter.a \
contrib/tmakatos_emitter.a \
contrib/ewheeler_emitter.a
PLUGINS=\
contrib/thin_sexp_emitter.so \
contrib/tmakatos_emitter.so \
contrib/ewheeler_emitter.so
contrib: $(PLUGINS) $(PLUGIN_LIBS)
contrib/%.o: contrib/%.cc
$(V)echo " [CC] $@"
2016-09-07 18:46:32 +05:30
$(V)$(CXX) $(INCLUDES) $(CXXFLAGS) $^ -c -o $@
contrib/%.a: contrib/%.o
$(V)echo " [AR] $@"
$(V)$(AR) rcs $@ $^
2021-06-01 11:02:26 +05:30
contrib/%.so: contrib/%.o
$(V)echo " [LD] $@"
$(V)$(CC) -shared -Wl,-soname,$@ -o $@ $<