* libtxi/Makefile.in: Add dependencies for memcpy, memmove and strdup.
[gcc.git] / texinfo / libtxi / Makefile.in
1 # Makefile for GNU texinfo/libtxi. -*- Indented-Text -*-
2 # $Id: Makefile.in,v 1.1.1.1 1997/08/21 22:58:06 jason Exp $
3
4 # Copyright (C) 1993, 96 Free Software Foundation, Inc.
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, or (at your option)
9 # 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19
20 SHELL = /bin/sh
21 srcdir = @srcdir@
22 VPATH = @srcdir@
23
24 CC = @CC@
25 AR = ar
26 RANLIB = @RANLIB@
27
28 DEFS = @DEFS@
29 LIBS = @LIBS@
30 LOADLIBES = $(LIBS)
31
32 CFLAGS = @CFLAGS@
33 LDFLAGS = @LDFLAGS@
34
35 # This is normally inherited from parent make, but if someone wants to
36 # build libtxi.a alone, this variable will still be properly defined.
37 ALLOCA = @ALLOCA@
38
39 # Standard functions that may be missing.
40 LIBOBJS = @LIBOBJS@
41
42 SRCS = getopt.c getopt1.c bzero.c getopt.h
43 OBJS = getopt.o getopt1.o bzero.o $(ALLOCA) $(LIBOBJS)
44
45 PROGS = libtxi.a
46
47 all: $(PROGS)
48 sub-all: all
49
50 .c.o:
51 $(CC) -c $(CPPFLAGS) -I. -I$(srcdir) $(DEFS) $(CFLAGS) $<
52
53 libtxi.a: $(OBJS)
54 rm -f $@
55 $(AR) cq $@ $(OBJS)
56 $(RANLIB) $@
57
58 getopt.o: getopt.c getopt.h
59 getopt1.o: getopt1.c getopt.h
60 alloca.o: alloca.c
61 memcpy.o: c
62 memmove.o: memmove.c
63 strdup.o: strdup.c
64
65
66 install:
67 uninstall:
68 dvi:
69 install-info:
70
71 TAGS: $(SRCS)
72 etags $(SRCS)
73
74 clean:
75 rm -f *.o a.out core core.* $(PROGS)
76
77 mostlyclean: clean
78
79 distclean: clean
80 rm -f Makefile config.status TAGS ID
81
82 realclean: distclean
83
84 Makefile: Makefile.in ../config.status
85 cd .. && sh config.status
86
87 # Prevent GNU make v3 from overflowing arg limit on SysV.
88 .NOEXPORT: