blob: e654bd71c747f03e9c9cb510ee1174ea83e4240e [file] [log] [blame]
Alistair Delvabeaee832021-02-24 11:27:23 -08001// Copyright 2021 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15cc_binary_host {
16 name: "mtools",
17 srcs: [
18 "buffer.c",
19 "charsetConv.c",
20 "codepages.c",
21 "config.c",
22 "copyfile.c",
23 "devices.c",
24 "dirCache.c",
25 "directory.c",
26 "direntry.c",
27 "expand.c",
28 "fat.c",
29 "fat_free.c",
30 "file.c",
31 "file_name.c",
32 "filter.c",
33 "floppyd_io.c",
34 "force_io.c",
35 "hash.c",
36 "init.c",
37 "llong.c",
38 "lockdev.c",
39 "match.c",
40 "mainloop.c",
41 "mattrib.c",
42 "mbadblocks.c",
43 "mcat.c",
44 "mcd.c",
45 "mclasserase.c",
46 "mcopy.c",
47 "mdel.c",
48 "mdir.c",
49 "mdoctorfat.c",
50 "mdu.c",
51 "mformat.c",
52 "minfo.c",
53 "misc.c",
54 "missFuncs.c",
55 "mk_direntry.c",
56 "mlabel.c",
57 "mmd.c",
58 "mmount.c",
59 "mmove.c",
60 "mpartition.c",
61 "mshortname.c",
62 "mshowfat.c",
63 "mzip.c",
64 "mtools.c",
65 "old_dos.c",
66 "patchlevel.c",
67 "plain_io.c",
68 "precmd.c",
69 "privileges.c",
70 "scsi.c",
71 "signal.c",
72 "stream.c",
73 "streamcache.c",
74 "strtonum.c",
75 "subdir.c",
76 "unixdir.c",
77 "tty.c",
78 "vfat.c",
79 "xdf_io.c",
80 ],
81 cflags: [
82 "-DSYSCONFDIR=\"/etc\"",
83 "-Wno-missing-field-initializers",
84 "-Wno-unused-parameter",
85 "-Wno-unused-result",
86 ],
87 symlinks: [
88 "mcopy",
Alistair Delva06e5b282021-03-15 12:12:55 -070089 "mmd",
Alistair Delvabeaee832021-02-24 11:27:23 -080090 ],
91}