diff options
author | Oliver Bolte <obo@openoffice.org> | 2007-06-12 05:04:58 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2007-06-12 05:04:58 +0000 |
commit | ef361780d660c8fe681968378fb7e2e09a8b2392 (patch) | |
tree | c6839d973485314777e5ebc2df295e041e19d0f0 /dmake/dmake.h | |
parent | 736f032896f5fae667208bf3b157a4ddf5971ce0 (diff) |
INTEGRATION: CWS dmake48 (1.6.2); FILE MERGED
2007/03/17 19:00:37 vq 1.6.2.1: #i73499# Add new .WINPATH attribute to generate Windows style paths
(with regular slashes) instead of the default cygwin style (POSIX)
paths for dmake's dynamic macros.
This attribute is specific for cygwin dmake executables and non-cygwin
environments ignore this attribute.
The windows style paths use regular slashes ('/') instead of the
usual windows backslash ('\') as directory separator to avoid quoting
problems (It still is a cygwin dmake!) and cygwin as well as native
windows programs should have no problems using this (c:/foo/bar) path
representation.
The affected macros are $@, $*, $>, $?, $<, $&, $^ and $(PWD),
$(MAKEDIR) and $(TMD).
Examples:
Content of $(PWD) without .WINPATH (default): /cygdrive/c/temp
Content of $(PWD) with .WINPATH set: c:/temp
Diffstat (limited to 'dmake/dmake.h')
-rw-r--r-- | dmake/dmake.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/dmake/dmake.h b/dmake/dmake.h index 39a555705840..101479456ecd 100644 --- a/dmake/dmake.h +++ b/dmake/dmake.h @@ -1,4 +1,4 @@ -/* RCS $Id: dmake.h,v 1.6 2007-01-18 09:29:28 vg Exp $ +/* RCS $Id: dmake.h,v 1.7 2007-06-12 06:04:58 obo Exp $ -- -- SYNOPSIS -- Global defines for dmake. @@ -89,7 +89,10 @@ #define A_WFC A_SEQ #define A_SETDIR 0x00400 /* cd to dir when making target */ #define A_SHELL 0x00800 /* run the recipe using a shell */ -#define A_SWAP 0x01000 /* swap on exec. */ +#define A_SWAP 0x01000 /* Use swap on MSDOS */ +/* Reuse A_SWAP for the .WINPATH attribute to convert cygwin POSIX paths + * into DOS style paths. */ +#define A_WINPATH 0x01000 /* Enable dos paths on cygwin */ #define A_MKSARGS 0x02000 /* use MKS argument swapping */ #define A_PHONY 0x04000 /* .PHONY attribute */ #define A_NOSTATE 0x08000 /* don't track state for me */ |