source: trunk/gsdl3/src/packages/javagdbm/jni/win32.mak@ 10756

Last change on this file since 10756 was 10756, checked in by kjdon, 18 years ago

jni dlls should be installed into lib\jni not lib

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 1.8 KB
Line 
1###########################################################################
2#
3# win32 makefile -- javagdbm\jni
4# A component of the Greenstone digital library software
5# from the New Zealand Digital Library Project at the
6# University of Waikato, New Zealand.
7#
8# Copyright (C) 1999 The New Zealand Digital Library Project
9#
10#
11# This program is free software; you can redistribute it and/or modify
12# it under the terms of the GNU General Public License as published by
13# the Free Software Foundation; either version 2 of the License, or
14# (at your option) any later version.
15#
16# This program is distributed in the hope that it will be useful,
17# but WITHOUT ANY WARRANTY; without even the implied warranty of
18# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19# GNU General Public License for more details.
20#
21# You should have received a copy of the GNU General Public License
22# along with this program; if not, write to the Free Software
23# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24#
25###########################################################################
26
27JAVAGDBMHOME = ..
28
29GSDL3HOME = ..\..\..
30GSDLHOME= $(GSDL3HOME)\gs2build
31GDBMHOME = $(GSDLHOME)\packages\windows\gdbm\gdbm
32
33# set javahome here
34#JAVA_HOME =
35
36AR = lib
37CC = cl
38CPPFLAGS =
39
40DEFS = -D__WIN32__ -DHAVE_STRING_H
41
42INCLUDES = -I"$(GDBMHOME)" -I. \
43 -I"$(JAVA_HOME)\include" -I"$(JAVA_HOME)\include\win32"
44
45COMPILE = $(CC) -c $(CPPFLAGS) $(DEFS) $(INCLUDES)
46
47.SUFFIXES:
48.SUFFIXES: .c .obj
49.c.obj:
50 $(COMPILE) $<
51
52ANSI2KNR =
53o = .obj
54
55HEADERS = \
56 GdbmFile.h
57
58SOURCES = \
59 gdbmjava.c
60
61OBJECTS = \
62 gdbmjava$o $(GDBMHOME)\gdbm.lib
63
64all : compile link
65
66compile:
67 $(COMPILE) gdbmjava.c
68
69link:
70 $(CC) -MD -LD $(OBJECTS) -Fejavagdbm.dll
71
72install:
73 copy javagdbm.dll $(GSDL3HOME)\lib\jni
74
75clean:
76 del *$o
Note: See TracBrowser for help on using the repository browser.