Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 1 | noinst_LTLIBRARIES = libjpeg.la |
| 2 | |
Adam Tkac | da5a1fe | 2008-10-22 11:19:25 +0000 | [diff] [blame] | 3 | HDRS = jchuff.h jdct.h jdhuff.h jerror.h jinclude.h jmemsys.h jmorecfg.h \ |
Pierre Ossman | 59a3938 | 2009-03-09 13:15:56 +0000 | [diff] [blame] | 4 | jpegint.h jpeglib.h jversion.h jsimd.h jsimddct.h |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 5 | |
| 6 | libjpeg_la_SOURCES = $(HDRS) jcapimin.c jcapistd.c jccoefct.c jccolor.c \ |
| 7 | jcdctmgr.c jchuff.c jcinit.c jcmainct.c jcmarker.c jcmaster.c \ |
| 8 | jcomapi.c jcparam.c jcphuff.c jcprepct.c jcsample.c jctrans.c \ |
| 9 | jdapimin.c jdapistd.c jdatadst.c jdatasrc.c jdcoefct.c jdcolor.c \ |
| 10 | jddctmgr.c jdhuff.c jdinput.c jdmainct.c jdmarker.c jdmaster.c \ |
| 11 | jdmerge.c jdphuff.c jdpostct.c jdsample.c jdtrans.c jerror.c \ |
| 12 | jfdctflt.c jfdctfst.c jfdctint.c jidctflt.c jidctfst.c jidctint.c \ |
Pierre Ossman | 59a3938 | 2009-03-09 13:15:56 +0000 | [diff] [blame] | 13 | jidctred.c jquant1.c jquant2.c jutils.c jmemmgr.c jmemnobs.c \ |
| 14 | jsimd.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 | |
| 18 | BUILT_SOURCES = simd/jsimdcfg.inc |
| 19 | |
| 20 | EXTRA_DIST = nasm_lt.sh |
| 21 | |
| 22 | libjpeg_la_SOURCES += simd/jsimd.h simd/jsimdcfg.inc.h \ |
| 23 | simd/jsimdext.inc simd/jsimdcpu.asm |
| 24 | |
| 25 | endif |
| 26 | |
| 27 | .asm.lo: |
| 28 | $(LIBTOOL) --mode=compile --tag NASM ./nasm_lt.sh $(NASM) $(NAFLAGS) $< -o $@ |
| 29 | |
| 30 | simd/jsimdcfg.inc: simd/jsimdcfg.inc.h jpeglib.h jconfig.h jmorecfg.h |
| 31 | $(CPP) $< | grep ^[\;%] | sed 's%_cpp_protection_%%' > $@ |
| 32 | |