Changeset 3e828ea in mainline for uspace/lib/posix/meson.build


Ignore:
Timestamp:
2019-09-23T12:49:29Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/fix-logger-deadlock, topic/msim-upgrade, topic/simplify-dev-export
Children:
9be2358
Parents:
9259d20 (diff), 1a4ec93f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Jiri Svoboda <jiri@…> (2019-09-22 12:49:07)
git-committer:
Jiri Svoboda <jiri@…> (2019-09-23 12:49:29)
Message:

Merge changes from master, especially Meson build

File:
1 moved

Legend:

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

    r9259d20 r3e828ea  
    11#
    2 # Copyright (c) 2005 Martin Decky
    3 # Copyright (c) 2007 Jakub Jermar
    42# Copyright (c) 2011 Petr Koupy
     3# Copyright (c) 2011 Jiri Zarevucky
    54# All rights reserved.
    65#
     
    2928#
    3029
    31 USPACE_PREFIX = ../../..
    32 LIBS = drv graph softrend
    33 BINARY = kfb
     30includes += include_directories('include/posix', 'include')
     31c_args += [ '-fno-builtin', '-D_XOPEN_SOURCE' ]
    3432
    35 SOURCES = \
    36         port.c \
    37         kfb.c
     33# TODO
    3834
    39 include $(USPACE_PREFIX)/Makefile.common
     35src = files(
     36        'src/ctype.c',
     37        'src/dlfcn.c',
     38        'src/fcntl.c',
     39        'src/fnmatch.c',
     40        'src/locale.c',
     41        'src/pthread/condvar.c',
     42        'src/pthread/keys.c',
     43        'src/pthread/mutex.c',
     44        'src/pthread/threads.c',
     45        'src/pwd.c',
     46        'src/signal.c',
     47        'src/stdio.c',
     48        'src/stdlib.c',
     49        'src/string.c',
     50        'src/strings.c',
     51        'src/sys/mman.c',
     52        'src/sys/stat.c',
     53        'src/sys/wait.c',
     54        'src/time.c',
     55        'src/unistd.c',
     56)
     57
     58test_src = files(
     59        'test/main.c',
     60        'test/stdio.c',
     61        'test/stdlib.c',
     62        'test/unistd.c',
     63)
     64
     65_sdir = meson.current_source_dir() / 'include' / 'posix'
     66uspace_lib_devel_install_script_text += 'mkdir -p "${DESTDIR}include/libposix"'
     67uspace_lib_devel_install_script_text += 'cp -R -L -T "@0@" "${DESTDIR}include/libposix"'.format(_sdir)
     68
     69# TODO: exports
Note: See TracChangeset for help on using the changeset viewer.