aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/makefile/shared.in
blob: f4116cce4b2a207415c29a8496cf48846e1cfcbc (plain)
1
2
3
4
5
6
7
8
9
10
SONAME        = $(LIBNAME)-$(BRANCH).%{so_suffix}.%{so_abi_rev}
SHARED_LIB    = $(SONAME).%{version_patch}
SYMLINK       = $(LIBNAME)-$(BRANCH).%{so_suffix}

$(SHARED_LIB): $(LIBOBJS)
	%{so_link} $(LDFLAGS) $(LIBOBJS) $(LIB_LINKS_TO) -o $(SHARED_LIB)
	$(LN) $(SHARED_LIB) $(SONAME)
	$(LN) $(SHARED_LIB) $(SYMLINK)

LIBRARIES += $(SHARED_LIB)