Brian Silverman | 41324d0 | 2016-01-31 18:24:37 -0500 | [diff] [blame] | 1 | package(default_visibility = ['@//debian:__pkg__']) |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 2 | |
Austin Schuh | 4759ffc | 2015-10-07 20:39:56 -0700 | [diff] [blame] | 3 | cc_library( |
| 4 | name = 'librt', |
Austin Schuh | 55139fe | 2015-10-14 23:55:24 -0700 | [diff] [blame] | 5 | srcs = [ |
| 6 | 'lib/x86_64-linux-gnu/librt.so' |
| 7 | ], |
Austin Schuh | 4759ffc | 2015-10-07 20:39:56 -0700 | [diff] [blame] | 8 | ) |
| 9 | |
| 10 | cc_library( |
| 11 | name = 'libdl', |
Austin Schuh | 55139fe | 2015-10-14 23:55:24 -0700 | [diff] [blame] | 12 | srcs = [ |
| 13 | 'lib/x86_64-linux-gnu/libdl.so' |
| 14 | ], |
Austin Schuh | 4759ffc | 2015-10-07 20:39:56 -0700 | [diff] [blame] | 15 | ) |
| 16 | |
| 17 | cc_library( |
| 18 | name = 'libm', |
Austin Schuh | 55139fe | 2015-10-14 23:55:24 -0700 | [diff] [blame] | 19 | srcs = [ |
| 20 | 'lib/x86_64-linux-gnu/libm.so' |
| 21 | ], |
Austin Schuh | 4759ffc | 2015-10-07 20:39:56 -0700 | [diff] [blame] | 22 | ) |
| 23 | |
| 24 | cc_library( |
| 25 | name = 'libpthread', |
Austin Schuh | 4759ffc | 2015-10-07 20:39:56 -0700 | [diff] [blame] | 26 | ) |
Austin Schuh | 1f9aeb4 | 2015-11-12 23:34:49 -0800 | [diff] [blame] | 27 | |
| 28 | cc_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 | |
| 37 | cc_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', |
Austin Schuh | c65df86 | 2015-12-27 14:04:49 -0800 | [diff] [blame] | 47 | '-Wno-parentheses-equality', |
Austin Schuh | 1f9aeb4 | 2015-11-12 23:34:49 -0800 | [diff] [blame] | 48 | ], |
| 49 | includes = [ |
| 50 | 'lib/python3/dist-packages/numpy/f2py/src/', |
| 51 | ], |
| 52 | deps = [ |
| 53 | ':python3.4_lib', |
| 54 | ], |
| 55 | visibility = ['//visibility:public'], |
| 56 | ) |
| 57 | |
| 58 | cc_library( |
| 59 | name = 'python2.7_lib', |
| 60 | hdrs = glob(['include/python2.7/**/*.h']), |
| 61 | srcs = [ |
| 62 | 'lib/x86_64-linux-gnu/libpython2.7.so', |
| 63 | ], |
| 64 | includes = [ |
| 65 | 'include/python2.7/', |
| 66 | ], |
| 67 | visibility = ['//visibility:public'], |
| 68 | ) |
| 69 | |
| 70 | cc_library( |
| 71 | name = 'python2.7_f2py', |
| 72 | srcs = [ |
| 73 | 'lib/python2.7/dist-packages/numpy/f2py/src/fortranobject.c', |
| 74 | ], |
| 75 | hdrs = [ |
| 76 | 'lib/python2.7/dist-packages/numpy/f2py/src/fortranobject.h', |
| 77 | ], |
| 78 | copts = [ |
| 79 | '-Wno-error', |
| 80 | ], |
| 81 | includes = [ |
| 82 | 'lib/python2.7/dist-packages/numpy/f2py/src/', |
| 83 | ], |
| 84 | deps = [ |
| 85 | ':python2.7_lib', |
| 86 | ], |
| 87 | visibility = ['//visibility:public'], |
| 88 | ) |
Parker Schuh | 2cd173d | 2017-01-28 00:12:01 -0800 | [diff] [blame^] | 89 | |
| 90 | cc_library( |
| 91 | name = 'gtk+-3.0', |
| 92 | hdrs = glob([ |
| 93 | 'include/gtk-3.0/**/*.h', |
| 94 | 'include/at-spi2-atk/2.0/**/*.h', |
| 95 | 'include/at-spi-2.0/**/*.h', |
| 96 | 'include/dbus-1.0/**/*.h', |
| 97 | 'lib/x86_64-linux-gnu/dbus-1.0/include/**/*.h', |
| 98 | 'include/gtk-3.0/**/*.h', |
| 99 | 'include/gio-unix-2.0/**/*.h', |
| 100 | 'include/cairo/**/*.h', |
| 101 | 'include/pango-1.0/**/*.h', |
| 102 | 'include/harfbuzz/**/*.h', |
| 103 | 'include/pango-1.0/**/*.h', |
| 104 | 'include/atk-1.0/**/*.h', |
| 105 | 'include/pixman-1/**/*.h', |
| 106 | 'include/freetype2/**/*.h', |
| 107 | 'include/libpng12/**/*.h', |
| 108 | 'include/gdk-pixbuf-2.0/**/*.h', |
| 109 | 'include/glib-2.0/**/*.h', |
| 110 | 'lib/x86_64-linux-gnu/glib-2.0/include/**/*.h', |
| 111 | ]), |
| 112 | includes = [ |
| 113 | 'include/gtk-3.0', |
| 114 | 'include/at-spi2-atk/2.0', |
| 115 | 'include/at-spi-2.0', |
| 116 | 'include/dbus-1.0', |
| 117 | 'lib/x86_64-linux-gnu/dbus-1.0/include', |
| 118 | 'include/gtk-3.0', |
| 119 | 'include/gio-unix-2.0/', |
| 120 | 'include/cairo', |
| 121 | 'include/pango-1.0', |
| 122 | 'include/harfbuzz', |
| 123 | 'include/pango-1.0', |
| 124 | 'include/atk-1.0', |
| 125 | 'include/pixman-1', |
| 126 | 'include/freetype2', |
| 127 | 'include/libpng12', |
| 128 | 'include/gdk-pixbuf-2.0', |
| 129 | 'include/glib-2.0', |
| 130 | 'lib/x86_64-linux-gnu/glib-2.0/include', |
| 131 | ], |
| 132 | linkopts = [ |
| 133 | '-lgtk-3', |
| 134 | '-lgdk-3', |
| 135 | '-lpangocairo-1.0', |
| 136 | '-lpango-1.0', |
| 137 | '-latk-1.0', |
| 138 | '-lcairo-gobject', |
| 139 | '-lcairo', |
| 140 | '-lgdk_pixbuf-2.0', |
| 141 | '-lgio-2.0', |
| 142 | '-lgobject-2.0', |
| 143 | '-lglib-2.0' |
| 144 | ], |
| 145 | visibility = ['//visibility:public'], |
| 146 | ) |