Initial revision
[findutils.git] / lib / Makefile.in
blob534b294ac2027a62865e31cc488cafce901013dc
1 # Makefile.in generated automatically by automake from Makefile.am.
2 # Copyright (C) 1994 Free Software Foundation, Inc.
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2, or (at your option)
7 # any later version.
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 SHELL = /bin/sh
20 srcdir = @srcdir@
21 top_srcdir = @top_srcdir@
22 VPATH = @srcdir@
23 prefix = @prefix@
24 exec_prefix = @exec_prefix@
26 bindir = $(exec_prefix)/bin
27 sbindir = $(exec_prefix)/sbin
28 libexecdir = $(exec_prefix)/libexec
29 datadir = $(prefix)/share
30 sysconfdir = $(prefix)/etc
31 sharedstatedir = $(prefix)/com
32 localstatedir = $(prefix)/var
33 libdir = $(exec_prefix)/lib
34 infodir = $(prefix)/info
35 mandir = $(prefix)/man
36 includedir = $(prefix)/include
37 oldincludedir = /usr/include
39 INSTALL = @INSTALL@
40 INSTALL_PROGRAM = @INSTALL_PROGRAM@
41 INSTALL_DATA = @INSTALL_DATA@
42 transform = @program_transform_name@
44 ALL = ${PROGRAMS} ${LIBPROGRAMS} ${SCRIPTS} ${LIBSCRIPTS} ${LIBFILES}
45 CC = @CC@
46 LEX = @LEX@
47 YACC = @YACC@
48 ANSI2KNR = ./ansi2knr
50 DEFS = @DEFS@
51 CPPFLAGS = @CPPFLAGS@
52 CFLAGS = @CFLAGS@
53 LDFLAGS = @LDFLAGS@
54 LIBS = @LIBS@
56 find_OBJECTS = regex.o dirname.o error.o filemode.o getopt.o getopt1.o idcache.o listfile.o modechange.o nextelem.o savedir.o xmalloc.o getline.o xstrdup.o xgetcwd.o fnmatch.o
57 LIBFILES = libfind.a
58 AR = ar
59 RANLIB = @RANLIB@
60 ALLOCA = @ALLOCA@
61 LIBOBJS = @LIBOBJS@
63 SOURCES = ${find_SOURCES}
64 DIST_CONF = Makefile.am Makefile.in
65 DIST_FILES = $(DIST_CONF) $(SOURCES) $(TEXINFOS) $(INFOS) $(MANS) $(DIST_OTHER)
67 LIBRARIES = find
68 find_SOURCES = regex.c dirname.c error.c filemode.c getopt.c getopt1.c \
69 idcache.c listfile.c modechange.c nextelem.c savedir.c xmalloc.c getline.c \
70 xstrdup.c xgetcwd.c fnmatch.c $(find_OPT_SOURCES)
72 find_OPT_SOURCES = fileblocks.c memcmp.c memset.c mktime.c stpcpy.c strdup.c \
73 strftime.c strspn.c strstr.c strtol.c alloca.c
75 DIST_OTHER = fnmatch.h getopt.h modechange.h modetype.h pathmax.h \
76 regex.h wait.h
78 CONFIG_HEADER = ../config.h
79 INCLUDES = -I.. -I$(srcdir)
81 all:: ${ALL}
83 .c.o:
84 $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $<
86 $(find_OBJECTS): ../config.h
87 install:: install-libraries
89 install-libraries: $(LIBFILES)
91 uninstall:: uninstall-libraries
93 uninstall-libraries:
95 libfind.a: $(find_OBJECTS) @LIBOBJS@ @ALLOCA@
96 rm -f libfind.a
97 $(AR) cru libfind.a $(find_OBJECTS) @LIBOBJS@ @ALLOCA@
98 $(RANLIB) libfind.a
100 mostlyclean:
101 rm -f *.o core
103 clean: mostlyclean
104 rm -f $(PROGRAMS) $(LIBPROGRAMS) $(LIBFILES) $(TEXFILES) $(CLEANFILES)
106 distclean: clean
107 rm -f Makefile *.tab.c $(DISTCLEANFILES)
108 rm -f config.cache config.log config.status ${CONFIG_HEADER} stamp-h
110 realclean: distclean
111 rm -f TAGS $(INFOS)
113 dist: $(DIST_FILES) $(DIST_DIRS)
114 -mkdir ../`cat ../distname`/$(subdir)
115 @for file in $(DIST_FILES); do \
116 echo linking $$file; \
117 ln $(srcdir)/$$file ../`cat ../distname`/$(subdir)/$$file || \
118 { echo copying $$file instead; cp -p $(srcdir)/$$file ../`cat ../distname`/$(subdir)/$$file;}; \
119 done
121 check dvi info install uninstall::
123 tags:: TAGS
125 TAGS::
126 cd $(srcdir); etags $(SOURCES)
128 # Tell versions [3.59,3.63) of GNU make to not export all variables.
129 # Otherwise a system limit (for SysV at least) may be exceeded.
130 .NOEXPORT:
132 fnmatch.o: fnmatch.h
133 getopt1.o: getopt.h
134 listfile.o xgetcwd.o: pathmax.h
135 modechange.o: modechange.h
136 regex.o: regex.h