xref: /freebsd/contrib/diff/lib/gnulib.mk (revision b1f9167f94059fd55c630891d359bcff987bd7eb)
1# This file is generated automatically by "bootstrap".
2BUILT_SOURCES += $(ALLOCA_H)
3EXTRA_DIST += alloca_.h
4
5# We need the following in order to create an <alloca.h> when the system
6# doesn't have one that works with the given compiler.
7all-local $(lib_OBJECTS): $(ALLOCA_H)
8alloca.h: alloca_.h
9	cp $(srcdir)/alloca_.h $@-t
10	mv $@-t $@
11MOSTLYCLEANFILES += alloca.h alloca.h-t
12
13lib_SOURCES += c-stack.h c-stack.c
14
15lib_SOURCES += dirname.h dirname.c basename.c stripslash.c
16
17
18lib_SOURCES += exclude.h exclude.c
19
20lib_SOURCES += exit.h
21
22lib_SOURCES += exitfail.h exitfail.c
23
24
25lib_SOURCES += file-type.h file-type.c
26
27BUILT_SOURCES += $(FNMATCH_H)
28EXTRA_DIST += fnmatch_.h fnmatch_loop.c
29
30# We need the following in order to create an <fnmatch.h> when the system
31# doesn't have one that supports the required API.
32all-local $(lib_OBJECTS): $(FNMATCH_H)
33fnmatch.h: fnmatch_.h
34	cp $(srcdir)/fnmatch_.h $@-t
35	mv $@-t $@
36MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t
37
38
39lib_SOURCES += getopt.h getopt.c getopt1.c getopt_int.h
40
41lib_SOURCES += gettext.h
42
43
44lib_SOURCES += hard-locale.h hard-locale.c
45
46EXTRA_DIST += inttostr.c
47lib_SOURCES += imaxtostr.c inttostr.h offtostr.c umaxtostr.c
48
49
50
51lib_SOURCES += posixver.h posixver.c
52
53
54lib_SOURCES += regex.h
55
56
57BUILT_SOURCES += $(STDBOOL_H)
58EXTRA_DIST += stdbool_.h
59
60# We need the following in order to create an <stdbool.h> when the system
61# doesn't have one that works.
62all-local $(lib_OBJECTS): $(STDBOOL_H)
63stdbool.h: stdbool_.h
64	sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool_.h > $@-t
65	mv $@-t $@
66MOSTLYCLEANFILES += stdbool.h stdbool.h-t
67
68lib_SOURCES += strcase.h
69
70lib_SOURCES += strftime.c
71
72
73
74
75
76
77
78lib_SOURCES += time_r.h
79
80
81lib_SOURCES += unlocked-io.h
82
83lib_SOURCES += version-etc.h version-etc.c
84
85lib_SOURCES += xalloc.h xmalloc.c xstrdup.c
86
87lib_SOURCES += xstrtol.h xstrtol.c xstrtoul.c
88
89lib_SOURCES += xstrtoumax.c
90
91