source: trunk/essentials/app-arch/cpio/lib/Makefile.am

Last change on this file was 3332, checked in by bird, 18 years ago

cpio 2.7

File size: 9.6 KB
Line 
1# This file is generated automatically. Do not edit!
2# Makefile for GNU cpio library.
3
4# Copyright (C) 2004, 2005 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., 51 Franklin Street, Fifth Floor, Boston, MA
19## 02110-1301, USA.
20
21noinst_LIBRARIES = libcpio.a
22noinst_HEADERS = system.h system-ioctl.h localedir.h rmt.h paxlib.h
23libcpio_a_SOURCES = fatal.c rtapelib.c paxerror.c paxexit.c paxconvert.c paxnames.c
24
25EXTRA_DIST=Makefile.tmpl bcopy.c mkdir.c strdup.c strerror.c
26
27localedir = $(datadir)/locale
28
29DISTCLEANFILES = localedir.h
30localedir.h : Makefile
31 echo '#define LOCALEDIR "$(localedir)"' >$@
32 echo "#ifndef DEFAULT_RMT_COMMAND" >> $@
33 echo "# define DEFAULT_RMT_COMMAND \"$(DEFAULT_RMT_DIR)/`echo \"rmt\" | sed 's,^.*/,,;$(transform)'`$(EXEEXT)\"" >> $@
34 echo "#endif" >> $@
35
36libcpio_a_LIBADD = $(LIBOBJS) $(ALLOCA)
37libcpio_a_DEPENDENCIES = $(libcpio_a_LIBADD)
38
39rtapelib.o: localedir.h
40
41AM_CPPFLAGS =
42BUILT_SOURCES =
43MAINTAINERCLEANFILES =
44MOSTLYCLEANFILES =
45lib_OBJECTS = $(libcpio_a_OBJECTS)
46
47# gnulib modules
48
49# alloca
50
51# alloca-opt
52BUILT_SOURCES += $(ALLOCA_H)
53EXTRA_DIST += alloca_.h
54
55# We need the following in order to create <alloca.h> when the system
56# doesn't have one that works with the given compiler.
57alloca.h: alloca_.h
58 cp -f $(srcdir)/alloca_.h $@-t
59 mv -f $@-t $@
60MOSTLYCLEANFILES += alloca.h alloca.h-t
61
62# allocsa
63libcpio_a_SOURCES += allocsa.h allocsa.c
64EXTRA_DIST += allocsa.valgrind
65
66# argmatch
67EXTRA_DIST += argmatch.h
68
69# argp
70libcpio_a_SOURCES += argp.h argp-ba.c argp-eexst.c \
71 argp-fmtstream.c argp-fmtstream.h argp-fs-xinl.c argp-help.c \
72 argp-namefrob.h argp-parse.c argp-pin.c argp-pv.c argp-pvh.c \
73 argp-xinl.c
74
75# chdir-long
76EXTRA_DIST += chdir-long.h
77
78# chown
79
80# clock-time
81
82# close-stream
83EXTRA_DIST += close-stream.h
84
85# closeout
86EXTRA_DIST += closeout.h
87
88# d-ino
89
90# dirname
91EXTRA_DIST += dirname.h
92
93# error
94
95# exit
96libcpio_a_SOURCES += exit.h
97
98# exitfail
99EXTRA_DIST += exitfail.h
100
101# extensions
102
103# fcntl
104BUILT_SOURCES += $(FCNTL_H)
105EXTRA_DIST += fcntl_.h
106
107# We need the following in order to create <fcntl.h> when the system
108# doesn't have one that works with the given compiler.
109fcntl.h: fcntl_.h
110 rm -f $@-t $@
111 sed -e 's|@''ABSOLUTE_FCNTL_H''@|$(ABSOLUTE_FCNTL_H)|g' \
112 < $(srcdir)/fcntl_.h > $@-t
113 mv $@-t $@
114MOSTLYCLEANFILES += fcntl.h fcntl.h-t
115
116# fcntl-safer
117EXTRA_DIST += fcntl-safer.h fcntl--.h
118
119# fileblocks
120
121# fnmatch
122BUILT_SOURCES += $(FNMATCH_H)
123EXTRA_DIST += fnmatch_.h fnmatch_loop.c
124
125# We need the following in order to create <fnmatch.h> when the system
126# doesn't have one that supports the required API.
127fnmatch.h: fnmatch_.h
128 cp -f $(srcdir)/fnmatch_.h $@-t
129 mv -f $@-t $@
130MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t
131
132# fnmatch-gnu
133
134# fpending
135EXTRA_DIST += __fpending.h
136
137# full-write
138libcpio_a_SOURCES += full-write.h full-write.c
139
140# getcwd
141EXTRA_DIST += getcwd.h
142
143# getdate
144libcpio_a_SOURCES += getdate.y
145BUILT_SOURCES += getdate.c
146MAINTAINERCLEANFILES += getdate.c
147EXTRA_DIST += getdate.c getdate.h
148
149# getopt
150BUILT_SOURCES += $(GETOPT_H)
151EXTRA_DIST += getopt_.h getopt_int.h
152
153# We need the following in order to create <getopt.h> when the system
154# doesn't have one that works with the given compiler.
155getopt.h: getopt_.h
156 cp -f $(srcdir)/getopt_.h $@-t
157 mv -f $@-t $@
158MOSTLYCLEANFILES += getopt.h getopt.h-t
159
160# gettext
161# This is for those projects which use "gettextize --intl" to put a source-code
162# copy of libintl into their package. In such projects, every Makefile.am needs
163# -I$(top_builddir)/intl, so that <libintl.h> can be found in this directory.
164# For the Makefile.ams in other directories it is the maintainer's
165# responsibility; for the one from gnulib we do it here.
166# This option has no effect when the user disables NLS (because then the intl
167# directory contains no libintl.h file) or when the project does not use
168# "gettextize --intl".
169AM_CPPFLAGS += -I$(top_builddir)/intl
170
171# gettext-h
172libcpio_a_SOURCES += gettext.h
173
174# gettime
175
176# gettimeofday
177
178# hash
179EXTRA_DIST += hash.h
180
181# havelib
182
183# intprops
184EXTRA_DIST += intprops.h
185
186# inttostr
187EXTRA_DIST += inttostr.c inttostr.h
188
189# inttypes
190BUILT_SOURCES += $(INTTYPES_H)
191EXTRA_DIST += inttypes_.h
192
193# We need the following in order to create <inttypes.h> when the system
194# doesn't have one that works with the given compiler.
195inttypes.h: inttypes_.h
196 rm -f $@-t $@
197 sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
198 -e 's|@''ABSOLUTE_INTTYPES_H''@|$(ABSOLUTE_INTTYPES_H)|g' \
199 -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \
200 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
201 -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \
202 -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \
203 -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
204 -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
205 -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
206 < $(srcdir)/inttypes_.h > $@-t
207 mv $@-t $@
208MOSTLYCLEANFILES += inttypes.h inttypes.h-t
209
210# lchown
211EXTRA_DIST += lchown.h
212
213# lstat
214EXTRA_DIST += lstat.h
215
216# malloc
217
218# mbchar
219libcpio_a_SOURCES += mbchar.h
220
221# mbuiter
222libcpio_a_SOURCES += mbuiter.h
223
224# memchr
225
226# mempcpy
227EXTRA_DIST += mempcpy.h
228
229# memrchr
230EXTRA_DIST += memrchr.h
231
232# minmax
233libcpio_a_SOURCES += minmax.h
234
235# mktime
236
237# obstack
238
239# openat
240EXTRA_DIST += at-func.c openat.h openat-priv.h
241
242# quote
243EXTRA_DIST += quote.h
244
245# quotearg
246EXTRA_DIST += quotearg.h
247
248# safe-read
249EXTRA_DIST += safe-read.h
250
251# safe-write
252EXTRA_DIST += safe-write.h
253
254# save-cwd
255EXTRA_DIST += save-cwd.h
256
257# savedir
258EXTRA_DIST += savedir.h
259
260# setenv
261libcpio_a_SOURCES += setenv.h
262
263# size_max
264libcpio_a_SOURCES += size_max.h
265
266# ssize_t
267
268# stat-macros
269EXTRA_DIST += stat-macros.h
270
271# stdarg
272
273# stdbool
274BUILT_SOURCES += $(STDBOOL_H)
275EXTRA_DIST += stdbool_.h
276
277# We need the following in order to create <stdbool.h> when the system
278# doesn't have one that works.
279stdbool.h: stdbool_.h
280 rm -f $@-t $@
281 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool_.h > $@-t
282 mv $@-t $@
283MOSTLYCLEANFILES += stdbool.h stdbool.h-t
284
285# stdint
286BUILT_SOURCES += $(STDINT_H)
287EXTRA_DIST += stdint_.h
288
289# We need the following in order to create <stdint.h> when the system
290# doesn't have one that works with the given compiler.
291stdint.h: stdint_.h
292 rm -f $@-t $@
293 sed -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
294 -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
295 -e 's|@''ABSOLUTE_STDINT_H''@|$(ABSOLUTE_STDINT_H)|g' \
296 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
297 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
298 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
299 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
300 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
301 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
302 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
303 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
304 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
305 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
306 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
307 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
308 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
309 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
310 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
311 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
312 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
313 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
314 < $(srcdir)/stdint_.h > $@-t
315 mv $@-t $@
316MOSTLYCLEANFILES += stdint.h stdint.h-t
317
318# stpcpy
319libcpio_a_SOURCES += stpcpy.h
320
321# strcase
322libcpio_a_SOURCES += strcase.h
323
324# strchrnul
325libcpio_a_SOURCES += strchrnul.h
326
327# strndup
328EXTRA_DIST += strndup.h
329
330# strnlen
331EXTRA_DIST += strnlen.h
332
333# strnlen1
334libcpio_a_SOURCES += strnlen1.h strnlen1.c
335
336# strtol
337
338# sysexits
339BUILT_SOURCES += $(SYSEXITS_H)
340EXTRA_DIST += sysexit_.h
341
342# We need the following in order to create <sysexits.h> when the system
343# doesn't have one that works with the given compiler.
344sysexits.h: sysexit_.h
345 cp -f $(srcdir)/sysexit_.h $@-t
346 mv -f $@-t $@
347MOSTLYCLEANFILES += sysexits.h sysexits.h-t
348
349# time_r
350EXTRA_DIST += time_r.h
351
352# timespec
353EXTRA_DIST += timespec.h
354
355# unistd
356BUILT_SOURCES += $(UNISTD_H)
357
358# We need the following in order to create an empty placeholder for
359# <unistd.h> when the system doesn't have one.
360unistd.h:
361 echo '/* Empty placeholder for $@. */' >$@
362MOSTLYCLEANFILES += unistd.h
363
364# unistd-safer
365EXTRA_DIST += unistd-safer.h unistd--.h
366
367# unlocked-io
368EXTRA_DIST += unlocked-io.h
369
370# utimens
371EXTRA_DIST += utimens.h
372
373# vasnprintf
374libcpio_a_SOURCES += printf-args.h printf-parse.h vasnprintf.h
375
376# verify
377libcpio_a_SOURCES += verify.h
378
379# version-etc
380libcpio_a_SOURCES += version-etc.h version-etc.c
381
382# version-etc-fsf
383libcpio_a_SOURCES += version-etc-fsf.c
384
385# vsnprintf
386libcpio_a_SOURCES += vsnprintf.h
387
388# wcwidth
389libcpio_a_SOURCES += wcwidth.h
390
391# xalloc
392EXTRA_DIST += xalloc.h
393
394# xalloc-die
395libcpio_a_SOURCES += xalloc-die.c
396
397# xgetcwd
398EXTRA_DIST += xgetcwd.h
399
400# xsize
401libcpio_a_SOURCES += xsize.h
402
403# xstrndup
404libcpio_a_SOURCES += xstrndup.h xstrndup.c
405
Note: See TracBrowser for help on using the repository browser.