Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/meson.build

    r5fc8244 r64c8132  
    11#
     2# Copyright (c) 2024 Jiri Svoboda
    23# Copyright (c) 2005 Martin Decky
    34# Copyright (c) 2007 Jakub Jermar
     
    4142        root_path / 'abi' / 'arch' / UARCH / 'include',
    4243        root_path / 'abi' / 'include',
     44        root_path / 'common' / 'include',
    4345]
    4446
     
    4648
    4749allow_shared = true
    48 
    49 # FIXME: symlinks from uspace to kernel will break in future Meson version
    50 #        we should instead move the duplicated library parts into a shared location.
    5150
    5251uspace_lib_devel_install_script_text += 'mkdir -p "${DESTDIR}include/libc"'
     
    5453        _sdir = meson.current_source_dir() / idir
    5554        uspace_lib_devel_install_script_text += 'cp -R -L -T "@0@" "${DESTDIR}include/libc"'.format(_sdir)
     55        exported_devel_files += ['include', _sdir, 'libc']
    5656endforeach
    5757
     
    5959
    6060src += files(
     61        'common/adt/bitmap.c',
     62        'common/adt/checksum.c',
     63        'common/adt/circ_buf.c',
     64        'common/adt/list.c',
     65        'common/adt/hash_table.c',
     66        'common/adt/odict.c',
     67        'common/printf/printf_core.c',
     68        'common/stdc/ctype.c',
     69        'common/stdc/mem.c',
     70        'common/stdc/bsearch.c',
     71        'common/stdc/qsort.c',
     72        'common/stdc/calloc.c',
     73        'common/gsort.c',
     74        'common/str.c',
     75        'common/str_error.c',
     76        'common/strtol.c',
     77
    6178        'generic/libc.c',
     79        'generic/adt/prodcons.c',
    6280        'generic/as.c',
    6381        'generic/ddi.c',
    6482        'generic/perm.c',
    6583        'generic/capa.c',
    66         'generic/clipboard.c',
    6784        'generic/config.c',
    6885        'generic/context.c',
    69         'generic/corecfg.c',
    70         'generic/ctype.c',
     86        'generic/dbgcon.c',
    7187        'generic/device/clock_dev.c',
    7288        'generic/device/hw_res.c',
     
    8096        'generic/event.c',
    8197        'generic/errno.c',
    82         'generic/gsort.c',
    8398        'generic/inttypes.c',
    84         'generic/ipc_test.c',
    8599        'generic/loc.c',
    86         'generic/mem.c',
    87         'generic/str.c',
    88100        'generic/string.c',
    89         'generic/str_error.c',
    90         'generic/strtol.c',
    91101        'generic/l18n/langs.c',
    92102        'generic/pcb.c',
     
    96106        'generic/imath.c',
    97107        'generic/io/asprintf.c',
    98         'generic/io/input.c',
    99108        'generic/io/io.c',
    100         'generic/io/chargrid.c',
    101         'generic/io/output.c',
    102109        'generic/io/printf.c',
    103110        'generic/io/log.c',
     
    108115        'generic/io/vprintf.c',
    109116        'generic/io/vsnprintf.c',
    110         'generic/io/printf_core.c',
    111         'generic/io/con_srv.c',
    112         'generic/io/console.c',
    113117        'generic/io/table.c',
    114118        'generic/irq.c',
     
    137141        'generic/loader.c',
    138142        'generic/getopt.c',
    139         'generic/adt/checksum.c',
    140         'generic/adt/circ_buf.c',
    141         'generic/adt/list.c',
    142         'generic/adt/hash_table.c',
    143         'generic/adt/odict.c',
    144         'generic/adt/prodcons.c',
    145143        'generic/time.c',
    146144        'generic/tmpfile.c',
     
    158156        'generic/stats.c',
    159157        'generic/assert.c',
    160         'generic/bsearch.c',
    161         'generic/qsort.c',
    162158        'generic/ubsan.c',
    163159        'generic/uuid.c',
     
    186182        'test/inttypes.c',
    187183        'test/io/table.c',
     184        'test/loc.c',
    188185        'test/main.c',
    189186        'test/mem.c',
     
    215212        pic: false,
    216213)
     214exported_devel_files += ['staticlib', libstartfiles, 'libstartfiles.a']
    217215
    218216if CONFIG_DEVEL_FILES
Note: See TracChangeset for help on using the changeset viewer.