source: trunk/gsdl/packages/mg-1.3d/lib/Makefile.in@ 13

Last change on this file since 13 was 13, checked in by rjmcnab, 25 years ago

* empty log message *

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 4.1 KB
Line 
1###########################################################################
2#
3# Makefile.in -- Makefile for the general purpose library
4# Copyright (C) 1994 Neil Sharman; (C) 1995 Tim Shimmin
5#
6# This program is free software; you can redistribute it and/or modify
7# it under the terms of the GNU General Public License as published by
8# the Free Software Foundation; either version 2 of the License, or
9# (at your option) any later version.
10#
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY; without even the implied warranty of
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14# GNU General Public License for more details.
15#
16# You should have received a copy of the GNU General Public License
17# along with this program; if not, write to the Free Software
18# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19#
20# @(#)Makefile.in 1.3 16 Mar 1994
21#
22###########################################################################
23
24
25PACKAGE = @PACKAGE@
26VERSION = @VERSION@
27
28SHELL = /bin/sh
29srcdir = @srcdir@
30subdir = lib
31VPATH = @srcdir@
32
33AR = ar
34CC = @CC@
35CFLAGS = @CFLAGS@
36CPPFLAGS = @CPPFLAGS@
37DEFS = @DEFS@
38RANLIB = @RANLIB@
39
40prefix = @prefix@
41datadir = $(prefix)/share
42localedir = $(datadir)/locale
43
44COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
45
46.SUFFIXES:
47.SUFFIXES: .c .o
48.c.o:
49 $(COMPILE) $<
50
51ANSI2KNR = @ANSI2KNR@
52o = .@U@o
53
54.SUFFIXES: ._c ._o
55.c._c:
56 ./ansi2knr $< > $*.tmp && mv $*.tmp $@
57._c._o:
58 @echo $(COMPILE) $<
59 @rm -f _$*.c
60 @ln $< _$*.c && $(COMPILE) _$*.c && mv _$*.o $@ && rm _$*.c
61.c._o:
62 ./ansi2knr $< > $*.tmp && mv $*.tmp $*._c
63 @echo $(COMPILE) $*._c
64 @rm -f _$*.c
65 @ln $*._c _$*.c && $(COMPILE) _$*.c && mv _$*.o $@ && rm _$*.c
66
67
68INCLUDES = -I.. -I$(srcdir)
69
70HEADERS = \
71 bitio_m_random.h filestats.h local_strings.h stem.h \
72 bitio_m_stdio.h getopt.h memlib.h \
73 bitio_gen.h bitio_mem.h heap.h messages.h \
74 bitio_m.h bitio_mems.h huffman.h timing.h \
75 bitio_m_mem.h bitio_random.h huffman_mem.h perf_hash.h \
76 bitio_m_mems.h bitio_stdio.h huffman_stdio.h sptree.h \
77 regex.h rx.h pathmax.h getpagesize.h \
78 random.h
79
80SOURCES = \
81 bitio_random.c heap.c memlib.c \
82 bitio_stdio.c huffman.c messages.c \
83 bitio_gen.c filestats.c huffman_mem.c perf_hash.c \
84 bitio_mem.c getopt.c huffman_stdio.c sptree.c \
85 bitio_mems.c getopt1.c local_strings.c stem.c \
86 timing.c regex.c rx.c \
87 alloca.c error.c xmalloc.c strstr.c \
88 gmalloc.c ftruncate.c strcasecmp.c random.c
89
90OBJECTS = @ALLOCA@ @LIBOBJS@ \
91 bitio_random$o heap$o memlib$o \
92 bitio_stdio$o huffman$o messages$o \
93 bitio_gen$o filestats$o huffman_mem$o perf_hash$o \
94 bitio_mem$o getopt$o huffman_stdio$o sptree$o \
95 bitio_mems$o getopt1$o local_strings$o stem$o \
96 timing$o regex$o rx$o \
97 error$o xmalloc$o \
98 gmalloc$o random$o
99
100DISTFILES = Makefile.in $(HEADERS) $(SOURCES)
101
102all : libmg.a
103
104libmg.a : $(OBJECTS)
105 rm -f libmg.a
106 $(AR) cru libmg.a $(OBJECTS)
107 $(RANLIB) libmg.a
108
109$(OBJECTS): ../config.h
110
111install:
112installdirs:
113uninstall:
114execinstall:
115execuninstall:
116maninstall:
117manuninstall:
118
119dist: $(DISTFILES)
120 for file in $(DISTFILES); do \
121 ln $$file $(distdir) 2> /dev/null \
122 || cp -p $$file $(distdir); \
123 done
124
125mostlyclean:
126 rm -f *.o *_.o
127
128clean: mostlyclean
129 rm -f libmg.a
130
131distclean: clean
132 rm -f Makefile
133
134maintainer-clean: distclean
135 @echo "This command is intended only for maintainers to use;"
136 @echo "rebuilding the deleted files may require special tools."
137
138Makefile: Makefile.in ../config.status
139 cd .. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
140
141# Tell versions [3.59,3.63) of GNU make not to export all variables.
142# Otherwise a system limit (for SysV at least) may be exceeded.
143.NOEXPORT:
Note: See TracBrowser for help on using the repository browser.