diff options
author | HyungKyu Song <hk76.song@samsung.com> | 2013-02-16 00:41:45 +0900 |
---|---|---|
committer | HyungKyu Song <hk76.song@samsung.com> | 2013-02-16 00:41:45 +0900 |
commit | 65db3453b2d83c113f9f7a939e386353ce348866 (patch) | |
tree | 93daea8d0cfed389b9f89b82d3a7bf739d8ebb58 /egl_1_4/makefile-dynamic | |
parent | 90dff65a3ccb36853763486671163ca81274b677 (diff) | |
download | simulator-opengl-submit/tizen_2.0/20130215.192024.tar.gz simulator-opengl-submit/tizen_2.0/20130215.192024.tar.bz2 simulator-opengl-submit/tizen_2.0/20130215.192024.zip |
Tizen 2.0 Releasesubmit/tizen_2.0/20130215.192024tizen_2.0
Diffstat (limited to 'egl_1_4/makefile-dynamic')
-rwxr-xr-x | egl_1_4/makefile-dynamic | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/egl_1_4/makefile-dynamic b/egl_1_4/makefile-dynamic new file mode 100755 index 0000000..e3c8bef --- /dev/null +++ b/egl_1_4/makefile-dynamic @@ -0,0 +1,84 @@ +#!/bin/make + + +CFLAGS = -I. -I../include -fPIC -DPROVIDING_RUNTIME_BINDING -Werror-implicit-function-declaration -O3 -g +ARFLAGS = rucv + + +#LIB = libEGLbind.a + +LIBBASE = libEGL.so +LIBVER = 1.0 +LIB = $(LIBBASE).$(LIBVER) + +END = +SRCS = \ + 31Error.c \ + 32GetDisplay.c \ + 32Initialize.c \ + 32Terminate.c \ + 33QueryString.c \ + 34GetConfigs.c \ + 34ChooseConfig.c \ + 34GetConfigAttrib.c \ + 35CreateWindowSurface.c \ + 35CreatePbufferSurface.c \ + 35CreatePbufferFromClientBuffer.c \ + 35CreatePixmapSurface.c \ + 35DestroySurface.c \ + 36SurfaceAttrib.c \ + 36QuerySurface.c \ + 36BindTexImage.c \ + 36ReleaseTexImage.c \ + 37BindAPI.c \ + 37QueryAPI.c \ + 37CreateContext.c \ + 37DestroyContext.c \ + 37MakeCurrent.c \ + 37GetCurrentContext.c \ + 37GetCurrentSurface.c \ + 37GetCurrentDisplay.c \ + 37QueryContext.c \ + 38WaitClient.c \ + 38WaitGL.c \ + 38WaitNative.c \ + 39SwapBuffers.c \ + 39CopyBuffers.c \ + 39SwapInterval.c \ + 3AGetProcAddress.c \ + 3BReleaseThread.c \ + 41LockSurfaceKHR.c \ + 41UnlockSurfaceKHR.c \ + 42CreateImageKHR.c \ + 42DestroyImageKHR.c \ + global.c \ + $(END) +OBJS = $(SRCS:.c=.o) + +default: __touch__ $(LIB) + +__touch__: + touch 33QueryString.c + +$(LIB): $(OBJS) + $(CC) -shared -Wl,-soname,$(LIBBASE).1 -I../include -o $@ $(OBJS) -I../include -ldl -lX11 +# $(AR) $(ARFLAGS) $@ $(OBJS) + + +install: $(LIB) + cp $(LIB) ../lib/host-gl/ + + +# supports + +clean: + $(RM) $(RMFLAGS) $(OBJS) + +clobber: clean + $(RM) $(RMFLAGS) $(LIB) core a.out + +wc: + wc $(SRCS) *.inl *.h + +#$(OBJS): EGL/egl.h EGL/eglext.h EGL/eglplatform.h +global.o: binding.inl |