Files
RedBear-OS/local/recipes/libs/lcms2/source/src/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

32 lines
914 B
Makefile

#
# Makefile for building lcms 2 library
#
# Don't require all the GNU mandated files
AUTOMAKE_OPTIONS = 1.7 foreign
# CFLAGS = -pedantic -Wall -std=c99 -O3
includedir = ${prefix}/include
# Shared libraries built in this directory
lib_LTLIBRARIES = liblcms2.la
LIBRARY_CURRENT = @LIBRARY_CURRENT@
LIBRARY_REVISION = @LIBRARY_REVISION@
LIBRARY_AGE = @LIBRARY_AGE@
AM_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include
liblcms2_la_LDFLAGS = -no-undefined \
-version-info $(LIBRARY_CURRENT):$(LIBRARY_REVISION):$(LIBRARY_AGE)
liblcms2_la_LIBADD = $(LCMS_LIB_DEPLIBS)
liblcms2_la_SOURCES = \
cmscnvrt.c cmserr.c cmsgamma.c cmsgmt.c cmsintrp.c cmsio0.c cmsio1.c cmslut.c \
cmsplugin.c cmssm.c cmsmd5.c cmsmtrx.c cmspack.c cmspcs.c cmswtpnt.c cmsxform.c \
cmssamp.c cmsnamed.c cmscam02.c cmsvirt.c cmstypes.c cmscgats.c cmsps2.c cmsopt.c \
cmshalf.c cmsalpha.c lcms2_internal.h