aboutsummaryrefslogtreecommitdiffstats
path: root/src/native/macosx/launcharghandler/Makefile
blob: 86c1e8ce3966eb77b5f9149a87235f430dbfeb07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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) $<