summaryrefslogtreecommitdiffstats
path: root/kernel/kls_xcf/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/kls_xcf/Makefile.am')
-rw-r--r--kernel/kls_xcf/Makefile.am18
1 files changed, 18 insertions, 0 deletions
diff --git a/kernel/kls_xcf/Makefile.am b/kernel/kls_xcf/Makefile.am
new file mode 100644
index 0000000..6b9a50d
--- /dev/null
+++ b/kernel/kls_xcf/Makefile.am
@@ -0,0 +1,18 @@
+SUBDIRS = xcf2pnm
+
+INCLUDES = -I../include
+
+pkglib_LTLIBRARIES = libkls_xcf.la
+
+libkls_xcf_la_SOURCES = fmt_codec_pnm.cpp fmt_codec_pnm_defs.h
+
+libkls_xcf_la_LDFLAGS = ${SQ_RELEASE}
+libkls_xcf_la_LIBADD = ${SQ_LOCAL_RPATH}
+
+AM_CXXFLAGS = -DXCF_UI=\"${pkgdatadir}/libkls_xcf.so.ui\" -DCODEC_XCF -DCODEC_ANOTHER -DKLXCF2PNM=\"${bindir}/ksquirrel-libs-xcf2pnm\"
+
+EXTRA_DIST = libkls_xcf.so.ui
+
+install-data-am:
+ $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
+ $(INSTALL) --mode=0644 libkls_xcf.so.ui $(DESTDIR)$(pkgdatadir)/libkls_xcf.so.ui