annotate glob/Makefile.in @ 3996:98107d72871c

[project @ 2002-07-17 16:22:05 by jwe]
author jwe
date Wed, 17 Jul 2002 16:22:05 +0000
parents a2b3a1413d28
children 0bca8443db39
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1313
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
1 # Makefile for standalone distribution of libglob.a (fnmatch, glob).
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
2
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
3 # Copyright (C) 1991, 92, 93, 94, 95 Free Software Foundation, Inc.
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
4 # This file is part of the GNU C Library.
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
5
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
6 # This library is free software; you can redistribute it and/or
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
7 # modify it under the terms of the GNU Library General Public License
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
8 # as published by the Free Software Foundation; either version 2 of
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
9 # the License, or (at your option) any later version.
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
10
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
11 # This library is distributed in the hope that it will be useful,
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
14 # Library General Public License for more details.
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
15
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
16 # You should have received a copy of the GNU Library General Public
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
17 # License along with this library; see the file COPYING.LIB. If
1315
611d403c7f3d [project @ 1995-06-25 19:56:32 by jwe]
jwe
parents: 1313
diff changeset
18 # not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
611d403c7f3d [project @ 1995-06-25 19:56:32 by jwe]
jwe
parents: 1313
diff changeset
19 # Boston, MA 02111-1307, USA.
1313
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
20
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
21 # Ultrix 2.2 make doesn't expand the value of VPATH.
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
22 VPATH = @srcdir@
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
23 # This must repeat the value, because configure will remove `VPATH = .'.
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
24 srcdir = @srcdir@
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
25
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
26 CC = @CC@
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
27 CPPFLAGS = @CPPFLAGS@
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
28 CFLAGS = @CFLAGS@
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
29
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
30 # Information determined by configure.
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
31 DEFS = @DEFS@
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
32
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
33 # How to invoke ar.
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
34 AR = @AR@
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
35 ARFLAGS = rv
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
36
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
37 # How to invoke ranlib.
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
38 RANLIB = @RANLIB@
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
39
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
40 .PHONY: all
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
41 all: libglob.a
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
42
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
43 libglob.a: glob.o fnmatch.o
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
44 $(AR) $(ARFLAGS) $@ glob.o fnmatch.o
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
45 $(RANLIB) $@
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
46
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
47 # For some reason, Unix make wants the dependencies on the source files.
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
48 # Otherwise it refuses to use an implicit rule!
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
49 # And, get this: it doesn't work to use $(srcdir)/foo.c!!
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
50 glob.o: $(srcdir)/glob.h $(srcdir)/fnmatch.h glob.c
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
51 fnmatch.o: $(srcdir)/fnmatch.h fnmatch.c
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
52
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
53 .c.o:
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
54 $(CC) -I. -I$(srcdir) -c \
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
55 $(DEFS) $(CPPFLAGS) $(CFLAGS) $< $(OUTPUT_OPTION)
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
56
1391
02a4e580de4e [project @ 1995-09-14 09:08:43 by jwe]
jwe
parents: 1315
diff changeset
57 .PHONY: clean maintainer-clean glob-clean glob-maintainer-clean distclean
3265
a2b3a1413d28 [project @ 1999-09-03 02:53:03 by jwe]
jwe
parents: 2811
diff changeset
58 clean glob-clean:
1313
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
59 -rm -f libglob.a *.o core
2397
e2ac44fe3a49 [project @ 1996-10-12 23:44:57 by jwe]
jwe
parents: 1918
diff changeset
60
3265
a2b3a1413d28 [project @ 1999-09-03 02:53:03 by jwe]
jwe
parents: 2811
diff changeset
61 distclean glob-maintainer-clean: clean
2756
00bf22b7d051 [project @ 1997-02-26 19:30:53 by jwe]
jwe
parents: 2754
diff changeset
62 -rm -f TAGS tags Makefile config.status config.cache \
00bf22b7d051 [project @ 1997-02-26 19:30:53 by jwe]
jwe
parents: 2754
diff changeset
63 config.h config.log
2397
e2ac44fe3a49 [project @ 1996-10-12 23:44:57 by jwe]
jwe
parents: 1918
diff changeset
64
3265
a2b3a1413d28 [project @ 1999-09-03 02:53:03 by jwe]
jwe
parents: 2811
diff changeset
65 maintainer-clean: distclean
a2b3a1413d28 [project @ 1999-09-03 02:53:03 by jwe]
jwe
parents: 2811
diff changeset
66 -rm -f configure
2754
16e6f709009b [project @ 1997-02-26 19:07:49 by jwe]
jwe
parents: 2397
diff changeset
67
2397
e2ac44fe3a49 [project @ 1996-10-12 23:44:57 by jwe]
jwe
parents: 1918
diff changeset
68 realclean: distclean
1313
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
69
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
70 # For inside the C library.
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
71 glob.tar glob.tar.Z:
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
72 $(MAKE) -C .. $@
1918
adde795927b5 [project @ 1996-02-10 18:59:22 by jwe]
jwe
parents: 1391
diff changeset
73
2811
1dd37f97364a [project @ 1997-03-12 23:06:13 by jwe]
jwe
parents: 2756
diff changeset
74 install install-strip: