--- /dev/null
+#!/bin/bash
+javah -classpath ../bin/:../lib/swt/gtk-linux/swt.jar -jni org.tizen.emulator.skin.EmulatorSkin
+rm ./org_tizen_emulator_skin_EmulatorSkin_PollFBThread.h
+rm ./org_tizen_emulator_skin_EmulatorSkin_SkinReopenPolicy.h
+gcc -c Share.c -o Share.o -I /usr/lib/jvm/jdk1.7.0_04/include -I /usr/lib/jvm/jdk1.7.0_04/include/linux
+gcc -shared Share.o -o libshared.so -fPIC
--- /dev/null
+#!/bin/bash
+javah -classpath ../emulator-skin.jar:../lib/swt/cocoa-macosx64/swt.jar -jni org.tizen.emulator.skin.EmulatorSkin
+rm ./org_tizen_emulator_skin_EmulatorSkin_PollFBThread.h
+rm ./org_tizen_emulator_skin_EmulatorSkin_SkinReopenPolicy.h
+gcc -c Share.c -o Share.o -I/System/Library/Frameworks/JavaVM.framework/Headers
+gcc -dynamiclib Share.o -o libshared.dylib
--- /dev/null
+/* DO NOT EDIT THIS FILE - it is machine generated */
+#include <jni.h>
+/* Header for class org_tizen_emulator_skin_EmulatorSkin */
+
+#ifndef _Included_org_tizen_emulator_skin_EmulatorSkin
+#define _Included_org_tizen_emulator_skin_EmulatorSkin
+#ifdef __cplusplus
+extern "C" {
+#endif
+#undef org_tizen_emulator_skin_EmulatorSkin_RED_MASK
+#define org_tizen_emulator_skin_EmulatorSkin_RED_MASK 16711680L
+#undef org_tizen_emulator_skin_EmulatorSkin_GREEN_MASK
+#define org_tizen_emulator_skin_EmulatorSkin_GREEN_MASK 65280L
+#undef org_tizen_emulator_skin_EmulatorSkin_BLUE_MASK
+#define org_tizen_emulator_skin_EmulatorSkin_BLUE_MASK 255L
+#undef org_tizen_emulator_skin_EmulatorSkin_COLOR_DEPTH
+#define org_tizen_emulator_skin_EmulatorSkin_COLOR_DEPTH 32L
+/*
+ * Class: org_tizen_emulator_skin_EmulatorSkin
+ * Method: shmget
+ * Signature: (I)I
+ */
+JNIEXPORT jint JNICALL Java_org_tizen_emulator_skin_EmulatorSkin_shmget
+ (JNIEnv *, jobject, jint);
+
+/*
+ * Class: org_tizen_emulator_skin_EmulatorSkin
+ * Method: shmdt
+ * Signature: ()I
+ */
+JNIEXPORT jint JNICALL Java_org_tizen_emulator_skin_EmulatorSkin_shmdt
+ (JNIEnv *, jobject);
+
+/*
+ * Class: org_tizen_emulator_skin_EmulatorSkin
+ * Method: getPixels
+ * Signature: ([I)I
+ */
+JNIEXPORT jint JNICALL Java_org_tizen_emulator_skin_EmulatorSkin_getPixels
+ (JNIEnv *, jobject, jintArray);
+
+#ifdef __cplusplus
+}
+#endif
+#endif