summaryrefslogtreecommitdiff
path: root/vos
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-06-19 01:03:32 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-19 01:03:32 +0000
commit7a5cf3efae0b64d420ca5ebb8ba89ecec951ca33 (patch)
tree560633f712710493be031c839283e3cf616e2fd7 /vos
parenta6fb92f118926bc004bb5d79ae6bed5680cf4957 (diff)
downloadperl-7a5cf3efae0b64d420ca5ebb8ba89ecec951ca33.tar.gz
Add a makefile for more painless adding of symbols to the
VOS headers while in UNIX (in VOS the vos/configure_perl.cm takes care of the adding) p4raw-id: //depot/perl@10702
Diffstat (limited to 'vos')
-rw-r--r--vos/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/vos/Makefile b/vos/Makefile
new file mode 100644
index 0000000000..ad19bfe5bb
--- /dev/null
+++ b/vos/Makefile
@@ -0,0 +1,21 @@
+#
+# This Makefile can be used to update the config.alpha.h and
+# config.ga.h files *in UNIX* (in VOS the configure_perl.cm
+# is used). Update the config.*.def files appropriately when
+# you add new symbols to Configure. If you don't know VOS,
+# most of the time a safe guess for a symbol is 'undef'.
+#
+
+all: config.alpha.h config.ga.h
+
+config.alpha.h: config.alpha.def ../config_h.SH ../mv-if-diff
+ cp config.alpha.def config.def
+ perl config.pl
+ sh ../mv-if-diff config.h.new config.alpha.h
+ rm -f config.def config.h.new
+
+config.ga.h: config.ga.def ../config_h.SH ../mv-if-diff
+ cp config.ga.def config.def
+ perl config.pl
+ sh ../mv-if-diff config.h.new config.ga.h
+ rm -f config.def config.h.new