Lines Matching refs:Module
9 # The following macros are used to start a new GLES emulation module.
21 # $(call emugl-end-module)
23 emugl-begin-host-static-library = $(call emugl-begin-module,$1,HOST_STATIC_LIBRARY,HOST)
24 emugl-begin-host-shared-library = $(call emugl-begin-module,$1,HOST_SHARED_LIBRARY,HOST)
25 emugl-begin-host-executable = $(call emugl-begin-module,$1,HOST_EXECUTABLE,HOST)
32 emugl-begin-module = \
42 $(call _emugl-init-module,$1,$2,$3)
44 # Used to end a module definition, see function definitions above
45 emugl-end-module = \
49 $(if $(EMUGL_DEBUG),$(call emugl-dump-module))
51 # Managing module exports and imports.
53 # A module can 'import' another module, by calling emugl-import. This will
55 # the imported module.
57 # Module exports are defined by calling emugl-export. Here is an example:
63 # $(call emugl-end-module)
68 # $(call emugl-end-module)
84 # IMPORTANT: Imports are transitive, i.e. when module A imports B,
97 # Initialize a module in our database
98 # $1: Module name
99 # $2: Module type
100 # $3: "HOST" for a host module, empty for a target one.
101 _emugl-init-module = \
105 $(error There is already a $(if $3,host,) module named $1!)\
115 # Called to indicate that a module exports a given local variable for its
126 # Called to indicate that a module imports the exports of another module
131 $(call _emugl-module-import,$(_emugl_HOST)$(_imod))\
134 _emugl-module-import = \
137 $(info Unknown imported emugles module: $1)\
148 $(call _emugl-module-import,$(_sub))\
168 emugl-dump-module = \
169 $(info MODULE=$(_emugl_MODULE))\