SConscript 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. Import('RTT_ROOT')
  2. Import('rtconfig')
  3. from building import *
  4. s = '''
  5. jaricom.c
  6. jcomapi.c
  7. jutils.c
  8. jerror.c
  9. jmemmgr.c
  10. jdapimin.c
  11. jdapistd.c
  12. jdarith.c
  13. jdtrans.c
  14. jdatasrc.c
  15. jdmaster.c
  16. jdinput.c
  17. jdmarker.c
  18. jdhuff.c
  19. jdmainct.c
  20. jdcoefct.c
  21. jdpostct.c
  22. jddctmgr.c
  23. jidctfst.c
  24. jidctflt.c
  25. jidctint.c
  26. jdsample.c
  27. jdcolor.c
  28. jquant1.c
  29. jquant2.c
  30. jdmerge.c
  31. jmemnobs.c
  32. '''
  33. j62 = '''
  34. jcomapi.c
  35. jdapimin.c
  36. jdapistd.c
  37. jdcoefct.c
  38. jdcolor.c
  39. jddctmgr.c
  40. jdhuff.c
  41. jdinput.c
  42. jdmainct.c
  43. jdmarker.c
  44. jdmaster.c
  45. jdmerge.c
  46. jdphuff.c
  47. jdpostct.c
  48. jdsample.c
  49. jdtrans.c
  50. jerror.c
  51. jfdctflt.c
  52. jfdctfst.c
  53. jfdctint.c
  54. jidctflt.c
  55. jidctfst.c
  56. jidctint.c
  57. jidctred.c
  58. jmemmgr.c
  59. jquant1.c
  60. jquant2.c
  61. jutils.c
  62. '''
  63. src = Split('''
  64. jaricom.c
  65. jcomapi.c
  66. jutils.c
  67. jerror.c
  68. jmemmgr.c
  69. jdapimin.c
  70. jdapistd.c
  71. jdarith.c
  72. jdtrans.c
  73. jdmaster.c
  74. jdinput.c
  75. jdmarker.c
  76. jdhuff.c
  77. jdmainct.c
  78. jdcoefct.c
  79. jdpostct.c
  80. jddctmgr.c
  81. jidctfst.c
  82. jidctflt.c
  83. jidctint.c
  84. jdsample.c
  85. jdcolor.c
  86. jquant1.c
  87. jquant2.c
  88. jdmerge.c
  89. jmemnobs.c
  90. ''')
  91. CPPPATH = [RTT_ROOT + '/components/external/jpeg']
  92. group = DefineGroup('jpeg', src, depend = ['RTGUI_IMAGE_JPEG'], CPPPATH = CPPPATH)
  93. Return('group')