source: branches/New_Config_Format-branch/gsdl/packages/mg/lib/GCC.mak@ 1278

Last change on this file since 1278 was 1278, checked in by (none), 24 years ago

This commit was manufactured by cvs2svn to create branch
'New_Config_Format-branch'.

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