Files
RedBear-OS/local/recipes/libs/lcms2/source/Makefile.am
T
vasilito 1a9d77761e fix(qtdeclarative): properly generate qtquick-config.h features
The qtquick-config.h file was being generated empty by the cmake
build, causing 'division by zero in #if' errors in downstream
consumers (SDDM, KWin) because QT_CONFIG(quick_shadereffect) and
QT_CONFIG(quick_draganddrop) were undefined.

Two fixes:
1. Explicitly enable QT_FEATURE_quick_shadereffect and
   QT_FEATURE_quick_draganddrop in the cmake configuration.
2. Add a safety net that regenerates qtquick-config.h with the
   required feature definitions if cmake produces an empty file.
2026-06-21 15:12:40 +03:00

46 lines
1.2 KiB
Makefile

#
# Top-Level Makefile for building LittleCMS 2
#
# Don't require all the GNU mandated files
AUTOMAKE_OPTIONS = 1.7.2 dist-zip foreign
ACLOCAL_AMFLAGS = -I m4
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
USER_PLUGINS =
if COND_FASTFLOAT
USER_PLUGINS += plugins/fast_float
endif
if COND_THREADED
USER_PLUGINS += plugins/threaded
endif
# Directories containing Makefiles to 'make'
SUBDIRS = src include utils/tificc utils/transicc utils/linkicc utils/jpgicc utils/psicc testbed $(USER_PLUGINS)
# Additional files to distribute
EXTRA_DIST = AUTHORS COPYING ChangeLog doc Projects include bin Lib INSTALL README.md autogen.sh lcms2.pc.in plugins
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = lcms2.pc
# Make sure get rid of VC stuff...
clean-local:
rm -rf autom4te.cache
find Projects -name "*.user" | xargs rm -rf
find Projects -name "Release" | xargs rm -rf
find Projects -name "Debug" | xargs rm -rf
find Projects -name "*.aps" | xargs rm -rf
find Projects -name "*.suo" | xargs rm -rf
find Projects -name "*.log" | xargs rm -rf
find Projects -name "*.sdf" | xargs rm -rf
find Projects -name "*.opensdf" | xargs rm -rf
find Projects -name "ipch" | xargs rm -rf