Upstream NetBSD libedit has readline.h in readline/ not editline/
[heimdal.git] / lib / base / Makefile.am
blob66e8bce72833ddce2da469f55c3b1671cce2c02c
2 include $(top_srcdir)/Makefile.am.common
4 if do_roken_rename
5 ES = base64.c
6 endif
8 IMPLEMENT_TLS=
9 if MAINTAINER_MODE
10 IMPLEMENT_TLS += dll.c
11 AM_CPPFLAGS += -DHEIM_BASE_MAINTAINER
12 endif
14 AM_CPPFLAGS += $(ROKEN_RENAME)
16 lib_LTLIBRARIES = libheimbase.la
17 check_PROGRAMS = test_base
19 libheimbase_la_LDFLAGS = -version-info 1:0:0
21 TESTS = test_base
23 if versionscript
24 libheimbase_la_LDFLAGS += $(LDFLAGS_VERSION_SCRIPT)$(srcdir)/version-script.map
25 endif
27 include_HEADERS = heimbase.h
29 dist_libheimbase_la_SOURCES =   \
30         array.c                 \
31         baselocl.h              \
32         bsearch.c               \
33         bool.c                  \
34         data.c                  \
35         db.c                    \
36         dict.c                  \
37         $(IMPLEMENT_TLS)        \
38         error.c                 \
39         heimbase.c              \
40         heimbasepriv.h          \
41         heimqueue.h             \
42         json.c                  \
43         null.c                  \
44         number.c                \
45         roken_rename.h          \
46         string.c
48 nodist_libheimbase_la_SOURCES = $(ES)
50 # install these?
52 libheimbase_la_DEPENDENCIES = version-script.map
54 test_base_LDADD = libheimbase.la $(LIB_roken)
56 CLEANFILES = base64.c test_db.json
58 EXTRA_DIST = NTMakefile version-script.map
60 base64.c:
61         rm -f base64.c
62         $(LN_S) $(srcdir)/../roken/base64.c .