Austin Schuh | 9950f68 | 2021-11-06 15:27:58 -0700 | [diff] [blame] | 1 | cc_binary( |
| 2 | name = "libNiFpgaLv.so.13", |
| 3 | srcs = [ |
| 4 | "src/shims/fpgalv/main.c", |
| 5 | ], |
| 6 | linkshared = True, |
| 7 | linkstatic = False, |
| 8 | ) |
| 9 | |
| 10 | cc_binary( |
James Kuszmaul | cd622d5 | 2023-11-22 20:44:04 -0800 | [diff] [blame] | 11 | name = "libnirio_emb_can.so.23", |
Austin Schuh | 9950f68 | 2021-11-06 15:27:58 -0700 | [diff] [blame] | 12 | srcs = [ |
| 13 | "src/shims/embcan/main.c", |
| 14 | ], |
| 15 | linkshared = True, |
| 16 | linkstatic = False, |
| 17 | ) |
| 18 | |
Brian Silverman | 82a12b9 | 2019-01-19 21:52:10 -0800 | [diff] [blame] | 19 | cc_library( |
| 20 | name = "ni-libraries", |
| 21 | srcs = [ |
Austin Schuh | 9950f68 | 2021-11-06 15:27:58 -0700 | [diff] [blame] | 22 | "libNiFpgaLv.so.13", |
James Kuszmaul | cd622d5 | 2023-11-22 20:44:04 -0800 | [diff] [blame] | 23 | "libnirio_emb_can.so.23", |
| 24 | "src/lib/chipobject/libRoboRIO_FRC_ChipObject.so.24.0.0", |
| 25 | "src/lib/netcomm/libFRC_NetworkCommunication.so.24.0.0", |
| 26 | "src/lib/visa/libvisa.so.23.3.0", |
Brian Silverman | 82a12b9 | 2019-01-19 21:52:10 -0800 | [diff] [blame] | 27 | ], |
| 28 | hdrs = glob(["src/include/**"]), |
| 29 | includes = [ |
| 30 | "src/include", |
| 31 | ], |
James Kuszmaul | 02eb05e | 2019-12-22 12:32:18 -0800 | [diff] [blame] | 32 | linkopts = ["-ldl"], |
Brian Silverman | 82a12b9 | 2019-01-19 21:52:10 -0800 | [diff] [blame] | 33 | linkstatic = True, |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 34 | target_compatible_with = ["@//tools/platforms/hardware:roborio"], |
Brian Silverman | 82a12b9 | 2019-01-19 21:52:10 -0800 | [diff] [blame] | 35 | visibility = ["//visibility:public"], |
| 36 | ) |