Commit 72997c3e authored by Vivien Kraus's avatar Vivien Kraus
Browse files

Produce a library with the guile registration function

parent 0beb6441
Pipeline #180919 passed with stages
in 37 minutes and 45 seconds
......@@ -20,10 +20,19 @@ EXTRA_DIST += %reldir%/test_guile.c
if HAVE_GUILE
AM_CFLAGS += $(GUILE_CFLAGS)
AM_LIBS += $(GUILE_LIBS)
lib_LTLIBRARIES += %reldir%/libtarot-guile.la
%canon_reldir%_libtarot_guile_la_SOURCES = \
src/libtarot/semantic-api/tarot_guile.c
%canon_reldir%_libtarot_guile_la_LIBADD = \
src/libtarot/libtarot.la $(AM_LIBS)
%canon_reldir%_libtarot_guile_la_LDFLAGS = \
-no-undefined \
-version-info 0:0:0 \
$(AM_LDADD)
check_PROGRAMS += %reldir%/test-guile
%canon_reldir%_test_guile_SOURCES = \
src/libtarot/semantic-api/tarot_guile.c \
%reldir%/test_guile.c
%canon_reldir%_test_guile_LDADD = src/libtarot/libtarot.la $(AM_LIBS)
%canon_reldir%_test_guile_LDADD = \
src/libtarot/libtarot.la %reldir%/libtarot-guile.la $(AM_LIBS)
TESTS += %reldir%/test-guile
endif
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment