summaryrefslogtreecommitdiffstats
path: root/winsup/utils/Makefile.in
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-05-13 05:13:58 +0000
committerChristopher Faylor <me@cgf.cx>2002-05-13 05:13:58 +0000
commitc49fa762631f93c496e3e4e7d55ff730cf24d789 (patch)
tree7195a373b927dab5c2f1a44b275719f689fe678b /winsup/utils/Makefile.in
parentd52265ffb265f8d72cbace65ca2656d8f55200f3 (diff)
downloadcygnal-c49fa762631f93c496e3e4e7d55ff730cf24d789.tar.gz
cygnal-c49fa762631f93c496e3e4e7d55ff730cf24d789.tar.bz2
cygnal-c49fa762631f93c496e3e4e7d55ff730cf24d789.zip
* Makefile.in (kill.exe): Add as a specific target.
* kill.cc (longopts): New. (opts): Ditto. (get_sig): Accept const char * parameter. Return -1 on unknown signal. (test_for_unknown_sig): New function. (listsig): New function. (main): Use getopt_long for option parsing. Implement -l, and -s options. Use test_for_unknown_sig() to test for signal validity.
Diffstat (limited to 'winsup/utils/Makefile.in')
-rw-r--r--winsup/utils/Makefile.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/winsup/utils/Makefile.in b/winsup/utils/Makefile.in
index 615ee97da..19346c474 100644
--- a/winsup/utils/Makefile.in
+++ b/winsup/utils/Makefile.in
@@ -111,7 +111,6 @@ else
${filter-out -nostdinc,$(COMPILE_CXX)} $c -o $(@D)/$(basename $@)$o $(DUMPER_INCLUDES) $<
endif
-
module_info.o: module_info.cc
ifdef VERBOSE
${filter-out -nostdinc,$(COMPILE_CXX)} $c -o $@ $(DUMPER_INCLUDES) ${firstword $^}
@@ -168,6 +167,14 @@ else
${filter-out -I$(newlib_source)/%,$(COMPILE_CXX)} $c -o $(@D)/$(basename $@)$o $(MINGW_CXXFLAGS) $<
endif
+kill.exe: kill.o $(bupdir1)/libiberty/strsignal.o
+ifdef VERBOSE
+ $(CXX) -o $@ $^ -B$(cygwin_build)/ $(ALL_LDFLAGS) $(KILL_LIB)
+else
+ @echo $(CXX) -o $@ $^ ${filter-out -B%, $(ALL_LDFLAGS)};\
+ $(CXX) -o $@ $^ -B$(cygwin_build)/ $(ALL_LDFLAGS) $(KILL_LIB)
+endif
+
clean:
rm -f *.o $(CLEAN_PROGS)