blob: bafa3d491321ef330bba396f98441a2177413a04 [file] [log] [blame]
DRC0c0f3042010-01-28 05:34:53 +00001if WITH_SHARED
2
3lib_LTLIBRARIES = libjpeg.la
4
5else
6
Constantin Kaplinsky0ca44252008-09-28 05:08:48 +00007noinst_LTLIBRARIES = libjpeg.la
DRC0c0f3042010-01-28 05:34:53 +00008
9endif
10
Pierre Ossman5d20b7e2009-07-10 12:59:14 +000011noinst_HEADERS = jconfig.h jerror.h jmorecfg.h jpeglib.h
Constantin Kaplinsky0ca44252008-09-28 05:08:48 +000012
Adam Tkacda5a1fe2008-10-22 11:19:25 +000013HDRS = jchuff.h jdct.h jdhuff.h jerror.h jinclude.h jmemsys.h jmorecfg.h \
DRC2e7b76b2009-04-03 12:04:24 +000014 jpegint.h jpeglib.h jversion.h jsimd.h jsimddct.h turbojpeg.h
Constantin Kaplinsky0ca44252008-09-28 05:08:48 +000015
16libjpeg_la_SOURCES = $(HDRS) jcapimin.c jcapistd.c jccoefct.c jccolor.c \
17 jcdctmgr.c jchuff.c jcinit.c jcmainct.c jcmarker.c jcmaster.c \
18 jcomapi.c jcparam.c jcphuff.c jcprepct.c jcsample.c jctrans.c \
19 jdapimin.c jdapistd.c jdatadst.c jdatasrc.c jdcoefct.c jdcolor.c \
20 jddctmgr.c jdhuff.c jdinput.c jdmainct.c jdmarker.c jdmaster.c \
21 jdmerge.c jdphuff.c jdpostct.c jdsample.c jdtrans.c jerror.c \
22 jfdctflt.c jfdctfst.c jfdctint.c jidctflt.c jidctfst.c jidctint.c \
Pierre Ossmanba82ddf2009-06-29 11:20:42 +000023 jidctred.c jquant1.c jquant2.c jutils.c jmemmgr.c jmemnobs.c
Constantin Kaplinsky0ca44252008-09-28 05:08:48 +000024
Pierre Ossman2ae181c2009-03-09 13:21:27 +000025if WITH_SIMD
26
Pierre Ossman3a65ef42009-03-16 13:34:18 +000027SUBDIRS = simd
28libjpeg_la_LIBADD = simd/libsimd.la
Pierre Ossman2ae181c2009-03-09 13:21:27 +000029
Pierre Ossmanba82ddf2009-06-29 11:20:42 +000030else
31
32libjpeg_la_SOURCES += jsimd_none.c
33
Pierre Ossman2ae181c2009-03-09 13:21:27 +000034endif
35
DRC2e7b76b2009-04-03 12:04:24 +000036TSTHDRS = turbojpeg.h rrutil.h rrtimer.h
37
DRC73de9822009-06-25 20:41:17 +000038noinst_PROGRAMS = jpgtest jpegut cjpeg djpeg
DRC2e7b76b2009-04-03 12:04:24 +000039
Pierre Ossman79ecd1b2009-07-10 12:56:00 +000040jpgtest_SOURCES = $(TSTHDRS) jpgtest.cxx bmp.h bmp.c turbojpegl.c
DRC2e7b76b2009-04-03 12:04:24 +000041
42jpgtest_LDADD = $(top_srcdir)/libjpeg.la
43
Pierre Ossman79ecd1b2009-07-10 12:56:00 +000044jpegut_SOURCES = $(TSTHDRS) jpegut.c bmp.h bmp.c turbojpegl.c
DRC2e7b76b2009-04-03 12:04:24 +000045
46jpegut_LDADD = $(top_srcdir)/libjpeg.la
DRC73de9822009-06-25 20:41:17 +000047
48cjpeg_SOURCES = cdjpeg.h cderror.h cdjpeg.c cjpeg.c rdbmp.c rdgif.c \
49 rdppm.c rdswitch.c rdtarga.c
50
51cjpeg_LDADD = $(top_srcdir)/libjpeg.la
52
53cjpeg_CFLAGS = -DBMP_SUPPORTED -DGIF_SUPPORTED -DPPM_SUPPORTED \
54 -DTARGA_SUPPORTED
55
56djpeg_SOURCES = cdjpeg.h cderror.h cdjpeg.c djpeg.c rdcolmap.c rdswitch.c \
57 wrbmp.c wrgif.c wrppm.c wrtarga.c
58
59djpeg_LDADD = $(top_srcdir)/libjpeg.la
60
61djpeg_CFLAGS = -DBMP_SUPPORTED -DGIF_SUPPORTED -DPPM_SUPPORTED \
62 -DTARGA_SUPPORTED