summaryrefslogtreecommitdiff
path: root/src/telnet-probe/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/telnet-probe/GNUmakefile')
-rw-r--r--src/telnet-probe/GNUmakefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/telnet-probe/GNUmakefile b/src/telnet-probe/GNUmakefile
new file mode 100644
index 0000000..05ab71d
--- /dev/null
+++ b/src/telnet-probe/GNUmakefile
@@ -0,0 +1,36 @@
+#!gmake
+#
+# Copyright (c) 2000,2004 Silicon Graphics, Inc. All Rights Reserved.
+#
+# This program is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation; either version 2 of the License, or (at your
+# option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+# for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+#
+
+TOPDIR = ../..
+include $(TOPDIR)/src/include/builddefs
+
+CFILES = telnet-probe.c
+CMDTARGET = telnet-probe
+LLDLIBS = -lpcp
+
+default: $(CMDTARGET)
+
+include $(BUILDRULES)
+
+install: $(CMDTARGET)
+ $(INSTALL) -m 755 $(CMDTARGET) $(PCP_BINADM_DIR)/$(CMDTARGET)
+
+install_pcp : install
+
+default_pcp : default