annotate glob/Makefile.in @ 4720:e759d01692db ss-2-1-53

[project @ 2004-01-23 04:13:37 by jwe]
author jwe
date Fri, 23 Jan 2004 04:13:37 +0000
parents 48191fcee04d
children
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
4599
c7d466e9ebb5 [project @ 2003-11-12 17:48:31 by jwe]
jwe
parents: 4440
diff changeset
37 ALLOCA = @ALLOCA@
c7d466e9ebb5 [project @ 2003-11-12 17:48:31 by jwe]
jwe
parents: 4440
diff changeset
38
1313
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
39 # How to invoke ranlib.
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
40 RANLIB = @RANLIB@
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
41
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
42 .PHONY: all
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
43 all: libglob.a
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
44
4599
c7d466e9ebb5 [project @ 2003-11-12 17:48:31 by jwe]
jwe
parents: 4440
diff changeset
45 libglob.a: glob.o fnmatch.o $(ALLOCA)
c7d466e9ebb5 [project @ 2003-11-12 17:48:31 by jwe]
jwe
parents: 4440
diff changeset
46 $(AR) $(ARFLAGS) $@ glob.o fnmatch.o $(ALLOCA)
1313
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
47 $(RANLIB) $@
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
48
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
49 # 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
50 # Otherwise it refuses to use an implicit rule!
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
51 # 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
52 glob.o: $(srcdir)/glob.h $(srcdir)/fnmatch.h glob.c
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
53 fnmatch.o: $(srcdir)/fnmatch.h fnmatch.c
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
54
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
55 .c.o:
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
56 $(CC) -I. -I$(srcdir) -c \
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
57 $(DEFS) $(CPPFLAGS) $(CFLAGS) $< $(OUTPUT_OPTION)
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
58
1391
02a4e580de4e [project @ 1995-09-14 09:08:43 by jwe]
jwe
parents: 1315
diff changeset
59 .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
60 clean glob-clean:
1313
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
61 -rm -f libglob.a *.o core
2397
e2ac44fe3a49 [project @ 1996-10-12 23:44:57 by jwe]
jwe
parents: 1918
diff changeset
62
3265
a2b3a1413d28 [project @ 1999-09-03 02:53:03 by jwe]
jwe
parents: 2811
diff changeset
63 distclean glob-maintainer-clean: clean
4710
48191fcee04d [project @ 2004-01-22 19:12:02 by jwe]
jwe
parents: 4599
diff changeset
64 -rm -f Makefile config.status config.cache config.h config.log
48191fcee04d [project @ 2004-01-22 19:12:02 by jwe]
jwe
parents: 4599
diff changeset
65 -rm -f TAGS tags
4440
0bca8443db39 [project @ 2003-07-02 22:45:29 by jwe]
jwe
parents: 3265
diff changeset
66 -rm -rf autom4te.cache
2397
e2ac44fe3a49 [project @ 1996-10-12 23:44:57 by jwe]
jwe
parents: 1918
diff changeset
67
3265
a2b3a1413d28 [project @ 1999-09-03 02:53:03 by jwe]
jwe
parents: 2811
diff changeset
68 maintainer-clean: distclean
4710
48191fcee04d [project @ 2004-01-22 19:12:02 by jwe]
jwe
parents: 4599
diff changeset
69 -rm -f configure config.h.in
2754
16e6f709009b [project @ 1997-02-26 19:07:49 by jwe]
jwe
parents: 2397
diff changeset
70
2397
e2ac44fe3a49 [project @ 1996-10-12 23:44:57 by jwe]
jwe
parents: 1918
diff changeset
71 realclean: distclean
1313
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
72
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
73 # For inside the C library.
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
74 glob.tar glob.tar.Z:
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
75 $(MAKE) -C .. $@
1918
adde795927b5 [project @ 1996-02-10 18:59:22 by jwe]
jwe
parents: 1391
diff changeset
76
2811
1dd37f97364a [project @ 1997-03-12 23:06:13 by jwe]
jwe
parents: 2756
diff changeset
77 install install-strip: