diff options
author | Bruno Haible <bruno@clisp.org> | 2003-02-17 19:41:40 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-06-23 12:10:06 +0200 |
commit | 9deecd4ee9e9d82813acfff7386b06042ae5d88a (patch) | |
tree | 0c22902ebaa9b4597875c542db1d2f1f6bf6c997 /Admin | |
parent | 89273c2e0bdda5b7db71a7c91fa3677ae80f9016 (diff) | |
download | external_gettext-9deecd4ee9e9d82813acfff7386b06042ae5d88a.zip external_gettext-9deecd4ee9e9d82813acfff7386b06042ae5d88a.tar.gz external_gettext-9deecd4ee9e9d82813acfff7386b06042ae5d88a.tar.bz2 |
Old notes about VPATH.
Diffstat (limited to 'Admin')
-rw-r--r-- | Admin/vpath | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Admin/vpath b/Admin/vpath new file mode 100644 index 0000000..e8a13f9 --- /dev/null +++ b/Admin/vpath @@ -0,0 +1,18 @@ +Q: gettext's Makefiles don't support VPATH. + +A: It's some vendors' "make" which doesn't support VPATH. + + 1) GNU make supports VPATH with both .c.o and %.o:%.c rules. + + 2) Solaris make should not be used with VPATH at all, as it randomly + changes Makefile variables. + + 3) FreeBSD make does not support %.o:%.c rules at all. For the + remaining .c.o rules VPATH is taken into account. For + additional dependencies like "foo.o : bar.c" it is not. + + Since %.o:%.c rules are not portable, GNU package Makefiles + shouldn't use them. Only .c.o rules. And then gettext's Makefiles + should work with GNU make and with FreeBSD make. But Solaris make + is not supportable with VPATH. + |