fixup variable name
[heimdal.git] / base / Makefile.am
blob3765360574d6e42f96fee531302bef50ed14d6d9
2 include $(top_srcdir)/Makefile.am.common
4 if do_roken_rename
5 ES = base64.c
6 endif
8 AM_CPPFLAGS += $(ROKEN_RENAME)
10 lib_LTLIBRARIES = libheimbase.la
11 check_PROGRAMS = test_base
13 libheimbase_la_LDFLAGS = -version-info 1:0:0
15 TESTS = test_base
17 if versionscript
18 libheimbase_la_LDFLAGS += $(LDFLAGS_VERSION_SCRIPT)$(srcdir)/version-script.map
19 endif
21 include_HEADERS = heimbase.h
23 dist_libheimbase_la_SOURCES =   \
24         array.c                 \
25         baselocl.h              \
26         bsearch.c               \
27         bool.c                  \
28         data.c                  \
29         db.c                    \
30         dict.c                  \
31         error.c                 \
32         heimbase.c              \
33         heimbasepriv.h          \
34         heimqueue.h             \
35         json.c                  \
36         null.c                  \
37         number.c                \
38         roken_rename.h          \
39         string.c
41 nodist_libheimbase_la_SOURCES = $(ES)
43 # install these?
45 libheimbase_la_DEPENDENCIES = version-script.map
47 test_base_LDADD = libheimbase.la $(LIB_roken)
49 CLEANFILES = base64.c
51 EXTRA_DIST = NTMakefile version-script.map
53 base64.c:
54         $(RM) base64.c
55         $(LN_S) $(srcdir)/../roken/base64.c .