1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- load("//sys/src/FLAGS", "LIB_COMPILER_FLAGS", "CMD_DEPS", "CMD_LINK_OPTS")
- cc_library(
- name = "libvs",
- copts = LIB_COMPILER_FLAGS,
- includes=[
- "//sys/include",
- "//amd64/include",
- ],
- srcs = [
- "arena.c",
- "arenas.c",
- "bloom.c",
- "buildbuck.c",
- "clump.c",
- "config.c",
- "conv.c",
- "dcache.c",
- "disksched.c",
- "dump.c",
- "graph.c",
- "hdisk.c",
- "hproc.c",
- "httpd.c",
- "icache.c",
- "icachewrite.c",
- "ifile.c",
- "index.c",
- "lump.c",
- "lumpcache.c",
- "lumpqueue.c",
- "part.c",
- "png.c",
- "round.c",
- "score.c",
- "sortientry.c",
- "stats.c",
- "syncarena.c",
- "syncindex0.c",
- "trace.c",
- "unwhack.c",
- "utils.c",
- "unittoull.c",
- "whack.c",
- "xml.c",
- "zblock.c",
- "zeropart.c",
- ],
- )
- DEPS = [
- ":libvs",
- ]
- VENTI_DEPS =DEPS +CMD_DEPS
- cc_binary(
- name = "venti",
- copts = LIB_COMPILER_FLAGS,
- includes=[
- "//sys/include",
- "//amd64/include",
- ],
- srcs=[
- "venti.c"
- ],
- linkopts = CMD_LINK_OPTS,
- deps =VENTI_DEPS,
- )
|