Changeset 1000 for trunk/gsdl/packages/wingdbm
- Timestamp:
- 2000-03-02T11:23:47+13:00 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/packages/wingdbm/win32.mak
r774 r1000 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 ########################################################################### 1 26 2 #srcdir = c:\home\rjmcnab\humanity\gdbm 3 srcdir = d:\gsdl\packages\wingdbm 4 VPATH = $(srcdir) 27 GSDLHOME = d:\home\dl\gsdl 28 srcdir = $(GSDLHOME)\packages\wingdbm 5 29 6 30 AR = lib 7 31 CC = cl 8 #CFLAGS = -g -O9 32 CPPFLAGS = 10 DEFS = -D HAVE_CONFIG_H -D__WIN32__ -D_LITTLE_ENDIAN33 DEFS = -D__WIN32__ 11 34 LDFLAGS = 12 35 … … 22 45 $(COMPILE) $< 23 46 47 HEADERS = gdbmdefs.h extern.h gdbmerrno.h systems.h gdbmconst.h \ 48 proto.h 24 49 25 PROGS = gdbm.lib testgdbm.exe 50 SOURCES = 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 26 54 27 GDBM_CF = gdbmopen.c gdbmdelete.c gdbmfetch.c gdbmstore.c gdbmclose.c \ 28 gdbmreorg.c gdbmseq.c gdbmsync.c gdbmerrno.c gdbmexists.c gdbmsetopt.c \ 29 bucket.c falloc.c findkey.c global.c hash.c update.c \ 30 version.c alloca.c 31 32 TEST_CF = testgdbm.c 33 34 GDBM_OF = gdbmopen$o gdbmdelete$o gdbmfetch$o gdbmstore$o gdbmclose$o \ 35 gdbmreorg$o gdbmseq$o gdbmsync$o gdbmerrno$o gdbmexists$o gdbmsetopt$o \ 36 bucket$o falloc$o findkey$o global$o hash$o update$o \ 37 version$o alloca$o 38 39 SRCS = $(GDBM_CF) $(TEST_CF) 40 41 OBJS = $(GDBM_OF) 42 43 HDRS = gdbmdefs.h extern.h gdbmerrno.h systems.h gdbmconst.h \ 44 proto.h 55 OBJECTS = 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 45 59 46 60 all: gdbm.lib 47 61 48 progs: $(PROGS) 62 gdbm.lib: $(OBJECTS) gdbm.h 63 del gdbm.lib 64 $(AR) /out:gdbm.lib $(OBJECTS) 49 65 50 gdbm.lib: $(OBJS) gdbm.h 51 del gdbm.lib 52 $(AR) /out:gdbm.lib $(OBJS) 53 54 testgdbm.exe: testgdbm$o gdbm.lib 55 $(LINK) /Fe"testgdbm.exe" testgdbm$o gdbm.lib 56 66 install: 57 67 58 68 clean: 59 rm -f $(PROGS) *$o core junk* 60 61 62 # gdbm files 63 gdbmclose$o: autoconf.h gdbmdefs.h 64 gdbmdelete$o: autoconf.h gdbmdefs.h gdbmerrno.h 65 gdbmfetch$o: autoconf.h gdbmdefs.h gdbmerrno.h 66 gdbmopen$o: autoconf.h gdbmdefs.h gdbmerrno.h 67 gdbmreorg$o: autoconf.h gdbmdefs.h gdbmerrno.h extern.h 68 gdbmseq$o: autoconf.h gdbmdefs.h 69 gdbmstore$o: autoconf.h gdbmdefs.h gdbmerrno.h 70 71 # gdbm support files 72 bucket$o: autoconf.h gdbmdefs.h 73 falloc$o: autoconf.h gdbmdefs.h 74 alloca$o: autoconf.h gdbmdefs.h 75 findkey$o: autoconf.h gdbmdefs.h 76 global$o: autoconf.h gdbmdefs.h gdbmerrno.h 77 hash$o: autoconf.h gdbmdefs.h 78 update$o: autoconf.h gdbmdefs.h 79 version$o: 80 extern.h: 81 gdbmdefs.h: gdbmconst.h systems.h 82 touch gdbmdefs.h 83 84 # other programs 85 testgdbm$o: autoconf.h gdbmdefs.h extern.h gdbmerrno.h systems.h 86 testdbm$o: autoconf.h 87 testndbm$o: autoconf.h ndbm.h 88 tdbm$o: autoconf.h 89 conv2gdbm$o: autoconf.h gdbm.h 69 del gdbm.lib *$o
Note:
See TracChangeset
for help on using the changeset viewer.