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