1 2include $(top_srcdir)/Makefile.am.common 3 4if do_roken_rename 5ES = base64.c 6endif 7 8IMPLEMENT_TLS= 9if MAINTAINER_MODE 10IMPLEMENT_TLS += dll.c 11AM_CPPFLAGS += -DHEIM_BASE_MAINTAINER 12endif 13 14AM_CPPFLAGS += $(ROKEN_RENAME) 15 16lib_LTLIBRARIES = libheimbase.la 17check_PROGRAMS = test_base 18 19test_base_CFLAGS = -Wno-string-concatenation 20 21libheimbase_la_LDFLAGS = -version-info 1:0:0 22 23TESTS = test_base 24 25if versionscript 26libheimbase_la_LDFLAGS += $(LDFLAGS_VERSION_SCRIPT)$(srcdir)/version-script.map 27endif 28 29libheimbase_la_LIBADD = $(PTHREAD_LIBADD) 30 31include_HEADERS = heimbase.h 32 33dist_libheimbase_la_SOURCES = \ 34 array.c \ 35 baselocl.h \ 36 bsearch.c \ 37 bool.c \ 38 data.c \ 39 db.c \ 40 dict.c \ 41 $(IMPLEMENT_TLS) \ 42 error.c \ 43 heimbase.c \ 44 heimbasepriv.h \ 45 heimqueue.h \ 46 json.c \ 47 null.c \ 48 number.c \ 49 roken_rename.h \ 50 string.c 51 52nodist_libheimbase_la_SOURCES = $(ES) 53 54# install these? 55 56libheimbase_la_DEPENDENCIES = version-script.map 57 58test_base_LDADD = libheimbase.la $(LIB_roken) 59 60CLEANFILES = base64.c test_db.json 61 62EXTRA_DIST = NTMakefile version-script.map 63 64base64.c: 65 rm -f base64.c 66 $(LN_S) $(srcdir)/../roken/base64.c . 67