summaryrefslogtreecommitdiffstats
path: root/contrib/top/Make.desc.X
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1997-03-23 18:51:21 +0000
committerjoerg <joerg@FreeBSD.org>1997-03-23 18:51:21 +0000
commit1b9d0472b72177a604d3c5dd26d25eec00049bd2 (patch)
tree1409de2219944c7c90248988b70ac693cf71206d /contrib/top/Make.desc.X
downloadFreeBSD-src-1b9d0472b72177a604d3c5dd26d25eec00049bd2.zip
FreeBSD-src-1b9d0472b72177a604d3c5dd26d25eec00049bd2.tar.gz
This is the long-awaited import of top into the base system (actually,
the src/contrib/top part right now). This tools is simply too system- dependant to maintain it in the ports collection.
Diffstat (limited to 'contrib/top/Make.desc.X')
-rw-r--r--contrib/top/Make.desc.X23
1 files changed, 23 insertions, 0 deletions
diff --git a/contrib/top/Make.desc.X b/contrib/top/Make.desc.X
new file mode 100644
index 0000000..cde4bcb
--- /dev/null
+++ b/contrib/top/Make.desc.X
@@ -0,0 +1,23 @@
+# Makefile for .desc files
+
+# This makefile is the prototype for "Make.desc", which is used by
+# top's Configure script to build .desc files and the SYNOPSIS file.
+# Configure then uses these files to ask appropriate questions.
+
+# Written by William LeFebvre, Argonne National Laboratory
+# (formerly of Northwestern University and Rice University)
+
+# DO NOT EDIT "Make.desc"!!! Make changes to "Make.desc.X",
+# then "make veryclean", then run "Configure".
+
+DESCS=%descs%
+
+.SUFFIXES: .desc
+
+.c.desc:
+ sed -e '/^$$/,$$d' -e 's,^[/ *]*,,' $< > $@
+
+all: SYNOPSIS
+
+SYNOPSIS: $(DESCS)
+ grep SYNOPSIS: $(DESCS) | sed -e 's@^machine/m_@@' -e 's@.desc:.[^:]*: *@:@' >SYNOPSIS
OpenPOWER on IntegriCloud