summaryrefslogtreecommitdiffstats
path: root/gettext-tools/src/Makefile.vms
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2003-08-24 14:04:42 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:10:53 +0200
commit8549164196c3ab840f25ef5385bb656a7a9db7ba (patch)
tree1959f2a84a297e9c1ea68bc935b03293d5b4f8e7 /gettext-tools/src/Makefile.vms
parent5da3b72c1fb7bc9a4029bf269eb4826693f815f7 (diff)
downloadexternal_gettext-8549164196c3ab840f25ef5385bb656a7a9db7ba.zip
external_gettext-8549164196c3ab840f25ef5385bb656a7a9db7ba.tar.gz
external_gettext-8549164196c3ab840f25ef5385bb656a7a9db7ba.tar.bz2
Distribute libgettextpo also on VMS.
Diffstat (limited to 'gettext-tools/src/Makefile.vms')
-rw-r--r--gettext-tools/src/Makefile.vms18
1 files changed, 17 insertions, 1 deletions
diff --git a/gettext-tools/src/Makefile.vms b/gettext-tools/src/Makefile.vms
index 8e116fa..707680e 100644
--- a/gettext-tools/src/Makefile.vms
+++ b/gettext-tools/src/Makefile.vms
@@ -105,7 +105,7 @@ msggrep_OBJECTS = msggrep.obj
msginit_OBJECTS = msginit.obj, localealias.obj
msguniq_OBJECTS = msguniq.obj
-all : gettextsrc.olb,$(PROGRAMS)
+all : gettextsrc.olb,$(PROGRAMS),gettextpo.olb
write sys$output "Nothing else to be done for 'all'."
# Compilation rules for $(OBJECTS).
@@ -389,6 +389,14 @@ msginit.exe : $(msginit_OBJECTS),libiconv.opt
msguniq.exe : $(msguniq_OBJECTS),libiconv.opt
link /executable=msguniq.exe $(msguniq_OBJECTS),gettextsrc.olb/lib,[-.lib]gettextlib.olb/lib,[-.intl]intl.olb/lib,$(LDADD)
+# Compilation rules for gettextpo.olb objects.
+
+gettext-po.obj : gettext-po.c
+ $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) gettext-po.c
+
+gettextpo.olb : gettext-po.obj
+ $(AR) $(AR_FLAGS) gettextpo.olb gettext-po.obj
+
install : all
create /directory $(prefix)]
create /directory $(exec_prefix)]
@@ -410,12 +418,18 @@ install : all
create /directory $(datadir)]
create /directory $(pkgdatadir)]
$(INSTALL_DATA) msgunfmt.tcl $(pkgdatadir)]msgunfmt.tcl
+ create /directory $(includedir)]
+ $(INSTALL_DATA) gettext-po.h $(includedir)]gettext-po.h
+ create /directory $(libdir)]
+ $(INSTALL_DATA) gettextpo.olb $(libdir)]gettextpo.olb
installdirs :
create /directory $(prefix)]
create /directory $(exec_prefix)]
create /directory $(datadir)]
create /directory $(pkgdatadir)]
+ create /directory $(includedir)]
+ create /directory $(libdir)]
uninstall :
$(RM) $(bindir)]msgcmp.exe;
@@ -434,6 +448,8 @@ uninstall :
$(RM) $(bindir)]msginit.exe;
$(RM) $(bindir)]msguniq.exe;
$(RM) $(pkgdatadir)]msgunfmt.tcl;
+ $(RM) $(includedir)]gettext-po.h
+ $(RM) $(libdir)]gettextpo.olb
check : all
write sys$output "Nothing else to be done for 'check'."