aboutsummaryrefslogtreecommitdiff
path: root/src/compfy.modulemap
diff options
context:
space:
mode:
authorallusive-dev <[email protected]>2023-11-16 08:45:41 +1100
committerallusive-dev <[email protected]>2023-11-16 08:45:41 +1100
commit3f4bb5d524c8b3935d3a4c0e4de178709c527677 (patch)
tree02835c1b074024399c6fd04ab37a2f27865a8708 /src/compfy.modulemap
parentUpdate README.md (diff)
downloadcompfy-3f4bb5d524c8b3935d3a4c0e4de178709c527677.tar.xz
compfy-3f4bb5d524c8b3935d3a4c0e4de178709c527677.zip
Hide unneeded GL errors. Fix modulemap1.6.1
Diffstat (limited to 'src/compfy.modulemap')
-rw-r--r--src/compfy.modulemap214
1 files changed, 214 insertions, 0 deletions
diff --git a/src/compfy.modulemap b/src/compfy.modulemap
new file mode 100644
index 0000000..621ad81
--- /dev/null
+++ b/src/compfy.modulemap
@@ -0,0 +1,214 @@
+// modulemap
+
+module compiler {
+ header "compiler.h"
+}
+module string_utils {
+ header "string_utils.h"
+}
+module dbus {
+ header "dbus.h"
+}
+module kernel {
+ header "kernel.h"
+}
+module utils {
+ // Has macros expands to calloc/malloc
+ header "utils.h"
+ export libc.stdlib
+}
+module region {
+ header "region.h"
+}
+module compfy {
+ header "compfy.h"
+}
+module types {
+ header "types.h"
+}
+module c2 {
+ header "c2.h"
+}
+module render {
+ header "render.h"
+}
+module options {
+ header "options.h"
+}
+module opengl {
+ header "opengl.h"
+}
+module diagnostic {
+ header "diagnostic.h"
+}
+module win_defs {
+ header "win_defs.h"
+}
+module win {
+ header "win.h"
+ export win_defs
+}
+module log {
+ header "log.h"
+ export compiler
+}
+module x {
+ header "x.h"
+}
+module vsync {
+ header "vsync.h"
+}
+module common {
+ header "common.h"
+}
+module config {
+ header "config.h"
+}
+module xrescheck {
+ header "xrescheck.h"
+}
+module cache {
+ header "cache.h"
+}
+module backend {
+ module gl {
+ module gl_common {
+ header "backend/gl/gl_common.h"
+ }
+ module glx {
+ header "backend/gl/glx.h"
+ export GL.glx
+ }
+ }
+ module backend {
+ header "backend/backend.h"
+ }
+ module backend_common {
+ header "backend/backend_common.h"
+ }
+}
+module xcb [system] {
+ module xcb {
+ header "/usr/include/xcb/xcb.h"
+ export *
+ }
+ module randr {
+ header "/usr/include/xcb/randr.h"
+ export *
+ }
+ module render {
+ header "/usr/include/xcb/render.h"
+ export *
+ }
+ module sync {
+ header "/usr/include/xcb/sync.h"
+ export *
+ }
+ module composite {
+ header "/usr/include/xcb/composite.h"
+ export *
+ }
+ module xfixes {
+ header "/usr/include/xcb/xfixes.h"
+ export *
+ }
+ module damage {
+ header "/usr/include/xcb/damage.h"
+ export *
+ }
+ module xproto {
+ header "/usr/include/xcb/xproto.h"
+ export *
+ }
+ module present {
+ header "/usr/include/xcb/present.h"
+ }
+ module util {
+ module render {
+ header "/usr/include/xcb/xcb_renderutil.h"
+ export *
+ }
+ }
+}
+module X11 [system] {
+ module Xlib {
+ header "/usr/include/X11/Xlib.h"
+ export *
+ }
+ module Xutil {
+ header "/usr/include/X11/Xutil.h"
+ export *
+ }
+}
+module GL [system] {
+ module glx {
+ header "/usr/include/GL/glx.h"
+ export *
+ }
+ module gl {
+ header "/usr/include/GL/gl.h"
+ export *
+ }
+}
+module libc [system] {
+ export *
+ module assert {
+ export *
+ textual header "/usr/include/assert.h"
+ }
+ module string {
+ export *
+ header "/usr/include/string.h"
+ }
+ module ctype {
+ export *
+ header "/usr/include/ctype.h"
+ }
+ module errno {
+ export *
+ header "/usr/include/errno.h"
+ }
+ module fenv {
+ export *
+ header "/usr/include/fenv.h"
+ }
+ module inttypes {
+ export *
+ header "/usr/include/inttypes.h"
+ }
+ module math {
+ export *
+ header "/usr/include/math.h"
+ }
+ module setjmp {
+ export *
+ header "/usr/include/setjmp.h"
+ }
+ module stdio {
+ export *
+ header "/usr/include/stdio.h"
+ }
+
+ module stdlib [system] {
+ export *
+ header "/usr/include/stdlib.h"
+ }
+}
+
+// glib specific header. In it's own module because it
+// doesn't exist on some systems with unpatched glib 2.26+
+module "xlocale.h" [system] {
+ export *
+ header "/usr/include/xlocale.h"
+}
+
+// System header that we have difficult with merging.
+module "sys_types.h" [system] {
+ export *
+ header "/usr/include/sys/types.h"
+}
+
+module "signal.h" [system] {
+ export *
+ header "/usr/include/signal.h"
+}