summaryrefslogtreecommitdiffstats
path: root/kernel/kls_svg/Makefile.am
blob: 28d18451e4576c6a7d44cf826ba28fe2e08015ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
INCLUDES = -I../include -I.. $(all_includes)

bin_SCRIPTS = ksquirrel-libs-svg2png

pkglib_LTLIBRARIES = libkls_svg.la

libkls_svg_la_SOURCES = fmt_codec_png.cpp fmt_codec_png_defs.h

libkls_svg_la_LDFLAGS = ${SQ_RELEASE}

libkls_svg_la_LIBADD = ${SQ_LOCAL_RPATH} -L../ksquirrel-libs-png -lksquirrel-libs-png

AM_CXXFLAGS = -DCODEC_SVG -DCODEC_ANOTHER -DSVG_UI=\"${pkgdatadir}/libkls_svg.so.ui\" -DRSVG=\"${RSVG}\" -DSVG2PNG=\"${bindir}/ksquirrel-libs-svg2png\"

EXTRA_DIST = libkls_svg.so.ui ksquirrel-libs-svg2png.in

install-data-am:
	$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
	$(INSTALL) -m 0644 libkls_svg.so.ui $(DESTDIR)$(pkgdatadir)/libkls_svg.so.ui