root/main/trunk/greenstone3/src/packages/javagdbm/jni/win32.mak @ 23863

Revision 23863, 1.8 KB (checked in by ak19, 9 years ago)

References to GSDL3HOME ought to be GSDL3SRCHOME in this win32.mak makefile. I don't seem to be able to find references to GSDL3HOME in other win32 makefiles.

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
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= $(GSDL3SRCHOME)\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 "$(GSDL3SRCHOME)\lib\jni"
70
71clean:
72    del *$o
Note: See TracBrowser for help on using the browser.