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