source: main/tags/2.26/gsdl/packages/wingdbm/win32.mak@ 28875

Last change on this file since 28875 was 1000, checked in by sjboddie, 24 years ago

tidied up windows installation

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 2.0 KB
Line 
1###########################################################################
2#
3# win32 makefile -- wingdbm
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
27GSDLHOME = d:\home\dl\gsdl
28srcdir = $(GSDLHOME)\packages\wingdbm
29
30AR = lib
31CC = cl
32CPPFLAGS =
33DEFS = -D__WIN32__
34LDFLAGS =
35
36COMPILE = $(CC) -c $(CPPFLAGS) $(DEFS) -I. -I$(srcdir) $(CFLAGS)
37LINK = $(CC) $(LDFLAGS)
38
39o = .obj
40
41.SUFFIXES:
42.SUFFIXES: .c $o
43
44.c$o:
45 $(COMPILE) $<
46
47HEADERS = gdbmdefs.h extern.h gdbmerrno.h systems.h gdbmconst.h \
48 proto.h
49
50SOURCES = gdbmopen.c gdbmdelete.c gdbmfetch.c gdbmstore.c gdbmclose.c \
51 gdbmreorg.c gdbmseq.c gdbmsync.c gdbmerrno.c gdbmexists.c gdbmsetopt.c \
52 bucket.c falloc.c findkey.c global.c hash.c update.c \
53 version.c alloca.c
54
55OBJECTS = gdbmopen$o gdbmdelete$o gdbmfetch$o gdbmstore$o gdbmclose$o \
56 gdbmreorg$o gdbmseq$o gdbmsync$o gdbmerrno$o gdbmexists$o gdbmsetopt$o \
57 bucket$o falloc$o findkey$o global$o hash$o update$o \
58 version$o alloca$o
59
60all: gdbm.lib
61
62gdbm.lib: $(OBJECTS) gdbm.h
63 del gdbm.lib
64 $(AR) /out:gdbm.lib $(OBJECTS)
65
66install:
67
68clean:
69 del gdbm.lib *$o
Note: See TracBrowser for help on using the repository browser.