Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 1 | noinst_LTLIBRARIES = libjpeg.la |
Pierre Ossman | 5d20b7e | 2009-07-10 12:59:14 +0000 | [diff] [blame] | 2 | noinst_HEADERS = jconfig.h jerror.h jmorecfg.h jpeglib.h |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 3 | |
Adam Tkac | da5a1fe | 2008-10-22 11:19:25 +0000 | [diff] [blame] | 4 | HDRS = jchuff.h jdct.h jdhuff.h jerror.h jinclude.h jmemsys.h jmorecfg.h \ |
DRC | 2e7b76b | 2009-04-03 12:04:24 +0000 | [diff] [blame] | 5 | jpegint.h jpeglib.h jversion.h jsimd.h jsimddct.h turbojpeg.h |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 6 | |
| 7 | libjpeg_la_SOURCES = $(HDRS) jcapimin.c jcapistd.c jccoefct.c jccolor.c \ |
| 8 | jcdctmgr.c jchuff.c jcinit.c jcmainct.c jcmarker.c jcmaster.c \ |
| 9 | jcomapi.c jcparam.c jcphuff.c jcprepct.c jcsample.c jctrans.c \ |
| 10 | jdapimin.c jdapistd.c jdatadst.c jdatasrc.c jdcoefct.c jdcolor.c \ |
| 11 | jddctmgr.c jdhuff.c jdinput.c jdmainct.c jdmarker.c jdmaster.c \ |
| 12 | jdmerge.c jdphuff.c jdpostct.c jdsample.c jdtrans.c jerror.c \ |
| 13 | jfdctflt.c jfdctfst.c jfdctint.c jidctflt.c jidctfst.c jidctint.c \ |
Pierre Ossman | ba82ddf | 2009-06-29 11:20:42 +0000 | [diff] [blame] | 14 | jidctred.c jquant1.c jquant2.c jutils.c jmemmgr.c jmemnobs.c |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 15 | |
Pierre Ossman | 2ae181c | 2009-03-09 13:21:27 +0000 | [diff] [blame] | 16 | if WITH_SIMD |
| 17 | |
Pierre Ossman | 3a65ef4 | 2009-03-16 13:34:18 +0000 | [diff] [blame] | 18 | SUBDIRS = simd |
| 19 | libjpeg_la_LIBADD = simd/libsimd.la |
Pierre Ossman | 2ae181c | 2009-03-09 13:21:27 +0000 | [diff] [blame] | 20 | |
Pierre Ossman | ba82ddf | 2009-06-29 11:20:42 +0000 | [diff] [blame] | 21 | else |
| 22 | |
| 23 | libjpeg_la_SOURCES += jsimd_none.c |
| 24 | |
Pierre Ossman | 2ae181c | 2009-03-09 13:21:27 +0000 | [diff] [blame] | 25 | endif |
| 26 | |
DRC | 2e7b76b | 2009-04-03 12:04:24 +0000 | [diff] [blame] | 27 | TSTHDRS = turbojpeg.h rrutil.h rrtimer.h |
| 28 | |
DRC | 73de982 | 2009-06-25 20:41:17 +0000 | [diff] [blame] | 29 | noinst_PROGRAMS = jpgtest jpegut cjpeg djpeg |
DRC | 2e7b76b | 2009-04-03 12:04:24 +0000 | [diff] [blame] | 30 | |
Pierre Ossman | 79ecd1b | 2009-07-10 12:56:00 +0000 | [diff] [blame] | 31 | jpgtest_SOURCES = $(TSTHDRS) jpgtest.cxx bmp.h bmp.c turbojpegl.c |
DRC | 2e7b76b | 2009-04-03 12:04:24 +0000 | [diff] [blame] | 32 | |
| 33 | jpgtest_LDADD = $(top_srcdir)/libjpeg.la |
| 34 | |
Pierre Ossman | 79ecd1b | 2009-07-10 12:56:00 +0000 | [diff] [blame] | 35 | jpegut_SOURCES = $(TSTHDRS) jpegut.c bmp.h bmp.c turbojpegl.c |
DRC | 2e7b76b | 2009-04-03 12:04:24 +0000 | [diff] [blame] | 36 | |
| 37 | jpegut_LDADD = $(top_srcdir)/libjpeg.la |
DRC | 73de982 | 2009-06-25 20:41:17 +0000 | [diff] [blame] | 38 | |
| 39 | cjpeg_SOURCES = cdjpeg.h cderror.h cdjpeg.c cjpeg.c rdbmp.c rdgif.c \ |
| 40 | rdppm.c rdswitch.c rdtarga.c |
| 41 | |
| 42 | cjpeg_LDADD = $(top_srcdir)/libjpeg.la |
| 43 | |
| 44 | cjpeg_CFLAGS = -DBMP_SUPPORTED -DGIF_SUPPORTED -DPPM_SUPPORTED \ |
| 45 | -DTARGA_SUPPORTED |
| 46 | |
| 47 | djpeg_SOURCES = cdjpeg.h cderror.h cdjpeg.c djpeg.c rdcolmap.c rdswitch.c \ |
| 48 | wrbmp.c wrgif.c wrppm.c wrtarga.c |
| 49 | |
| 50 | djpeg_LDADD = $(top_srcdir)/libjpeg.la |
| 51 | |
| 52 | djpeg_CFLAGS = -DBMP_SUPPORTED -DGIF_SUPPORTED -DPPM_SUPPORTED \ |
| 53 | -DTARGA_SUPPORTED |