make libeditline and libel_compat into libtool libraries but always
make them static git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9159 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -11,11 +11,11 @@ INCLUDES += $(IS)
|
|||||||
|
|
||||||
man_MANS = editline.3
|
man_MANS = editline.3
|
||||||
|
|
||||||
lib_LIBRARIES = libeditline.a
|
lib_LTLIBRARIES = libeditline.la
|
||||||
if el_compat
|
if el_compat
|
||||||
noinst_LIBRARIES = libel_compat.a
|
noinst_LTLIBRARIES = libel_compat.la
|
||||||
else
|
else
|
||||||
noinst_LIBRARIES =
|
noinst_LTLIBRARIES =
|
||||||
endif
|
endif
|
||||||
|
|
||||||
noinst_PROGRAMS = testit
|
noinst_PROGRAMS = testit
|
||||||
@@ -23,13 +23,13 @@ noinst_PROGRAMS = testit
|
|||||||
CHECK_LOCAL =
|
CHECK_LOCAL =
|
||||||
|
|
||||||
testit_LDADD = \
|
testit_LDADD = \
|
||||||
libeditline.a \
|
libeditline.la \
|
||||||
$(LIB_tgetent) \
|
$(LIB_tgetent) \
|
||||||
$(LIB_roken)
|
$(LIB_roken)
|
||||||
|
|
||||||
include_HEADERS = editline.h
|
include_HEADERS = editline.h
|
||||||
|
|
||||||
libeditline_a_SOURCES = \
|
libeditline_la_SOURCES = \
|
||||||
complete.c \
|
complete.c \
|
||||||
editline.c \
|
editline.c \
|
||||||
sysunix.c \
|
sysunix.c \
|
||||||
@@ -38,9 +38,13 @@ libeditline_a_SOURCES = \
|
|||||||
unix.h \
|
unix.h \
|
||||||
$(EXTRA_SOURCE)
|
$(EXTRA_SOURCE)
|
||||||
|
|
||||||
|
libeditline_la_LDFLAGS = -static
|
||||||
|
|
||||||
EXTRA_SOURCE = $(ES)
|
EXTRA_SOURCE = $(ES)
|
||||||
|
|
||||||
libel_compat_a_SOURCES = edit_compat.c
|
libel_compat_la_SOURCES = edit_compat.c
|
||||||
|
|
||||||
|
libel_compat_la_LDFLAGS = -static
|
||||||
|
|
||||||
EXTRA_DIST = $(man_MANS)
|
EXTRA_DIST = $(man_MANS)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user