diff options
author | Christopher Faylor <me@cgf.cx> | 2001-11-11 06:06:59 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-11-11 06:06:59 +0300 |
commit | 2fac517df43d7d8de14bd2c7ef4b944ffb507960 (patch) | |
tree | b10941f95ea31475f963fa0aeff24447dd48f3a2 /winsup/utils/Makefile.in | |
parent | c8b345282934affedf2fb4a1e045d12feb7aa850 (diff) |
* Makefile.in (cygcheck.exe): Compile as -mno-cygwin executable.
* path.cc: New file.
* cygcheck.cc (init_paths): Use MS-DOS path syntax.
(cygwin_info): Properly display cygwin version numbers. Prettify some output.
(dump_sysinfo): Calculate max names of posix and ms-dos paths for prettier
output.
Diffstat (limited to 'winsup/utils/Makefile.in')
-rw-r--r-- | winsup/utils/Makefile.in | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/winsup/utils/Makefile.in b/winsup/utils/Makefile.in index deee3bdc9..7becee829 100644 --- a/winsup/utils/Makefile.in +++ b/winsup/utils/Makefile.in @@ -94,6 +94,14 @@ else $(CXX) $(MINGW_CXXFLAGS) -o $@ ${wordlist 1,2,$^} -B$(mingw_build)/ $(MINGW_LDFLAGS) endif +cygcheck.exe: cygcheck.cc mingw_getopt.o path.o $(MINGW_DEP_LDLIBS) +ifdef VERBOSE + $(CXX) $(MINGW_CXXFLAGS) -o $@ ${wordlist 1,3,$^} -B$(mingw_build)/ $(MINGW_LDFLAGS) +else + @echo $(CXX) -o $@ ${wordlist 1,2,$^} ${filter-out -B%, $(MINGW_CXXFLAGS) $(MINGW_LDFLAGS)};\ + $(CXX) $(MINGW_CXXFLAGS) -o $@ ${wordlist 1,3,$^} -B$(mingw_build)/ $(MINGW_LDFLAGS) +endif + dumper.o: dumper.cc dumper.h ifdef VERBOSE ${filter-out -nostdinc,$(COMPILE_CXX)} $c -o $@ $(DUMPER_INCLUDES) ${firstword $^} @@ -127,6 +135,14 @@ else ${filter-out -I$(newlib_source)/%,$(COMPILE_CC)} $c -o $(@D)/$(basename $@)$o $(MINGW_CFLAGS) $< endif +path.o: path.cc +ifdef VERBOSE + ${filter-out -I$(newlib_source)/%,$(COMPILE_CC)} $c -o $(@D)/$(basename $@)$o $(MINGW_CFLAGS) $< +else + @echo $(CC) $c -o $(@D)/$(basename $@)$o $(MINGW_CFLAGS) ... $^;\ + ${filter-out -I$(newlib_source)/%,$(COMPILE_CC)} $c -o $(@D)/$(basename $@)$o $(MINGW_CFLAGS) $< +endif + clean: rm -f *.o $(CLEAN_PROGS) |