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

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

javagdbm.dll renamed to gdbmjava.dll - thats what all the other platforms use, and its what the java code expects

  • 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# set javahome here
33#JAVA_HOME =
34
35AR = lib
36CC = cl
37CPPFLAGS =
38
39DEFS = -D__WIN32__ -DHAVE_STRING_H
40
41INCLUDES = -I"$(GDBMHOME)" -I. \
42 -I"$(JAVA_HOME)\include" -I"$(JAVA_HOME)\include\win32"
43
44COMPILE = $(CC) -c $(CPPFLAGS) $(DEFS) $(INCLUDES)
45
46.SUFFIXES:
47.SUFFIXES: .c .obj
48.c.obj:
49 $(COMPILE) $<
50
51ANSI2KNR =
52o = .obj
53
54HEADERS = \
55 GdbmFile.h
56
57SOURCES = \
58 gdbmjava.c
59
60OBJECTS = \
61 gdbmjava$o $(GDBMHOME)\gdbm.lib
62
63all : compile link
64
65compile:
66 $(COMPILE) gdbmjava.c
67
68link:
69 $(CC) -MD -LD $(OBJECTS) -Fegdbmjava.dll
70
71install:
72 copy gdbmjava.dll $(GSDL3HOME)\lib\jni
73
74clean:
75 del *$o
Note: See TracBrowser for help on using the repository browser.