summaryrefslogtreecommitdiff
path: root/native/jni/Makefile.am
blob: 975492d25104160d5cb120c3f2aedb106e1764d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
SUBDIRS = awt

pkglib_LTLIBRARIES = \
			libjavaio.la \
			libjavalang.la \
			libjavalangmath.la \
			libjavalangreflect.la \
			libjavanet.la \
			libjavautil.la

libjavaio_la_SOURCES = 	\
			javaio.c \
			javaio.h \
			java_io_File.c \
			java_io_FileDescriptor.c \
			java_io_FileInputStream.c \
			java_io_FileOutputStream.c \
			java_io_RandomAccessFile.c \
			java_io_ObjectOutputStream.c \
			java_io_ObjectInputStream.c

libjavalang_la_SOURCES = \
                        mprec.h \
                        mprec.c \
                        fdlibm.h \
			jcl.h \
			jcl.c \
			java_lang_System.c \
			java_lang_Object.c \
			java_lang_Float.c \
			java_lang_Double.c 

libjavalangmath_la_SOURCES = \
			acos.c asin.c atan.c atan2.c ceil.c \
			cos.c e_fmod.c exp.c floor.c k_cos.c \
			k_rem_pio2.c k_sin.c k_tan.c log.c \
			pow.c remainder.c rint.c s_fabs.c sin.c \
			sqrt.c tan.c fdlibm.h

libjavalangreflect_la_SOURCES = java_lang_reflect_Array.c

libjavanet_la_SOURCES = \
			javanet.c \
			javanet.h \
			java_net_InetAddress.c \
			java_net_PlainDatagramSocketImpl.c \
                        java_net_PlainSocketImpl.c

libjavautil_la_SOURCES = \
			java_util_TimeZone.c \
                        java_util_ResourceBundle.c 

libjavaio_la_LDFLAGS = -version-info @LIBVERSION@ 
libjavalang_la_LDFLAGS = -version-info @LIBVERSION@
libjavalangmath_la_LDFLAGS = -version-info @LIBVERSION@
libjavalangreflect_la_LDFLAGS = -version-info @LIBVERSION@
libjavanet_la_LDFLAGS = -version-info @LIBVERSION@
libjavautil_la_LDFLAGS = -version-info @LIBVERSION@

INCLUDES +=  @EXTRA_INCLUDES@ \
             -I$(top_srcdir)/native/lib/ \
	     -I$(top_builddir)/include 

if JAPHAR
install-data-local : 
	-cd $(pkglibdir) && ln -s libjavaio.so libjaphar_javaio.so
	-cd $(pkglibdir) && ln -s libjavalang.so libjaphar_javalang.so
	-cd $(pkglibdir) && ln -s libjavalangmath.so libjaphar_javalangmath.so
	-cd $(pkglibdir) && ln -s libjavalangreflect.so libjaphar_javalangreflect.so
	-cd $(pkglibdir) && ln -s libjavanet.so libjaphar_javanet.so
	-cd $(pkglibdir) && ln -s libjavautil.so libjaphar_javautil.so
endif

clean-local:
	-rm -rf .deps