diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2006-08-02 09:48:18 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2006-08-02 09:48:18 +0000 |
commit | 2dba45f4aab6206025bb2f09c6e6a68d20386628 (patch) | |
tree | 88ff1d3191d02562f91039e3f172a25326c88337 /winsup/utils/Makefile.in | |
parent | 2ebf115df97ff9ad5d72fe7723f934e0104b0e08 (diff) | |
download | cygnal-2dba45f4aab6206025bb2f09c6e6a68d20386628.tar.gz cygnal-2dba45f4aab6206025bb2f09c6e6a68d20386628.tar.bz2 cygnal-2dba45f4aab6206025bb2f09c6e6a68d20386628.zip |
* Makefile.in (cygpath.exe): Add rule to link cygpath against ntdll.dll.
* cygpath.cc: Include DDK headers.
(RtlAllocateUnicodeString): New static inline function.
(get_device_name): New static function to evaluate DOS path from
native NT path.
(get_device_paths): New function to do the same for path lists.
(doit): Call get_device_paths/get_device_name where appropriate.
Diffstat (limited to 'winsup/utils/Makefile.in')
-rw-r--r-- | winsup/utils/Makefile.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/winsup/utils/Makefile.in b/winsup/utils/Makefile.in index daa8e5fd1..a14a18f67 100644 --- a/winsup/utils/Makefile.in +++ b/winsup/utils/Makefile.in @@ -208,6 +208,14 @@ else $(CXX) -o $@ ${wordlist 1,3,$^} -B$(cygwin_build)/ $(DUMPER_LDFLAGS) endif +cygpath.exe: cygpath.o $(ALL_DEP_LDLIBS) +ifdef VERBOSE + $(CXX) -o $@ ${firstword $^} -B$(cygwin_build)/ $(ALL_LDFLAGS) -lntdll +else + @echo $(CXX) -o $@ ${firstword $^} ${filter-out -B%, $(ALL_LDFLAGS) -ntdll};\ + $(CXX) -o $@ ${firstword $^} -B$(cygwin_build)/ $(ALL_LDFLAGS) -ntdll +endif + %.exe: %.o $(ALL_DEP_LDLIBS) ifdef VERBOSE $(CXX) -o $@ ${firstword $^} -B$(cygwin_build)/ $(ALL_LDFLAGS) |