summaryrefslogtreecommitdiffstats
path: root/crypto/heimdal/lib/editline/Makefile.am
blob: 49e4885c008bf217a9f9c9ada5839ff3c747b996 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# $Id: Makefile.am,v 1.12 2000/11/14 23:22:29 assar Exp $

include $(top_srcdir)/Makefile.am.common

if do_roken_rename
IS = -DROKEN_RENAME
ES = snprintf.c strdup.c
endif

INCLUDES += $(IS)

man_MANS = editline.3

lib_LTLIBRARIES = libeditline.la
if el_compat
noinst_LTLIBRARIES = libel_compat.la
else
noinst_LTLIBRARIES =
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)

libeditline_la_LDFLAGS = -static

EXTRA_SOURCE = $(ES) 

libel_compat_la_SOURCES = edit_compat.c

libel_compat_la_LDFLAGS = -static

EXTRA_DIST = $(man_MANS)

snprintf.c:
	$(LN_S) $(srcdir)/../roken/snprintf.c .
strdup.c:
	$(LN_S) $(srcdir)/../roken/strdup.c .
OpenPOWER on IntegriCloud