annotate glob/Makefile.in @ 2397:e2ac44fe3a49

[project @ 1996-10-12 23:44:57 by jwe]
author jwe
date Sat, 12 Oct 1996 23:44:58 +0000
parents adde795927b5
children 16e6f709009b
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
2397
e2ac44fe3a49 [project @ 1996-10-12 23:44:57 by jwe]
jwe
parents: 1918
diff changeset
58 clean glob-clean distclean glob-maintainer-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
e2ac44fe3a49 [project @ 1996-10-12 23:44:57 by jwe]
jwe
parents: 1918
diff changeset
61 distclean glob-maintainer-clean::
1313
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
62 -rm -f TAGS tags Makefile config.status config.h config.log
2397
e2ac44fe3a49 [project @ 1996-10-12 23:44:57 by jwe]
jwe
parents: 1918
diff changeset
63
e2ac44fe3a49 [project @ 1996-10-12 23:44:57 by jwe]
jwe
parents: 1918
diff changeset
64 realclean: distclean
1313
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
65
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
66 # For inside the C library.
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
67 glob.tar glob.tar.Z:
f0dcdcc9a780 [project @ 1995-06-25 18:42:38 by jwe]
jwe
parents:
diff changeset
68 $(MAKE) -C .. $@
1918
adde795927b5 [project @ 1996-02-10 18:59:22 by jwe]
jwe
parents: 1391
diff changeset
69
adde795927b5 [project @ 1996-02-10 18:59:22 by jwe]
jwe
parents: 1391
diff changeset
70 install: