rtt-f030/components/external/jpeg/SConscript

100 lines
1.2 KiB
Python
Raw Normal View History

Import('RTT_ROOT')
Import('rtconfig')
from building import *
s = '''
jaricom.c
jcomapi.c
jutils.c
jerror.c
jmemmgr.c
jdapimin.c
jdapistd.c
jdarith.c
jdtrans.c
jdatasrc.c
jdmaster.c
jdinput.c
jdmarker.c
jdhuff.c
jdmainct.c
jdcoefct.c
jdpostct.c
jddctmgr.c
jidctfst.c
jidctflt.c
jidctint.c
jdsample.c
jdcolor.c
jquant1.c
jquant2.c
jdmerge.c
jmemnobs.c
'''
j62 = '''
jcomapi.c
jdapimin.c
jdapistd.c
jdcoefct.c
jdcolor.c
jddctmgr.c
jdhuff.c
jdinput.c
jdmainct.c
jdmarker.c
jdmaster.c
jdmerge.c
jdphuff.c
jdpostct.c
jdsample.c
jdtrans.c
jerror.c
jfdctflt.c
jfdctfst.c
jfdctint.c
jidctflt.c
jidctfst.c
jidctint.c
jidctred.c
jmemmgr.c
jquant1.c
jquant2.c
jutils.c
'''
src = Split('''
jaricom.c
jcomapi.c
jutils.c
jerror.c
jmemmgr.c
jdapimin.c
jdapistd.c
jdarith.c
jdtrans.c
jdmaster.c
jdinput.c
jdmarker.c
jdhuff.c
jdmainct.c
jdcoefct.c
jdpostct.c
jddctmgr.c
jidctfst.c
jidctflt.c
jidctint.c
jdsample.c
jdcolor.c
jquant1.c
jquant2.c
jdmerge.c
jmemnobs.c
''')
CPPPATH = [RTT_ROOT + '/components/external/jpeg']
group = DefineGroup('jpeg', src, depend = ['RTGUI_IMAGE_JPEG'], CPPPATH = CPPPATH)
Return('group')