Home | History | Annotate | Download | only in opengl

Lines Matching defs:module

9 # The following macros are used to start a new GLES emulation module.
21 # $(call emugl-end-module)
23 emugl-begin-static-library = $(call emugl-begin-module,$1,STATIC_LIBRARY)
24 emugl-begin-shared-library = $(call emugl-begin-module,$1,SHARED_LIBRARY)
31 emugl-begin-module = \
39 $(call _emugl-init-module,$1,$2,$3)
41 # Used to end a module definition, see function definitions above
42 emugl-end-module = \
46 $(if $(EMUGL_DEBUG),$(call emugl-dump-module))
48 # Managing module exports and imports.
50 # A module can 'import' another module, by calling emugl-import. This will
52 # the imported module.
54 # Module exports are defined by calling emugl-export. Here is an example:
60 # $(call emugl-end-module)
65 # $(call emugl-end-module)
81 # IMPORTANT: Imports are transitive, i.e. when module A imports B,
94 # Initialize a module in our database
95 # $1: Module name
96 # $2: Module type
97 # $3: "HOST" for a host module, empty for a target one.
98 _emugl-init-module = \
102 $(error There is already a $(if $3,host,) module named $1!)\
112 # Called to indicate that a module exports a given local variable for its
123 # Called to indicate that a module imports the exports of another module
128 $(call _emugl-module-import,$(_emugl_HOST)$(_imod))\
131 _emugl-module-import = \
134 $(info Unknown imported emugles module: $1)\
145 $(call _emugl-module-import,$(_sub))\
165 emugl-dump-module = \
166 $(info MODULE=$(_emugl_MODULE))\