diff options
author | Lyubomir Marinov <lyubomir.marinov@jitsi.org> | 2010-05-18 20:34:09 +0000 |
---|---|---|
committer | Lyubomir Marinov <lyubomir.marinov@jitsi.org> | 2010-05-18 20:34:09 +0000 |
commit | e5dca5d66b0641a1a1bde355f86f53d41e3b7ae5 (patch) | |
tree | 4a2a2d30e8d64c20aab0102059409dba266b2122 /src/native/jawtrenderer/Makefile.linux | |
parent | 537a176b286163a6536cd7dd6c8344c28e3c040e (diff) | |
download | jitsi-e5dca5d66b0641a1a1bde355f86f53d41e3b7ae5.zip jitsi-e5dca5d66b0641a1a1bde355f86f53d41e3b7ae5.tar.gz jitsi-e5dca5d66b0641a1a1bde355f86f53d41e3b7ae5.tar.bz2 |
Commits an initial version of a native VideoRenderer i.e. JAWTRenderer on Linux using the XVideo extension of the X Window System.
Diffstat (limited to 'src/native/jawtrenderer/Makefile.linux')
-rw-r--r-- | src/native/jawtrenderer/Makefile.linux | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/native/jawtrenderer/Makefile.linux b/src/native/jawtrenderer/Makefile.linux new file mode 100644 index 0000000..4c77f4b --- /dev/null +++ b/src/native/jawtrenderer/Makefile.linux @@ -0,0 +1,15 @@ +JAVA_HOME?=/usr/lib/jvm/java-6-sun + +ARCH=$(shell uname -m | sed -e s/x86_64/-64/ -e s/i.86//) +TARGET=../../../lib/native/linux$(ARCH)/libjawtrenderer.so + +CC=gcc -g -std=c99 +CPPFLAGS=-DJNI_IMPLEMENTATION \ + -fPIC \ + -Wall -Wreturn-type \ + -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux +LDFLAGS=-shared -Wl,--no-undefined +LIBS=-L$(JAVA_HOME)/jre/lib/amd64 -ljawt -lXv -lX11 + +$(TARGET): net_java_sip_communicator_impl_neomedia_jmfext_media_renderer_video_JAWTRenderer.c JAWTRenderer_Linux.c net_java_sip_communicator_impl_neomedia_jmfext_media_renderer_video_JAWTRenderer.h JAWTRenderer.h + $(CC) $(CPPFLAGS) $^ $(LDFLAGS) -o $@ $(LIBS) |