Commit 31863087 authored by Vivien Kraus's avatar Vivien Kraus

Do not mutilate the cardpainter library

Build it, or do not build it.
parent d87c1dfe
Pipeline #103052 passed with stages
in 4 minutes and 30 seconds
......@@ -16,34 +16,19 @@
# along with this program. If not, see
# <http://www.gnu.org/licenses/>.
noinst_LTLIBRARIES += \
%reldir%/libtarot-painter.la
%canon_reldir%_libtarot_painter_la_SOURCES =
if WITH_CAIRO
%canon_reldir%_libtarot_painter_la_SOURCES += \
noinst_LTLIBRARIES += \
%reldir%/libtarot-painter.la
%canon_reldir%_libtarot_painter_la_SOURCES = \
%reldir%/card_painter.c \
%reldir%/card_painter_default.c
endif # WITH_CAIRO
%canon_reldir%_libtarot_painter_la_CFLAGS = \
$(AM_CFLAGS) \
-include "config.h" \
-w
if WITH_CAIRO
%canon_reldir%_libtarot_painter_la_CFLAGS += \
$(CAIRO_CFLAGS)
else # not WITH_CAIRO
%canon_reldir%_libtarot_painter_la_CFLAGS += \
$(GOBJECT_CFLAGS)
endif # not WITH_CAIRO
%canon_reldir%_libtarot_painter_la_LIBS = $(AM_LIBS)
if WITH_CAIRO
%canon_reldir%_libtarot_painter_la_LIBS += \
%canon_reldir%_libtarot_painter_la_LIBS = $(AM_LIBS) \
$(CAIRO_LIBS)
else # not WITH_CAIRO
%canon_reldir%_libtarot_painter_la_LIBS += \
$(GOBJECT_LIBS)
endif # not WITH_CAIRO
endif # WITH_CAIRO
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