source: mainline/uspace/app/barber/meson.build@ 2b2783b

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 2b2783b was 63660a3, checked in by Jiří Zárevúcky <zarevucky.jiri@…>, 6 years ago

shuffle some variables around

  • Property mode set to 100644
File size: 1.5 KB
Line 
1deps = [ 'gui', 'draw', 'compress', 'softrend', 'math' ]
2
3_images = files(
4 'gfx/frame01.tga.gz',
5 'gfx/frame02.tga.gz',
6 'gfx/frame03.tga.gz',
7 'gfx/frame04.tga.gz',
8 'gfx/frame05.tga.gz',
9 'gfx/frame06.tga.gz',
10 'gfx/frame07.tga.gz',
11 'gfx/frame08.tga.gz',
12 'gfx/frame09.tga.gz',
13 'gfx/frame10.tga.gz',
14 'gfx/frame11.tga.gz',
15 'gfx/frame12.tga.gz',
16 'gfx/frame13.tga.gz',
17 'gfx/frame14.tga.gz',
18 'gfx/frame15.tga.gz',
19 'gfx/frame16.tga.gz',
20 'gfx/frame17.tga.gz',
21 'gfx/frame18.tga.gz',
22 'gfx/frame19.tga.gz',
23 'gfx/frame20.tga.gz',
24 'gfx/frame21.tga.gz',
25 'gfx/frame22.tga.gz',
26 'gfx/frame23.tga.gz',
27 'gfx/frame24.tga.gz',
28 'gfx/frame25.tga.gz',
29 'gfx/frame26.tga.gz',
30 'gfx/frame27.tga.gz',
31 'gfx/frame28.tga.gz',
32 'gfx/frame29.tga.gz',
33 'gfx/frame30.tga.gz',
34)
35
36_images_zip = custom_target('barber_images.zip',
37 input : _images,
38 output : [ 'images.zip' ],
39 command : [ mkarray, '@OUTDIR@', 'images', 'image', uspace_as_prolog, '.data', '@INPUT@' ],
40)
41_imgs_s = custom_target('barber_images.s',
42 input : _images_zip,
43 output : [ 'images.s' ],
44 command : [ unzip, '-p', '@INPUT@', 'images.s' ],
45 capture : true,
46)
47_imgs_h = custom_target('barber_images.h',
48 input : _images_zip,
49 output : [ 'images.h' ],
50 command : [ unzip, '-p', '@INPUT@', 'images.h' ],
51 capture : true,
52)
53_imgs_desc_c = custom_target('barber_images_desc.c',
54 input : _images_zip,
55 output : [ 'images_desc.c' ],
56 command : [ unzip, '-p', '@INPUT@', 'images_desc.c' ],
57 capture : true,
58)
59
60src = [ files('barber.c'), _imgs_s, _imgs_h, _imgs_desc_c ]
Note: See TracBrowser for help on using the repository browser.