source: branches/New_Config_Format-branch/gsdl/packages/mg/lib/WIN32.MAK@ 1279

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

merged changes to trunk into New_Config_Format branch

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 3.2 KB
Line 
1###########################################################################
2#
3# win32 makefile -- mg\lib
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 = c:\gsdl
28
29AR = lib
30CC = cl
31CPPFLAGS =
32
33DEFS = -DQUIET -DHAVE_CONFIG_H -D__WIN32__ -D_LITTLE_ENDIAN
34INCLUDES = -I$(GSDLHOME)\packages\mg\lib -I$(GSDLHOME)\packages\mg \
35 -I$(GSDLHOME)
36
37COMPILE = $(CC) -c $(DEFS) $(INCLUDES)
38
39.SUFFIXES:
40.SUFFIXES: .c .obj
41.c.obj:
42 $(COMPILE) $<
43
44ANSI2KNR =
45o = .obj
46
47HEADERS = \
48 bitio_m_random.h filestats.h local_strings.h lovinstem.h \
49 bitio_m_stdio.h getopt.h memlib.h \
50 bitio_gen.h bitio_mem.h mgheap.h messages.h \
51 bitio_m.h bitio_mems.h huffman.h timing.h \
52 bitio_m_mem.h bitio_random.h huffman_mem.h perf_hash.h \
53 bitio_m_mems.h bitio_stdio.h huffman_stdio.h sptree.h \
54 rx.h pathmax.h getpagesize.h \
55 random.h win32in.h simplefrenchstem.h unitool.h
56
57SOURCES = \
58 bitio_random.c mgheap.c memlib.c \
59 bitio_stdio.c huffman.c messages.c \
60 bitio_gen.c filestats.c huffman_mem.c perf_hash.c \
61 bitio_mem.c getopt.c huffman_stdio.c sptree.c \
62 bitio_mems.c getopt1.c local_strings.c lovinstem.c \
63 timing.c rx.c \
64 alloca.c error.c xmalloc.c strstr.c \
65 ftruncate.c strcasecmp.c random.c win32in.c \
66 simplefrenchstem.c unitool.h
67
68OBJECTS = rx$o \
69 bitio_random$o mgheap$o memlib$o \
70 bitio_stdio$o huffman$o messages$o \
71 bitio_gen$o filestats$o huffman_mem$o perf_hash$o \
72 bitio_mem$o getopt$o huffman_stdio$o sptree$o \
73 bitio_mems$o getopt1$o local_strings$o lovinstem$o \
74 timing$o \
75 error$o xmalloc$o \
76 random$o win32in$o simplefrenchstem$o \
77 unitool$o
78
79DISTFILES = Makefile.in $(HEADERS) $(SOURCES)
80
81all : libmg.lib
82
83libmg.lib : $(OBJECTS)
84 del libmg.lib
85 $(AR) /out:libmg.lib $(OBJECTS)
86
87$(OBJECTS): $(GSDLHOME)\packages\mg\win32cfg.h
88
89install:
90clean:
91 del *$o
92 del libmg.lib
Note: See TracBrowser for help on using the repository browser.