/
niceSOFT
/
gettext
Обзор
Документация
Войти
/
niceSOFT
/
gettext
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Admin/vpath
17 строк
701 B
Bruno Haible
Old notes about VPATH.
23 июн 2009, 14:10
23 июн 2009, 14:10
9deecd4
Код
Авторство
О чём код?
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.