2019-01-21 00:53:39 +08:00
|
|
|
// 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 {
|
2019-01-21 05:15:20 +08:00
|
|
|
// Has macros expands to calloc/malloc
|
2019-01-21 00:53:39 +08:00
|
|
|
header "utils.h"
|
2019-01-21 05:15:20 +08:00
|
|
|
export libc.stdlib
|
2019-01-21 00:53:39 +08:00
|
|
|
}
|
|
|
|
module region {
|
|
|
|
header "region.h"
|
|
|
|
}
|
|
|
|
module compton {
|
|
|
|
header "compton.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 {
|
|
|
|
header "win.h"
|
|
|
|
}
|
|
|
|
module log {
|
|
|
|
header "log.h"
|
2019-02-13 12:18:32 +08:00
|
|
|
export compiler
|
2019-01-21 00:53:39 +08:00
|
|
|
}
|
|
|
|
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 backend {
|
|
|
|
module gl {
|
|
|
|
module gl_common {
|
|
|
|
header "backend/gl/gl_common.h"
|
|
|
|
}
|
2019-02-04 00:41:04 +08:00
|
|
|
module glx {
|
|
|
|
header "backend/gl/glx.h"
|
2019-02-09 08:36:14 +08:00
|
|
|
export GL.glx
|
2019-02-04 00:41:04 +08:00
|
|
|
}
|
2019-01-21 00:53:39 +08:00
|
|
|
}
|
|
|
|
module backend {
|
|
|
|
header "backend/backend.h"
|
|
|
|
}
|
|
|
|
module backend_common {
|
|
|
|
header "backend/backend_common.h"
|
|
|
|
}
|
|
|
|
}
|
2019-01-21 05:15:20 +08:00
|
|
|
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] {
|
2019-01-21 00:53:39 +08:00
|
|
|
export *
|
2019-01-21 05:15:20 +08:00
|
|
|
header "/usr/include/signal.h"
|
2019-01-21 00:53:39 +08:00
|
|
|
}
|