summaryrefslogtreecommitdiff
path: root/es_1_1/makefile-dynamic
diff options
context:
space:
mode:
Diffstat (limited to 'es_1_1/makefile-dynamic')
-rwxr-xr-xes_1_1/makefile-dynamic10
1 files changed, 8 insertions, 2 deletions
diff --git a/es_1_1/makefile-dynamic b/es_1_1/makefile-dynamic
index de5adb6..488e66e 100755
--- a/es_1_1/makefile-dynamic
+++ b/es_1_1/makefile-dynamic
@@ -17,11 +17,15 @@ CFLAGS += -DPROVIDING_OES_texture_cube_map
CFLAGS += -DPROVIDING_OES_texture_env_crossbar
CFLAGS += -DPROVIDING_OES_texture_mirrored_repeat
CFLAGS += -DPROVIDING_OES_element_index_uint
+CFLAGS += -DPROVIDING_OES_framebuffer_object
# never CFLAGS += -DPROVIDING_OES_texture_3D # only for ES 2.0
# never CFLAGS += -DPROVIDING_OES_texture_npot # only for ES 2.0
LIBBASE = libGLESv1_CM.so
-LIBVER = 1.0
+LIBMAJOR = 1
+LIBMINOR = 0
+LIBVER = $(LIBMAJOR).$(LIBMINOR)
+LIBSONAME = $(LIBBASE).$(LIBMAJOR)
LIB = $(LIBBASE).$(LIBVER)
END =
@@ -49,6 +53,7 @@ SRCS = \
50flush.c \
60get.c \
80ext.c \
+ 81framebuffer.c \
gl_real.c \
gl_context.c \
EGLImage.c \
@@ -63,10 +68,11 @@ __touch__:
touch 60get.c
$(LIB): $(OBJS)
- $(CC) -shared -Wl,-soname,$(LIBBASE).1 -o $@ $(OBJS) -ldl
+ $(CC) -shared -Wl,-soname,$(LIBSONAME) -o $@ $(OBJS) -ldl
install: $(LIB)
cp $(LIB) ../lib/host-gl/
+ ln -s $(LIB) ../lib/host-gl/$(LIBSONAME)
# supports