source: trunk/indexers/mgpp/jni/Makefile.in@ 13730

Last change on this file since 13730 was 13730, checked in by kjdon, 17 years ago

don't install the jni stuff at the moment - so now needs to be manually copied

  • Property svn:keywords set to Author Date Id Revision
File size: 1.8 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
13UNAC_DIR=@UNAC_DIR@
14
15ENABLE_ACCENTFOLD = @ENABLE_ACCENTFOLD@
16ifeq ($(ENABLE_ACCENTFOLD), 1)
17AFLIBS = $(UNAC_DIR)/libunac.a
18AFINCLUDES = -I$(UNAC_DIR)
19else
20AFLIBS =
21AFINCLUDES =
22endif
23
24
25
26AR = ar
27CC = @CC@
28CXX = @CXX@
29CFLAGS = @CFLAGS@ -fPIC -ansi -DSILENT -DSHORT_SUFFIX
30CXXFLAGS = @CXXFLAGS@ -fPIC -DSILENT -DSHORT_SUFFIX
31DEFS = @DEFS@
32RANLIB = @RANLIB@
33INSTALL = @INSTALL@
34INSTALL_DATA = @INSTALL_DATA@
35INSTALL_PROGRAM = @INSTALL_PROGRAM@
36LDFLAGS = @LDFLAGS@
37#NOTE: libmgpptext.a needs to come before libmgpplib.a !!!
38QUERY_LIBS = ../text/libmgpptext.a ../lib/libmgpplib.a $(AFLIBS) -lstdc++ @LIBS@
39PASSES_LIBS = ../text/libmgpppass.a ../lib/libmgpplib.a -lstdc++ @LIBS@
40TOUCH = echo timestamp >
41AWK = @AWK@
42
43JNIFLAGS=@JNIFLAGS@
44JNISUFFIX=@JNISUFFIX@
45JNIINC=@JNIINC@
46
47datadir = $(prefix)/share
48libexecdir = $(exec_prefix)/libexec
49localedir = $(datadir)/locale
50mandir = $(prefix)/man/man1
51
52CXXCOMPILE = $(CXX) -c $(DEFS) $(INCLUDES) $(CXXFLAGS)
53
54.SUFFIXES:
55
56.SUFFIXES: .cpp .o
57.cpp.o:
58 $(CXXCOMPILE) $<
59
60# can we get rid of JAVA_HOME from here??
61INCLUDES = -I.. -I../lib -I../text -I$(JAVA_HOME)/include $(JNIINC) $(AFINCLUDES)
62
63all: compile link
64
65compile:
66 $(CXXCOMPILE) MGPPWrapperImpl.cpp MGPPPassesWrapperImpl.cpp
67link:
68 $(CXX) $(LDFLAGS) $(JNIFLAGS) -o libmgppjni.$(JNISUFFIX) MGPPWrapperImpl.o $(QUERY_LIBS)
69 $(CXX) $(LDFLAGS) $(JNIFLAGS) -o libmgpppassjni.$(JNISUFFIX) MGPPPassesWrapperImpl.o $(PASSES_LIBS)
70
71clean:
72 rm -rf *.o libmgppjni.$(JNISUFFIX) libmgpppassjni.$(JNISUFFIX)
73
74distclean: clean
75 rm -f Makefile
76
77install:
78# ../mkinstalldirs $(libdir); \
79# cp libmgppjni.$(JNISUFFIX) libmgpppassjni.$(JNISUFFIX) $(libdir)/;
80
81
82
Note: See TracBrowser for help on using the repository browser.