source: main/trunk/greenstone3/src/packages/javagdbm/jni/win32.mak@ 23764

Last change on this file since 23764 was 23764, checked in by davidb, 13 years ago

Header files for GDBM within Greenstone 2's area moved some time ago, but this Window's make file was not updated. Overall things were still working because we have the required DLL javagdbm.dll checked into the SVN server. Error came to light with testing 64-bit windows, where we needed a 64-bit compiled version of this.

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