source: trunk/mgpp/jni/Makefile.in@ 8208

Last change on this file since 8208 was 8208, checked in by kjdon, 20 years ago

added in to the link command

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