xref: /freebsd/contrib/diff/lib/gnulib.mk (revision 18fd37a72c3a7549d2d4f6c6ea00bdcd2bdaca01)
118fd37a7SXin LI# This file is generated automatically by "bootstrap".
218fd37a7SXin LIBUILT_SOURCES += $(ALLOCA_H)
318fd37a7SXin LIEXTRA_DIST += alloca_.h
418fd37a7SXin LI
518fd37a7SXin LI# We need the following in order to create an <alloca.h> when the system
618fd37a7SXin LI# doesn't have one that works with the given compiler.
718fd37a7SXin LIall-local $(lib_OBJECTS): $(ALLOCA_H)
818fd37a7SXin LIalloca.h: alloca_.h
918fd37a7SXin LI	cp $(srcdir)/alloca_.h $@-t
1018fd37a7SXin LI	mv $@-t $@
1118fd37a7SXin LIMOSTLYCLEANFILES += alloca.h alloca.h-t
1218fd37a7SXin LI
1318fd37a7SXin LIlib_SOURCES += c-stack.h c-stack.c
1418fd37a7SXin LI
1518fd37a7SXin LIlib_SOURCES += dirname.h dirname.c basename.c stripslash.c
1618fd37a7SXin LI
1718fd37a7SXin LI
1818fd37a7SXin LIlib_SOURCES += exclude.h exclude.c
1918fd37a7SXin LI
2018fd37a7SXin LIlib_SOURCES += exit.h
2118fd37a7SXin LI
2218fd37a7SXin LIlib_SOURCES += exitfail.h exitfail.c
2318fd37a7SXin LI
2418fd37a7SXin LI
2518fd37a7SXin LIlib_SOURCES += file-type.h file-type.c
2618fd37a7SXin LI
2718fd37a7SXin LIBUILT_SOURCES += $(FNMATCH_H)
2818fd37a7SXin LIEXTRA_DIST += fnmatch_.h fnmatch_loop.c
2918fd37a7SXin LI
3018fd37a7SXin LI# We need the following in order to create an <fnmatch.h> when the system
3118fd37a7SXin LI# doesn't have one that supports the required API.
3218fd37a7SXin LIall-local $(lib_OBJECTS): $(FNMATCH_H)
3318fd37a7SXin LIfnmatch.h: fnmatch_.h
3418fd37a7SXin LI	cp $(srcdir)/fnmatch_.h $@-t
3518fd37a7SXin LI	mv $@-t $@
3618fd37a7SXin LIMOSTLYCLEANFILES += fnmatch.h fnmatch.h-t
3718fd37a7SXin LI
3818fd37a7SXin LI
3918fd37a7SXin LIlib_SOURCES += getopt.h getopt.c getopt1.c getopt_int.h
4018fd37a7SXin LI
4118fd37a7SXin LIlib_SOURCES += gettext.h
4218fd37a7SXin LI
4318fd37a7SXin LI
4418fd37a7SXin LIlib_SOURCES += hard-locale.h hard-locale.c
4518fd37a7SXin LI
4618fd37a7SXin LIEXTRA_DIST += inttostr.c
4718fd37a7SXin LIlib_SOURCES += imaxtostr.c inttostr.h offtostr.c umaxtostr.c
4818fd37a7SXin LI
4918fd37a7SXin LI
5018fd37a7SXin LI
5118fd37a7SXin LIlib_SOURCES += posixver.h posixver.c
5218fd37a7SXin LI
5318fd37a7SXin LI
5418fd37a7SXin LIlib_SOURCES += regex.h
5518fd37a7SXin LI
5618fd37a7SXin LI
5718fd37a7SXin LIBUILT_SOURCES += $(STDBOOL_H)
5818fd37a7SXin LIEXTRA_DIST += stdbool_.h
5918fd37a7SXin LI
6018fd37a7SXin LI# We need the following in order to create an <stdbool.h> when the system
6118fd37a7SXin LI# doesn't have one that works.
6218fd37a7SXin LIall-local $(lib_OBJECTS): $(STDBOOL_H)
6318fd37a7SXin LIstdbool.h: stdbool_.h
6418fd37a7SXin LI	sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool_.h > $@-t
6518fd37a7SXin LI	mv $@-t $@
6618fd37a7SXin LIMOSTLYCLEANFILES += stdbool.h stdbool.h-t
6718fd37a7SXin LI
6818fd37a7SXin LIlib_SOURCES += strcase.h
6918fd37a7SXin LI
7018fd37a7SXin LIlib_SOURCES += strftime.c
7118fd37a7SXin LI
7218fd37a7SXin LI
7318fd37a7SXin LI
7418fd37a7SXin LI
7518fd37a7SXin LI
7618fd37a7SXin LI
7718fd37a7SXin LI
7818fd37a7SXin LIlib_SOURCES += time_r.h
7918fd37a7SXin LI
8018fd37a7SXin LI
8118fd37a7SXin LIlib_SOURCES += unlocked-io.h
8218fd37a7SXin LI
8318fd37a7SXin LIlib_SOURCES += version-etc.h version-etc.c
8418fd37a7SXin LI
8518fd37a7SXin LIlib_SOURCES += xalloc.h xmalloc.c xstrdup.c
8618fd37a7SXin LI
8718fd37a7SXin LIlib_SOURCES += xstrtol.h xstrtol.c xstrtoul.c
8818fd37a7SXin LI
8918fd37a7SXin LIlib_SOURCES += xstrtoumax.c
9018fd37a7SXin LI
91