diff options
Diffstat (limited to 'src/build-data/makefile/gmake_dso.in')
-rw-r--r-- | src/build-data/makefile/gmake_dso.in | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/build-data/makefile/gmake_dso.in b/src/build-data/makefile/gmake_dso.in new file mode 100644 index 000000000..0e7974791 --- /dev/null +++ b/src/build-data/makefile/gmake_dso.in @@ -0,0 +1,12 @@ +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) |