First attempt at "make check".
[platform/upstream/rpm.git] / misc / Makefile.in
1 # Makefile.in generated automatically by automake 1.3 from Makefile.am
2
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
7
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11 # PARTICULAR PURPOSE.
12
13 # Makefile for misc library.
14
15
16 SHELL = /bin/sh
17
18 srcdir = @srcdir@
19 top_srcdir = @top_srcdir@
20 VPATH = @srcdir@
21 prefix = @prefix@
22 exec_prefix = @exec_prefix@
23
24 bindir = @bindir@
25 sbindir = @sbindir@
26 libexecdir = @libexecdir@
27 datadir = @datadir@
28 sysconfdir = @sysconfdir@
29 sharedstatedir = @sharedstatedir@
30 localstatedir = @localstatedir@
31 libdir = @libdir@
32 infodir = @infodir@
33 mandir = @mandir@
34 includedir = @includedir@
35 oldincludedir = /usr/include
36
37 DISTDIR =
38
39 pkgdatadir = $(datadir)/@PACKAGE@
40 pkglibdir = $(libdir)/@PACKAGE@
41 pkgincludedir = $(includedir)/@PACKAGE@
42
43 top_builddir = ..
44
45 ACLOCAL = @ACLOCAL@
46 AUTOCONF = @AUTOCONF@
47 AUTOMAKE = @AUTOMAKE@
48 AUTOHEADER = @AUTOHEADER@
49
50 INSTALL = @INSTALL@
51 INSTALL_PROGRAM = @INSTALL_PROGRAM@
52 INSTALL_DATA = @INSTALL_DATA@
53 INSTALL_SCRIPT = @INSTALL_SCRIPT@
54 transform = @program_transform_name@
55
56 NORMAL_INSTALL = :
57 PRE_INSTALL = :
58 POST_INSTALL = :
59 NORMAL_UNINSTALL = :
60 PRE_UNINSTALL = :
61 POST_UNINSTALL = :
62 host_alias = @host_alias@
63 host_triplet = @host@
64 AR = @AR@
65 AWK = @AWK@
66 BZIP2BIN = @BZIP2BIN@
67 CATALOGS = @CATALOGS@
68 CATOBJEXT = @CATOBJEXT@
69 CC = @CC@
70 CPP = @CPP@
71 DATADIRNAME = @DATADIRNAME@
72 FINDPROVIDES = @FINDPROVIDES@
73 FINDREQUIRES = @FINDREQUIRES@
74 FIXPERMS = @FIXPERMS@
75 GENCAT = @GENCAT@
76 GMOFILES = @GMOFILES@
77 GMSGFMT = @GMSGFMT@
78 GT_NO = @GT_NO@
79 GT_YES = @GT_YES@
80 GZIPBIN = @GZIPBIN@
81 INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
82 INCPATH = @INCPATH@
83 INSTOBJEXT = @INSTOBJEXT@
84 INTLDEPS = @INTLDEPS@
85 INTLLIBS = @INTLLIBS@
86 INTLOBJS = @INTLOBJS@
87 LDFLAGS_STATIC = @LDFLAGS_STATIC@
88 LIBDL = @LIBDL@
89 LIBMISC = @LIBMISC@
90 LIBOBJS = @LIBOBJS@
91 LIBRPMALIAS_FILENAME = @LIBRPMALIAS_FILENAME@
92 LIBRPMRC_FILENAME = @LIBRPMRC_FILENAME@
93 LIBS = @LIBS@
94 LN_S = @LN_S@
95 MACROFILES = @MACROFILES@
96 MAKEINFO = @MAKEINFO@
97 MISCDIR = @MISCDIR@
98 MISCPATH = @MISCPATH@
99 MKDIR = @MKDIR@
100 MKDIR_P = @MKDIR_P@
101 MKINSTALLDIRS = @MKINSTALLDIRS@
102 MSGFMT = @MSGFMT@
103 PACKAGE = @PACKAGE@
104 POFILES = @POFILES@
105 POSUB = @POSUB@
106 RANLIB = @RANLIB@
107 ROOT_GROUP = @ROOT_GROUP@
108 RPM = @RPM@
109 RPMCONFIGDIR = @RPMCONFIGDIR@
110 TARGET = @TARGET@
111 U = @U@
112 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
113 USE_NLS = @USE_NLS@
114 VERSION = @VERSION@
115 l = @l@
116 testdir = @testdir@
117 tmpdir = @tmpdir@
118 varprefix = @varprefix@
119
120 AUTOMAKE_OPTIONS = 1.3 foreign
121
122 INCLUDES = -I$(top_srcdir) @INCPATH@
123
124 EXTRA_DIST = \
125         alloca.c        error.c         fakefork.c      fnmatch.c       \
126         getcwd.c        getmntent.c     getwd.c         glob.c          \
127         inet_aton.c     memcmp.c        mktime.c        myrealloc.c     \
128         putenv.c        realpath.c      stpcpy.c        stpncpy.c       \
129         strcasecmp.c    strncasecmp.c   strcspn.c       strdup.c        \
130         strerror.c      strftime.c      strcspn.c       strstr.c        \
131         strtol.c        strtoul.c
132
133 noinst_HEADERS = \
134         error.h         fnmatch.h       glob.h                          \
135         libgettext.h    message.h       po-lex.h        str-list.h      \
136         fstrcmp.h
137
138 noinst_LIBRARIES = libmisc.a
139
140 libmisc_a_SOURCES =
141
142 libmisc_a_LIBADD = @LIBOBJS@ @ALLOCA@
143 libmisc_a_DEPENDENCIES = $(libmisc_a_LIBADD)
144 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
145 CONFIG_HEADER = ../config.h
146 CONFIG_CLEAN_FILES = 
147 LIBRARIES =  $(noinst_LIBRARIES)
148
149
150 DEFS = @DEFS@ -I. -I$(srcdir) -I..
151 CPPFLAGS = @CPPFLAGS@
152 LDFLAGS = @LDFLAGS@
153 libmisc_a_OBJECTS = 
154 CFLAGS = @CFLAGS@
155 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
156 LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
157 HEADERS =  $(noinst_HEADERS)
158
159 DIST_COMMON =  Makefile.am Makefile.in alloca.c error.c error.h \
160 fnmatch.c getcwd.c getmntent.c getwd.c glob.c inet_aton.c myrealloc.c \
161 putenv.c realpath.c stpcpy.c stpncpy.c strcasecmp.c strcspn.c strdup.c \
162 strerror.c strncasecmp.c strspn.c strstr.c strtol.c strtoul.c
163
164
165 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
166
167 TAR = tar
168 GZIP = --best
169 DEP_FILES =  .deps/alloca.P .deps/error.P .deps/fnmatch.P .deps/getcwd.P \
170 .deps/getmntent.P .deps/getwd.P .deps/glob.P .deps/inet_aton.P \
171 .deps/myrealloc.P .deps/putenv.P .deps/realpath.P .deps/stpcpy.P \
172 .deps/stpncpy.P .deps/strcasecmp.P .deps/strcspn.P .deps/strdup.P \
173 .deps/strerror.P .deps/strncasecmp.P .deps/strspn.P .deps/strstr.P \
174 .deps/strtol.P .deps/strtoul.P
175 SOURCES = $(libmisc_a_SOURCES)
176 OBJECTS = $(libmisc_a_OBJECTS)
177
178 all: Makefile $(LIBRARIES) $(HEADERS)
179
180 .SUFFIXES:
181 .SUFFIXES: .S .c .o .s
182 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
183         cd $(top_srcdir) && $(AUTOMAKE) --foreign misc/Makefile
184
185 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
186         cd $(top_builddir) \
187           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
188
189
190 mostlyclean-noinstLIBRARIES:
191
192 clean-noinstLIBRARIES:
193         -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
194
195 distclean-noinstLIBRARIES:
196
197 maintainer-clean-noinstLIBRARIES:
198
199 .s.o:
200         $(COMPILE) -c $<
201
202 .S.o:
203         $(COMPILE) -c $<
204
205 mostlyclean-compile:
206         -rm -f *.o core *.core
207
208 clean-compile:
209
210 distclean-compile:
211         -rm -f *.tab.c
212
213 maintainer-clean-compile:
214
215 libmisc.a: $(libmisc_a_OBJECTS) $(libmisc_a_DEPENDENCIES)
216         -rm -f libmisc.a
217         $(AR) cru libmisc.a $(libmisc_a_OBJECTS) $(libmisc_a_LIBADD)
218         $(RANLIB) libmisc.a
219
220 tags: TAGS
221
222 ID: $(HEADERS) $(SOURCES) $(LISP)
223         here=`pwd` && cd $(srcdir) \
224           && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
225
226 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
227         tags=; \
228         here=`pwd`; \
229         list='$(SOURCES) $(HEADERS)'; \
230         unique=`for i in $$list; do echo $$i; done | \
231           awk '    { files[$$0] = 1; } \
232                END { for (i in files) print i; }'`; \
233         test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
234           || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
235
236 mostlyclean-tags:
237
238 clean-tags:
239
240 distclean-tags:
241         -rm -f TAGS ID
242
243 maintainer-clean-tags:
244
245 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
246
247 subdir = misc
248
249 distdir: $(DISTFILES)
250         here=`cd $(top_builddir) && pwd`; \
251         top_distdir=`cd $(top_distdir) && pwd`; \
252         distdir=`cd $(distdir) && pwd`; \
253         cd $(top_srcdir) \
254           && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign misc/Makefile
255         @for file in $(DISTFILES); do \
256           d=$(srcdir); \
257           test -f $(distdir)/$$file \
258           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
259           || cp -p $$d/$$file $(distdir)/$$file; \
260         done
261
262 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
263
264 -include $(DEP_FILES)
265
266 mostlyclean-depend:
267
268 clean-depend:
269
270 distclean-depend:
271
272 maintainer-clean-depend:
273         -rm -rf .deps
274
275 %.o: %.c
276         @echo '$(COMPILE) -c $<'; \
277         $(COMPILE) -Wp,-MD,.deps/$(*F).P -c $<
278
279 %.lo: %.c
280         @echo '$(LTCOMPILE) -c $<'; \
281         $(LTCOMPILE) -Wp,-MD,.deps/$(*F).p -c $<
282         @-sed -e 's/^\([^:]*\)\.o:/\1.lo \1.o:/' \
283           < .deps/$(*F).p > .deps/$(*F).P
284         @-rm -f .deps/$(*F).p
285 info:
286 dvi:
287 check: all
288         $(MAKE)
289 installcheck:
290 install-exec: 
291         @$(NORMAL_INSTALL)
292
293 install-data: 
294         @$(NORMAL_INSTALL)
295
296 install: install-exec install-data all
297         @:
298
299 uninstall: 
300
301 install-strip:
302         $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
303 installdirs:
304
305
306 mostlyclean-generic:
307         -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
308
309 clean-generic:
310         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
311
312 distclean-generic:
313         -rm -f Makefile $(DISTCLEANFILES)
314         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
315         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
316
317 maintainer-clean-generic:
318         -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
319         -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
320 mostlyclean:  mostlyclean-noinstLIBRARIES mostlyclean-compile \
321                 mostlyclean-tags mostlyclean-depend mostlyclean-generic
322
323 clean:  clean-noinstLIBRARIES clean-compile clean-tags clean-depend \
324                 clean-generic mostlyclean
325
326 distclean:  distclean-noinstLIBRARIES distclean-compile distclean-tags \
327                 distclean-depend distclean-generic clean
328         -rm -f config.status
329
330 maintainer-clean:  maintainer-clean-noinstLIBRARIES \
331                 maintainer-clean-compile maintainer-clean-tags \
332                 maintainer-clean-depend maintainer-clean-generic \
333                 distclean
334         @echo "This command is intended for maintainers to use;"
335         @echo "it deletes files that may require special tools to rebuild."
336
337 .PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
338 clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
339 mostlyclean-compile distclean-compile clean-compile \
340 maintainer-clean-compile tags mostlyclean-tags distclean-tags \
341 clean-tags maintainer-clean-tags distdir mostlyclean-depend \
342 distclean-depend clean-depend maintainer-clean-depend info dvi \
343 installcheck install-exec install-data install uninstall all \
344 installdirs mostlyclean-generic distclean-generic clean-generic \
345 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
346
347
348 # Tell versions [3.59,3.63) of GNU make to not export all variables.
349 # Otherwise a system limit (for SysV at least) may be exceeded.
350 .NOEXPORT: