forked from ibmruntimes/zoslib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.gn
51 lines (47 loc) · 1.24 KB
/
BUILD.gn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
###############################################################################
# Licensed Materials - Property of IBM
# ZOSLIB
# (C) Copyright IBM Corp. 2021. All Rights Reserved.
# US Government Users Restricted Rights - Use, duplication
# or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
###############################################################################
config("zoslib_config") {
include_dirs = [
"include",
]
cflags = [
"-m64",
"-march=arch10",
"-mtune=arch10",
"-fno-short-enums",
"-fzos-le-char-mode=ascii",
]
}
shared_library("zoslib") {
output_name = "zoslib"
sources = [
"include/csrsic.h",
"include/edcwccwi.h",
"include/sys/socket.h",
"include/zos.h",
"include/zos-base.h",
"include/zos-bpx.h",
"include/zos-char-util.h",
"include/zos-getentropy.h",
"include/zos-io.h",
"include/zos-savstack.h",
"include/zos-semaphore.h",
"include/zos-setlibpath.h",
"include/zos-sys-info.h",
"include/zos-tls.h",
"src/zos.cc",
"src/zos-bpx.cc",
"src/zos-char-util.cc",
"src/zos-getentropy.cc",
"src/zos-io.cc",
"src/zos-semaphore.cc",
"src/zos-sys-info.cc",
"src/zos-tls.cc",
]
configs += [ ":zoslib_config" ]
}