aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/makefile/gmake_dso.in
blob: 13f7b0a3bdd9f200c81e7a21c78e26062c77700d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
SONAME_PATCH    = %{soname_patch}
SONAME_ABI      = %{soname_abi}
SONAME_BASE     = %{soname_base}

DARWIN_COMPATIBILITY_VER = %{version_packed}.%{so_abi_rev}.0
DARWIN_CURRENT_VER       = %{version_packed}.%{so_abi_rev}.%{version_patch}

SHARED_LIB      = %{out_dir}/$(SONAME_PATCH)

$(SHARED_LIB): $(LIBOBJS)
	$(LIB_LINK_CMD) $(LDFLAGS) $(LIBOBJS) $(LIB_LINKS_TO) -o $(SHARED_LIB)
	$(LN) $(SONAME_PATCH) %{out_dir}/$(SONAME_ABI)
	$(LN) $(SONAME_PATCH) %{out_dir}/$(SONAME_BASE)

LIBRARIES += $(SHARED_LIB)