Files
heimdal/lib/editline/Makefile.am
Love Hörnquist Åstrand 6fbd71cdfb Make editline a non-static library and let libtool decide (same with
libel_compat). This way libedit will build shared version is the
library that is possible to link with other shared lib if its needed.
Also make libed_compat a libtool convenience library.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14672 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-21 13:39:10 +00:00

48 lines
706 B
Makefile

# $Id$
include $(top_srcdir)/Makefile.am.common
if do_roken_rename
ES = snprintf.c strdup.c
endif
AM_CPPFLAGS += $(ROKEN_RENAME)
man_MANS = editline.3
lib_LTLIBRARIES = libeditline.la
if el_compat
noinst_LTLIBRARIES += libel_compat.la
endif
noinst_PROGRAMS = testit
CHECK_LOCAL =
testit_LDADD = \
libeditline.la \
$(LIB_tgetent) \
$(LIB_roken)
include_HEADERS = editline.h
libeditline_la_SOURCES = \
complete.c \
editline.c \
sysunix.c \
editline.h \
roken_rename.h \
unix.h \
$(EXTRA_SOURCE)
EXTRA_SOURCE = $(ES)
libel_compat_la_SOURCES = edit_compat.c
EXTRA_DIST = $(man_MANS)
snprintf.c:
$(LN_S) $(srcdir)/../roken/snprintf.c .
strdup.c:
$(LN_S) $(srcdir)/../roken/strdup.c .