From: Bruno Haible Date: Wed, 21 May 2003 10:53:09 +0000 (+0000) Subject: Don't use $< in target rules - this is not portable. X-Git-Tag: v0.12.1~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7f0f5525c898fea62ae4a47769097ab93f316aca;p=thirdparty%2Fgettext.git Don't use $< in target rules - this is not portable. --- diff --git a/gettext-runtime/ChangeLog b/gettext-runtime/ChangeLog index ebf77ed55..30be9dc1a 100644 --- a/gettext-runtime/ChangeLog +++ b/gettext-runtime/ChangeLog @@ -1,3 +1,8 @@ +2003-05-20 Bruno Haible + + * Makefile.am (config.h_vms, config.h.msvc, + intl/libgnuintl.h.msvc-shared): Don't use $< here. + 2003-05-19 Bruno Haible * windows/intl.rc: Include . diff --git a/gettext-runtime/Makefile.am b/gettext-runtime/Makefile.am index 765622d29..536d1625c 100644 --- a/gettext-runtime/Makefile.am +++ b/gettext-runtime/Makefile.am @@ -101,7 +101,7 @@ config.h_vms: config.h.in ../version.sh -e 's/#undef uintmax_t$$/#define uintmax_t unsigned long long/' \ -e 's/#undef PACKAGE$$/#define PACKAGE "gettext-runtime"/' \ -e 's/#undef VERSION$$/#define VERSION "$(VERSION)"/' \ - < $<; echo; echo '#define alloca __ALLOCA') > $@ + < $(srcdir)/config.h.in; echo; echo '#define alloca __ALLOCA') > $@ # vms_jackets.h is a header that comes with Compaq's "porting library". # KEEP_CRTL_SETLOCALE tells it to not override the native locale support. @@ -141,10 +141,10 @@ config.h.msvc: config.h.in ../version.sh -e 's/#undef PACKAGE$$/#define PACKAGE "gettext-runtime"/' \ -e 's/#undef VERSION$$/#define VERSION "$(VERSION)"/' \ -e '/#undef INSTALLPREFIX$$/d' \ - < $< > $@ + < $(srcdir)/config.h.in > $@ intl/libgnuintl.h.msvc-shared: intl/libgnuintl.h.in windows/dllexport.h - sed -e 's/extern \([^"]\)/extern LIBINTL_DLL_EXPORTED \1/' -e '/#define _LIBINTL_H/r windows/dllexport.h' < $< > $@ + sed -e 's/extern \([^"]\)/extern LIBINTL_DLL_EXPORTED \1/' -e '/#define _LIBINTL_H/r windows/dllexport.h' < $(srcdir)/intl/libgnuintl.h.in > $@ all-local: intl/libgnuintl.h.msvc-shared diff --git a/gettext-runtime/libasprintf/ChangeLog b/gettext-runtime/libasprintf/ChangeLog index 19d33476c..a750bcd61 100644 --- a/gettext-runtime/libasprintf/ChangeLog +++ b/gettext-runtime/libasprintf/ChangeLog @@ -1,3 +1,8 @@ +2003-05-20 Bruno Haible + + * Makefile.am (config.h_vms, config.h.msvc, autosprintf.h.msvc-shared): + Don't use $< here. + 2003-05-19 Bruno Haible * windows/asprintf.rc: Include . diff --git a/gettext-runtime/libasprintf/Makefile.am b/gettext-runtime/libasprintf/Makefile.am index f8d9119b4..f2cf86bfc 100644 --- a/gettext-runtime/libasprintf/Makefile.am +++ b/gettext-runtime/libasprintf/Makefile.am @@ -199,7 +199,7 @@ config.h_vms: config.h.in -e 's/#undef HAVE_WCHAR_T$$/#define HAVE_WCHAR_T 1/' \ -e 's/#undef HAVE_WINT_T$$/#define HAVE_WINT_T 1/' \ -e 's/#undef STDC_HEADERS$$/#define STDC_HEADERS 1/' \ - < $<; echo; echo '#define alloca __ALLOCA') > $@ + < $(srcdir)/config.h.in; echo; echo '#define alloca __ALLOCA') > $@ EXTRA_DIST += Makefile.vms config.h_vms @@ -215,12 +215,12 @@ config.h.msvc: config.h.in -e 's/#undef HAVE_STRING_H$$/#define HAVE_STRING_H 1/' \ -e 's/#undef HAVE_WCHAR_T$$/#define HAVE_WCHAR_T 1/' \ -e 's/#undef HAVE_WINT_T$$/#define HAVE_WINT_T 1/' \ - < $<; echo; echo '#define snprintf _snprintf') > $@ + < $(srcdir)/config.h.in; echo; echo '#define snprintf _snprintf') > $@ autosprintf.h.msvc-shared: autosprintf.h.in windows/dllexport.h sed -e 's/extern \([^"]\)/extern LIBASPRINTF_DLL_EXPORTED \1/' \ -e 's/class /class LIBASPRINTF_DLL_EXPORTED /' \ -e 's/struct /struct LIBASPRINTF_DLL_EXPORTED /' \ - -e '/#define _AUTOSPRINTF_H/r windows/dllexport.h' < $< > $@ + -e '/#define _AUTOSPRINTF_H/r windows/dllexport.h' < $(srcdir)/autosprintf.h.in > $@ EXTRA_DIST += README.woe32 Makefile.msvc config.h.msvc autosprintf.h.msvc-shared windows/dllexport.h windows/asprintf.rc diff --git a/gettext-tools/ChangeLog b/gettext-tools/ChangeLog index 8d405b462..dc7f8d1ee 100644 --- a/gettext-tools/ChangeLog +++ b/gettext-tools/ChangeLog @@ -1,3 +1,8 @@ +2003-05-20 Bruno Haible + + * Makefile.am (config.h_vms, config.h.msvc, windows/stdbool.h): + Don't use $< here. + 2003-05-19 Bruno Haible * windows/gettextlib.rc: Include . diff --git a/gettext-tools/Makefile.am b/gettext-tools/Makefile.am index 791292fee..aeb892ae1 100644 --- a/gettext-tools/Makefile.am +++ b/gettext-tools/Makefile.am @@ -137,7 +137,7 @@ config.h_vms: config.h.in ../version.sh -e 's/#undef uintmax_t$$/#define uintmax_t unsigned long long/' \ -e 's/#undef PACKAGE$$/#define PACKAGE "gettext-tools"/' \ -e 's/#undef VERSION$$/#define VERSION "$(VERSION)"/' \ - < $<; echo; echo '#define alloca __ALLOCA'; echo '#define pw_gecos pw_name') > $@ + < $(srcdir)/config.h.in; echo; echo '#define alloca __ALLOCA'; echo '#define pw_gecos pw_name') > $@ # vms_jackets.h is a header that comes with Compaq's "porting library". # KEEP_CRTL_SETLOCALE tells it to not override the native locale support. @@ -200,10 +200,10 @@ config.h.msvc: config.h.in ../version.sh -e 's/#undef PACKAGE$$/#define PACKAGE "gettext-tools"/' \ -e 's/#undef VERSION$$/#define VERSION "$(VERSION)"/' \ -e '/#undef INSTALLPREFIX$$/d' \ - < $< > $@ + < $(srcdir)/config.h.in > $@ windows/stdbool.h: lib/stdbool.h.in - sed -e 's/@''HAVE__BOOL''@/0/' < $< > $@ + sed -e 's/@''HAVE__BOOL''@/0/' < $(srcdir)/windows/stdbool.h > $@ all-local : windows/stdbool.h