+2003-05-20 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.am (config.h_vms, config.h.msvc,
+ intl/libgnuintl.h.msvc-shared): Don't use $< here.
+
2003-05-19 Bruno Haible <bruno@clisp.org>
* windows/intl.rc: Include <winver.h>.
-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.
-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
+2003-05-20 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.am (config.h_vms, config.h.msvc, autosprintf.h.msvc-shared):
+ Don't use $< here.
+
2003-05-19 Bruno Haible <bruno@clisp.org>
* windows/asprintf.rc: Include <winver.h>.
-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
-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
+2003-05-20 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.am (config.h_vms, config.h.msvc, windows/stdbool.h):
+ Don't use $< here.
+
2003-05-19 Bruno Haible <bruno@clisp.org>
* windows/gettextlib.rc: Include <winver.h>.
-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.
-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