source: trunk/indexers/mg/jni/Makefile.in@ 3829

Last change on this file since 3829 was 3829, checked in by mdewsnip, 21 years ago

Uses $(JAVA_HOME) instead of hard-wired path.

  • Property svn:keywords set to Author Date Id Revision
File size: 1.1 KB
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@ -ansi -DSILENT -DSHORT_SUFFIX -DNZDL -DQUIET -DPARADOCNUM
16DEFS = @DEFS@
17RANLIB = @RANLIB@
18INSTALL = @INSTALL@
19INSTALL_DATA = @INSTALL_DATA@
20INSTALL_PROGRAM = @INSTALL_PROGRAM@
21LDFLAGS = @LDFLAGS@
22#NOTE: libtextin.a needs to come before libmg.a !!!
23LIBS = ../src/text/libtextin.a ../lib/libmg.a @LIBS@
24TOUCH = echo timestamp >
25AWK = @AWK@
26
27datadir = $(prefix)/share
28libexecdir = $(exec_prefix)/libexec
29localedir = $(datadir)/locale
30mandir = $(prefix)/man/man1
31
32CCOMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS)
33
34.SUFFIXES:
35
36.SUFFIXES: .c .o
37.c.o:
38 $(CCOMPILE) $<
39
40
41INCLUDES = -I.. -I../lib -I../src/text -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux
42
43all: compile link
44
45compile:
46 $(CCOMPILE) MGWrapperImpl.c
47
48link:
49 $(CC) -shared -o libmgjni.so MGWrapperImpl.o $(LIBS)
50
51clean:
52 rm -rf *.o libmgjni.so
53
54distclean: clean
55 rm -f Makefile
56
57install:
58 ../mkinstalldirs $(libdir); \
59 cp libmgjni.so $(libdir)/;
60
61
62
Note: See TracBrowser for help on using the repository browser.