blob: 85dcd8451db100cc2ae080624f323d479453178a [file] [log] [blame]
Constantin Kaplinsky0ca44252008-09-28 05:08:48 +00001noinst_LTLIBRARIES = libjpeg.la
2
Adam Tkacda5a1fe2008-10-22 11:19:25 +00003HDRS = jchuff.h jdct.h jdhuff.h jerror.h jinclude.h jmemsys.h jmorecfg.h \
Pierre Ossman59a39382009-03-09 13:15:56 +00004 jpegint.h jpeglib.h jversion.h jsimd.h jsimddct.h
Constantin Kaplinsky0ca44252008-09-28 05:08:48 +00005
6libjpeg_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 Ossman59a39382009-03-09 13:15:56 +000013 jidctred.c jquant1.c jquant2.c jutils.c jmemmgr.c jmemnobs.c \
14 jsimd.c
Constantin Kaplinsky0ca44252008-09-28 05:08:48 +000015
Pierre Ossman2ae181c2009-03-09 13:21:27 +000016if WITH_SIMD
17
18BUILT_SOURCES = simd/jsimdcfg.inc
19
20EXTRA_DIST = nasm_lt.sh
21
22libjpeg_la_SOURCES += simd/jsimd.h simd/jsimdcfg.inc.h \
23 simd/jsimdext.inc simd/jsimdcpu.asm
24
25endif
26
27.asm.lo:
28 $(LIBTOOL) --mode=compile --tag NASM ./nasm_lt.sh $(NASM) $(NAFLAGS) $< -o $@
29
30simd/jsimdcfg.inc: simd/jsimdcfg.inc.h jpeglib.h jconfig.h jmorecfg.h
31 $(CPP) $< | grep ^[\;%] | sed 's%_cpp_protection_%%' > $@
32