]> WPIA git - gigi.git/blob - natives/Makefile
fix escaping in setuid Makefile
[gigi.git] / natives / Makefile
1 SYSTEM= $(shell uname | awk '{print tolower($$0)}')
2
3
4 all: libsetuid.so
5
6 libsetuid.so:
7         javah -classpath ../bin/ -jni org.cacert.gigi.natives.SetUID    
8         gcc -fPIC -o libsetuid.so -shared -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/$(SYSTEM) org_cacert_gigi_natives_SetUID.c
9
10 clean:
11         rm -f *.so
12         rm -f *.h