1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

library versioning: try to keep the versions at 2.1.0 for all platforms

This commit is contained in:
Jon Trulson 2021-12-23 13:06:44 -07:00
parent 54728d6b89
commit 31774af2f2
12 changed files with 71 additions and 1 deletions

View file

@ -40,4 +40,9 @@ libDtHelp_la_SOURCES = Actions.c AsciiSpc.c Callbacks.c \
Layout.c LayoutUtil.c LinkMgr.c \
Selection.c VirtFuncs.c
# in order to try to keep lib versions the same across platforms, (2.1.0)
if BSD
libDtHelp_la_LDFLAGS = -version-info 2:1:0
else
libDtHelp_la_LDFLAGS = -version-info 3:0:1
endif

View file

@ -7,4 +7,10 @@ libDtMrm_la_CFLAGS = -I../DtTerm/Term -I../DtTerm/TermPrim -I../DtHelp \
libDtMrm_la_SOURCES = DtMrm.c
# in order to try to keep lib versions the same across platforms, (2.1.0)
if BSD
libDtMrm_la_LDFLAGS = -version-info 2:1:0
else
libDtMrm_la_LDFLAGS = -version-info 3:0:1
endif

View file

@ -7,5 +7,11 @@ libDtPamSvc_la_SOURCES = PamSvc.c ${top_srcdir}/include/Dt/PamSvc.h
libDtPamSvc_la_LIBADD = -lpam
# in order to try to keep lib versions the same across platforms, (2.1.0)
if BSD
libDtPamSvc_la_LDFLAGS = -version-info 2:1:0
else
libDtPamSvc_la_LDFLAGS = -version-info 3:0:1
endif

View file

@ -3,7 +3,14 @@ MAINTAINERCLEANFILES = Makefile.in
lib_LTLIBRARIES = libDtPrint.la
libDtPrint_la_CFLAGS = -DMULTIBYTE -DI18N_MSG @DT_INCDIR@
# in order to try to keep lib versions the same across platforms, (2.1.0)
if BSD
libDtPrint_la_LDFLAGS = -version-info 2:1:0
else
libDtPrint_la_LDFLAGS = -version-info 3:0:1
endif
if SOLARIS
libDtPrint_la_CFLAGS += -DNO_REGCOMP

View file

@ -12,7 +12,13 @@ libDtSearch_la_CFLAGS = -DI18N_MSG -DMULTIBYTE -I./raima \
$(DT_INCDIR)
# in order to try to keep lib versions the same across platforms, (2.1.0)
if BSD
libDtSearch_la_LDFLAGS = -version-info 2:1:0
else
libDtSearch_la_LDFLAGS = -version-info 3:0:1
endif
libDtSearch_la_LIBADD = raima/libraima.la
if SOLARIS

View file

@ -2,7 +2,13 @@ MAINTAINERCLEANFILES = Makefile.in
lib_LTLIBRARIES = libDtSvc.la
# in order to try to keep lib versions the same across platforms, (2.1.0)
if BSD
libDtSvc_la_LDFLAGS = -version-info 2:1:0
else
libDtSvc_la_LDFLAGS = -version-info 3:0:1
endif
# USe CPPFLAGS so it will apply to both C and C++ components
libDtSvc_la_CPPFLAGS = -I./include -DMULTIBYTE -DNLS16 -I../include \

View file

@ -25,4 +25,10 @@ if HAS_UTEMPTER_LIBRARY
libDtTerm_la_LIBADD += -lutempter
endif
# in order to try to keep lib versions the same across platforms, (2.1.0)
if BSD
libDtTerm_la_LDFLAGS = -version-info 2:1:0
else
libDtTerm_la_LDFLAGS = -version-info 3:0:1
endif

View file

@ -8,7 +8,12 @@ AM_CPPFLAGS = -DCDE_INSTALLATION_TOP=$(CDE_INSTALLATION_TOP) $(DT_INCDIR)
libDtWidget_la_CFLAGS = -DI18N_MSG -DMULTIBYTE
# in order to try to keep lib versions the same across platforms, (2.1.0)
if BSD
libDtWidget_la_LDFLAGS = -version-info 2:1:0
else
libDtWidget_la_LDFLAGS = -version-info 3:0:1
endif
if SOLARIS
libDtWidget_la_CFLAGS += -DNO_REGCOMP

View file

@ -5,5 +5,12 @@ lib_LTLIBRARIES = libDtXinerama.la
libDtXinerama_la_SOURCES = DtXinerama.c
libDtXinerama_la_LIBADD = -lXinerama
libDtXinerama_la_LDFLAGS = -version-info 3:0:1
# in order to try to keep lib versions the same across platforms, (2.1.0)
if BSD
libDtXinerama_la_LDFLAGS = -version-info 2:1:0
else
libDtXinerama_la_LDFLAGS = -version-info 3:0:1
endif

View file

@ -9,7 +9,12 @@ libcsa_la_CFLAGS = -DRFC_MIME -DLINE_COUNT -DV2 -DOW_I18N \
libcsa_la_LIBADD = $(XTOOLLIB) $(TIRPCLIB)
# in order to try to keep lib versions the same across platforms, (2.1.0)
if BSD
libcsa_la_LDFLAGS = -version-info 2:1:0
else
libcsa_la_LDFLAGS = -version-info 3:0:1
endif
if LINUX
else

View file

@ -25,4 +25,10 @@ if LINUX
libtt_la_LIBADD += $(TIRPCLIB)
endif
# in order to try to keep lib versions the same across platforms, (2.1.0)
if BSD
libtt_la_LDFLAGS = -version-info 2:1:0
else
libtt_la_LDFLAGS = -version-info 3:0:1
endif

View file

@ -26,7 +26,12 @@ libDtMmdb_la_LIBADD = api/libapi.la btree/libbtree.la \
schema/libschema.la storage/libstorage.la \
utility/libutility.la
# in order to try to keep lib versions the same across platforms, (2.1.0)
if BSD
libDtMmdb_la_LDFLAGS = -version-info 2:1:0
else
libDtMmdb_la_LDFLAGS = -version-info 3:0:1
endif
infolibdir = $(CDE_INSTALLATION_TOP)/infolib/etc
dist_infolib_DATA = oliasdb/mmdb.infolib.spec \