aboutsummaryrefslogtreecommitdiffstats
path: root/src/native/macosx/launcharghandler/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/native/macosx/launcharghandler/Makefile')
-rw-r--r--src/native/macosx/launcharghandler/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/native/macosx/launcharghandler/Makefile b/src/native/macosx/launcharghandler/Makefile
new file mode 100644
index 0000000..86c1e8c
--- /dev/null
+++ b/src/native/macosx/launcharghandler/Makefile
@@ -0,0 +1,20 @@
+# Author: Damian Minkov
+# javah -classpath ../../../../classes/ -o AEGetURLEventHandler.h net.java.sip.communicator.util.launchutils.AEGetURLEventHandler
+
+CC=gcc
+TARGET=libAEGetURLEventHandlerAgent.jnilib
+JNI_INCLUDE_PATH=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Headers/
+CFLAGS=-I$(JNI_INCLUDE_PATH)
+LIBS=-framework Foundation
+OBJS=AEGetURLEventHandlerAgent.o
+
+all:$(TARGET)
+
+clean:
+ rm -rf $(TARGET) $(OBJS) *~
+
+install:$(TARGET)
+ cp $(TARGET) ../../../../lib/native/mac/
+
+libAEGetURLEventHandlerAgent.jnilib:$(OBJS)
+ $(CC) -dynamiclib -o $(TARGET) $(LIBS) $(CFLAGS) $<