Add heimdal-0.6.3
[dragonfly.git] / crypto / heimdal-0.6.3 / lib / editline / Makefile.am
1 # $Id: Makefile.am,v 1.13 2002/08/13 13:48:15 joda Exp $
2
3 include $(top_srcdir)/Makefile.am.common
4
5 if do_roken_rename
6 ES = snprintf.c strdup.c
7 endif
8
9 INCLUDES += $(ROKEN_RENAME)
10
11 man_MANS = editline.3
12
13 lib_LTLIBRARIES = libeditline.la
14 if el_compat
15 noinst_LTLIBRARIES = libel_compat.la
16 else
17 noinst_LTLIBRARIES =
18 endif
19
20 noinst_PROGRAMS = testit
21
22 CHECK_LOCAL =
23
24 testit_LDADD = \
25         libeditline.la \
26         $(LIB_tgetent) \
27         $(LIB_roken)
28
29 include_HEADERS = editline.h
30
31 libeditline_la_SOURCES = \
32         complete.c \
33         editline.c \
34         sysunix.c \
35         editline.h \
36         roken_rename.h \
37         unix.h \
38         $(EXTRA_SOURCE)
39
40 libeditline_la_LDFLAGS = -static
41
42 EXTRA_SOURCE = $(ES) 
43
44 libel_compat_la_SOURCES = edit_compat.c
45
46 libel_compat_la_LDFLAGS = -static
47
48 EXTRA_DIST = $(man_MANS)
49
50 snprintf.c:
51         $(LN_S) $(srcdir)/../roken/snprintf.c .
52 strdup.c:
53         $(LN_S) $(srcdir)/../roken/strdup.c .