Commit a9b1690c authored by Vivien Kraus's avatar Vivien Kraus

Merge branch '60-undefined-symbols-everywhere' into 'develop'

Resolve "Undefined symbols everywhere"

Closes #60

See merge request !55
parents fde3e5e6 26f6c55a
Pipeline #112494 passed with stages
in 22 minutes and 6 seconds
......@@ -26,7 +26,7 @@ tarotinclude_HEADERS += %reldir%/tarot/cards.h
%reldir%/tarot/cards_private.h \
%reldir%/tarot/cards_private_impl.h
%canon_reldir%_libtarot_cards_la_LDFLAGS = \
-no-undefined $(AM_LDADD)
$(AM_LDADD)
INDENTED += $(%canon_reldir%_libtarot_cards_la_SOURCES)
......
......@@ -25,7 +25,7 @@ tarotinclude_HEADERS += %reldir%/tarot/bid.h
%reldir%/tarot/bid_private.h \
%reldir%/tarot/bid_private_impl.h
%canon_reldir%_libtarot_core_bid_la_LDFLAGS = \
-no-undefined $(AM_LDADD)
$(AM_LDADD)
AM_CPPFLAGS += -I $(srcdir)/%reldir% -I %reldir%
......
......@@ -25,7 +25,7 @@ tarotinclude_HEADERS += %reldir%/tarot/game.h
%reldir%/tarot/game_private.h \
%reldir%/tarot/game_private_impl.h
%canon_reldir%_libtarot_core_game_la_LDFLAGS = \
-no-undefined $(AM_LDADD)
$(AM_LDADD)
AM_CPPFLAGS += \
-I $(srcdir)/%reldir% \
......
......@@ -26,7 +26,7 @@ tarotinclude_HEADERS += %reldir%/tarot/game_event.h
%reldir%/tarot/game_event_private.h \
%reldir%/tarot/game_event_private_impl.h
%canon_reldir%_libtarot_core_game_event_la_LDFLAGS = \
-no-undefined $(AM_LDADD) $(NETTLE_LIBS)
$(AM_LDADD) $(NETTLE_LIBS)
$(srcdir)/%reldir%/tarot/game_event.h: src/cards/tarot/cards.h
$(srcdir)/%reldir%/game_event.c: src/cards/tarot/cards_private_impl.h
......
......@@ -51,7 +51,6 @@ tarotinclude_HEADERS += \
$(AM_CPPFLAGS) \
-DLIBTAROT_VERSION_INFO="\"$(LIBTOOL_CURRENT):$(LIBTOOL_REVISION):$(LIBTOOL_AGE)\""
%canon_reldir%_libtarot_core_la_LDFLAGS = \
-no-undefined \
$(AM_LDADD)
%canon_reldir%_libtarot_core_la_LIBADD = \
%reldir%/bid/libtarot-core-bid.la \
......
......@@ -25,7 +25,7 @@ tarotinclude_HEADERS += %reldir%/tarot/player.h
%reldir%/tarot/player_private.h \
%reldir%/tarot/player_private_impl.h
%canon_reldir%_libtarot_core_player_la_LDFLAGS = \
-no-undefined $(AM_LDADD)
$(AM_LDADD)
AM_CPPFLAGS += -I $(srcdir)/%reldir% -I %reldir%
......
......@@ -25,7 +25,7 @@ tarotinclude_HEADERS += %reldir%/tarot/counter.h
%reldir%/tarot/counter_private.h \
%reldir%/tarot/counter_private_impl.h
%canon_reldir%_libtarot_counter_la_LDFLAGS = \
-no-undefined $(AM_LDADD)
$(AM_LDADD)
check_PROGRAMS += %reldir%/check
%canon_reldir%_check_SOURCES = \
......
......@@ -33,7 +33,6 @@ tarotinclude_HEADERS += %reldir%/tarot/layout.h
%reldir%/tarot/layout_private_impl.h
%canon_reldir%_libtarot_layout_la_LDFLAGS = \
-no-undefined \
$(AM_LDADD)
AM_CPPFLAGS += \
......
......@@ -30,7 +30,7 @@ tarotinclude_HEADERS += %reldir%/tarot/mcts.h
%canon_reldir%_libtarot_mcts_la_CFLAGS = \
$(AM_CFLAGS) $(NETTLE_CFLAGS)
%canon_reldir%_libtarot_mcts_la_LDFLAGS = \
-no-undefined $(AM_LDADD) $(NETTLE_LIBS)
$(AM_LDADD) $(NETTLE_LIBS)
INDENTED += $(%canon_reldir%_libtarot_mcts_la_SOURCES)
......
......@@ -26,7 +26,7 @@ tarotinclude_HEADERS += %reldir%/tarot/simulation.h
%canon_reldir%_libtarot_simulation_la_CFLAGS = \
$(AM_CFLAGS) $(NETTLE_CFLAGS)
%canon_reldir%_libtarot_simulation_la_LDFLAGS = \
-no-undefined $(AM_LDADD) $(NETTLE_LIBS)
$(AM_LDADD) $(NETTLE_LIBS)
$(srcdir)/%reldir%/simulation.c: src/cards/tarot/cards_private.h
$(srcdir)/%reldir%/simulation.c: src/cards/tarot/cards_private_impl.h
......
......@@ -30,7 +30,7 @@ EXTRA_DIST += %reldir%/check_xml_1.xml
%canon_reldir%_libtarot_xml_la_CFLAGS = \
$(AM_CFLAGS) $(XML_CFLAGS)
%canon_reldir%_libtarot_xml_la_LDFLAGS = \
-no-undefined $(AM_LDADD) $(XML_LIBS)
$(AM_LDADD) $(XML_LIBS)
check_PROGRAMS += %reldir%/check_xml
%canon_reldir%_check_xml_SOURCES = \
......
Markdown is supported
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