source: main/tags/2.21/gsdl/packages/wingdbm/Makefile.in@ 26544

Last change on this file since 26544 was 19, checked in by sjboddie, 26 years ago

Added Makefile.in for wingdbm

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 1.9 KB
Line 
1
2srcdir = c:\home\rjmcnab\humanity\gdbm
3VPATH = $(srcdir)
4
5AR = lib
6CC = cl
7#CFLAGS = -g -O
8CPPFLAGS =
9DEFS = -DHAVE_CONFIG_H -D__WIN32__ -D_LITTLE_ENDIAN
10LDFLAGS =
11
12o = .obj
13
14.SUFFIXES:
15.SUFFIXES: .c .$o
16
17.c.$o:
18 $(CC) -c $(CPPFLAGS) $(DEFS) -I. -I$(srcdir) $(CFLAGS) $<
19
20
21PROGS = gdbm.lib testgdbm.exe
22
23GDBM_CF = gdbmopen.c gdbmdelete.c gdbmfetch.c gdbmstore.c gdbmclose.c \
24 gdbmreorg.c gdbmseq.c gdbmsync.c gdbmerrno.c gdbmexists.c gdbmsetopt.c \
25 bucket.c falloc.c findkey.c global.c hash.c update.c \
26 version.c
27
28TEST_CF = testgdbm.c
29
30GDBM_OF = gdbmopen.$o gdbmdelete.$o gdbmfetch.$o gdbmstore.$o gdbmclose.$o \
31 gdbmreorg.$o gdbmseq.$o gdbmsync.$o gdbmerrno.$o gdbmexists.$o gdbmsetopt.$o \
32 bucket.$o falloc.$o findkey.$o global.$o hash.$o update.$o \
33 version.$o
34
35SRCS = $(GDBM_CF) $(TEST_CF)
36
37OBJS = $(GDBM_OF)
38
39HDRS = gdbmdefs.h extern.h gdbmerrno.h systems.h gdbmconst.h \
40 proto.h
41
42all: gdbm.lib
43
44progs: $(PROGS)
45
46gdbm.lib: $(OBJS) gdbm.h
47 del gdbm.lib
48 $(AR) /out:gdbm.lib $(OBJS)
49
50testgdbm.exe: testgdbm.$o gdbm.lib
51 $(CC) $(LDFLAGS) /Fe"testgdbm.exe" testgdbm.$o gdbm.lib
52
53
54clean:
55 rm -f $(PROGS) *.$o core junk*
56
57
58# gdbm files
59gdbmclose.$o: autoconf.h gdbmdefs.h
60gdbmdelete.$o: autoconf.h gdbmdefs.h gdbmerrno.h
61gdbmfetch.$o: autoconf.h gdbmdefs.h gdbmerrno.h
62gdbmopen.$o: autoconf.h gdbmdefs.h gdbmerrno.h
63gdbmreorg.$o: autoconf.h gdbmdefs.h gdbmerrno.h extern.h
64gdbmseq.$o: autoconf.h gdbmdefs.h
65gdbmstore.$o: autoconf.h gdbmdefs.h gdbmerrno.h
66
67# gdbm support files
68bucket.$o: autoconf.h gdbmdefs.h
69falloc.$o: autoconf.h gdbmdefs.h
70findkey.$o: autoconf.h gdbmdefs.h
71global.$o: autoconf.h gdbmdefs.h gdbmerrno.h
72hash.$o: autoconf.h gdbmdefs.h
73update.$o: autoconf.h gdbmdefs.h
74version.$o:
75extern.h:
76gdbmdefs.h: gdbmconst.h systems.h
77 touch gdbmdefs.h
78
79# other programs
80testgdbm.$o: autoconf.h gdbmdefs.h extern.h gdbmerrno.h systems.h
81testdbm.$o: autoconf.h
82testndbm.$o: autoconf.h ndbm.h
83tdbm.$o: autoconf.h
84conv2gdbm.$o: autoconf.h gdbm.h
Note: See TracBrowser for help on using the repository browser.