source: trunk/essentials/app-arch/tar/lib/gnulib.mk

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

tar 1.16.1

File size: 25.3 KB
Line 
1## DO NOT EDIT! GENERATED AUTOMATICALLY!
2## Process this file with automake to produce Makefile.in.
3# Copyright (C) 2004-2006 Free Software Foundation, Inc.
4#
5# This file is free software, distributed under the terms of the GNU
6# General Public License. As a special exception to the GNU General
7# Public License, this file may be distributed as part of a program
8# that contains a configuration script generated by Autoconf, under
9# the same distribution terms as the rest of that program.
10#
11# Generated by gnulib-tool.
12# Reproduce by: gnulib-tool --import --dir=. --local-dir=gl --lib=libtar --source-base=.#bootmp/lib --m4-base=.#bootmp/m4 --doc-base=.#bootmp/doc --aux-dir=.#bootmp/build-aux --avoid=lock --avoid=size_max --avoid=xsize --no-libtool --macro-prefix=gl alloca argmatch argp backupfile closeout configmake dirname error exclude exitfail fileblocks fnmatch-gnu ftruncate full-write getdate getline getopt getpagesize gettext gettime hash human inttostr inttypes lchown localcharset memset mkdtemp modechange obstack quote quotearg rmdir rpmatch safe-read save-cwd savedir setenv stat-time stdbool stdint stpcpy strdup strtol strtoul timespec unlinkdir unlocked-io utime utimens version-etc-fsf xalloc xalloc-die xgetcwd xstrtoumax
13
14AUTOMAKE_OPTIONS = 1.5 gnits
15
16noinst_HEADERS =
17noinst_LIBRARIES =
18noinst_LTLIBRARIES =
19EXTRA_DIST =
20BUILT_SOURCES =
21SUFFIXES =
22MOSTLYCLEANFILES = core *.stackdump
23MOSTLYCLEANDIRS =
24CLEANFILES =
25DISTCLEANFILES =
26MAINTAINERCLEANFILES =
27
28AM_CPPFLAGS =
29
30noinst_LIBRARIES += libtar.a
31
32libtar_a_SOURCES =
33libtar_a_LIBADD = $(gl_LIBOBJS)
34libtar_a_DEPENDENCIES = $(gl_LIBOBJS)
35EXTRA_libtar_a_SOURCES =
36
37## begin gnulib module alloca
38
39
40EXTRA_DIST += alloca.c
41
42EXTRA_libtar_a_SOURCES += alloca.c
43
44libtar_a_LIBADD += @ALLOCA@
45libtar_a_DEPENDENCIES += @ALLOCA@
46## end gnulib module alloca
47
48## begin gnulib module alloca-opt
49
50BUILT_SOURCES += $(ALLOCA_H)
51
52# We need the following in order to create <alloca.h> when the system
53# doesn't have one that works with the given compiler.
54alloca.h: alloca_.h
55 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
56 cat $(srcdir)/alloca_.h; \
57 } > $@-t
58 mv -f $@-t $@
59MOSTLYCLEANFILES += alloca.h alloca.h-t
60
61EXTRA_DIST += alloca_.h
62
63## end gnulib module alloca-opt
64
65## begin gnulib module allocsa
66
67libtar_a_SOURCES += allocsa.h allocsa.c
68
69EXTRA_DIST += allocsa.valgrind
70
71## end gnulib module allocsa
72
73## begin gnulib module argmatch
74
75
76EXTRA_DIST += argmatch.c argmatch.h
77
78EXTRA_libtar_a_SOURCES += argmatch.c
79
80## end gnulib module argmatch
81
82## begin gnulib module argp
83
84libtar_a_SOURCES += argp.h argp-ba.c argp-eexst.c \
85 argp-fmtstream.c argp-fmtstream.h argp-fs-xinl.c argp-help.c \
86 argp-namefrob.h argp-parse.c argp-pin.c argp-pv.c argp-pvh.c \
87 argp-xinl.c
88
89## end gnulib module argp
90
91## begin gnulib module backupfile
92
93
94EXTRA_DIST += backupfile.c backupfile.h
95
96EXTRA_libtar_a_SOURCES += backupfile.c
97
98## end gnulib module backupfile
99
100## begin gnulib module chdir-long
101
102
103EXTRA_DIST += chdir-long.c chdir-long.h
104
105EXTRA_libtar_a_SOURCES += chdir-long.c
106
107## end gnulib module chdir-long
108
109## begin gnulib module chown
110
111
112EXTRA_DIST += chown.c fchown-stub.c
113
114EXTRA_libtar_a_SOURCES += chown.c fchown-stub.c
115
116## end gnulib module chown
117
118## begin gnulib module close-stream
119
120
121EXTRA_DIST += close-stream.c close-stream.h
122
123EXTRA_libtar_a_SOURCES += close-stream.c
124
125## end gnulib module close-stream
126
127## begin gnulib module closeout
128
129
130EXTRA_DIST += closeout.c closeout.h
131
132EXTRA_libtar_a_SOURCES += closeout.c
133
134## end gnulib module closeout
135
136## begin gnulib module configmake
137
138# Retrieve values of the variables through 'configure' followed by
139# 'make', not directly through 'configure', so that a user who
140# sets some of these variables consistently on the 'make' command
141# line gets correct results.
142#
143# One advantage of this approach, compared to the classical
144# approach of adding -DLIBDIR=\"$(libdir)\" etc. to AM_CPPFLAGS,
145# is that it protects against the use of undefined variables.
146# If, say, $(libdir) is not set in the Makefile, LIBDIR is not
147# defined by this module, and code using LIBDIR gives a
148# compilation error.
149#
150# Another advantage is that 'make' output is shorter.
151#
152# Listed in the same order as the GNU makefile conventions.
153# The Automake-defined pkg* macros are appended, in the order
154# listed in the Automake 1.10a+ documentation.
155configmake.h: Makefile
156 rm -f $@-t $@
157 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
158 echo '#define PREFIX "$(prefix)"'; \
159 echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
160 echo '#define BINDIR "$(bindir)"'; \
161 echo '#define SBINDIR "$(sbindir)"'; \
162 echo '#define LIBEXECDIR "$(libexecdir)"'; \
163 echo '#define DATAROOTDIR "$(datarootdir)"'; \
164 echo '#define DATADIR "$(datadir)"'; \
165 echo '#define SYSCONFDIR "$(sysconfdir)"'; \
166 echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
167 echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
168 echo '#define INCLUDEDIR "$(includedir)"'; \
169 echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
170 echo '#define DOCDIR "$(docdir)"'; \
171 echo '#define INFODIR "$(infodir)"'; \
172 echo '#define HTMLDIR "$(htmldir)"'; \
173 echo '#define DVIDIR "$(dvidir)"'; \
174 echo '#define PDFDIR "$(pdfdir)"'; \
175 echo '#define PSDIR "$(psdir)"'; \
176 echo '#define LIBDIR "$(libdir)"'; \
177 echo '#define LISPDIR "$(lispdir)"'; \
178 echo '#define LOCALEDIR "$(localedir)"'; \
179 echo '#define MANDIR "$(mandir)"'; \
180 echo '#define MANEXT "$(manext)"'; \
181 echo '#define PKGDATADIR "$(pkgdatadir)"'; \
182 echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
183 echo '#define PKGLIBDIR "$(pkglibdir)"'; \
184 echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
185 } | sed '/""/d' > $@-t
186 mv $@-t $@
187BUILT_SOURCES += configmake.h
188CLEANFILES += configmake.h configmake.h-t
189
190## end gnulib module configmake
191
192## begin gnulib module dirname
193
194
195EXTRA_DIST += basename.c dirname.c dirname.h stripslash.c
196
197EXTRA_libtar_a_SOURCES += basename.c dirname.c stripslash.c
198
199## end gnulib module dirname
200
201## begin gnulib module error
202
203
204EXTRA_DIST += error.c error.h
205
206EXTRA_libtar_a_SOURCES += error.c
207
208## end gnulib module error
209
210## begin gnulib module exclude
211
212
213EXTRA_DIST += exclude.c exclude.h
214
215EXTRA_libtar_a_SOURCES += exclude.c
216
217## end gnulib module exclude
218
219## begin gnulib module exit
220
221libtar_a_SOURCES += exit.h
222
223## end gnulib module exit
224
225## begin gnulib module exitfail
226
227
228EXTRA_DIST += exitfail.c exitfail.h
229
230EXTRA_libtar_a_SOURCES += exitfail.c
231
232## end gnulib module exitfail
233
234## begin gnulib module fcntl
235
236BUILT_SOURCES += $(FCNTL_H)
237
238# We need the following in order to create <fcntl.h> when the system
239# doesn't have one that works with the given compiler.
240fcntl.h: fcntl_.h
241 rm -f $@-t $@
242 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
243 sed -e 's|@''ABSOLUTE_FCNTL_H''@|$(ABSOLUTE_FCNTL_H)|g' \
244 < $(srcdir)/fcntl_.h; \
245 } > $@-t
246 mv $@-t $@
247MOSTLYCLEANFILES += fcntl.h fcntl.h-t
248
249EXTRA_DIST += fcntl_.h
250
251## end gnulib module fcntl
252
253## begin gnulib module fcntl-safer
254
255
256EXTRA_DIST += creat-safer.c fcntl--.h fcntl-safer.h open-safer.c
257
258EXTRA_libtar_a_SOURCES += creat-safer.c open-safer.c
259
260## end gnulib module fcntl-safer
261
262## begin gnulib module fileblocks
263
264
265EXTRA_DIST += fileblocks.c
266
267EXTRA_libtar_a_SOURCES += fileblocks.c
268
269## end gnulib module fileblocks
270
271## begin gnulib module fnmatch
272
273BUILT_SOURCES += $(FNMATCH_H)
274
275# We need the following in order to create <fnmatch.h> when the system
276# doesn't have one that supports the required API.
277fnmatch.h: fnmatch_.h
278 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
279 cat $(srcdir)/fnmatch_.h; \
280 } > $@-t
281 mv -f $@-t $@
282MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t
283
284EXTRA_DIST += fnmatch.c fnmatch_.h fnmatch_loop.c
285
286EXTRA_libtar_a_SOURCES += fnmatch.c fnmatch_loop.c
287
288## end gnulib module fnmatch
289
290## begin gnulib module fpending
291
292
293EXTRA_DIST += __fpending.c __fpending.h
294
295EXTRA_libtar_a_SOURCES += __fpending.c
296
297## end gnulib module fpending
298
299## begin gnulib module ftruncate
300
301
302EXTRA_DIST += ftruncate.c
303
304EXTRA_libtar_a_SOURCES += ftruncate.c
305
306## end gnulib module ftruncate
307
308## begin gnulib module full-write
309
310libtar_a_SOURCES += full-write.h full-write.c
311
312## end gnulib module full-write
313
314## begin gnulib module getcwd
315
316
317EXTRA_DIST += getcwd.c getcwd.h
318
319EXTRA_libtar_a_SOURCES += getcwd.c
320
321## end gnulib module getcwd
322
323## begin gnulib module getdate
324
325libtar_a_SOURCES += getdate.y
326BUILT_SOURCES += getdate.c
327MAINTAINERCLEANFILES += getdate.c
328EXTRA_DIST += getdate.c
329
330EXTRA_DIST += getdate.h
331
332## end gnulib module getdate
333
334## begin gnulib module getdelim
335
336
337EXTRA_DIST += getdelim.c getdelim.h
338
339EXTRA_libtar_a_SOURCES += getdelim.c
340
341## end gnulib module getdelim
342
343## begin gnulib module getline
344
345
346EXTRA_DIST += getline.c getline.h
347
348EXTRA_libtar_a_SOURCES += getline.c
349
350## end gnulib module getline
351
352## begin gnulib module getopt
353
354BUILT_SOURCES += $(GETOPT_H)
355
356# We need the following in order to create <getopt.h> when the system
357# doesn't have one that works with the given compiler.
358getopt.h: getopt_.h
359 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
360 cat $(srcdir)/getopt_.h; \
361 } > $@-t
362 mv -f $@-t $@
363MOSTLYCLEANFILES += getopt.h getopt.h-t
364
365EXTRA_DIST += getopt.c getopt1.c getopt_.h getopt_int.h
366
367EXTRA_libtar_a_SOURCES += getopt.c getopt1.c
368
369## end gnulib module getopt
370
371## begin gnulib module getpagesize
372
373
374EXTRA_DIST += getpagesize.h
375
376## end gnulib module getpagesize
377
378## begin gnulib module gettext
379
380# This is for those projects which use "gettextize --intl" to put a source-code
381# copy of libintl into their package. In such projects, every Makefile.am needs
382# -I$(top_builddir)/intl, so that <libintl.h> can be found in this directory.
383# For the Makefile.ams in other directories it is the maintainer's
384# responsibility; for the one from gnulib we do it here.
385# This option has no effect when the user disables NLS (because then the intl
386# directory contains no libintl.h file) or when the project does not use
387# "gettextize --intl".
388#AM_CPPFLAGS += -I$(top_builddir)/intl
389
390## end gnulib module gettext
391
392## begin gnulib module gettext-h
393
394libtar_a_SOURCES += gettext.h
395
396## end gnulib module gettext-h
397
398## begin gnulib module gettime
399
400
401EXTRA_DIST += gettime.c
402
403EXTRA_libtar_a_SOURCES += gettime.c
404
405## end gnulib module gettime
406
407## begin gnulib module gettimeofday
408
409
410EXTRA_DIST += gettimeofday.c
411
412EXTRA_libtar_a_SOURCES += gettimeofday.c
413
414## end gnulib module gettimeofday
415
416## begin gnulib module hash
417
418
419EXTRA_DIST += hash.c hash.h
420
421EXTRA_libtar_a_SOURCES += hash.c
422
423## end gnulib module hash
424
425## begin gnulib module human
426
427
428EXTRA_DIST += human.c human.h
429
430EXTRA_libtar_a_SOURCES += human.c
431
432## end gnulib module human
433
434## begin gnulib module intprops
435
436
437EXTRA_DIST += intprops.h
438
439## end gnulib module intprops
440
441## begin gnulib module inttostr
442
443
444EXTRA_DIST += imaxtostr.c inttostr.c inttostr.h offtostr.c uinttostr.c umaxtostr.c
445
446EXTRA_libtar_a_SOURCES += imaxtostr.c inttostr.c offtostr.c uinttostr.c umaxtostr.c
447
448## end gnulib module inttostr
449
450## begin gnulib module inttypes
451
452BUILT_SOURCES += $(INTTYPES_H)
453
454# We need the following in order to create <inttypes.h> when the system
455# doesn't have one that works with the given compiler.
456inttypes.h: inttypes_.h
457 rm -f $@-t $@
458 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
459 sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
460 -e 's|@''ABSOLUTE_INTTYPES_H''@|$(ABSOLUTE_INTTYPES_H)|g' \
461 -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \
462 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
463 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
464 -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \
465 -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \
466 -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
467 -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
468 -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
469 < $(srcdir)/inttypes_.h; \
470 } > $@-t
471 mv $@-t $@
472MOSTLYCLEANFILES += inttypes.h inttypes.h-t
473
474EXTRA_DIST += inttypes_.h
475
476## end gnulib module inttypes
477
478## begin gnulib module lchown
479
480
481EXTRA_DIST += lchown.c lchown.h
482
483EXTRA_libtar_a_SOURCES += lchown.c
484
485## end gnulib module lchown
486
487## begin gnulib module localcharset
488
489libtar_a_SOURCES += localcharset.h localcharset.c
490
491# We need the following in order to install a simple file in $(libdir)
492# which is shared with other installed packages. We use a list of referencing
493# packages so that "make uninstall" will remove the file if and only if it
494# is not used by another installed package.
495# On systems with glibc-2.1 or newer, the file is redundant, therefore we
496# avoid installing it.
497
498all-local: charset.alias ref-add.sed ref-del.sed
499
500charset_alias = $(DESTDIR)$(libdir)/charset.alias
501charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
502install-exec-local: all-local
503 test $(GLIBC21) != no || $(mkinstalldirs) $(DESTDIR)$(libdir)
504 if test -f $(charset_alias); then \
505 sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
506 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
507 rm -f $(charset_tmp) ; \
508 else \
509 if test $(GLIBC21) = no; then \
510 sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
511 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
512 rm -f $(charset_tmp) ; \
513 fi ; \
514 fi
515
516uninstall-local: all-local
517 if test -f $(charset_alias); then \
518 sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
519 if grep '^# Packages using this file: $$' $(charset_tmp) \
520 > /dev/null; then \
521 rm -f $(charset_alias); \
522 else \
523 $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
524 fi; \
525 rm -f $(charset_tmp); \
526 fi
527
528charset.alias: config.charset
529 rm -f t-$@ $@
530 $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@
531 mv t-$@ $@
532
533SUFFIXES += .sed .sin
534.sin.sed:
535 rm -f t-$@ $@
536 sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@
537 mv t-$@ $@
538
539CLEANFILES += charset.alias ref-add.sed ref-del.sed
540
541EXTRA_DIST += config.charset ref-add.sin ref-del.sin
542
543## end gnulib module localcharset
544
545## begin gnulib module lstat
546
547
548EXTRA_DIST += lstat.c lstat.h
549
550EXTRA_libtar_a_SOURCES += lstat.c
551
552## end gnulib module lstat
553
554## begin gnulib module malloc
555
556
557EXTRA_DIST += malloc.c
558
559EXTRA_libtar_a_SOURCES += malloc.c
560
561## end gnulib module malloc
562
563## begin gnulib module mbchar
564
565
566EXTRA_DIST += mbchar.c mbchar.h
567
568EXTRA_libtar_a_SOURCES += mbchar.c
569
570## end gnulib module mbchar
571
572## begin gnulib module mbuiter
573
574libtar_a_SOURCES += mbuiter.h
575
576## end gnulib module mbuiter
577
578## begin gnulib module memchr
579
580
581EXTRA_DIST += memchr.c
582
583EXTRA_libtar_a_SOURCES += memchr.c
584
585## end gnulib module memchr
586
587## begin gnulib module mempcpy
588
589
590EXTRA_DIST += mempcpy.c mempcpy.h
591
592EXTRA_libtar_a_SOURCES += mempcpy.c
593
594## end gnulib module mempcpy
595
596## begin gnulib module memrchr
597
598
599EXTRA_DIST += memrchr.c memrchr.h
600
601EXTRA_libtar_a_SOURCES += memrchr.c
602
603## end gnulib module memrchr
604
605## begin gnulib module memset
606
607
608EXTRA_DIST += memset.c
609
610EXTRA_libtar_a_SOURCES += memset.c
611
612## end gnulib module memset
613
614## begin gnulib module minmax
615
616libtar_a_SOURCES += minmax.h
617
618## end gnulib module minmax
619
620## begin gnulib module mkdtemp
621
622
623EXTRA_DIST += mkdtemp.c mkdtemp.h
624
625EXTRA_libtar_a_SOURCES += mkdtemp.c
626
627## end gnulib module mkdtemp
628
629## begin gnulib module mktime
630
631
632EXTRA_DIST += mktime.c
633
634EXTRA_libtar_a_SOURCES += mktime.c
635
636## end gnulib module mktime
637
638## begin gnulib module modechange
639
640
641EXTRA_DIST += modechange.c modechange.h
642
643EXTRA_libtar_a_SOURCES += modechange.c
644
645## end gnulib module modechange
646
647## begin gnulib module obstack
648
649
650EXTRA_DIST += obstack.c obstack.h
651
652EXTRA_libtar_a_SOURCES += obstack.c
653
654## end gnulib module obstack
655
656## begin gnulib module openat
657
658
659EXTRA_DIST += at-func.c fchmodat.c fstatat.c mkdirat.c openat-die.c openat-priv.h openat-proc.c openat.c openat.h
660
661EXTRA_libtar_a_SOURCES += at-func.c fchmodat.c fstatat.c mkdirat.c openat-die.c openat-proc.c openat.c
662
663## end gnulib module openat
664
665## begin gnulib module quote
666
667
668EXTRA_DIST += quote.c quote.h
669
670EXTRA_libtar_a_SOURCES += quote.c
671
672## end gnulib module quote
673
674## begin gnulib module quotearg
675
676
677EXTRA_DIST += quotearg.c quotearg.h
678
679EXTRA_libtar_a_SOURCES += quotearg.c
680
681## end gnulib module quotearg
682
683## begin gnulib module regex
684
685
686EXTRA_DIST += regcomp.c regex.c regex.h regex_internal.c regex_internal.h regexec.c
687
688EXTRA_libtar_a_SOURCES += regcomp.c regex.c regex_internal.c regexec.c
689
690## end gnulib module regex
691
692## begin gnulib module rmdir
693
694
695EXTRA_DIST += rmdir.c
696
697EXTRA_libtar_a_SOURCES += rmdir.c
698
699## end gnulib module rmdir
700
701## begin gnulib module rpmatch
702
703
704EXTRA_DIST += rpmatch.c
705
706EXTRA_libtar_a_SOURCES += rpmatch.c
707
708## end gnulib module rpmatch
709
710## begin gnulib module safe-read
711
712
713EXTRA_DIST += safe-read.c safe-read.h
714
715EXTRA_libtar_a_SOURCES += safe-read.c
716
717## end gnulib module safe-read
718
719## begin gnulib module safe-write
720
721
722EXTRA_DIST += safe-write.c safe-write.h
723
724EXTRA_libtar_a_SOURCES += safe-write.c
725
726## end gnulib module safe-write
727
728## begin gnulib module same-inode
729
730
731EXTRA_DIST += same-inode.h
732
733## end gnulib module same-inode
734
735## begin gnulib module save-cwd
736
737
738EXTRA_DIST += save-cwd.c save-cwd.h
739
740EXTRA_libtar_a_SOURCES += save-cwd.c
741
742## end gnulib module save-cwd
743
744## begin gnulib module savedir
745
746
747EXTRA_DIST += savedir.c savedir.h
748
749EXTRA_libtar_a_SOURCES += savedir.c
750
751## end gnulib module savedir
752
753## begin gnulib module setenv
754
755
756EXTRA_DIST += setenv.c setenv.h unsetenv.c
757
758EXTRA_libtar_a_SOURCES += setenv.c unsetenv.c
759
760## end gnulib module setenv
761
762## begin gnulib module stat-macros
763
764
765EXTRA_DIST += stat-macros.h
766
767## end gnulib module stat-macros
768
769## begin gnulib module stat-time
770
771
772EXTRA_DIST += stat-time.h
773
774## end gnulib module stat-time
775
776## begin gnulib module stdbool
777
778BUILT_SOURCES += $(STDBOOL_H)
779
780# We need the following in order to create <stdbool.h> when the system
781# doesn't have one that works.
782stdbool.h: stdbool_.h
783 rm -f $@-t $@
784 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
785 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool_.h; \
786 } > $@-t
787 mv $@-t $@
788MOSTLYCLEANFILES += stdbool.h stdbool.h-t
789
790EXTRA_DIST += stdbool_.h
791
792## end gnulib module stdbool
793
794## begin gnulib module stdint
795
796BUILT_SOURCES += $(STDINT_H)
797
798# We need the following in order to create <stdint.h> when the system
799# doesn't have one that works with the given compiler.
800stdint.h: stdint_.h
801 rm -f $@-t $@
802 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
803 sed -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
804 -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
805 -e 's|@''ABSOLUTE_STDINT_H''@|$(ABSOLUTE_STDINT_H)|g' \
806 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
807 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
808 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
809 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
810 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
811 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
812 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
813 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
814 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
815 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
816 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
817 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
818 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
819 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
820 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
821 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
822 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
823 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
824 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
825 < $(srcdir)/stdint_.h; \
826 } > $@-t
827 mv $@-t $@
828MOSTLYCLEANFILES += stdint.h stdint.h-t
829
830EXTRA_DIST += stdint_.h
831
832## end gnulib module stdint
833
834## begin gnulib module stpcpy
835
836
837EXTRA_DIST += stpcpy.c stpcpy.h
838
839EXTRA_libtar_a_SOURCES += stpcpy.c
840
841## end gnulib module stpcpy
842
843## begin gnulib module strcase
844
845
846EXTRA_DIST += strcase.h strcasecmp.c strncasecmp.c
847
848EXTRA_libtar_a_SOURCES += strcasecmp.c strncasecmp.c
849
850## end gnulib module strcase
851
852## begin gnulib module strchrnul
853
854
855EXTRA_DIST += strchrnul.c strchrnul.h
856
857EXTRA_libtar_a_SOURCES += strchrnul.c
858
859## end gnulib module strchrnul
860
861## begin gnulib module strdup
862
863
864EXTRA_DIST += strdup.c strdup.h
865
866EXTRA_libtar_a_SOURCES += strdup.c
867
868## end gnulib module strdup
869
870## begin gnulib module strndup
871
872
873EXTRA_DIST += strndup.c strndup.h
874
875EXTRA_libtar_a_SOURCES += strndup.c
876
877## end gnulib module strndup
878
879## begin gnulib module strnlen
880
881
882EXTRA_DIST += strnlen.c strnlen.h
883
884EXTRA_libtar_a_SOURCES += strnlen.c
885
886## end gnulib module strnlen
887
888## begin gnulib module strnlen1
889
890libtar_a_SOURCES += strnlen1.h strnlen1.c
891
892## end gnulib module strnlen1
893
894## begin gnulib module strtoimax
895
896
897EXTRA_DIST += strtoimax.c
898
899EXTRA_libtar_a_SOURCES += strtoimax.c
900
901## end gnulib module strtoimax
902
903## begin gnulib module strtol
904
905
906EXTRA_DIST += strtol.c
907
908EXTRA_libtar_a_SOURCES += strtol.c
909
910## end gnulib module strtol
911
912## begin gnulib module strtoll
913
914
915EXTRA_DIST += strtoll.c
916
917EXTRA_libtar_a_SOURCES += strtoll.c
918
919## end gnulib module strtoll
920
921## begin gnulib module strtoul
922
923
924EXTRA_DIST += strtoul.c
925
926EXTRA_libtar_a_SOURCES += strtoul.c
927
928## end gnulib module strtoul
929
930## begin gnulib module strtoull
931
932
933EXTRA_DIST += strtoull.c
934
935EXTRA_libtar_a_SOURCES += strtoull.c
936
937## end gnulib module strtoull
938
939## begin gnulib module strtoumax
940
941
942EXTRA_DIST += strtoumax.c
943
944EXTRA_libtar_a_SOURCES += strtoumax.c
945
946## end gnulib module strtoumax
947
948## begin gnulib module sys_stat
949
950BUILT_SOURCES += $(SYS_STAT_H)
951
952# We need the following in order to create <sys/stat.h> when the system
953# has one that is incomplete.
954sys/stat.h: stat_.h
955 test -d sys || mkdir sys
956 rm -f $@-t $@
957 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
958 sed -e 's|@''ABSOLUTE_SYS_STAT_H''@|$(ABSOLUTE_SYS_STAT_H)|g' \
959 < $(srcdir)/stat_.h; \
960 } > $@-t
961 mv $@-t $@
962MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
963MOSTLYCLEANDIRS += sys
964
965EXTRA_DIST += stat_.h
966
967## end gnulib module sys_stat
968
969## begin gnulib module sysexits
970
971BUILT_SOURCES += $(SYSEXITS_H)
972
973# We need the following in order to create <sysexits.h> when the system
974# doesn't have one that works with the given compiler.
975sysexits.h: sysexit_.h
976 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
977 cat $(srcdir)/sysexit_.h; \
978 } > $@-t
979 mv -f $@-t $@
980MOSTLYCLEANFILES += sysexits.h sysexits.h-t
981
982EXTRA_DIST += sysexit_.h
983
984## end gnulib module sysexits
985
986## begin gnulib module tempname
987
988
989EXTRA_DIST += tempname.c tempname.h
990
991EXTRA_libtar_a_SOURCES += tempname.c
992
993## end gnulib module tempname
994
995## begin gnulib module time_r
996
997
998EXTRA_DIST += time_r.c time_r.h
999
1000EXTRA_libtar_a_SOURCES += time_r.c
1001
1002## end gnulib module time_r
1003
1004## begin gnulib module timespec
1005
1006
1007EXTRA_DIST += timespec.h
1008
1009## end gnulib module timespec
1010
1011## begin gnulib module unistd
1012
1013BUILT_SOURCES += $(UNISTD_H)
1014
1015# We need the following in order to create an empty placeholder for
1016# <unistd.h> when the system doesn't have one.
1017unistd.h:
1018 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1019 echo '/* Empty placeholder for $@. */'; \
1020 } > $@
1021MOSTLYCLEANFILES += unistd.h
1022
1023## end gnulib module unistd
1024
1025## begin gnulib module unistd-safer
1026
1027
1028EXTRA_DIST += dup-safer.c fd-safer.c pipe-safer.c unistd--.h unistd-safer.h
1029
1030EXTRA_libtar_a_SOURCES += dup-safer.c fd-safer.c pipe-safer.c
1031
1032## end gnulib module unistd-safer
1033
1034## begin gnulib module unlinkdir
1035
1036
1037EXTRA_DIST += unlinkdir.c unlinkdir.h
1038
1039EXTRA_libtar_a_SOURCES += unlinkdir.c
1040
1041## end gnulib module unlinkdir
1042
1043## begin gnulib module unlocked-io
1044
1045
1046EXTRA_DIST += unlocked-io.h
1047
1048## end gnulib module unlocked-io
1049
1050## begin gnulib module utime
1051
1052
1053EXTRA_DIST += utime.c
1054
1055EXTRA_libtar_a_SOURCES += utime.c
1056
1057## end gnulib module utime
1058
1059## begin gnulib module utimens
1060
1061
1062EXTRA_DIST += utimens.c utimens.h
1063
1064EXTRA_libtar_a_SOURCES += utimens.c
1065
1066## end gnulib module utimens
1067
1068## begin gnulib module vasnprintf
1069
1070
1071EXTRA_DIST += asnprintf.c printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
1072
1073EXTRA_libtar_a_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
1074
1075## end gnulib module vasnprintf
1076
1077## begin gnulib module verify
1078
1079libtar_a_SOURCES += verify.h
1080
1081## end gnulib module verify
1082
1083## begin gnulib module version-etc
1084
1085libtar_a_SOURCES += version-etc.h version-etc.c
1086
1087## end gnulib module version-etc
1088
1089## begin gnulib module version-etc-fsf
1090
1091libtar_a_SOURCES += version-etc-fsf.c
1092
1093## end gnulib module version-etc-fsf
1094
1095## begin gnulib module vsnprintf
1096
1097
1098EXTRA_DIST += vsnprintf.c vsnprintf.h
1099
1100EXTRA_libtar_a_SOURCES += vsnprintf.c
1101
1102## end gnulib module vsnprintf
1103
1104## begin gnulib module wcwidth
1105
1106libtar_a_SOURCES += wcwidth.h
1107
1108## end gnulib module wcwidth
1109
1110## begin gnulib module xalloc
1111
1112
1113EXTRA_DIST += xalloc.h xmalloc.c
1114
1115EXTRA_libtar_a_SOURCES += xmalloc.c
1116
1117## end gnulib module xalloc
1118
1119## begin gnulib module xalloc-die
1120
1121libtar_a_SOURCES += xalloc-die.c
1122
1123## end gnulib module xalloc-die
1124
1125## begin gnulib module xgetcwd
1126
1127
1128EXTRA_DIST += xgetcwd.c xgetcwd.h
1129
1130EXTRA_libtar_a_SOURCES += xgetcwd.c
1131
1132## end gnulib module xgetcwd
1133
1134## begin gnulib module xstrndup
1135
1136libtar_a_SOURCES += xstrndup.h xstrndup.c
1137
1138## end gnulib module xstrndup
1139
1140## begin gnulib module xstrtol
1141
1142
1143EXTRA_DIST += xstrtol.c xstrtol.h xstrtoul.c
1144
1145EXTRA_libtar_a_SOURCES += xstrtol.c xstrtoul.c
1146
1147## end gnulib module xstrtol
1148
1149## begin gnulib module xstrtoumax
1150
1151libtar_a_SOURCES += xstrtoumax.c
1152
1153## end gnulib module xstrtoumax
1154
1155
1156mostlyclean-local: mostlyclean-generic
1157 @for dir in '' $(MOSTLYCLEANDIRS); do \
1158 if test -n "$$dir" && test -d $$dir; then \
1159 echo "rmdir $$dir"; rmdir $$dir; \
1160 fi; \
1161 done
Note: See TracBrowser for help on using the repository browser.