Kaydet (Commit) ef361780 authored tarafından Oliver Bolte's avatar Oliver Bolte

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
üst 736f0328
/* 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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment