1SUBDIRS = util sarray distribution function sampler graph model \ 2 compiler rng module 3 4extra_dist = version.cc.in 5 6lib_LTLIBRARIES = libjags.la 7 8libjags_la_SOURCES = version.cc Console.cc 9 10libjags_la_CPPFLAGS = -I$(top_srcdir)/src/include 11 12libjags_la_LIBADD = model/libmodel.la \ 13 util/libutil.la \ 14 sarray/libsarray.la \ 15 function/libfunc.la \ 16 sampler/libsampler.la \ 17 distribution/libdist.la \ 18 graph/libgraph.la \ 19 compiler/libcompiler.la \ 20 rng/librng.la \ 21 module/libmodule.la 22 23libjags_la_LDFLAGS = -version-info $(JAGS_MAJOR):$(JAGS_MINOR):0 24if WINDOWS 25libjags_la_LDFLAGS += -no-undefined 26libjags_la_SOURCES += dllversion.rc 27endif 28 29### Test library 30 31if CANCHECK 32check_LTLIBRARIES = libtest.la 33libtest_la_SOURCES = testlib.cc 34libtest_la_CPPFLAGS = -I$(top_srcdir)/src/include 35libtest_la_LIBADD = function/libfuntest.la 36 37if WINDOWS 38libtest_la_LDFLAGS = -no-undefined 39endif 40 41endif 42