Files
cdesktop/cde/lib/DtWidget/Makefile.am
Jon Trulson 17602b4d21 Library (.so) versioning: preserve previous library version
Ticket #120

Change libtool's shared library version info to 3:0:1 to preserve the
previous library version of 2.1.0.

See https://autotools.io/libtool/version.html for the details on how
libtool handles this versioning info.

See https://verbump.de/ for a handy 'version calculator' using
libtools rules.
2021-12-16 12:40:15 -07:00

33 lines
825 B
Makefile

unixdir = $(CDE_INSTALLATION_TOP)/app-defaults/C
MAINTAINERCLEANFILES = Makefile.in
lib_LTLIBRARIES = libDtWidget.la
AM_CPPFLAGS = -DCDE_INSTALLATION_TOP=$(CDE_INSTALLATION_TOP) $(DT_INCDIR)
libDtWidget_la_CFLAGS = -DI18N_MSG -DMULTIBYTE
libDtWidget_la_LDFLAGS = -version-info 3:0:1
if SOLARIS
libDtWidget_la_CFLAGS += -DNO_REGCOMP
libDtWidget_la_LIBADD = -lc -lw -lintl
endif
libDtWidget_la_SOURCES = ComboBox.c Control.c DialogBox.c \
DtMsgs.c DtStrDefs.c EditAreaData.c \
EditCalls.c Editor.c Icon.c \
MenuButton.c NewCvt.c SearchCalls.c \
SearchDlg.c SpinBox.c TitleBox.c \
View.c
# cpp this...
BUILT_SOURCES = UNIXbindings
CLEANFILES = UNIXbindings
UNIXbindings: UNIXbindings.cpp
$(RM) $@
$(GENCPP) -P -DXCOMM=# $(AM_CPPFLAGS) $< > $@