summaryrefslogtreecommitdiffstats
path: root/kernel/kls_camera
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-10-30 23:10:46 +0900
committerMichele Calgaro <[email protected]>2023-10-31 11:04:11 +0900
commit029784cdc7bce7828dc98476e9b5fc675f058352 (patch)
tree4d1adfa261781155ddb348eea665a7f56720da1d /kernel/kls_camera
parent3f622f151a403fbf12bcbff3b702fc7e750f16de (diff)
downloadlibksquirrel-029784cdc7bce7828dc98476e9b5fc675f058352.tar.gz
libksquirrel-029784cdc7bce7828dc98476e9b5fc675f058352.zip
Drop autotools support
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 1bdd2746f8891bc9a22d76dc2531901d5c7b03bb)
Diffstat (limited to 'kernel/kls_camera')
-rw-r--r--kernel/kls_camera/Makefile.am39
-rw-r--r--kernel/kls_camera/ksquirrel-libs-camera2ppm.in20
2 files changed, 0 insertions, 59 deletions
diff --git a/kernel/kls_camera/Makefile.am b/kernel/kls_camera/Makefile.am
deleted file mode 100644
index 5081038..0000000
--- a/kernel/kls_camera/Makefile.am
+++ /dev/null
@@ -1,39 +0,0 @@
-INCLUDES = -I../include
-
-# shut up gcc
-CFLAGS = -O4
-
-bin_PROGRAMS = ksquirrel-libs-dcraw
-bin_SCRIPTS = ksquirrel-libs-camera2ppm
-
-ksquirrel_libs_dcraw_SOURCES = dcraw.c
-
-if CAMERA_NO_JPEG
-camera_jpeg = -DNO_JPEG
-else
-nojpeg_opt = -ljpeg
-endif
-
-if CAMERA_NO_CMS
-camera_cms = -DNO_LCMS
-else
-nocms_opt = ${lcms_LIBS}
-endif
-
-ksquirrel_libs_dcraw_LDADD = ${nojpeg_opt} ${nocms_opt} -lm
-ksquirrel_libs_dcraw_CFLAGS = ${camera_jpeg} ${camera_cms} ${lcms_CFLAGS}
-
-pkglib_LTLIBRARIES = libkls_camera.la
-
-libkls_camera_la_SOURCES = fmt_codec_pnm.cpp fmt_codec_pnm_defs.h
-
-libkls_camera_la_LDFLAGS = ${SQ_RELEASE}
-libkls_camera_la_LIBADD = ${SQ_LOCAL_RPATH}
-
-AM_CXXFLAGS = ${camera_cms} -DCAMERA_UI=\"${pkgdatadir}/libkls_camera.so.ui\" -DCODEC_CAMERA -DCODEC_ANOTHER -DKLDCRAW_S=\"${bindir}/ksquirrel-libs-camera2ppm\" -DKLDCRAW=\"${bindir}/ksquirrel-libs-dcraw\" $(all_includes)
-
-EXTRA_DIST = libkls_camera.so.ui ksquirrel-libs-camera2ppm.in
-
-install-data-am:
- $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
- $(INSTALL) -m 0644 libkls_camera.so.ui $(DESTDIR)$(pkgdatadir)/libkls_camera.so.ui
diff --git a/kernel/kls_camera/ksquirrel-libs-camera2ppm.in b/kernel/kls_camera/ksquirrel-libs-camera2ppm.in
deleted file mode 100644
index 5ee4063..0000000
--- a/kernel/kls_camera/ksquirrel-libs-camera2ppm.in
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-
-kls_camera_i=""
-kls_camera_o=""
-kls_camera_bin=""
-kls_camera_params=""
-
-while [ "$1" ] ; do
-
- case "$1" in
- "--input") kls_camera_i="$2" shift ;;
- "--output") kls_camera_o="$2" shift ;;
- "--binary") kls_camera_bin="$2" shift ;;
- *) kls_camera_params="$kls_camera_params $1" ;;
- esac
-
-shift
-done
-
-$kls_camera_bin $kls_camera_params "$kls_camera_i" > "$kls_camera_o" \ No newline at end of file