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