root/indexers/trunk/mg/jni/Makefile.in @ 18445

Revision 18445, 1.7 KB (checked in by davidb, 11 years ago)

Removed dependency in Makefile on JAVA_HOME

  • Property svn:keywords set to Author Date Id Revision
Line 
1
2SHELL = /bin/sh
3VPATH = @srcdir@
4exec_prefix = @exec_prefix@
5prefix = @prefix@
6bindir = @bindir@
7srcdir = @srcdir@
8libdir = @libdir@
9subdir = jni
10top_srcdir = @top_srcdir@
11transform = @program_transform_name@
12
13AR = ar
14CC = @CC@
15CFLAGS = @CFLAGS@ @COMPAT32BITFLAGS@ -ansi -fpic -DSILENT -DSHORT_SUFFIX -DNZDL -DQUIET -DPARADOCNUM
16DEFS = @DEFS@
17RANLIB = @RANLIB@
18INSTALL = @INSTALL@
19INSTALL_DATA = @INSTALL_DATA@
20INSTALL_PROGRAM = @INSTALL_PROGRAM@
21LDFLAGS = @LDFLAGS@ @COMPAT32BITFLAGS@
22#NOTE: libmgtext.a needs to come before libmglib.a !!!
23QUERY_LIBS = ../src/text/libmgtext.a ../lib/libmglib.a @LIBS@
24PASSES_LIBS = ../src/text/libmgpass.a ../lib/libmglib.a @LIBS@
25TOUCH = echo timestamp >
26AWK = @AWK@
27
28JNIFLAGS=@JNIFLAGS@
29JNISUFFIX=@JNISUFFIX@
30JNIINC=@JNIINC@
31datadir = $(prefix)/share
32libexecdir = $(exec_prefix)/libexec
33localedir = $(datadir)/locale
34mandir = $(prefix)/man/man1
35
36CCOMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS)
37
38.SUFFIXES:
39
40.SUFFIXES: .c .o
41.c.o:
42    $(CCOMPILE) $<
43
44INCLUDES = -I.. -I../lib -I../src/text $(JNIINC)
45
46all: compile link
47
48compile:
49    $(CCOMPILE) MGSearchWrapperImpl.c MGRetrieveWrapperImpl.c MGPassesWrapperImpl.c
50
51link:
52    $(CC) $(LDFLAGS) $(JNIFLAGS) -o libmgretrievejni.$(JNISUFFIX) MGRetrieveWrapperImpl.o $(QUERY_LIBS)
53    $(CC) $(LDFLAGS) $(JNIFLAGS) -o libmgsearchjni.$(JNISUFFIX) MGSearchWrapperImpl.o $(QUERY_LIBS)
54    $(CC) $(LDFLAGS)  $(JNIFLAGS) -o libmgpassjni.$(JNISUFFIX)  MGPassesWrapperImpl.o  $(PASSES_LIBS)
55
56clean:
57    rm -rf *.o libmgretrievejni.$(JNISUFFIX) libmgsearchjni.$(JNISUFFIX) libmgpassjni.$(JNISUFFIX)
58
59distclean: clean
60    rm -f Makefile
61
62install:
63#   ../mkinstalldirs $(libdir); \
64#   cp libmgjni.$(JNISUFFIX) libmgpassjni.$(JNISUFFIX)  $(libdir)/;
65
66
67
Note: See TracBrowser for help on using the browser.