2 INCLUDEPATH
= -I
$(JAVA_HOME
)/include -I
$(JAVA_HOME
)/include/$(PLAT
) -I
/usr
/java
/include/ -I
/usr
/java
/include/solaris
/
7 Javacyc.class
: Javacyc.java libunixdomainsocket.so
8 javac
$(JAVA_FLAGS
) Javacyc.java
10 libunixdomainsocket.so
: UnixDomainSocket.o
11 ld -G
-z text
-o libunixdomainsocket.so UnixDomainSocket.o
13 UnixDomainSocket.o
: UnixDomainSocket.c UnixDomainSocket.h
14 gcc
-Wall
-fPIC
-c
$(INCLUDEPATH
) UnixDomainSocket.c
16 UnixDomainSocket.h
: UnixDomainSocket
$1.class
17 javah UnixDomainSocket
19 UnixDomainSocket
$1.class
: UnixDomainSocket.java
20 javac
$(JAVA_FLAGS
) UnixDomainSocket.java
22 test: Javacyc.class JavacycTest.java
23 javac
$(JAVA_FLAGS
) JavacycTest.java
26 javac
$(JAVA_FLAGS
) StressTest.java
31 rm -f
*.class
*.so
*.o