Permalink
Browse files

Add install argument for all targets

Enable installation for ksh, shcomp, libast, libcmd and libcoshell.
  • Loading branch information...
siteshwar committed Dec 6, 2017
1 parent 352782a commit 750e9f28c11c340187aa577509cdfc3569861a45
Showing with 14 additions and 5 deletions.
  1. +6 −2 src/cmd/ksh93/meson.build
  2. +2 −1 src/lib/libast/meson.build
  3. +4 −1 src/lib/libcmd/meson.build
  4. +2 −1 src/lib/libcoshell/meson.build
@@ -79,12 +79,16 @@ libdl_dep = cc.find_library('libdl', required : false)
ksh93_exe = executable('ksh', ksh93_files, c_args: ksh93_c_args,
include_directories: ksh93_incdir,
link_with: [libast, libcmd, libcoshell],
dependencies: [m_dep, execinfo_dep, libdl_dep])
dependencies: [m_dep, execinfo_dep, libdl_dep],
install: true)
shcomp_exe = executable('shcomp', shcomp_files, c_args: shcomp_c_args ,
include_directories: ksh93_incdir,
link_with: [ libast, libcmd, libcoshell],
dependencies : [ m_dep, execinfo_dep, libdl_dep ] )
dependencies : [ m_dep, execinfo_dep, libdl_dep ],
install: true)
install_man('ksh.1')
test_dir = join_paths(meson.current_source_dir(), 'tests')
@@ -24,4 +24,5 @@ iconv_dep = cc.find_library('iconv', required: false)
libast = library('ast', libast_files,
include_directories: incdir,
c_args: ['-D_BLD_ast', '-D_API_ast=20130625'],
dependencies: [m_dep, iconv_dep])
dependencies: [m_dep, iconv_dep],
install: true)
@@ -1,4 +1,7 @@
libcmd_files = ['context.c', 'cmdinit.c']
incdir = include_directories('../libast/include', '../libast/features/')
libcmd = library('cmd', libcmd_files, include_directories: incdir, link_with: libast)
libcmd = library('cmd', libcmd_files,
include_directories: incdir,
link_with: libast,
install: true)
@@ -13,4 +13,5 @@ libcoshell_incdir = include_directories('../libast/include',
libcoshell = library('coshell', libcoshell_files,
include_directories: libcoshell_incdir,
c_args: libcoshell_c_args,
link_with: libast)
link_with: libast,
install: true)

0 comments on commit 750e9f2

Please sign in to comment.