blob: ac354cc439fc2a66dedfefdb12b4ad124494a284 [file] [log] [blame]
Austin Schuh55139fe2015-10-14 23:55:24 -07001package(default_visibility = ['//debian:__pkg__'])
Austin Schuh23da18b2015-10-11 20:52:49 -07002
Austin Schuh4759ffc2015-10-07 20:39:56 -07003cc_library(
4 name = 'librt',
Austin Schuh55139fe2015-10-14 23:55:24 -07005 srcs = [
6 'lib/x86_64-linux-gnu/librt.so'
7 ],
Austin Schuh4759ffc2015-10-07 20:39:56 -07008)
9
10cc_library(
11 name = 'libdl',
Austin Schuh55139fe2015-10-14 23:55:24 -070012 srcs = [
13 'lib/x86_64-linux-gnu/libdl.so'
14 ],
Austin Schuh4759ffc2015-10-07 20:39:56 -070015)
16
17cc_library(
18 name = 'libm',
Austin Schuh55139fe2015-10-14 23:55:24 -070019 srcs = [
20 'lib/x86_64-linux-gnu/libm.so'
21 ],
Austin Schuh4759ffc2015-10-07 20:39:56 -070022)
23
24cc_library(
25 name = 'libpthread',
Austin Schuh4759ffc2015-10-07 20:39:56 -070026)
Austin Schuh1f9aeb42015-11-12 23:34:49 -080027
28cc_library(
29 name = 'python3.4_lib',
30 hdrs = glob(['include/python3.4m/**/*.h']),
31 includes = [
32 'include/python3.4m/',
33 ],
34 visibility = ['//visibility:public'],
35)
36
37cc_library(
38 name = 'python3.4_f2py',
39 srcs = [
40 'lib/python3/dist-packages/numpy/f2py/src/fortranobject.c',
41 ],
42 hdrs = [
43 'lib/python3/dist-packages/numpy/f2py/src/fortranobject.h',
44 ],
45 copts = [
46 '-Wno-error',
47 ],
48 includes = [
49 'lib/python3/dist-packages/numpy/f2py/src/',
50 ],
51 deps = [
52 ':python3.4_lib',
53 ],
54 visibility = ['//visibility:public'],
55)
56
57cc_library(
58 name = 'python2.7_lib',
59 hdrs = glob(['include/python2.7/**/*.h']),
60 srcs = [
61 'lib/x86_64-linux-gnu/libpython2.7.so',
62 ],
63 includes = [
64 'include/python2.7/',
65 ],
66 visibility = ['//visibility:public'],
67)
68
69cc_library(
70 name = 'python2.7_f2py',
71 srcs = [
72 'lib/python2.7/dist-packages/numpy/f2py/src/fortranobject.c',
73 ],
74 hdrs = [
75 'lib/python2.7/dist-packages/numpy/f2py/src/fortranobject.h',
76 ],
77 copts = [
78 '-Wno-error',
79 ],
80 includes = [
81 'lib/python2.7/dist-packages/numpy/f2py/src/',
82 ],
83 deps = [
84 ':python2.7_lib',
85 ],
86 visibility = ['//visibility:public'],
87)