SHARED_LIB_NAME = $(LIB_BASENAME).%{so_suffix}.%{so_abi_rev}.%{version_patch} SONAME = $(LIB_BASENAME).%{so_suffix}.%{so_abi_rev} SYMLINK = $(LIB_BASENAME).%{so_suffix} SHARED_LIB = %{out_dir}/$(SHARED_LIB_NAME) $(SHARED_LIB): $(LIBOBJS) $(LIB_LINK_CMD) $(LDFLAGS) $(LIBOBJS) $(LIB_LINKS_TO) -o $(SHARED_LIB) $(LN) $(SHARED_LIB_NAME) %{out_dir}/$(SONAME) $(LN) $(SHARED_LIB_NAME) %{out_dir}/$(SYMLINK) LIBRARIES += $(SHARED_LIB)