summaryrefslogtreecommitdiff
path: root/utils/Makefile
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2013-11-07 17:15:53 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2013-11-10 16:48:25 +0100
commitf5ba2dee8d589639de0e0df315322e5b312c45c5 (patch)
treeabe0f4f37dc6f4c89d20050b8620cc267395955f /utils/Makefile
parent9b02c4454abee568af9ff1d6c9044e9cd757b5aa (diff)
utils: implement portinfo --search
Implement the --search switch of portinfo. The feature was suggested in the source code and partly implemented. portinfo --search locates the target ports (or all ports) in any other process and prints the port mapping and information about the port in the remote process. * utils/Makefile: Link portinfo against libps. * utils/portinfo.c (options): Enable --search option. (search_for_port): New function. (search_for_ports): Likewise. (main): Call search_for_port{,s} as appropiate.
Diffstat (limited to 'utils/Makefile')
-rw-r--r--utils/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/Makefile b/utils/Makefile
index 46abf2a6..5ebb2310 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -54,6 +54,7 @@ login addauth setauth: nonsugid.o
addauth rmauth setauth unsu: frobauth.o
rmauth setauth unsu: frobauth-mod.o
ps w: psout.o ../libps/libps.a ../libihash/libihash.a
+portinfo: ../libps/libps.a
storeinfo storecat storeread: ../libstore/libstore.a
ftpcp ftpdir: ../libftpconn/libftpconn.a