diff options
author | Bruno Haible <bruno@clisp.org> | 2003-04-01 00:54:46 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-06-23 12:10:19 +0200 |
commit | 6a570c60b014562bd473a22f061caad63ed8f561 (patch) | |
tree | f2baf658a17dd4127e044d74c139859186200607 | |
parent | 2784ad9f09ef6d0db9cc917ed984a5e13df7703f (diff) | |
download | external_gettext-6a570c60b014562bd473a22f061caad63ed8f561.zip external_gettext-6a570c60b014562bd473a22f061caad63ed8f561.tar.gz external_gettext-6a570c60b014562bd473a22f061caad63ed8f561.tar.bz2 |
Support for VMS.
60 files changed, 2471 insertions, 13 deletions
@@ -1,3 +1,8 @@ +2003-03-30 Bruno Haible <bruno@clisp.org> + + * Makefile.vms: New file. + * Makefile.am (EXTRA_DIST): Add Makefile.vms. + 2003-03-17 Bruno Haible <bruno@clisp.org> Native Woe32/MSVC support. diff --git a/Makefile.am b/Makefile.am index 417bbe2..92d1ac2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -46,6 +46,11 @@ EXTRA_DIST += djgpp/COPYING.DJ djgpp/Makefile.maint djgpp/README.DJ \ EXTRA_DIST += os2/README.OS2 os2/Makefile os2/backward.def os2/configure.awk +# VMS support. + +EXTRA_DIST += Makefile.vms + + # Woe32 support. EXTRA_DIST += README.woe32 Makefile.msvc diff --git a/Makefile.vms b/Makefile.vms new file mode 100644 index 0000000..da8d765 --- /dev/null +++ b/Makefile.vms @@ -0,0 +1,80 @@ +# -*- Makefile -*- for gettext on VMS using the MMS utility +# Usage: $ mms /description=Makefile.vms + +#### Start of system configuration section. #### + +#### End of system configuration section. #### + +all : force + set default [.gettext-runtime] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms all + set default [-] + set default [.gettext-tools] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms all + set default [-] + +install : force + set default [.gettext-runtime] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms install + set default [-] + set default [.gettext-tools] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms install + set default [-] + +installdirs : force + set default [.gettext-runtime] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms installdirs + set default [-] + set default [.gettext-tools] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms installdirs + set default [-] + +uninstall : force + set default [.gettext-runtime] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms uninstall + set default [-] + set default [.gettext-tools] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms uninstall + set default [-] + +check : all,force + set default [.gettext-runtime] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms check + set default [-] + set default [.gettext-tools] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms check + set default [-] + +mostlyclean : force + set default [.gettext-runtime] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms mostlyclean + set default [-] + set default [.gettext-tools] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms mostlyclean + set default [-] + +clean : force + set default [.gettext-runtime] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms clean + set default [-] + set default [.gettext-tools] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms clean + set default [-] + +distclean : force + set default [.gettext-runtime] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms distclean + set default [-] + set default [.gettext-tools] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms distclean + set default [-] + +maintainer-clean : force + set default [.gettext-runtime] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms maintainer-clean + set default [-] + set default [.gettext-tools] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms maintainer-clean + set default [-] + +force : diff --git a/gettext-runtime/ChangeLog b/gettext-runtime/ChangeLog index 57a5d12..0c88b76 100644 --- a/gettext-runtime/ChangeLog +++ b/gettext-runtime/ChangeLog @@ -1,3 +1,9 @@ +2003-03-30 Bruno Haible <bruno@clisp.org> + + * Makefile.vms: New file. + * Makefile.am (config.h.vms): New rule. + (EXTRA_DIST): Add Makefile.vms and config.h.vms. + 2003-03-17 Bruno Haible <bruno@clisp.org> Native Woe32/MSVC support. diff --git a/gettext-runtime/Makefile.am b/gettext-runtime/Makefile.am index 191515d..328398b 100644 --- a/gettext-runtime/Makefile.am +++ b/gettext-runtime/Makefile.am @@ -48,6 +48,62 @@ ABOUT-NLS: $(srcdir)/doc/nls.texi $(srcdir)/doc/matrix.texi -I $(srcdir)/doc --no-validate nls.texi +# VMS support. + +config.h.vms: config.h.in ../version.sh + (sed -e 's/#undef ENABLE_NLS$$/#define ENABLE_NLS 1/' \ + -e 's/#undef HAVE_ALLOCA$$/#define HAVE_ALLOCA 1/' \ + -e 's/#undef HAVE_DLFCN_H$$/#define HAVE_DLFCN_H 1/' \ + -e 's/#undef HAVE_ENVIRON_DECL$$/#define HAVE_ENVIRON_DECL 1/' \ + -e 's/#undef HAVE_ERRNO_DECL$$/#define HAVE_ERRNO_DECL 1/' \ + -e 's/#undef HAVE_GETCWD$$/#define HAVE_GETCWD 1/' \ + -e 's/#undef HAVE_GETEGID$$/#define HAVE_GETEGID 1/' \ + -e 's/#undef HAVE_GETEUID$$/#define HAVE_GETEUID 1/' \ + -e 's/#undef HAVE_GETGID$$/#define HAVE_GETGID 1/' \ + -e 's/#undef HAVE_GETPAGESIZE$$/#define HAVE_GETPAGESIZE 1/' \ + -e 's/#undef HAVE_GETUID$$/#define HAVE_GETUID 1/' \ + -e 's/#undef HAVE_ICONV$$/#define HAVE_ICONV 1/' \ + -e 's/#undef HAVE_INTTYPES_H$$/#define HAVE_INTTYPES_H 1/' \ + -e 's/#undef HAVE_INTTYPES_H_WITH_UINTMAX$$/#define HAVE_INTTYPES_H_WITH_UINTMAX 1/' \ + -e 's/#undef HAVE_LANGINFO_CODESET$$/#define HAVE_LANGINFO_CODESET 1/' \ + -e 's/#undef HAVE_LC_MESSAGES$$/#define HAVE_LC_MESSAGES 1/' \ + -e 's/#undef HAVE_MALLOC_H$$/#define HAVE_MALLOC_H 1/' \ + -e 's/#undef HAVE_MEMMOVE$$/#define HAVE_MEMMOVE 1/' \ + -e 's/#undef HAVE_MEMORY_H$$/#define HAVE_MEMORY_H 1/' \ + -e 's/#undef HAVE_MMAP$$/#define HAVE_MMAP 1/' \ + -e 's/#undef HAVE_MUNMAP$$/#define HAVE_MUNMAP 1/' \ + -e 's/#undef HAVE_NL_TYPES_H$$/#define HAVE_NL_TYPES_H 1/' \ + -e 's/#undef HAVE_PUTENV$$/#define HAVE_PUTENV 1/' \ + -e 's/#undef HAVE_SETENV$$/#define HAVE_SETENV 1/' \ + -e 's/#undef HAVE_SETLOCALE$$/#define HAVE_SETLOCALE 1/' \ + -e 's/#undef HAVE_STDBOOL_H$$/#define HAVE_STDBOOL_H 1/' \ + -e 's/#undef HAVE_STDDEF_H$$/#define HAVE_STDDEF_H 1/' \ + -e 's/#undef HAVE_STDLIB_H$$/#define HAVE_STDLIB_H 1/' \ + -e 's/#undef HAVE_STRCASECMP$$/#define HAVE_STRCASECMP 1/' \ + -e 's/#undef HAVE_STRDUP$$/#define HAVE_STRDUP 1/' \ + -e 's/#undef HAVE_STRERROR$$/#define HAVE_STRERROR 1/' \ + -e 's/#undef HAVE_STRINGS_H$$/#define HAVE_STRINGS_H 1/' \ + -e 's/#undef HAVE_STRING_H$$/#define HAVE_STRING_H 1/' \ + -e 's/#undef HAVE_STRTOUL$$/#define HAVE_STRTOUL 1/' \ + -e 's/#undef HAVE_SYS_PARAM_H$$/#define HAVE_SYS_PARAM_H 1/' \ + -e 's/#undef HAVE_SYS_STAT_H$$/#define HAVE_SYS_STAT_H 1/' \ + -e 's/#undef HAVE_SYS_TYPES_H$$/#define HAVE_SYS_TYPES_H 1/' \ + -e 's/#undef HAVE_UINTMAX_T$$/#define HAVE_UINTMAX_T 1/' \ + -e 's/#undef HAVE_UNISTD_H$$/#define HAVE_UNISTD_H 1/' \ + -e 's/#undef HAVE_UNSETENV$$/#define HAVE_UNSETENV 1/' \ + -e 's/#undef HAVE_UNSIGNED_LONG_LONG$$/#define HAVE_UNSIGNED_LONG_LONG 1/' \ + -e 's/#undef HAVE_VPRINTF$$/#define HAVE_VPRINTF 1/' \ + -e 's/#undef STDC_HEADERS$$/#define STDC_HEADERS 1/' \ + -e 's/#undef realpath$$/#define realpath rpl_realpath/' \ + -e 's/#undef PACKAGE$$/#define PACKAGE "gettext-runtime"/' \ + -e 's/#undef VERSION$$/#define VERSION "$(VERSION)"/' \ + < $<; echo; echo '#define alloca __ALLOCA'; echo '#define KEEP_CRTL_SETLOCALE 1'; echo '#include <vms_jackets.h>') > $@ +# 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. + +EXTRA_DIST += Makefile.vms config.h.vms + + # Woe32 support. config.h.msvc: config.h.in ../version.sh diff --git a/gettext-runtime/Makefile.vms b/gettext-runtime/Makefile.vms new file mode 100644 index 0000000..3373941 --- /dev/null +++ b/gettext-runtime/Makefile.vms @@ -0,0 +1,227 @@ +# -*- Makefile -*- for gettext-runtime on VMS using the MMS utility + +#### Start of system configuration section. #### + +# Programs used by "make": + +LN = copy +RM = -del + +#### End of system configuration section. #### + +all : config.h,force + set default [.doc] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms all + set default [-] + set default [.intl] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms all + set default [-] + set default [.lib] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms all + set default [-] + set default [.libasprintf] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms all + set default [-] + set default [.src] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms all + set default [-] + set default [.po] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms all + set default [-] + set default [.man] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms all + set default [-] + +config.h : config.h.vms + $(RM) config.h + $(LN) config.h.vms config.h + +install : force + set default [.doc] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms install + set default [-] + set default [.intl] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms install + set default [-] + set default [.lib] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms install + set default [-] + set default [.libasprintf] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms install + set default [-] + set default [.src] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms install + set default [-] + set default [.po] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms install + set default [-] + set default [.man] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms install + set default [-] + +installdirs : force + set default [.doc] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms installdirs + set default [-] + set default [.intl] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms installdirs + set default [-] + set default [.lib] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms installdirs + set default [-] + set default [.libasprintf] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms installdirs + set default [-] + set default [.src] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms installdirs + set default [-] + set default [.po] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms installdirs + set default [-] + set default [.man] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms installdirs + set default [-] + +uninstall : force + set default [.doc] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms uninstall + set default [-] + set default [.intl] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms uninstall + set default [-] + set default [.lib] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms uninstall + set default [-] + set default [.libasprintf] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms uninstall + set default [-] + set default [.src] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms uninstall + set default [-] + set default [.po] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms uninstall + set default [-] + set default [.man] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms uninstall + set default [-] + +check : all,force + set default [.doc] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms check + set default [-] + set default [.intl] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms check + set default [-] + set default [.lib] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms check + set default [-] + set default [.libasprintf] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms check + set default [-] + set default [.src] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms check + set default [-] + set default [.po] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms check + set default [-] + set default [.man] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms check + set default [-] + +mostlyclean : force + set default [.doc] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms mostlyclean + set default [-] + set default [.intl] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms mostlyclean + set default [-] + set default [.lib] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms mostlyclean + set default [-] + set default [.libasprintf] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms mostlyclean + set default [-] + set default [.src] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms mostlyclean + set default [-] + set default [.po] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms mostlyclean + set default [-] + set default [.man] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms mostlyclean + set default [-] + $(RM) config.h + +clean : force + set default [.doc] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms clean + set default [-] + set default [.intl] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms clean + set default [-] + set default [.lib] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms clean + set default [-] + set default [.libasprintf] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms clean + set default [-] + set default [.src] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms clean + set default [-] + set default [.po] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms clean + set default [-] + set default [.man] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms clean + set default [-] + $(RM) config.h + +distclean : force + set default [.doc] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms distclean + set default [-] + set default [.intl] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms distclean + set default [-] + set default [.lib] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms distclean + set default [-] + set default [.libasprintf] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms distclean + set default [-] + set default [.src] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms distclean + set default [-] + set default [.po] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms distclean + set default [-] + set default [.man] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms distclean + set default [-] + $(RM) config.h + +maintainer-clean : force + set default [.doc] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms maintainer-clean + set default [-] + set default [.intl] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms maintainer-clean + set default [-] + set default [.lib] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms maintainer-clean + set default [-] + set default [.libasprintf] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms maintainer-clean + set default [-] + set default [.src] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms maintainer-clean + set default [-] + set default [.po] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms maintainer-clean + set default [-] + set default [.man] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms maintainer-clean + set default [-] + $(RM) config.h + +force : diff --git a/gettext-runtime/doc/ChangeLog b/gettext-runtime/doc/ChangeLog index 4a8d9eb..b3b54b8 100644 --- a/gettext-runtime/doc/ChangeLog +++ b/gettext-runtime/doc/ChangeLog @@ -1,3 +1,8 @@ +2003-03-30 Bruno Haible <bruno@clisp.org> + + * Makefile.vms: New file. + * Makefile.am (EXTRA_DIST): Add Makefile.vms. + 2003-03-17 Bruno Haible <bruno@clisp.org> Native Woe32/MSVC support. diff --git a/gettext-runtime/doc/Makefile.am b/gettext-runtime/doc/Makefile.am index adc2623..1a06670 100644 --- a/gettext-runtime/doc/Makefile.am +++ b/gettext-runtime/doc/Makefile.am @@ -28,6 +28,11 @@ EXTRA_DIST += nls.texi matrix.texi html: +# VMS support. + +EXTRA_DIST += Makefile.vms + + # Woe32 support. EXTRA_DIST += Makefile.msvc diff --git a/gettext-runtime/doc/Makefile.vms b/gettext-runtime/doc/Makefile.vms new file mode 100644 index 0000000..986fb3e --- /dev/null +++ b/gettext-runtime/doc/Makefile.vms @@ -0,0 +1,21 @@ +# -*- Makefile -*- for gettext-runtime/doc on VMS using the MMS utility + +all : + +install : all + +installdirs : + +uninstall : + +check : + +mostlyclean : clean + +clean : force + +distclean : clean + +maintainer-clean : distclean + +force : diff --git a/gettext-runtime/intl/ChangeLog b/gettext-runtime/intl/ChangeLog index e68b8fd..bf3f7a7 100644 --- a/gettext-runtime/intl/ChangeLog +++ b/gettext-runtime/intl/ChangeLog @@ -1,5 +1,10 @@ 2003-03-30 Bruno Haible <bruno@clisp.org> + * Makefile.vms: New file. + * Makefile.in (DISTFILES.gettext): Add Makefile.vms. + +2003-03-30 Bruno Haible <bruno@clisp.org> + * Makefile.in (INCLUDES): Mention the current directory first. 2003-03-17 Bruno Haible <bruno@clisp.org> diff --git a/gettext-runtime/intl/Makefile.in b/gettext-runtime/intl/Makefile.in index 85fea19..5971119 100644 --- a/gettext-runtime/intl/Makefile.in +++ b/gettext-runtime/intl/Makefile.in @@ -124,7 +124,7 @@ config.charset locale.alias ref-add.sin ref-del.sin $(HEADERS) $(SOURCES) DISTFILES.generated = plural.c DISTFILES.normal = VERSION DISTFILES.gettext = COPYING.LIB-2.0 COPYING.LIB-2.1 libintl.glibc \ -libgnuintl.h.msvc-shared README.woe32 Makefile.msvc +Makefile.vms libgnuintl.h.msvc-shared README.woe32 Makefile.msvc DISTFILES.obsolete = xopen-msg.sed linux-msg.sed po2tbl.sed.in cat-compat.c \ COPYING.LIB-2 gettext.h libgettext.h plural-eval.c libgnuintl.h diff --git a/gettext-runtime/intl/Makefile.vms b/gettext-runtime/intl/Makefile.vms new file mode 100644 index 0000000..f5a4313 --- /dev/null +++ b/gettext-runtime/intl/Makefile.vms @@ -0,0 +1,156 @@ +# -*- Makefile -*- for gettext-runtime/intl on VMS using the MMS utility + +#### Start of system configuration section. #### + +# Directories used by "make": +srcdir = + +# Directories used by "make install": +prefix = SYS$DATA:[ +exec_prefix = $(prefix) +bindir = $(exec_prefix).bin +libdir = $(exec_prefix).lib +includedir = $(prefix).include +datadir = $(prefix).share +localedir = $(datadir).locale +aliaspath = $(localedir)] + +# Programs used by "make": + +CC = cc + +WARN_CFLAGS = /warning + +OPTIMFLAGS = /optimize + +CFLAGS = $(WARN_CFLAGS) $(OPTIMFLAGS) /define=("HAVE_CONFIG_H=1","LOCALEDIR=""$(localedir)]""","LOCALE_ALIAS_PATH=""$(aliaspath)""","LIBDIR=""$(libdir)]""","IN_LIBINTL=1") + +INCLUDES = /include=([],[-]) + +AR = library +AR_FLAGS = /create + +LN = copy +RM = delete + +# Programs used by "make install": +INSTALL = copy +INSTALL_PROGRAM = copy +INSTALL_DATA = copy + +#### End of system configuration section. #### + +OBJECTS = bindtextdom.obj,dcgettext.obj,dgettext.obj,gettext.obj,finddomain.obj,loadmsgcat.obj,localealias.obj,textdomain.obj,l10nflist.obj,explodename.obj,dcigettext.obj,dcngettext.obj,dngettext.obj,ngettext.obj,plural-parse.obj,plural-exp.obj,localcharset.obj,relocatable.obj,localename.obj,log.obj,osdep.obj,intl-compat.obj + +all : intl.olb,libintl.h + +libgnuintl.h : + $(LN) $(srcdir)libgnuintl.h.in libgnuintl.h + +bindtextdom.obj : $(srcdir)bindtextdom.c,libgnuintl.h,$(srcdir)gettextP.h,$(srcdir)gmo.h,$(srcdir)loadinfo.h + $(CC) $(INCLUDES) $(CFLAGS) $(srcdir)bindtextdom.c + +dcgettext.obj : $(srcdir)dcgettext.c,libgnuintl.h,$(srcdir)gettextP.h,$(srcdir)gmo.h,$(srcdir)loadinfo.h + $(CC) $(INCLUDES) $(CFLAGS) $(srcdir)dcgettext.c + +dgettext.obj : $(srcdir)dgettext.c,libgnuintl.h,$(srcdir)gettextP.h,$(srcdir)gmo.h,$(srcdir)loadinfo.h + $(CC) $(INCLUDES) $(CFLAGS) $(srcdir)dgettext.c + +gettext.obj : $(srcdir)gettext.c,libgnuintl.h,$(srcdir)gettextP.h,$(srcdir)gmo.h,$(srcdir)loadinfo.h + $(CC) $(INCLUDES) $(CFLAGS) $(srcdir)gettext.c + +finddomain.obj : $(srcdir)finddomain.c,libgnuintl.h,$(srcdir)gettextP.h,$(srcdir)gmo.h,$(srcdir)loadinfo.h + $(CC) $(INCLUDES) $(CFLAGS) $(srcdir)finddomain.c + +loadmsgcat.obj : $(srcdir)loadmsgcat.c,libgnuintl.h,$(srcdir)gettextP.h,$(srcdir)gmo.h,$(srcdir)loadinfo.h,$(srcdir)hash-string.h,$(srcdir)plural-exp.h + $(CC) $(INCLUDES) $(CFLAGS) $(srcdir)loadmsgcat.c + +localealias.obj : $(srcdir)localealias.c,libgnuintl.h,$(srcdir)gettextP.h,$(srcdir)gmo.h,$(srcdir)loadinfo.h,$(srcdir)relocatable.h + $(CC) $(INCLUDES) $(CFLAGS) $(srcdir)localealias.c + +textdomain.obj : $(srcdir)textdomain.c,libgnuintl.h,$(srcdir)gettextP.h,$(srcdir)gmo.h,$(srcdir)loadinfo.h + $(CC) $(INCLUDES) $(CFLAGS) $(srcdir)textdomain.c + +l10nflist.obj : $(srcdir)l10nflist.c,libgnuintl.h,$(srcdir)loadinfo.h + $(CC) $(INCLUDES) $(CFLAGS) $(srcdir)l10nflist.c + +explodename.obj : $(srcdir)explodename.c,libgnuintl.h,$(srcdir)loadinfo.h + $(CC) $(INCLUDES) $(CFLAGS) $(srcdir)explodename.c + +dcigettext.obj : $(srcdir)dcigettext.c,libgnuintl.h,$(srcdir)gettextP.h,$(srcdir)gmo.h,$(srcdir)loadinfo.h,$(srcdir)hash-string.h,$(srcdir)plural-exp.h,$(srcdir)eval-plural.h + $(CC) $(INCLUDES) $(CFLAGS) $(srcdir)dcigettext.c + +dcngettext.obj : $(srcdir)dcngettext.c,libgnuintl.h,$(srcdir)gettextP.h,$(srcdir)gmo.h,$(srcdir)loadinfo.h + $(CC) $(INCLUDES) $(CFLAGS) $(srcdir)dcngettext.c + +dngettext.obj : $(srcdir)dngettext.c,libgnuintl.h,$(srcdir)gettextP.h,$(srcdir)gmo.h,$(srcdir)loadinfo.h + $(CC) $(INCLUDES) $(CFLAGS) $(srcdir)dngettext.c + +ngettext.obj : $(srcdir)ngettext.c,libgnuintl.h,$(srcdir)gettextP.h,$(srcdir)gmo.h,$(srcdir)loadinfo.h + $(CC) $(INCLUDES) $(CFLAGS) $(srcdir)ngettext.c + +plural-parse.obj : $(srcdir)plural.c,libgnuintl.h,$(srcdir)plural-exp.h + $(CC) $(INCLUDES) $(CFLAGS) /obj=plural-parse.obj $(srcdir)plural.c + +plural-exp.obj : $(srcdir)plural-exp.c,libgnuintl.h,$(srcdir)plural-exp.h + $(CC) $(INCLUDES) $(CFLAGS) $(srcdir)plural-exp.c + +localcharset.obj : $(srcdir)localcharset.c,libgnuintl.h,$(srcdir)localcharset.h,$(srcdir)relocatable.h + $(CC) $(INCLUDES) $(CFLAGS) $(srcdir)localcharset.c + +relocatable.obj : $(srcdir)relocatable.c,libgnuintl.h,$(srcdir)relocatable.h + $(CC) $(INCLUDES) $(CFLAGS) $(srcdir)relocatable.c + +localename.obj : $(srcdir)localename.c,libgnuintl.h + $(CC) $(INCLUDES) $(CFLAGS) $(srcdir)localename.c + +log.obj : $(srcdir)log.c,libgnuintl.h + $(CC) $(INCLUDES) $(CFLAGS) $(srcdir)log.c + +osdep.obj : $(srcdir)osdep.c,libgnuintl.h + $(CC) $(INCLUDES) $(CFLAGS) $(srcdir)osdep.c + +intl-compat.obj : $(srcdir)intl-compat.c,libgnuintl.h,$(srcdir)gettextP.h,$(srcdir)gmo.h,$(srcdir)loadinfo.h + $(CC) $(INCLUDES) $(CFLAGS) $(srcdir)intl-compat.c + +intl.olb : $(OBJECTS) + $(RM) intl.olb + $(AR) $(AR_FLAGS) intl.olb $(OBJECTS) + +libintl.h : libgnuintl.h + $(LN) libgnuintl.h libintl.h + +install : all,force + create /directory $(prefix)] + create /directory $(includedir)] + $(INSTALL_DATA) libintl.h $(includedir)]libintl.h + create /directory $(exec_prefix)] + create /directory $(libdir)] + $(INSTALL_DATA) intl.lib $(libdir)]intl.lib + +installdirs : force + create /directory $(prefix)] + create /directory $(includedir)] + create /directory $(exec_prefix)] + create /directory $(libdir)] + +uninstall : force + $(RM) $(includedir)]libintl.h + $(RM) $(libdir)]intl.lib + +check : all + +mostlyclean : clean + +clean : force + $(RM) libgnuintl.h + $(RM) libintl.h + $(RM) *.obj + $(RM) *.olb + +distclean : clean + +maintainer-clean : distclean + +force : + diff --git a/gettext-runtime/lib/ChangeLog b/gettext-runtime/lib/ChangeLog index 16ea1d1..97b0633 100644 --- a/gettext-runtime/lib/ChangeLog +++ b/gettext-runtime/lib/ChangeLog @@ -1,3 +1,8 @@ +2003-03-30 Bruno Haible <bruno@clisp.org> + + * Makefile.vms: New file. + * Makefile.am (EXTRA_DIST): Add Makefile.vms. + 2003-03-17 Bruno Haible <bruno@clisp.org> Native Woe32/MSVC support. diff --git a/gettext-runtime/lib/Makefile.am b/gettext-runtime/lib/Makefile.am index 320315c..a59b831 100644 --- a/gettext-runtime/lib/Makefile.am +++ b/gettext-runtime/lib/Makefile.am @@ -84,6 +84,11 @@ MOSTLYCLEANFILES += alloca.h # <<< gnulib module alloca. +# VMS support. + +EXTRA_DIST += Makefile.vms + + # Woe32 support. EXTRA_DIST += Makefile.msvc diff --git a/gettext-runtime/lib/Makefile.vms b/gettext-runtime/lib/Makefile.vms new file mode 100644 index 0000000..bc60313 --- /dev/null +++ b/gettext-runtime/lib/Makefile.vms @@ -0,0 +1,75 @@ +# -*- Makefile -*- for gettext-runtime/lib on VMS using the MMS utility + +#### Start of system configuration section. #### + +# Programs used by "make": + +CC = cc + +WARN_CFLAGS = /warning + +OPTIMFLAGS = /optimize + +CFLAGS = $(WARN_CFLAGS) $(OPTIMFLAGS) /define=("HAVE_CONFIG_H=1") + +INCLUDES = /include=([],[-],[-.intl],[-.-.gettext-tools.lib]) + +AR = library +AR_FLAGS = /create + +LN = copy +RM = delete + +#### End of system configuration section. #### + +OBJECTS = basename.obj,error.obj,getopt.obj,getopt1.obj,progname.obj,relocatable.obj,xmalloc.obj,xstrdup.obj + +all : grt.olb + +basename.obj : [-.-.gettext-tools.lib]basename.c + $(CC) $(INCLUDES) $(CFLAGS) [-.-.gettext-tools.lib]basename.c + +error.obj : [-.-.gettext-tools.lib]error.c + $(CC) $(INCLUDES) $(CFLAGS) [-.-.gettext-tools.lib]error.c + +getopt.obj : [-.-.gettext-tools.lib]getopt.c + $(CC) $(INCLUDES) $(CFLAGS) [-.-.gettext-tools.lib]getopt.c + +getopt1.obj : [-.-.gettext-tools.lib]getopt1.c + $(CC) $(INCLUDES) $(CFLAGS) [-.-.gettext-tools.lib]getopt1.c + +progname.obj : [-.-.gettext-tools.lib]progname.c + $(CC) $(INCLUDES) $(CFLAGS) [-.-.gettext-tools.lib]progname.c + +relocatable.obj : [-.-.gettext-tools.lib]relocatable.c + $(CC) $(INCLUDES) $(CFLAGS) [-.-.gettext-tools.lib]relocatable.c + +xmalloc.obj : [-.-.gettext-tools.lib]xmalloc.c + $(CC) $(INCLUDES) $(CFLAGS) [-.-.gettext-tools.lib]xmalloc.c + +xstrdup.obj : [-.-.gettext-tools.lib]xstrdup.c + $(CC) $(INCLUDES) $(CFLAGS) [-.-.gettext-tools.lib]xstrdup.c + +grt.olb : $(OBJECTS) + $(RM) grt.olb + $(AR) $(AR_FLAGS) grt.olb $(OBJECTS) + +install : all + +installdirs : + +uninstall : + +check : + +mostlyclean : clean + +clean : force + $(RM) *.obj + $(RM) *.olb + +distclean : clean + +maintainer-clean : distclean + +force : diff --git a/gettext-runtime/libasprintf/ChangeLog b/gettext-runtime/libasprintf/ChangeLog index 4a587fc..fd33d65 100644 --- a/gettext-runtime/libasprintf/ChangeLog +++ b/gettext-runtime/libasprintf/ChangeLog @@ -1,3 +1,9 @@ +2003-03-30 Bruno Haible <bruno@clisp.org> + + * Makefile.vms: New file. + * Makefile.am (config.h.vms): New rule. + (EXTRA_DIST): Add Makefile.vms and config.h.vms. + 2003-03-17 Bruno Haible <bruno@clisp.org> Native Woe32/MSVC support. diff --git a/gettext-runtime/libasprintf/Makefile.am b/gettext-runtime/libasprintf/Makefile.am index 40d21ed..04e486a 100644 --- a/gettext-runtime/libasprintf/Makefile.am +++ b/gettext-runtime/libasprintf/Makefile.am @@ -179,6 +179,32 @@ uninstall-html: EXTRA_DIST += texi2html autosprintf.html +# VMS support. + +config.h.vms: config.h.in + (sed -e 's/#undef HAVE_ALLOCA$$/#define HAVE_ALLOCA 1/' \ + -e 's/#undef HAVE_DLFCN_H$$/#define HAVE_DLFCN_H 1/' \ + -e 's/#undef HAVE_INTMAX_T$$/#define HAVE_INTMAX_T 1/' \ + -e 's/#undef HAVE_INTTYPES_H$$/#define HAVE_INTTYPES_H 1/' \ + -e 's/#undef HAVE_INTTYPES_H_WITH_UINTMAX$$/#define HAVE_INTTYPES_H_WITH_UINTMAX 1/' \ + -e 's/#undef HAVE_LONG_DOUBLE$$/#define HAVE_LONG_DOUBLE 1/' \ + -e 's/#undef HAVE_LONG_LONG$$/#define HAVE_LONG_LONG 1/' \ + -e 's/#undef HAVE_MEMORY_H$$/#define HAVE_MEMORY_H 1/' \ + -e 's/#undef HAVE_PTRDIFF_T$$/#define HAVE_PTRDIFF_T 1/' \ + -e 's/#undef HAVE_STDLIB_H$$/#define HAVE_STDLIB_H 1/' \ + -e 's/#undef HAVE_STRINGS_H$$/#define HAVE_STRINGS_H 1/' \ + -e 's/#undef HAVE_STRING_H$$/#define HAVE_STRING_H 1/' \ + -e 's/#undef HAVE_SYS_STAT_H$$/#define HAVE_SYS_STAT_H 1/' \ + -e 's/#undef HAVE_SYS_TYPES_H$$/#define HAVE_SYS_TYPES_H 1/' \ + -e 's/#undef HAVE_UNISTD_H$$/#define HAVE_UNISTD_H 1/' \ + -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'; echo '#include <vms_jackets.h>') > $@ + +EXTRA_DIST += Makefile.vms config.h.vms + + # Woe32 support. config.h.msvc: config.h.in diff --git a/gettext-runtime/libasprintf/Makefile.vms b/gettext-runtime/libasprintf/Makefile.vms new file mode 100644 index 0000000..ee8a307 --- /dev/null +++ b/gettext-runtime/libasprintf/Makefile.vms @@ -0,0 +1,105 @@ +# -*- Makefile -*- for gettext-runtime/libasprintf on VMS using the MMS utility + +#### Start of system configuration section. #### + +# Directories used by "make install": +prefix = SYS$DATA:[ +exec_prefix = $(prefix) +bindir = $(exec_prefix).bin +libdir = $(exec_prefix).lib +includedir = $(prefix).include +# For this subpackage only. +sub_docdir = $(prefix).doc.libasprintf + +# Programs used by "make": + +CC = cc +CXX = cxx + +WARN_CFLAGS = /warning + +OPTIMFLAGS = /optimize + +CFLAGS = $(WARN_CFLAGS) $(OPTIMFLAGS) /define=("HAVE_CONFIG_H=1") +CXXFLAGS = $(WARN_CFLAGS) $(OPTIMFLAGS) /define=("HAVE_CONFIG_H=1") + +INCLUDES = /include=([]) + +AR = library +AR_FLAGS = /create + +LN = copy +RM = delete + +# Programs used by "make install": +INSTALL = copy +INSTALL_PROGRAM = copy +INSTALL_DATA = copy + +#### End of system configuration section. #### + +OBJECTS = lib-asprintf.obj,autosprintf.obj + +all : autosprintf.h,asprintf.olb + +autosprintf.h : + $(LN) autosprintf.h.in autosprintf.h + +config.h : config.h.vms + $(RM) config.h + $(LN) config.h.vms config.h + +alloca.h : alloca_.h + $(RM) alloca.h + $(LN) alloca_.h alloca.h + +lib-asprintf.obj : lib-asprintf.c,config.h,printf-args.h,printf-args.c,printf-parse.h,printf-parse.c,alloca.h,vasnprintf.h,vasnprintf.c,asnprintf.c,vasprintf.h,vasprintf.c,asprintf.c + $(CC) $(INCLUDES) $(CFLAGS) lib-asprintf.c + +autosprintf.obj : autosprintf.cc,autosprintf.h,config.h,lib-asprintf.h + $(CXX) $(INCLUDES) $(CXXFLAGS) autosprintf.cc + +asprintf.olb : $(OBJECTS) + $(RM) asprintf.olb + $(AR) $(AR_FLAGS) asprintf.olb $(OBJECTS) + +install : all,force + create /directory $(prefix)] + create /directory $(includedir)] + $(INSTALL_DATA) autosprintf.h $(includedir)]autosprintf.h + create /directory $(exec_prefix)] + create /directory $(libdir)] + $(INSTALL_DATA) asprintf.olb $(libdir)]asprintf.olb + create /directory $(prefix).doc] + create /directory $(sub_docdir)] + $(INSTALL_DATA) [.doc]autosprintf.html $(sub_docdir)]autosprintf.html + +installdirs : force + create /directory $(prefix)] + create /directory $(includedir)] + create /directory $(exec_prefix)] + create /directory $(libdir)] + create /directory $(prefix).doc] + create /directory $(sub_docdir)] + +uninstall : force + $(RM) $(includedir)]autosprintf.h + $(RM) $(libdir)]asprintf.olb + $(RM) $(sub_docdir)]autosprintf.html + +check : all + +mostlyclean : clean + +clean : force + $(RM) autosprintf.h + $(RM) config.h + $(RM) alloca.h + $(RM) *.obj + $(RM) *.olb + +distclean : clean + +maintainer-clean : distclean + +force : diff --git a/gettext-runtime/man/ChangeLog b/gettext-runtime/man/ChangeLog index 1f3a62c..d4c0cf6 100644 --- a/gettext-runtime/man/ChangeLog +++ b/gettext-runtime/man/ChangeLog @@ -1,3 +1,8 @@ +2003-03-30 Bruno Haible <bruno@clisp.org> + + * Makefile.vms: New file. + * Makefile.am (EXTRA_DIST): Add Makefile.vms. + 2003-03-17 Bruno Haible <bruno@clisp.org> Native Woe32/MSVC support. diff --git a/gettext-runtime/man/Makefile.am b/gettext-runtime/man/Makefile.am index 2ce67ae..94c1bb3 100644 --- a/gettext-runtime/man/Makefile.am +++ b/gettext-runtime/man/Makefile.am @@ -162,6 +162,11 @@ uninstall-html: done +# VMS support. + +EXTRA_DIST += Makefile.vms + + # Woe32 support. EXTRA_DIST += Makefile.msvc diff --git a/gettext-runtime/man/Makefile.vms b/gettext-runtime/man/Makefile.vms new file mode 100644 index 0000000..39cb029 --- /dev/null +++ b/gettext-runtime/man/Makefile.vms @@ -0,0 +1,88 @@ +# -*- Makefile -*- for gettext-runtime/man on VMS using the MMS utility + +#### Start of system configuration section. #### + +# Directories used by "make install": +prefix = SYS$DATA:[ +mandir = $(prefix).man +man1dir = $(mandir).man1 +man3dir = $(mandir).man3 +docdir = $(prefix).doc.gettext + +LN = copy +RM = delete + +# Programs used by "make install": +INSTALL = copy +INSTALL_PROGRAM = copy +INSTALL_DATA = copy + +#### End of system configuration section. #### + +all : + +install : all,force + create /directory $(prefix)] + create /directory $(mandir)] + create /directory $(man1dir)] + $(INSTALL_DATA) gettext.1.in $(man1dir)]gettext.1 + $(INSTALL_DATA) ngettext.1.in $(man1dir)]ngettext.1 + create /directory $(man3dir)] + $(INSTALL_DATA) gettext.3 $(man3dir)]gettext.3 + $(INSTALL_DATA) ngettext.3 $(man3dir)]ngettext.3 + $(INSTALL_DATA) textdomain.3 $(man3dir)]textdomain.3 + $(INSTALL_DATA) bindtextdomain.3 $(man3dir)]bindtextdomain.3 + $(INSTALL_DATA) bind_textdomain_codeset.3 $(man3dir)]bind_textdomain_codeset.3 + $(INSTALL_DATA) dgettext.3 $(man3dir)]dgettext.3 + $(INSTALL_DATA) dcgettext.3 $(man3dir)]dcgettext.3 + $(INSTALL_DATA) dngettext.3 $(man3dir)]dngettext.3 + $(INSTALL_DATA) dcngettext.3 $(man3dir)]dcngettext.3 + create /directory $(prefix).doc] + create /directory $(docdir)] + $(INSTALL_DATA) gettext.1.html.in $(docdir)]gettext.1.html + $(INSTALL_DATA) ngettext.1.html.in $(docdir)]ngettext.1.html + $(INSTALL_DATA) gettext.3.html $(docdir)]gettext.3.html + $(INSTALL_DATA) ngettext.3.html $(docdir)]ngettext.3.html + $(INSTALL_DATA) textdomain.3.html $(docdir)]textdomain.3.html + $(INSTALL_DATA) bindtextdomain.3.html $(docdir)]bindtextdomain.3.html + $(INSTALL_DATA) bind_textdomain_codeset.3.html $(docdir)]bind_textdomain_codeset.3.html + +installdirs : force + create /directory $(prefix)] + create /directory $(mandir)] + create /directory $(man1dir)] + create /directory $(man3dir)] + create /directory $(prefix).doc] + create /directory $(docdir)] + +uninstall : force + $(RM) $(man1dir)]gettext.1 + $(RM) $(man1dir)]ngettext.1 + $(RM) $(man3dir)]gettext.3 + $(RM) $(man3dir)]ngettext.3 + $(RM) $(man3dir)]textdomain.3 + $(RM) $(man3dir)]bindtextdomain.3 + $(RM) $(man3dir)]bind_textdomain_codeset.3 + $(RM) $(man3dir)]dgettext.3 + $(RM) $(man3dir)]dcgettext.3 + $(RM) $(man3dir)]dngettext.3 + $(RM) $(man3dir)]dcngettext.3 + $(RM) $(docdir)]gettext.1.html + $(RM) $(docdir)]ngettext.1.html + $(RM) $(docdir)]gettext.3.html + $(RM) $(docdir)]ngettext.3.html + $(RM) $(docdir)]textdomain.3.html + $(RM) $(docdir)]bindtextdomain.3.html + $(RM) $(docdir)]bind_textdomain_codeset.3.html + +check : all + +mostlyclean : clean + +clean : force + +distclean : clean + +maintainer-clean : distclean + +force : diff --git a/gettext-runtime/src/ChangeLog b/gettext-runtime/src/ChangeLog index 4d55cd5..3319f9c 100644 --- a/gettext-runtime/src/ChangeLog +++ b/gettext-runtime/src/ChangeLog @@ -1,3 +1,8 @@ +2003-03-30 Bruno Haible <bruno@clisp.org> + + * Makefile.vms: New file. + * Makefile.am (EXTRA_DIST): Add Makefile.vms. + 2003-03-17 Bruno Haible <bruno@clisp.org> Native Woe32/MSVC support. diff --git a/gettext-runtime/src/Makefile.am b/gettext-runtime/src/Makefile.am index 8e32c91..ba93e20 100644 --- a/gettext-runtime/src/Makefile.am +++ b/gettext-runtime/src/Makefile.am @@ -55,6 +55,11 @@ RELOCATABLE_CONFIG_H_DIR = .. @SET_RELOCATABLE@ +# VMS support. + +EXTRA_DIST += Makefile.vms + + # Woe32 support. EXTRA_DIST += Makefile.msvc diff --git a/gettext-runtime/src/Makefile.vms b/gettext-runtime/src/Makefile.vms new file mode 100644 index 0000000..0889d76 --- /dev/null +++ b/gettext-runtime/src/Makefile.vms @@ -0,0 +1,83 @@ +# -*- Makefile -*- for gettext-runtime/src on VMS using the MMS utility + +#### Start of system configuration section. #### + +# Directories used by "make install": +prefix = SYS$DATA:[ +exec_prefix = $(prefix) +bindir = $(exec_prefix).bin +datadir = $(prefix).share +localedir = $(datadir).locale + +# Programs used by "make": + +CC = cc + +WARN_CFLAGS = /warning + +OPTIMFLAGS = /optimize + +CFLAGS = $(WARN_CFLAGS) $(OPTIMFLAGS) /define=("HAVE_CONFIG_H=1","LOCALEDIR=""$(localedir)]""") + +INCLUDES = /include=([],[-],[-.intl],[-.lib],[-.-.gettext-tools.lib]) + +LDADD = sys$share:vms_jackets/share + +LN = copy +RM = delete + +# Programs used by "make install": +INSTALL = copy +INSTALL_PROGRAM = copy +INSTALL_DATA = copy + +#### End of system configuration section. #### + +PROGRAMS = gettext.exe, ngettext.exe + +gettext_OBJECTS = gettext.obj +ngettext_OBJECTS = ngettext.obj + +all : $(PROGRAMS) + +gettext.obj : gettext.c + $(CC) $(INCLUDES) $(CFLAGS) /define=("INSTALLPREFIX=""$(prefix)]""","INSTALLDIR=""$(bindir)]""") gettext.c + +ngettext.obj : ngettext.c + $(CC) $(INCLUDES) $(CFLAGS) /define=("INSTALLPREFIX=""$(prefix)]""","INSTALLDIR=""$(bindir)]""") ngettext.c + +gettext.exe : $(gettext_OBJECTS) + link /executable=gettext.exe $(gettext_OBJECTS) [-.lib]grt.olb $(LDADD) + +ngettext.exe : $(ngettext_OBJECTS) + link /executable=ngettext.exe $(ngettext_OBJECTS) [-.lib]grt.olb $(LDADD) + +install : all,force + create /directory $(prefix)] + create /directory $(exec_prefix)] + create /directory $(bindir)] + $(INSTALL_PROGRAM) gettext.exe $(bindir)]gettext.exe + $(INSTALL_PROGRAM) ngettext.exe $(bindir)]ngettext.exe + +installdirs : force + create /directory $(prefix)] + create /directory $(exec_prefix)] + create /directory $(bindir)] + +uninstall : force + $(RM) $(bindir)]gettext.exe + $(RM) $(bindir)]ngettext.exe + +check : all + +mostlyclean : clean + +clean : force + $(RM) *.obj + $(RM) $(PROGRAMS) + +distclean : clean + +maintainer-clean : distclean + +force : diff --git a/gettext-tools/ChangeLog b/gettext-tools/ChangeLog index 77c9e5f..07c6c1a 100644 --- a/gettext-tools/ChangeLog +++ b/gettext-tools/ChangeLog @@ -1,5 +1,11 @@ 2003-03-30 Bruno Haible <bruno@clisp.org> + * Makefile.vms: New file. + * Makefile.am (config.h.vms): New rule. + (EXTRA_DIST): Add Makefile.vms and config.h.vms. + +2003-03-30 Bruno Haible <bruno@clisp.org> + * configure.ac: Add checks for <pwd.h> and chown(). 2003-03-17 Bruno Haible <bruno@clisp.org> diff --git a/gettext-tools/Makefile.am b/gettext-tools/Makefile.am index 2c686c7..b8f2571 100644 --- a/gettext-tools/Makefile.am +++ b/gettext-tools/Makefile.am @@ -44,6 +44,104 @@ html: cd doc && $(MAKE) html +# VMS support. + +config.h.vms: config.h.in ../version.sh + (sed -e 's/#undef ENABLE_NLS$$/#define ENABLE_NLS 1/' \ + -e 's/#undef HAVE_ALLOCA$$/#define HAVE_ALLOCA 1/' \ + -e 's/#undef HAVE_ARPA_INET_H$$/#define HAVE_ARPA_INET_H 1/' \ + -e 's/#undef HAVE_DECL_WCWIDTH$$/#define HAVE_DECL_WCWIDTH 1/' \ + -e 's/#undef HAVE_DIRENT_H$$/#define HAVE_DIRENT_H 1/' \ + -e 's/#undef HAVE_DLFCN_H$$/#define HAVE_DLFCN_H 1/' \ + -e 's/#undef HAVE_ENVIRON_DECL$$/#define HAVE_ENVIRON_DECL 1/' \ + -e 's/#undef HAVE_ERRNO_DECL$$/#define HAVE_ERRNO_DECL 1/' \ + -e 's/#undef HAVE_FCNTL_H$$/#define HAVE_FCNTL_H 1/' \ + -e 's/#undef HAVE_GETCWD$$/#define HAVE_GETCWD 1/' \ + -e 's/#undef HAVE_GETEGID$$/#define HAVE_GETEGID 1/' \ + -e 's/#undef HAVE_GETEUID$$/#define HAVE_GETEUID 1/' \ + -e 's/#undef HAVE_GETGID$$/#define HAVE_GETGID 1/' \ + -e 's/#undef HAVE_GETHOSTBYNAME$$/#define HAVE_GETHOSTBYNAME 1/' \ + -e 's/#undef HAVE_GETHOSTNAME$$/#define HAVE_GETHOSTNAME 1/' \ + -e 's/#undef HAVE_GETPAGESIZE$$/#define HAVE_GETPAGESIZE 1/' \ + -e 's/#undef HAVE_GETTIMEOFDAY$$/#define HAVE_GETTIMEOFDAY 1/' \ + -e 's/#undef HAVE_GETUID$$/#define HAVE_GETUID 1/' \ + -e 's/#undef HAVE_ICONV$$/#define HAVE_ICONV 1/' \ + -e 's/#undef HAVE_INTTYPES_H$$/#define HAVE_INTTYPES_H 1/' \ + -e 's/#undef HAVE_INTTYPES_H_WITH_UINTMAX$$/#define HAVE_INTTYPES_H_WITH_UINTMAX 1/' \ + -e 's/#undef HAVE_ISASCII$$/#define HAVE_ISASCII 1/' \ + -e 's/#undef HAVE_ISWCNTRL$$/#define HAVE_ISWCNTRL 1/' \ + -e 's/#undef HAVE_ISWPRINT$$/#define HAVE_ISWPRINT 1/' \ + -e 's/#undef HAVE_LANGINFO_CODESET$$/#define HAVE_LANGINFO_CODESET 1/' \ + -e 's/#undef HAVE_LC_MESSAGES$$/#define HAVE_LC_MESSAGES 1/' \ + -e 's/#undef HAVE_LIBEXPAT$$/#define HAVE_LIBEXPAT 1/' \ + -e 's/#undef HAVE_LIMITS_H$$/#define HAVE_LIMITS_H 1/' \ + -e 's/#undef HAVE_LOCALE_H$$/#define HAVE_LOCALE_H 1/' \ + -e 's/#undef HAVE_LONG_FILE_NAMES$$/#define HAVE_LONG_FILE_NAMES 1/' \ + -e 's/#undef HAVE_MALLOC_H$$/#define HAVE_MALLOC_H 1/' \ + -e 's/#undef HAVE_MBRTOWC$$/#define HAVE_MBRTOWC 1/' \ + -e 's/#undef HAVE_MBSINIT$$/#define HAVE_MBSINIT 1/' \ + -e 's/#undef HAVE_MEMMOVE$$/#define HAVE_MEMMOVE 1/' \ + -e 's/#undef HAVE_MEMORY_H$$/#define HAVE_MEMORY_H 1/' \ + -e 's/#undef HAVE_MEMSET$$/#define HAVE_MEMSET 1/' \ + -e 's/#undef HAVE_MMAP$$/#define HAVE_MMAP 1/' \ + -e 's/#undef HAVE_MUNMAP$$/#define HAVE_MUNMAP 1/' \ + -e 's/#undef HAVE_NL_TYPES_H$$/#define HAVE_NL_TYPES_H 1/' \ + -e 's/#undef HAVE_PATHCONF$$/#define HAVE_PATHCONF 1/' \ + -e 's/#undef HAVE_POSIX_SIGNALBLOCKING$$/#define HAVE_POSIX_SIGNALBLOCKING 1/' \ + -e 's/#undef HAVE_PTRDIFF_T$$/#define HAVE_PTRDIFF_T 1/' \ + -e 's/#undef HAVE_PUTENV$$/#define HAVE_PUTENV 1/' \ + -e 's/#undef HAVE_RAISE$$/#define HAVE_RAISE 1/' \ + -e 's/#undef HAVE_SELECT$$/#define HAVE_SELECT 1/' \ + -e 's/#undef HAVE_SETENV$$/#define HAVE_SETENV 1/' \ + -e 's/#undef HAVE_SETLOCALE$$/#define HAVE_SETLOCALE 1/' \ + -e 's/#undef HAVE_STDBOOL_H$$/#define HAVE_STDBOOL_H 1/' \ + -e 's/#undef HAVE_STDDEF_H$$/#define HAVE_STDDEF_H 1/' \ + -e 's/#undef HAVE_STDLIB_H$$/#define HAVE_STDLIB_H 1/' \ + -e 's/#undef HAVE_STRCASECMP$$/#define HAVE_STRCASECMP 1/' \ + -e 's/#undef HAVE_STRCSPN$$/#define HAVE_STRCSPN 1/' \ + -e 's/#undef HAVE_STRDUP$$/#define HAVE_STRDUP 1/' \ + -e 's/#undef HAVE_STRERROR$$/#define HAVE_STRERROR 1/' \ + -e 's/#undef HAVE_STRINGS_H$$/#define HAVE_STRINGS_H 1/' \ + -e 's/#undef HAVE_STRING_H$$/#define HAVE_STRING_H 1/' \ + -e 's/#undef HAVE_STRNCASECMP$$/#define HAVE_STRNCASECMP 1/' \ + -e 's/#undef HAVE_STRPBRK$$/#define HAVE_STRPBRK 1/' \ + -e 's/#undef HAVE_STRSTR$$/#define HAVE_STRSTR 1/' \ + -e 's/#undef HAVE_STRTOUL$$/#define HAVE_STRTOUL 1/' \ + -e 's/#undef HAVE_SYS_PARAM_H$$/#define HAVE_SYS_PARAM_H 1/' \ + -e 's/#undef HAVE_SYS_STAT_H$$/#define HAVE_SYS_STAT_H 1/' \ + -e 's/#undef HAVE_SYS_TIME_H$$/#define HAVE_SYS_TIME_H 1/' \ + -e 's/#undef HAVE_SYS_TYPES_H$$/#define HAVE_SYS_TYPES_H 1/' \ + -e 's/#undef HAVE_TIME_H$$/#define HAVE_TIME_H 1/' \ + -e 's/#undef HAVE_UINTMAX_T$$/#define HAVE_UINTMAX_T 1/' \ + -e 's/#undef HAVE_UNAME$$/#define HAVE_UNAME 1/' \ + -e 's/#undef HAVE_UNISTD_H$$/#define HAVE_UNISTD_H 1/' \ + -e 's/#undef HAVE_UNSETENV$$/#define HAVE_UNSETENV 1/' \ + -e 's/#undef HAVE_UNSIGNED_LONG_LONG$$/#define HAVE_UNSIGNED_LONG_LONG 1/' \ + -e 's/#undef HAVE_UTIME$$/#define HAVE_UTIME 1/' \ + -e 's/#undef HAVE_UTIMES$$/#define HAVE_UTIMES 1/' \ + -e 's/#undef HAVE_UTIME_H$$/#define HAVE_UTIME_H 1/' \ + -e 's/#undef HAVE_VFORK$$/#define HAVE_VFORK 1/' \ + -e 's/#undef HAVE_VPRINTF$$/#define HAVE_VPRINTF 1/' \ + -e 's/#undef HAVE_WAITPID$$/#define HAVE_WAITPID 1/' \ + -e 's/#undef HAVE_WCHAR_H$$/#define HAVE_WCHAR_H 1/' \ + -e 's/#undef HAVE_WCTYPE_H$$/#define HAVE_WCTYPE_H 1/' \ + -e 's/#undef HAVE_WCWIDTH$$/#define HAVE_WCWIDTH 1/' \ + -e 's/#undef HAVE_WORKING_VFORK$$/#define HAVE_WORKING_VFORK 1/' \ + -e 's/#undef ICONV_CONST$$/#define ICONV_CONST/' \ + -e 's/#undef SETLOCALE_CONST$$/#define SETLOCALE_CONST const/' \ + -e 's/#undef STDC_HEADERS$$/#define STDC_HEADERS 1/' \ + -e 's/#undef fnmatch$$/#define fnmatch rpl_fnmatch/' \ + -e 's/#undef getline$$/#define getline rpl_getline/' \ + -e 's/#undef realpath$$/#define realpath rpl_realpath/' \ + -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'; echo '#define KEEP_CRTL_SETLOCALE 1'; echo '#include <vms_jackets.h>') > $@ +# 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. + +EXTRA_DIST += Makefile.vms config.h.vms + + # Woe32 support. config.h.msvc: config.h.in ../version.sh diff --git a/gettext-tools/Makefile.vms b/gettext-tools/Makefile.vms new file mode 100644 index 0000000..fb82be8 --- /dev/null +++ b/gettext-tools/Makefile.vms @@ -0,0 +1,308 @@ +# -*- Makefile -*- for gettext-tools on VMS using the MMS utility + +#### Start of system configuration section. #### + +# Programs used by "make": + +LN = copy +RM = delete + +#### End of system configuration section. #### + +all : config.h,force + set default [.doc] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms all + set default [-] + set default [.intl] + $(MMS) $(MMSQUALIFIERS) /description=[-.-.gettext-runtime.intl]Makefile.vms srcdir=[-.-.gettext-runtime.intl] all + set default [-] + set default [.lib] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms all + set default [-] + set default [.libuniname] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms all + set default [-] + set default [.src] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms all + set default [-] + set default [.po] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms all + set default [-] + set default [.projects] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms all + set default [-] + set default [.misc] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms all + set default [-] + set default [.man] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms all + set default [-] + set default [.tests] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms all + set default [-] + +config.h : config.h.vms + $(RM) config.h + $(LN) config.h.vms config.h + +install : force + set default [.doc] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms install + set default [-] + set default [.intl] + $(MMS) $(MMSQUALIFIERS) /description=[-.-.gettext-runtime.intl]Makefile.vms srcdir=[-.-.gettext-runtime.intl] install + set default [-] + set default [.lib] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms install + set default [-] + set default [.libuniname] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms install + set default [-] + set default [.src] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms install + set default [-] + set default [.po] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms install + set default [-] + set default [.projects] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms install + set default [-] + set default [.misc] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms install + set default [-] + set default [.man] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms install + set default [-] + set default [.tests] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms install + set default [-] + +installdirs : force + set default [.doc] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms installdirs + set default [-] + set default [.intl] + $(MMS) $(MMSQUALIFIERS) /description=[-.-.gettext-runtime.intl]Makefile.vms srcdir=[-.-.gettext-runtime.intl] installdirs + set default [-] + set default [.lib] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms installdirs + set default [-] + set default [.libuniname] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms installdirs + set default [-] + set default [.src] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms installdirs + set default [-] + set default [.po] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms installdirs + set default [-] + set default [.projects] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms installdirs + set default [-] + set default [.misc] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms installdirs + set default [-] + set default [.man] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms installdirs + set default [-] + set default [.tests] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms installdirs + set default [-] + +uninstall : force + set default [.doc] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms uninstall + set default [-] + set default [.intl] + $(MMS) $(MMSQUALIFIERS) /description=[-.-.gettext-runtime.intl]Makefile.vms srcdir=[-.-.gettext-runtime.intl] uninstall + set default [-] + set default [.lib] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms uninstall + set default [-] + set default [.libuniname] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms uninstall + set default [-] + set default [.src] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms uninstall + set default [-] + set default [.po] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms uninstall + set default [-] + set default [.projects] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms uninstall + set default [-] + set default [.misc] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms uninstall + set default [-] + set default [.man] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms uninstall + set default [-] + set default [.tests] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms uninstall + set default [-] + +check : all,force + set default [.doc] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms check + set default [-] + set default [.intl] + $(MMS) $(MMSQUALIFIERS) /description=[-.-.gettext-runtime.intl]Makefile.vms srcdir=[-.-.gettext-runtime.intl] check + set default [-] + set default [.lib] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms check + set default [-] + set default [.libuniname] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms check + set default [-] + set default [.src] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms check + set default [-] + set default [.po] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms check + set default [-] + set default [.projects] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms check + set default [-] + set default [.misc] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms check + set default [-] + set default [.man] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms check + set default [-] + set default [.tests] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms check + set default [-] + +mostlyclean : force + set default [.doc] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms mostlyclean + set default [-] + set default [.intl] + $(MMS) $(MMSQUALIFIERS) /description=[-.-.gettext-runtime.intl]Makefile.vms srcdir=[-.-.gettext-runtime.intl] mostlyclean + set default [-] + set default [.lib] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms mostlyclean + set default [-] + set default [.libuniname] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms mostlyclean + set default [-] + set default [.src] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms mostlyclean + set default [-] + set default [.po] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms mostlyclean + set default [-] + set default [.projects] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms mostlyclean + set default [-] + set default [.misc] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms mostlyclean + set default [-] + set default [.man] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms mostlyclean + set default [-] + set default [.tests] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms mostlyclean + set default [-] + $(RM) config.h + +clean : force + set default [.doc] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms clean + set default [-] + set default [.intl] + $(MMS) $(MMSQUALIFIERS) /description=[-.-.gettext-runtime.intl]Makefile.vms srcdir=[-.-.gettext-runtime.intl] clean + set default [-] + set default [.lib] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms clean + set default [-] + set default [.libuniname] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms clean + set default [-] + set default [.src] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms clean + set default [-] + set default [.po] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms clean + set default [-] + set default [.projects] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms clean + set default [-] + set default [.misc] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms clean + set default [-] + set default [.man] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms clean + set default [-] + set default [.tests] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms clean + set default [-] + $(RM) config.h + +distclean : force + set default [.doc] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms distclean + set default [-] + set default [.intl] + $(MMS) $(MMSQUALIFIERS) /description=[-.-.gettext-runtime.intl]Makefile.vms srcdir=[-.-.gettext-runtime.intl] distclean + set default [-] + set default [.lib] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms distclean + set default [-] + set default [.libuniname] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms distclean + set default [-] + set default [.src] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms distclean + set default [-] + set default [.po] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms distclean + set default [-] + set default [.projects] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms distclean + set default [-] + set default [.misc] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms distclean + set default [-] + set default [.man] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms distclean + set default [-] + set default [.tests] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms distclean + set default [-] + $(RM) config.h + +maintainer-clean : force + set default [.doc] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms maintainer-clean + set default [-] + set default [.intl] + $(MMS) $(MMSQUALIFIERS) /description=[-.-.gettext-runtime.intl]Makefile.vms srcdir=[-.-.gettext-runtime.intl] maintainer-clean + set default [-] + set default [.lib] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms maintainer-clean + set default [-] + set default [.libuniname] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms maintainer-clean + set default [-] + set default [.src] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms maintainer-clean + set default [-] + set default [.po] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms maintainer-clean + set default [-] + set default [.projects] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms maintainer-clean + set default [-] + set default [.misc] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms maintainer-clean + set default [-] + set default [.man] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms maintainer-clean + set default [-] + set default [.tests] + $(MMS) $(MMSQUALIFIERS) /description=Makefile.vms maintainer-clean + set default [-] + $(RM) config.h + +force : diff --git a/gettext-tools/doc/ChangeLog b/gettext-tools/doc/ChangeLog index 95c2213..f1b248b 100644 --- a/gettext-tools/doc/ChangeLog +++ b/gettext-tools/doc/ChangeLog @@ -1,3 +1,8 @@ +2003-03-30 Bruno Haible <bruno@clisp.org> + + * Makefile.vms: New file. + * Makefile.am (EXTRA_DIST): Add Makefile.vms. + 2003-03-17 Bruno Haible <bruno@clisp.org> Native Woe32/MSVC support. diff --git a/gettext-tools/doc/Makefile.am b/gettext-tools/doc/Makefile.am index 6ec7949..418a307 100644 --- a/gettext-tools/doc/Makefile.am +++ b/gettext-tools/doc/Makefile.am @@ -199,6 +199,11 @@ dist-html-split: done +# VMS support. + +EXTRA_DIST += Makefile.vms + + # Woe32 support. EXTRA_DIST += Makefile.msvc diff --git a/gettext-tools/doc/Makefile.vms b/gettext-tools/doc/Makefile.vms new file mode 100644 index 0000000..4c26731 --- /dev/null +++ b/gettext-tools/doc/Makefile.vms @@ -0,0 +1,45 @@ +# -*- Makefile -*- for gettext-tools/doc on VMS using the MMS utility + +#### Start of system configuration section. #### + +# Directories used by "make install": +prefix = SYS$DATA:[ +docdir = $(prefix).doc.gettext + +LN = copy +RM = delete + +# Programs used by "make install": +INSTALL = copy +INSTALL_PROGRAM = copy +INSTALL_DATA = copy + +#### End of system configuration section. #### + +all : + +install : all,force + create /directory $(prefix)] + create /directory $(prefix).doc] + create /directory $(docdir)] + $(INSTALL_DATA) gettext_*.html $(docdir) + +installdirs : force + create /directory $(prefix)] + create /directory $(prefix).doc] + create /directory $(docdir)] + +uninstall : force + $(RM) $(docdir)]gettext_*.html + +check : all + +mostlyclean : clean + +clean : force + +distclean : clean + +maintainer-clean : distclean + +force : diff --git a/gettext-tools/lib/ChangeLog b/gettext-tools/lib/ChangeLog index c577ae4..871268a 100644 --- a/gettext-tools/lib/ChangeLog +++ b/gettext-tools/lib/ChangeLog @@ -1,3 +1,11 @@ +2003-03-30 Bruno Haible <bruno@clisp.org> + + * Makefile.vms: New file. + * Makefile.am (EXTRA_DIST): Add Makefile.vms. + * execute.c (open): #undef before redefining it. Needed for VMS. + * pipe-in.c (open): Likewise. + * pipe-out.c (open): Likewise. + 2003-03-31 Bruno Haible <bruno@clisp.org> * sh-quote.c (shell_quote_length, shell_quote_copy): Handle empty diff --git a/gettext-tools/lib/Makefile.am b/gettext-tools/lib/Makefile.am index db30d43..134f028 100644 --- a/gettext-tools/lib/Makefile.am +++ b/gettext-tools/lib/Makefile.am @@ -211,6 +211,11 @@ CLEANFILES += charset.alias ref-add.sed ref-del.sed # <<< gnulib module localcharset. +# VMS support. + +EXTRA_DIST += Makefile.vms + + # Woe32 support. EXTRA_DIST += Makefile.msvc diff --git a/gettext-tools/lib/Makefile.vms b/gettext-tools/lib/Makefile.vms new file mode 100644 index 0000000..9294d2a --- /dev/null +++ b/gettext-tools/lib/Makefile.vms @@ -0,0 +1,233 @@ +# -*- Makefile -*- for gettext-tools/lib on VMS using the MMS utility + +#### Start of system configuration section. #### + +# Directories used by "make install": +prefix = SYS$DATA:[ +exec_prefix = $(prefix) +libdir = $(exec_prefix).lib + +# Programs used by "make": + +CC = cc + +WARN_CFLAGS = /warning + +OPTIMFLAGS = /optimize + +CFLAGS = $(WARN_CFLAGS) $(OPTIMFLAGS) /define=("HAVE_CONFIG_H=1","EXEEXT="".exe""","LIBDIR=""$(libdir)]""") + +INCLUDES = /include=([],[-],[-.intl]) + +AR = library +AR_FLAGS = /create + +LN = copy +RM = delete + +# Programs used by "make install": +INSTALL = copy +INSTALL_PROGRAM = copy +INSTALL_DATA = copy + +#### End of system configuration section. #### + +OBJECTS = \ + argmatch.obj, \ + backupfile.obj, addext.obj, \ + basename.obj, \ + c-ctype.obj, \ + classpath.obj, \ + copy-file.obj, \ + error.obj, \ + execute.obj, \ + findprog.obj, \ + fstrcmp.obj, \ + full-write.obj, \ + gcd.obj, \ + getopt.obj, getopt1.obj, \ + hash.obj, \ + javacomp.obj, \ + javaexec.obj, \ + linebreak.obj, \ + mbswidth.obj, \ + obstack.obj, \ + concatpath.obj, \ + pipe-bidi.obj, pipe-in.obj, pipe-out.obj, \ + progname.obj, \ + relocatable.obj, \ + safe-read.obj, \ + safe-write.obj, \ + sh-quote.obj, \ + stpncpy.obj, \ + strtoul.obj, \ + tmpdir.obj, \ + wait-process.obj, \ + xerror.obj, \ + xmalloc.obj, xstrdup.obj, \ + xsetenv.obj, \ + \ + getline.obj, \ + mkdtemp.obj, \ + pfnmatch.obj, \ + relocatable.obj, \ + stpcpy.obj, \ + vasprintf.obj + +all : gettextlib.olb + +argmatch.obj : argmatch.c + $(CC) $(INCLUDES) $(CFLAGS) argmatch.c + +backupfile.obj : backupfile.c + $(CC) $(INCLUDES) $(CFLAGS) backupfile.c + +addext.obj : addext.c + $(CC) $(INCLUDES) $(CFLAGS) addext.c + +basename.obj : basename.c + $(CC) $(INCLUDES) $(CFLAGS) basename.c + +c-ctype.obj : c-ctype.c + $(CC) $(INCLUDES) $(CFLAGS) c-ctype.c + +classpath.obj : classpath.c + $(CC) $(INCLUDES) $(CFLAGS) classpath.c + +copy-file.obj : copy-file.c + $(CC) $(INCLUDES) $(CFLAGS) copy-file.c + +error.obj : error.c + $(CC) $(INCLUDES) $(CFLAGS) error.c + +execute.obj : execute.c + $(CC) $(INCLUDES) $(CFLAGS) execute.c + +findprog.obj : findprog.c + $(CC) $(INCLUDES) $(CFLAGS) findprog.c + +fstrcmp.obj : fstrcmp.c + $(CC) $(INCLUDES) $(CFLAGS) fstrcmp.c + +full-write.obj : full-write.c + $(CC) $(INCLUDES) $(CFLAGS) full-write.c + +gcd.obj : gcd.c + $(CC) $(INCLUDES) $(CFLAGS) gcd.c + +getopt.obj : getopt.c + $(CC) $(INCLUDES) $(CFLAGS) getopt.c + +getopt1.obj : getopt1.c + $(CC) $(INCLUDES) $(CFLAGS) getopt1.c + +hash.obj : hash.c + $(CC) $(INCLUDES) $(CFLAGS) hash.c + +javacomp.obj : javacomp.c + $(CC) $(INCLUDES) $(CFLAGS) javacomp.c + +javaexec.obj : javaexec.c + $(CC) $(INCLUDES) $(CFLAGS) javaexec.c + +linebreak.obj : linebreak.c + $(CC) $(INCLUDES) $(CFLAGS) linebreak.c + +mbswidth.obj : mbswidth.c + $(CC) $(INCLUDES) $(CFLAGS) mbswidth.c + +obstack.obj : obstack.c + $(CC) $(INCLUDES) $(CFLAGS) obstack.c + +concatpath.obj : concatpath.c + $(CC) $(INCLUDES) $(CFLAGS) concatpath.c + +pipe-bidi.obj : pipe-bidi.c + $(CC) $(INCLUDES) $(CFLAGS) pipe-bidi.c + +pipe-in.obj : pipe-in.c + $(CC) $(INCLUDES) $(CFLAGS) pipe-in.c + +pipe-out.obj : pipe-out.c + $(CC) $(INCLUDES) $(CFLAGS) pipe-out.c + +progname.obj : progname.c + $(CC) $(INCLUDES) $(CFLAGS) progname.c + +relocatable.obj : relocatable.c + $(CC) $(INCLUDES) $(CFLAGS) relocatable.c + +safe-read.obj : safe-read.c + $(CC) $(INCLUDES) $(CFLAGS) safe-read.c + +safe-write.obj : safe-write.c + $(CC) $(INCLUDES) $(CFLAGS) safe-write.c + +sh-quote.obj : sh-quote.c + $(CC) $(INCLUDES) $(CFLAGS) sh-quote.c + +stpncpy.obj : stpncpy.c + $(CC) $(INCLUDES) $(CFLAGS) stpncpy.c + +strtoul.obj : strtoul.c + $(CC) $(INCLUDES) $(CFLAGS) strtoul.c + +tmpdir.obj : tmpdir.c + $(CC) $(INCLUDES) $(CFLAGS) tmpdir.c + +wait-process.obj : wait-process.c + $(CC) $(INCLUDES) $(CFLAGS) wait-process.c + +xerror.obj : xerror.c + $(CC) $(INCLUDES) $(CFLAGS) xerror.c + +xmalloc.obj : xmalloc.c + $(CC) $(INCLUDES) $(CFLAGS) xmalloc.c + +xstrdup.obj : xstrdup.c + $(CC) $(INCLUDES) $(CFLAGS) xstrdup.c + +xsetenv.obj : xsetenv.c + $(CC) $(INCLUDES) $(CFLAGS) xsetenv.c + +getline.obj : getline.c + $(CC) $(INCLUDES) $(CFLAGS) getline.c + +mkdtemp.obj : mkdtemp.c + $(CC) $(INCLUDES) $(CFLAGS) mkdtemp.c + +pfnmatch.obj : pfnmatch.c + $(CC) $(INCLUDES) $(CFLAGS) pfnmatch.c + +relocatable.obj : relocatable.c + $(CC) $(INCLUDES) $(CFLAGS) relocatable.c + +stpcpy.obj : stpcpy.c + $(CC) $(INCLUDES) $(CFLAGS) stpcpy.c + +vasprintf.obj : vasprintf.c + $(CC) $(INCLUDES) $(CFLAGS) vasprintf.c + +gettextlib.olb : $(OBJECTS) + $(RM) gettextlib.olb + $(AR) $(AR_FLAGS) gettextlib.olb $(OBJECTS) + +install : all,force + +installdirs : force + +uninstall : force + +check : all + +mostlyclean : clean + +clean : force + $(RM) *.obj + $(RM) *.olb + +distclean : clean + +maintainer-clean : distclean + +force : diff --git a/gettext-tools/lib/execute.c b/gettext-tools/lib/execute.c index c51e7cb..d9cbbe9 100644 --- a/gettext-tools/lib/execute.c +++ b/gettext-tools/lib/execute.c @@ -1,5 +1,5 @@ /* Creation of autonomous subprocesses. - Copyright (C) 2001-2002 Free Software Foundation, Inc. + Copyright (C) 2001-2003 Free Software Foundation, Inc. Written by Bruno Haible <haible@clisp.cons.org>, 2001. This program is free software; you can redistribute it and/or modify @@ -100,6 +100,7 @@ nonintr_open (const char *pathname, int oflag, mode_t mode) return retval; } +#undef open /* avoid warning on VMS */ #define open nonintr_open #endif diff --git a/gettext-tools/lib/pipe-in.c b/gettext-tools/lib/pipe-in.c index ec661aa..b96150e 100644 --- a/gettext-tools/lib/pipe-in.c +++ b/gettext-tools/lib/pipe-in.c @@ -1,5 +1,5 @@ /* Creation of subprocesses, communicating via pipes. - Copyright (C) 2001-2002 Free Software Foundation, Inc. + Copyright (C) 2001-2003 Free Software Foundation, Inc. Written by Bruno Haible <haible@clisp.cons.org>, 2001. This program is free software; you can redistribute it and/or modify @@ -98,6 +98,7 @@ nonintr_open (const char *pathname, int oflag, mode_t mode) return retval; } +#undef open /* avoid warning on VMS */ #define open nonintr_open #endif diff --git a/gettext-tools/lib/pipe-out.c b/gettext-tools/lib/pipe-out.c index 199116e..7648697 100644 --- a/gettext-tools/lib/pipe-out.c +++ b/gettext-tools/lib/pipe-out.c @@ -1,5 +1,5 @@ /* Creation of subprocesses, communicating via pipes. - Copyright (C) 2001-2002 Free Software Foundation, Inc. + Copyright (C) 2001-2003 Free Software Foundation, Inc. Written by Bruno Haible <haible@clisp.cons.org>, 2001. This program is free software; you can redistribute it and/or modify @@ -98,6 +98,7 @@ nonintr_open (const char *pathname, int oflag, mode_t mode) return retval; } +#undef open /* avoid warning on VMS */ #define open nonintr_open #endif diff --git a/gettext-tools/libuniname/ChangeLog b/gettext-tools/libuniname/ChangeLog index 636fcee..d6ceb77 100644 --- a/gettext-tools/libuniname/ChangeLog +++ b/gettext-tools/libuniname/ChangeLog @@ -1,3 +1,8 @@ +2003-03-30 Bruno Haible <bruno@clisp.org> + + * Makefile.vms: New file. + * Makefile.am (EXTRA_DIST): Add Makefile.vms. + 2003-03-17 Bruno Haible <bruno@clisp.org> Native Woe32/MSVC support. diff --git a/gettext-tools/libuniname/Makefile.am b/gettext-tools/libuniname/Makefile.am index 48ce186..f3d57ec 100644 --- a/gettext-tools/libuniname/Makefile.am +++ b/gettext-tools/libuniname/Makefile.am @@ -39,6 +39,11 @@ test_names_LDADD = libuniname.a ../lib/libgettextlib.la EXTRA_DIST += $(TESTS) UnicodeDataNames.txt +# VMS support. + +EXTRA_DIST += Makefile.vms + + # Woe32 support. EXTRA_DIST += Makefile.msvc diff --git a/gettext-tools/libuniname/Makefile.vms b/gettext-tools/libuniname/Makefile.vms new file mode 100644 index 0000000..5b9c676 --- /dev/null +++ b/gettext-tools/libuniname/Makefile.vms @@ -0,0 +1,54 @@ +# -*- Makefile -*- for gettext-tools/libuniname on VMS using the MMS utility + +#### Start of system configuration section. #### + +# Programs used by "make": + +CC = cc + +WARN_CFLAGS = /warning + +OPTIMFLAGS = /optimize + +CFLAGS = $(WARN_CFLAGS) $(OPTIMFLAGS) /define=("HAVE_CONFIG_H=1") + +INCLUDES = /include=([],[-],[-.lib]) + +AR = library +AR_FLAGS = /create + +LN = copy +RM = delete + +#### End of system configuration section. #### + +OBJECTS = uniname.obj + +all : uniname.olb + +uniname.obj : uniname.c + $(CC) $(INCLUDES) $(CFLAGS) uniname.c + +uniname.olb : $(OBJECTS) + $(RM) uniname.olb + $(AR) $(AR_FLAGS) uniname.olb $(OBJECTS) + +install : all + +installdirs : + +uninstall : + +check : + +mostlyclean : clean + +clean : force + $(RM) *.obj + $(RM) *.olb + +distclean : clean + +maintainer-clean : distclean + +force : diff --git a/gettext-tools/man/ChangeLog b/gettext-tools/man/ChangeLog index ff75553..ed383eb 100644 --- a/gettext-tools/man/ChangeLog +++ b/gettext-tools/man/ChangeLog @@ -1,3 +1,8 @@ +2003-03-30 Bruno Haible <bruno@clisp.org> + + * Makefile.vms: New file. + * Makefile.am (EXTRA_DIST): Add Makefile.vms. + 2003-03-17 Bruno Haible <bruno@clisp.org> Native Woe32/MSVC support. diff --git a/gettext-tools/man/Makefile.am b/gettext-tools/man/Makefile.am index 02d5491..67b6723 100644 --- a/gettext-tools/man/Makefile.am +++ b/gettext-tools/man/Makefile.am @@ -191,6 +191,11 @@ uninstall-html: done +# VMS support. + +EXTRA_DIST += Makefile.vms + + # Woe32 support. EXTRA_DIST += Makefile.msvc diff --git a/gettext-tools/man/Makefile.vms b/gettext-tools/man/Makefile.vms new file mode 100644 index 0000000..c237372 --- /dev/null +++ b/gettext-tools/man/Makefile.vms @@ -0,0 +1,109 @@ +# -*- Makefile -*- for gettext-tools/man on VMS using the MMS utility + +#### Start of system configuration section. #### + +# Directories used by "make install": +prefix = SYS$DATA:[ +mandir = $(prefix).man +man1dir = $(mandir).man1 +docdir = $(prefix).doc.gettext + +LN = copy +RM = delete + +# Programs used by "make install": +INSTALL = copy +INSTALL_PROGRAM = copy +INSTALL_DATA = copy + +#### End of system configuration section. #### + +all : + +install : all,force + create /directory $(prefix)] + create /directory $(mandir)] + create /directory $(man1dir)] + $(INSTALL_DATA) msgcmp.1 $(man1dir)]msgcmp.1 + $(INSTALL_DATA) msgfmt.1 $(man1dir)]msgfmt.1 + $(INSTALL_DATA) msgmerge.1 $(man1dir)]msgmerge.1 + $(INSTALL_DATA) msgunfmt.1 $(man1dir)]msgunfmt.1 + $(INSTALL_DATA) xgettext.1 $(man1dir)]xgettext.1 + $(INSTALL_DATA) msgattrib.1 $(man1dir)]msgattrib.1 + $(INSTALL_DATA) msgcat.1 $(man1dir)]msgcat.1 + $(INSTALL_DATA) msgcomm.1 $(man1dir)]msgcomm.1 + $(INSTALL_DATA) msgconv.1 $(man1dir)]msgconv.1 + $(INSTALL_DATA) msgen.1 $(man1dir)]msgen.1 + $(INSTALL_DATA) msgexec.1 $(man1dir)]msgexec.1 + $(INSTALL_DATA) msgfilter.1 $(man1dir)]msgfilter.1 + $(INSTALL_DATA) msggrep.1 $(man1dir)]msggrep.1 + $(INSTALL_DATA) msginit.1 $(man1dir)]msginit.1 + $(INSTALL_DATA) msguniq.1 $(man1dir)]msguniq.1 + create /directory $(prefix).doc] + create /directory $(docdir)] + $(INSTALL_DATA) msgcmp.1.html $(docdir)]msgcmp.1.html + $(INSTALL_DATA) msgfmt.1.html $(docdir)]msgfmt.1.html + $(INSTALL_DATA) msgmerge.1.html $(docdir)]msgmerge.1.html + $(INSTALL_DATA) msgunfmt.1.html $(docdir)]msgunfmt.1.html + $(INSTALL_DATA) xgettext.1.html $(docdir)]xgettext.1.html + $(INSTALL_DATA) msgattrib.1.html $(docdir)]msgattrib.1.html + $(INSTALL_DATA) msgcat.1.html $(docdir)]msgcat.1.html + $(INSTALL_DATA) msgcomm.1.html $(docdir)]msgcomm.1.html + $(INSTALL_DATA) msgconv.1.html $(docdir)]msgconv.1.html + $(INSTALL_DATA) msgen.1.html $(docdir)]msgen.1.html + $(INSTALL_DATA) msgexec.1.html $(docdir)]msgexec.1.html + $(INSTALL_DATA) msgfilter.1.html $(docdir)]msgfilter.1.html + $(INSTALL_DATA) msggrep.1.html $(docdir)]msggrep.1.html + $(INSTALL_DATA) msginit.1.html $(docdir)]msginit.1.html + $(INSTALL_DATA) msguniq.1.html $(docdir)]msguniq.1.html + +installdirs : force + create /directory $(prefix)] + create /directory $(mandir)] + create /directory $(man1dir)] + create /directory $(prefix).doc] + create /directory $(docdir)] + +uninstall : force + $(RM) $(man1dir)]msgcmp.1 + $(RM) $(man1dir)]msgfmt.1 + $(RM) $(man1dir)]msgmerge.1 + $(RM) $(man1dir)]msgunfmt.1 + $(RM) $(man1dir)]xgettext.1 + $(RM) $(man1dir)]msgattrib.1 + $(RM) $(man1dir)]msgcat.1 + $(RM) $(man1dir)]msgcomm.1 + $(RM) $(man1dir)]msgconv.1 + $(RM) $(man1dir)]msgen.1 + $(RM) $(man1dir)]msgexec.1 + $(RM) $(man1dir)]msgfilter.1 + $(RM) $(man1dir)]msggrep.1 + $(RM) $(man1dir)]msginit.1 + $(RM) $(man1dir)]msguniq.1 + $(RM) $(docdir)]msgcmp.1.html + $(RM) $(docdir)]msgfmt.1.html + $(RM) $(docdir)]msgmerge.1.html + $(RM) $(docdir)]msgunfmt.1.html + $(RM) $(docdir)]xgettext.1.html + $(RM) $(docdir)]msgattrib.1.html + $(RM) $(docdir)]msgcat.1.html + $(RM) $(docdir)]msgcomm.1.html + $(RM) $(docdir)]msgconv.1.html + $(RM) $(docdir)]msgen.1.html + $(RM) $(docdir)]msgexec.1.html + $(RM) $(docdir)]msgfilter.1.html + $(RM) $(docdir)]msggrep.1.html + $(RM) $(docdir)]msginit.1.html + $(RM) $(docdir)]msguniq.1.html + +check : all + +mostlyclean : clean + +clean : force + +distclean : clean + +maintainer-clean : distclean + +force : diff --git a/gettext-tools/misc/ChangeLog b/gettext-tools/misc/ChangeLog index e5025d5..655b4e0 100644 --- a/gettext-tools/misc/ChangeLog +++ b/gettext-tools/misc/ChangeLog @@ -1,3 +1,8 @@ +2003-03-30 Bruno Haible <bruno@clisp.org> + + * Makefile.vms: New file. + * Makefile.am (EXTRA_DIST): Add Makefile.vms. + 2003-03-17 Bruno Haible <bruno@clisp.org> Native Woe32/MSVC support. diff --git a/gettext-tools/misc/Makefile.am b/gettext-tools/misc/Makefile.am index 9b9cfb4..c96d55d 100644 --- a/gettext-tools/misc/Makefile.am +++ b/gettext-tools/misc/Makefile.am @@ -59,6 +59,11 @@ EXTRA_DIST += tcl_gettext.c README-Tcl EXTRA_DIST += gettext.perl +# VMS support. + +EXTRA_DIST += Makefile.vms + + # Woe32 support. EXTRA_DIST += Makefile.msvc diff --git a/gettext-tools/misc/Makefile.vms b/gettext-tools/misc/Makefile.vms new file mode 100644 index 0000000..d6c683c --- /dev/null +++ b/gettext-tools/misc/Makefile.vms @@ -0,0 +1,52 @@ +# -*- Makefile -*- for gettext-tools/misc on VMS using the MMS utility + +#### Start of system configuration section. #### + +# Directories used by "make install": +prefix = SYS$DATA:[ +exec_prefix = $(prefix) +datadir = $(prefix).share +emacsdir = $(datadir).emacs +lispdir = $(emacsdir).site-lisp + +LN = copy +RM = delete + +# Programs used by "make install": +INSTALL = copy +INSTALL_PROGRAM = copy +INSTALL_DATA = copy + +#### End of system configuration section. #### + +all : + +install : all,force + create /directory $(prefix)] + create /directory $(datadir)] + create /directory $(emacsdir)] + create /directory $(lispdir)] + $(INSTALL_DATA) po-mode.el $(lispdir)]po-mode.el + $(INSTALL_DATA) po-compat.el $(lispdir)]po-compat.el + +installdirs : force + create /directory $(prefix)] + create /directory $(datadir)] + create /directory $(emacsdir)] + create /directory $(lispdir)] + +uninstall : force + $(RM) $(lispdir)]po-mode.el + $(RM) $(lispdir)]po-compat.el + +check : all + +mostlyclean : clean + +clean : force + +distclean : clean + +maintainer-clean : distclean + +force : diff --git a/gettext-tools/projects/ChangeLog b/gettext-tools/projects/ChangeLog index 3b03d28..bb2cfb6 100644 --- a/gettext-tools/projects/ChangeLog +++ b/gettext-tools/projects/ChangeLog @@ -1,3 +1,8 @@ +2003-03-30 Bruno Haible <bruno@clisp.org> + + * Makefile.vms: New file. + * Makefile.am (EXTRA_DIST): Add Makefile.vms. + 2003-03-17 Bruno Haible <bruno@clisp.org> Native Woe32/MSVC support. diff --git a/gettext-tools/projects/Makefile.am b/gettext-tools/projects/Makefile.am index 9f2f6c8..93bd5dd 100644 --- a/gettext-tools/projects/Makefile.am +++ b/gettext-tools/projects/Makefile.am @@ -69,6 +69,11 @@ uninstall-local: done +# VMS support. + +EXTRA_DIST += Makefile.vms + + # Woe32 support. EXTRA_DIST += Makefile.msvc diff --git a/gettext-tools/projects/Makefile.vms b/gettext-tools/projects/Makefile.vms new file mode 100644 index 0000000..c4791ce --- /dev/null +++ b/gettext-tools/projects/Makefile.vms @@ -0,0 +1,25 @@ +# -*- Makefile -*- for gettext-tools/projects on VMS using the MMS utility + +#### Start of system configuration section. #### + +#### End of system configuration section. #### + +all : + +install : all + +installdirs : + +uninstall : + +check : + +mostlyclean : clean + +clean : force + +distclean : clean + +maintainer-clean : distclean + +force : diff --git a/gettext-tools/src/ChangeLog b/gettext-tools/src/ChangeLog index 9ea6eb3..c80d08e 100644 --- a/gettext-tools/src/ChangeLog +++ b/gettext-tools/src/ChangeLog @@ -1,5 +1,18 @@ 2003-03-30 Bruno Haible <bruno@clisp.org> + * Makefile.vms: New file. + * Makefile.am (EXTRA_DIST): Add Makefile.vms. + * po-lex.c (mbfile_getc): Change element type of scatchbuf to + 'unsigned char'. + * write-java.c (string_hashcode, write_java_string): Cast argument of + u8_mbtouc. + * write-tcl.c (write_tcl_string): Likewise. + * x-python.c (phase7_getuc): Cast argument of unicode_name_character. + * msgfilter.c (write): #undef before redefining it. Needed for VMS. + (select): Likewise. + +2003-03-30 Bruno Haible <bruno@clisp.org> + * Makefile.am (noinst_HEADERS): Add po-gram-gen2.h. (BUILT_SOURCES): Add po-gram-gen2.h. (DISTCLEANFILES): Remove po-gram-gen2.h. diff --git a/gettext-tools/src/Makefile.am b/gettext-tools/src/Makefile.am index 5efedf8..dc43b46 100644 --- a/gettext-tools/src/Makefile.am +++ b/gettext-tools/src/Makefile.am @@ -339,6 +339,11 @@ RELOCATABLE_CONFIG_H_DIR = .. @SET_RELOCATABLE@ +# VMS support. + +EXTRA_DIST += Makefile.vms + + # Woe32 support. EXTRA_DIST += Makefile.msvc diff --git a/gettext-tools/src/Makefile.vms b/gettext-tools/src/Makefile.vms new file mode 100644 index 0000000..7dc442b --- /dev/null +++ b/gettext-tools/src/Makefile.vms @@ -0,0 +1,423 @@ +# -*- Makefile -*- for gettext-tools/src on VMS using the MMS utility + +#### Start of system configuration section. #### + +# Directories used by "make install": +prefix = SYS$DATA:[ +exec_prefix = $(prefix) +bindir = $(exec_prefix).bin +libdir = $(exec_prefix).lib +includedir = $(prefix).include +datadir = $(prefix).share +localedir = $(datadir).locale +aliaspath = $(localedir) +jardir = $(datadir).gettext +pkgdatadir = $(datadir).gettext +projectsdir = $(pkgdatadir).projects + +# Programs used by "make": + +CC = cc + +WARN_CFLAGS = /warning + +OPTIMFLAGS = /optimize + +CFLAGS = $(WARN_CFLAGS) $(OPTIMFLAGS) /define=("HAVE_CONFIG_H=1","LOCALEDIR=""$(localedir)]""","GETTEXTJAR=""$(jardir)]gettext.jar""","LIBDIR=""$(libdir)]""","GETTEXTDATADIR=""$(pkgdatadir)]""","PROJECTSDIR=""$(projectsdir)""") + +INCLUDES = /include=([],[-],[-.libuniname],[-.lib],[-.intl],[-.-.gettext-runtime.intl]) + +LDADD = sys$share:vms_jackets/share +LDADD_EXPAT = sys$library:expat/lib + +AR = library +AR_FLAGS = /create + +LN = copy +RM = delete + +# Programs used by "make install": +INSTALL = copy +INSTALL_PROGRAM = copy +INSTALL_DATA = copy + +#### End of system configuration section. #### + +PROGRAMS = msgcmp.exe, msgfmt.exe, msgmerge.exe, msgunfmt.exe, xgettext.exe, msgattrib.exe, msgcat.exe, msgcomm.exe, msgconv.exe, msgen.exe, msgexec.exe, msgfilter.exe, msggrep.exe, msginit.exe, msguniq.exe + +OBJECTS = \ + message.obj, \ + po.obj, \ + po-lex.obj, \ + po-gram-gen.obj, \ + po-hash-gen.obj, \ + po-charset.obj, \ + open-po.obj, \ + dir-list.obj, \ + str-list.obj, \ + read-po.obj, \ + write-po.obj, \ + msgl-ascii.obj, \ + msgl-iconv.obj, \ + msgl-equal.obj, \ + msgl-cat.obj, \ + msgl-english.obj, \ + file-list.obj, \ + msgl-charset.obj, \ + po-time.obj, \ + plural.obj, \ + plural-table.obj, \ + format.obj, \ + format-c.obj, \ + format-python.obj, \ + format-lisp.obj, \ + format-elisp.obj, \ + format-librep.obj, \ + format-java.obj, \ + format-awk.obj, \ + format-pascal.obj, \ + format-ycp.obj, \ + format-tcl.obj, \ + format-php.obj + +msgcmp_OBJECTS = msgcmp.obj +msgfmt_OBJECTS = msgfmt.obj, write-mo.obj, write-java.obj, write-tcl.obj, plural-eval.obj +msgmerge_OBJECTS = msgmerge.obj +msgunfmt_OBJECTS = msgunfmt.obj, read-mo.obj, read-java.obj, read-tcl.obj +xgettext_OBJECTS = xgettext.obj, x-c.obj, x-po.obj, x-python.obj, x-lisp.obj, x-elisp.obj, x-librep.obj, x-smalltalk.obj, x-java.obj, x-awk.obj, x-ycp.obj, x-tcl.obj, x-php.obj, x-rst.obj, x-glade.obj +msgattrib_OBJECTS = msgattrib.obj +msgcat_OBJECTS = msgcat.obj +msgcomm_OBJECTS = msgcomm.obj +msgconv_OBJECTS = msgconv.obj +msgen_OBJECTS = msgen.obj +msgexec_OBJECTS = msgexec.obj +msgfilter_OBJECTS = msgfilter.obj +msggrep_OBJECTS = msggrep.obj +msginit_OBJECTS = msginit.obj, localealias.obj +msguniq_OBJECTS = msguniq.obj + +all : gettextsrc.olb,$(PROGRAMS) + +# Compilation rules for $(OBJECTS). + +message.obj : message.c + $(CC) $(INCLUDES) $(CFLAGS) message.c + +po.obj : po.c + $(CC) $(INCLUDES) $(CFLAGS) po.c + +po-lex.obj : po-lex.c + $(CC) $(INCLUDES) $(CFLAGS) po-lex.c + +po-gram-gen.obj : po-gram-gen.c + $(CC) $(INCLUDES) $(CFLAGS) po-gram-gen.c + +po-hash-gen.obj : po-hash-gen.c + $(CC) $(INCLUDES) $(CFLAGS) po-hash-gen.c + +po-charset.obj : po-charset.c + $(CC) $(INCLUDES) $(CFLAGS) po-charset.c + +open-po.obj : open-po.c + $(CC) $(INCLUDES) $(CFLAGS) open-po.c + +dir-list.obj : dir-list.c + $(CC) $(INCLUDES) $(CFLAGS) dir-list.c + +str-list.obj : str-list.c + $(CC) $(INCLUDES) $(CFLAGS) str-list.c + +read-po.obj : read-po.c + $(CC) $(INCLUDES) $(CFLAGS) read-po.c + +write-po.obj : write-po.c + $(CC) $(INCLUDES) $(CFLAGS) write-po.c + +msgl-ascii.obj : msgl-ascii.c + $(CC) $(INCLUDES) $(CFLAGS) msgl-ascii.c + +msgl-iconv.obj : msgl-iconv.c + $(CC) $(INCLUDES) $(CFLAGS) msgl-iconv.c + +msgl-equal.obj : msgl-equal.c + $(CC) $(INCLUDES) $(CFLAGS) msgl-equal.c + +msgl-cat.obj : msgl-cat.c + $(CC) $(INCLUDES) $(CFLAGS) msgl-cat.c + +msgl-english.obj : msgl-english.c + $(CC) $(INCLUDES) $(CFLAGS) msgl-english.c + +file-list.obj : file-list.c + $(CC) $(INCLUDES) $(CFLAGS) file-list.c + +msgl-charset.obj : msgl-charset.c + $(CC) $(INCLUDES) $(CFLAGS) msgl-charset.c + +po-time.obj : po-time.c + $(CC) $(INCLUDES) $(CFLAGS) po-time.c + +plural.obj : plural.c + $(CC) $(INCLUDES) $(CFLAGS) plural.c + +plural-table.obj : plural-table.c + $(CC) $(INCLUDES) $(CFLAGS) plural-table.c + +format.obj : format.c + $(CC) $(INCLUDES) $(CFLAGS) format.c + +format-c.obj : format-c.c + $(CC) $(INCLUDES) $(CFLAGS) format-c.c + +format-python.obj : format-python.c + $(CC) $(INCLUDES) $(CFLAGS) format-python.c + +format-lisp.obj : format-lisp.c + $(CC) $(INCLUDES) $(CFLAGS) format-lisp.c + +format-elisp.obj : format-elisp.c + $(CC) $(INCLUDES) $(CFLAGS) format-elisp.c + +format-librep.obj : format-librep.c + $(CC) $(INCLUDES) $(CFLAGS) format-librep.c + +format-java.obj : format-java.c + $(CC) $(INCLUDES) $(CFLAGS) format-java.c + +format-awk.obj : format-awk.c + $(CC) $(INCLUDES) $(CFLAGS) format-awk.c + +format-pascal.obj : format-pascal.c + $(CC) $(INCLUDES) $(CFLAGS) format-pascal.c + +format-ycp.obj : format-ycp.c + $(CC) $(INCLUDES) $(CFLAGS) format-ycp.c + +format-tcl.obj : format-tcl.c + $(CC) $(INCLUDES) $(CFLAGS) format-tcl.c + +format-php.obj : format-php.c + $(CC) $(INCLUDES) $(CFLAGS) format-php.c + +gettextsrc.olb : $(OBJECTS) + $(RM) gettextsrc.olb + $(AR) $(AR_FLAGS) gettextsrc.olb $(OBJECTS) + +# Compilation rules for $(program_OBJECTS). + +msgcmp.obj : msgcmp.c + $(CC) $(INCLUDES) $(CFLAGS) /define=("INSTALLPREFIX=""$(prefix)]""","INSTALLDIR=""$(bindir)]""") msgcmp.c + +msgfmt.obj : msgfmt.c + $(CC) $(INCLUDES) $(CFLAGS) /define=("INSTALLPREFIX=""$(prefix)]""","INSTALLDIR=""$(bindir)]""") msgfmt.c + +write-mo.obj : write-mo.c + $(CC) $(INCLUDES) $(CFLAGS) write-mo.c + +write-java.obj : write-java.c + $(CC) $(INCLUDES) $(CFLAGS) write-java.c + +write-tcl.obj : write-tcl.c + $(CC) $(INCLUDES) $(CFLAGS) write-tcl.c + +plural-eval.obj : plural-eval.c + $(CC) $(INCLUDES) $(CFLAGS) plural-eval.c + +msgmerge.obj : msgmerge.c + $(CC) $(INCLUDES) $(CFLAGS) /define=("INSTALLPREFIX=""$(prefix)]""","INSTALLDIR=""$(bindir)]""") msgmerge.c + +msgunfmt.obj : msgunfmt.c + $(CC) $(INCLUDES) $(CFLAGS) /define=("INSTALLPREFIX=""$(prefix)]""","INSTALLDIR=""$(bindir)]""") msgunfmt.c + +read-mo.obj : read-mo.c + $(CC) $(INCLUDES) $(CFLAGS) read-mo.c + +read-java.obj : read-java.c + $(CC) $(INCLUDES) $(CFLAGS) read-java.c + +read-tcl.obj : read-tcl.c + $(CC) $(INCLUDES) $(CFLAGS) read-tcl.c + +xgettext.obj : xgettext.c + $(CC) $(INCLUDES) $(CFLAGS) /define=("INSTALLPREFIX=""$(prefix)]""","INSTALLDIR=""$(bindir)]""") xgettext.c + +x-c.obj : x-c.c + $(CC) $(INCLUDES) $(CFLAGS) x-c.c + +x-po.obj : x-po.c + $(CC) $(INCLUDES) $(CFLAGS) x-po.c + +x-python.obj : x-python.c + $(CC) $(INCLUDES) $(CFLAGS) x-python.c + +x-lisp.obj : x-lisp.c + $(CC) $(INCLUDES) $(CFLAGS) x-lisp.c + +x-elisp.obj : x-elisp.c + $(CC) $(INCLUDES) $(CFLAGS) x-elisp.c + +x-librep.obj : x-librep.c + $(CC) $(INCLUDES) $(CFLAGS) x-librep.c + +x-smalltalk.obj : x-smalltalk.c + $(CC) $(INCLUDES) $(CFLAGS) x-smalltalk.c + +x-java.obj : x-java.c + $(CC) $(INCLUDES) $(CFLAGS) x-java.c + +x-awk.obj : x-awk.c + $(CC) $(INCLUDES) $(CFLAGS) x-awk.c + +x-ycp.obj : x-ycp.c + $(CC) $(INCLUDES) $(CFLAGS) x-ycp.c + +x-tcl.obj : x-tcl.c + $(CC) $(INCLUDES) $(CFLAGS) x-tcl.c + +x-php.obj : x-php.c + $(CC) $(INCLUDES) $(CFLAGS) x-php.c + +x-rst.obj : x-rst.c + $(CC) $(INCLUDES) $(CFLAGS) x-rst.c + +x-glade.obj : x-glade.c + $(CC) $(INCLUDES) $(CFLAGS) x-glade.c + +msgattrib.obj : msgattrib.c + $(CC) $(INCLUDES) $(CFLAGS) /define=("INSTALLPREFIX=""$(prefix)]""","INSTALLDIR=""$(bindir)]""") msgattrib.c + +msgcat.obj : msgcat.c + $(CC) $(INCLUDES) $(CFLAGS) /define=("INSTALLPREFIX=""$(prefix)]""","INSTALLDIR=""$(bindir)]""") msgcat.c + +msgcomm.obj : msgcomm.c + $(CC) $(INCLUDES) $(CFLAGS) /define=("INSTALLPREFIX=""$(prefix)]""","INSTALLDIR=""$(bindir)]""") msgcomm.c + +msgconv.obj : msgconv.c + $(CC) $(INCLUDES) $(CFLAGS) /define=("INSTALLPREFIX=""$(prefix)]""","INSTALLDIR=""$(bindir)]""") msgconv.c + +msgen.obj : msgen.c + $(CC) $(INCLUDES) $(CFLAGS) /define=("INSTALLPREFIX=""$(prefix)]""","INSTALLDIR=""$(bindir)]""") msgen.c + +msgexec.obj : msgexec.c + $(CC) $(INCLUDES) $(CFLAGS) /define=("INSTALLPREFIX=""$(prefix)]""","INSTALLDIR=""$(bindir)]""") msgexec.c + +msgfilter.obj : msgfilter.c + $(CC) $(INCLUDES) $(CFLAGS) /define=("INSTALLPREFIX=""$(prefix)]""","INSTALLDIR=""$(bindir)]""") msgfilter.c + +msggrep.obj : msggrep.c + $(CC) $(INCLUDES) $(CFLAGS) /define=("INSTALLPREFIX=""$(prefix)]""","INSTALLDIR=""$(bindir)]""") msggrep.c + +msginit.obj : msginit.c + $(CC) $(INCLUDES) $(CFLAGS) /define=("INSTALLPREFIX=""$(prefix)]""","INSTALLDIR=""$(bindir)]""") msginit.c + +localealias.obj : [-.-.gettext-runtime.intl]localealias.c + $(CC) $(INCLUDES) $(CFLAGS) /define=("LOCALE_ALIAS_PATH=""$(aliaspath)]""") [-.-.gettext-runtime.intl]localealias.c + +msguniq.obj : msguniq.c + $(CC) $(INCLUDES) $(CFLAGS) /define=("INSTALLPREFIX=""$(prefix)]""","INSTALLDIR=""$(bindir)]""") msguniq.c + +msgcmp.exe : $(msgcmp_OBJECTS) + link /executable=msgcmp.exe $(msgcmp_OBJECTS) gettextsrc.olb $(LDADD) + +msgfmt.exe : $(msgfmt_OBJECTS) + link /executable=msgfmt.exe $(msgfmt_OBJECTS) gettextsrc.olb $(LDADD) + +msgmerge.exe : $(msgmerge_OBJECTS) + link /executable=msgmerge.exe $(msgmerge_OBJECTS) gettextsrc.olb $(LDADD) + +msgunfmt.exe : $(msgunfmt_OBJECTS) + link /executable=msgunfmt.exe $(msgunfmt_OBJECTS) gettextsrc.olb $(LDADD) + +xgettext.exe : $(xgettext_OBJECTS) + link /executable=xgettext.exe $(xgettext_OBJECTS) [-.libuniname]uniname.olb gettextsrc.olb $(LDADD_EXPAT) $(LDADD) + +msgattrib.exe : $(msgattrib_OBJECTS) + link /executable=msgattrib.exe $(msgattrib_OBJECTS) gettextsrc.olb $(LDADD) + +msgcat.exe : $(msgcat_OBJECTS) + link /executable=msgcat.exe $(msgcat_OBJECTS) gettextsrc.olb $(LDADD) + +msgcomm.exe : $(msgcomm_OBJECTS) + link /executable=msgcomm.exe $(msgcomm_OBJECTS) gettextsrc.olb $(LDADD) + +msgconv.exe : $(msgconv_OBJECTS) + link /executable=msgconv.exe $(msgconv_OBJECTS) gettextsrc.olb $(LDADD) + +msgen.exe : $(msgen_OBJECTS) + link /executable=msgen.exe $(msgen_OBJECTS) gettextsrc.olb $(LDADD) + +msgexec.exe : $(msgexec_OBJECTS) + link /executable=msgexec.exe $(msgexec_OBJECTS) gettextsrc.olb $(LDADD) + +msgfilter.exe : $(msgfilter_OBJECTS) + link /executable=msgfilter.exe $(msgfilter_OBJECTS) gettextsrc.olb $(LDADD) + +msggrep.exe : $(msggrep_OBJECTS) + link /executable=msggrep.exe $(msggrep_OBJECTS) gettextsrc.olb $(LDADD) + +msginit.exe : $(msginit_OBJECTS) + link /executable=msginit.exe $(msginit_OBJECTS) [-.intl]localename.obj gettextsrc.olb $(LDADD) + +msguniq.exe : $(msguniq_OBJECTS) + link /executable=msguniq.exe $(msguniq_OBJECTS) gettextsrc.olb $(LDADD) + +install : all,force + create /directory $(prefix)] + create /directory $(exec_prefix)] + $(INSTALL_PROGRAM) msgcmp.exe $(bindir)]msgcmp.exe + $(INSTALL_PROGRAM) msgfmt.exe $(bindir)]msgfmt.exe + $(INSTALL_PROGRAM) msgmerge.exe $(bindir)]msgmerge.exe + $(INSTALL_PROGRAM) msgunfmt.exe $(bindir)]msgunfmt.exe + $(INSTALL_PROGRAM) xgettext.exe $(bindir)]xgettext.exe + $(INSTALL_PROGRAM) msgattrib.exe $(bindir)]msgattrib.exe + $(INSTALL_PROGRAM) msgcat.exe $(bindir)]msgcat.exe + $(INSTALL_PROGRAM) msgcomm.exe $(bindir)]msgcomm.exe + $(INSTALL_PROGRAM) msgconv.exe $(bindir)]msgconv.exe + $(INSTALL_PROGRAM) msgen.exe $(bindir)]msgen.exe + $(INSTALL_PROGRAM) msgexec.exe $(bindir)]msgexec.exe + $(INSTALL_PROGRAM) msgfilter.exe $(bindir)]msgfilter.exe + $(INSTALL_PROGRAM) msggrep.exe $(bindir)]msggrep.exe + $(INSTALL_PROGRAM) msginit.exe $(bindir)]msginit.exe + $(INSTALL_PROGRAM) msguniq.exe $(bindir)]msguniq.exe + create /directory $(datadir)] + create /directory $(pkgdatadir)] + $(INSTALL_DATA) msgunfmt.tcl $(pkgdatadir)]msgunfmt.tcl + +installdirs : force + create /directory $(prefix)] + create /directory $(exec_prefix)] + create /directory $(datadir)] + create /directory $(pkgdatadir)] + +uninstall : force + $(RM) $(bindir)]msgcmp.exe + $(RM) $(bindir)]msgfmt.exe + $(RM) $(bindir)]msgmerge.exe + $(RM) $(bindir)]msgunfmt.exe + $(RM) $(bindir)]xgettext.exe + $(RM) $(bindir)]msgattrib.exe + $(RM) $(bindir)]msgcat.exe + $(RM) $(bindir)]msgcomm.exe + $(RM) $(bindir)]msgconv.exe + $(RM) $(bindir)]msgen.exe + $(RM) $(bindir)]msgexec.exe + $(RM) $(bindir)]msgfilter.exe + $(RM) $(bindir)]msggrep.exe + $(RM) $(bindir)]msginit.exe + $(RM) $(bindir)]msguniq.exe + $(RM) $(pkgdatadir)]msgunfmt.tcl + +check : all + +mostlyclean : clean + +clean : force + $(RM) *.obj + $(RM) *.olb + $(RM) $(PROGRAMS) + +distclean : clean + +maintainer-clean : distclean + +force : diff --git a/gettext-tools/src/msgfilter.c b/gettext-tools/src/msgfilter.c index 93339ee..2e4fb9a 100644 --- a/gettext-tools/src/msgfilter.c +++ b/gettext-tools/src/msgfilter.c @@ -462,6 +462,7 @@ nonintr_write (int fd, const void *buf, size_t count) return retval; } +#undef write /* avoid warning on VMS */ #define write nonintr_write # if HAVE_SELECT @@ -478,6 +479,7 @@ nonintr_select (int n, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, return retval; } +#undef select /* avoid warning on VMS */ #define select nonintr_select # endif diff --git a/gettext-tools/src/po-lex.c b/gettext-tools/src/po-lex.c index e183a33..d621c45 100644 --- a/gettext-tools/src/po-lex.c +++ b/gettext-tools/src/po-lex.c @@ -1,5 +1,5 @@ /* GNU gettext - internationalization aids - Copyright (C) 1995-1999, 2000-2002 Free Software Foundation, Inc. + Copyright (C) 1995-1999, 2000-2003 Free Software Foundation, Inc. This file was written by Peter Miller <millerp@canb.auug.org.au>. Multibyte character handling by Bruno Haible <haible@clisp.cons.org>. @@ -428,10 +428,10 @@ mbfile_getc (mbchar_t mbc, mbfile_t mbf) tty. */ for (;;) { - char scratchbuf[64]; + unsigned char scratchbuf[64]; const char *inptr = &mbf->buf[0]; size_t insize = mbf->bufcount; - char *outptr = &scratchbuf[0]; + char *outptr = (char *) &scratchbuf[0]; size_t outsize = sizeof (scratchbuf); size_t res = iconv (po_lex_iconv, diff --git a/gettext-tools/src/po-lex.h b/gettext-tools/src/po-lex.h index 002a481..97f4d37 100644 --- a/gettext-tools/src/po-lex.h +++ b/gettext-tools/src/po-lex.h @@ -1,5 +1,5 @@ /* GNU gettext - internationalization aids - Copyright (C) 1995-1998, 2000-2002 Free Software Foundation, Inc. + Copyright (C) 1995-1998, 2000-2003 Free Software Foundation, Inc. This file was written by Peter Miller <millerp@canb.auug.org.au> @@ -98,7 +98,7 @@ extern void po_lex_pass_obsolete_entries (bool flag); do { \ error_with_progname = false; \ error_at_line (0, 0, (pos)->file_name, (pos)->line_number, \ - fmt, __VA_ARGS__ + 0); \ + fmt, __VA_ARGS__ + 0); \ error_with_progname = true; \ if (*fmt == '.') \ --error_message_count; \ diff --git a/gettext-tools/src/write-java.c b/gettext-tools/src/write-java.c index c9b7476..0958e90 100644 --- a/gettext-tools/src/write-java.c +++ b/gettext-tools/src/write-java.c @@ -125,7 +125,7 @@ string_hashcode (const char *str) while (str < str_limit) { unsigned int uc; - str += u8_mbtouc (&uc, str, str_limit - str); + str += u8_mbtouc (&uc, (const unsigned char *) str, str_limit - str); if (uc < 0x10000) /* Single UCS-2 'char'. */ hash = 31 * hash + uc; @@ -338,7 +338,7 @@ write_java_string (FILE *stream, const char *str) while (str < str_limit) { unsigned int uc; - str += u8_mbtouc (&uc, str, str_limit - str); + str += u8_mbtouc (&uc, (const unsigned char *) str, str_limit - str); if (uc < 0x10000) { /* Single UCS-2 'char'. */ diff --git a/gettext-tools/src/write-tcl.c b/gettext-tools/src/write-tcl.c index 4f67c59..fed43f5 100644 --- a/gettext-tools/src/write-tcl.c +++ b/gettext-tools/src/write-tcl.c @@ -60,7 +60,7 @@ write_tcl_string (FILE *stream, const char *str) { unsigned int uc; unsigned int count; - count = u8_mbtouc (&uc, str, str_limit - str); + count = u8_mbtouc (&uc, (const unsigned char *) str, str_limit - str); if (uc < 0x10000) { /* Single UCS-2 'char'. */ diff --git a/gettext-tools/src/x-python.c b/gettext-tools/src/x-python.c index 74e9a78..d19bb29 100644 --- a/gettext-tools/src/x-python.c +++ b/gettext-tools/src/x-python.c @@ -605,7 +605,7 @@ phase7_getuc (int quote_char, } buf[i] = '\0'; - n = unicode_name_character (buf); + n = unicode_name_character ((char *) buf); if (n != UNINAME_INVALID) { *backslash_counter = 0; diff --git a/gettext-tools/tests/ChangeLog b/gettext-tools/tests/ChangeLog index 0c9de70..b6ffb0d 100644 --- a/gettext-tools/tests/ChangeLog +++ b/gettext-tools/tests/ChangeLog @@ -1,3 +1,8 @@ +2003-03-30 Bruno Haible <bruno@clisp.org> + + * Makefile.vms: New file. + * Makefile.am (EXTRA_DIST): Add Makefile.vms. + 2003-03-17 Bruno Haible <bruno@clisp.org> Native Woe32/MSVC support. diff --git a/gettext-tools/tests/Makefile.am b/gettext-tools/tests/Makefile.am index 0c6ed22..3f0c6d8 100644 --- a/gettext-tools/tests/Makefile.am +++ b/gettext-tools/tests/Makefile.am @@ -133,6 +133,11 @@ clean-am: rm -rf SunWS_cache +# VMS support. + +EXTRA_DIST += Makefile.vms + + # Woe32 support. EXTRA_DIST += Makefile.msvc diff --git a/gettext-tools/tests/Makefile.vms b/gettext-tools/tests/Makefile.vms new file mode 100644 index 0000000..b774777 --- /dev/null +++ b/gettext-tools/tests/Makefile.vms @@ -0,0 +1,25 @@ +# -*- Makefile -*- for gettext-tools/tests on VMS using the MMS utility + +#### Start of system configuration section. #### + +#### End of system configuration section. #### + +all : + +install : all + +installdirs : + +uninstall : + +check : + +mostlyclean : clean + +clean : force + +distclean : clean + +maintainer-clean : distclean + +force : |