MFC: An off-by-one malloc size was corrupting the installer's memory,
[dragonfly.git] / contrib / top / Make.desc.X
blob6fcb79e2778a6994ca99b65c7a46ad08ef1b697e
1 # Makefile for .desc files
3 # This makefile is the prototype for "Make.desc", which is used by
4 # top's Configure script to build .desc files and the SYNOPSIS file.
5 # Configure then uses these files to ask appropriate questions.
7 # Written by William LeFebvre, Group sys Consulting
8 #            (formerly of Northwestern University and Rice University)
10 # DO NOT EDIT "Make.desc"!!!  Make changes to "Make.desc.X",
11 # then "make veryclean", then run "Configure".
13 # The list of .desc files will be inserted after this next line:
14 DESCS=\
16 .SUFFIXES: .desc
18 .c.desc:
19         sed -e '/^$$/,$$d' -e 's,^[/ *]*,,' $< > $@
21 all: SYNOPSIS
23 SYNOPSIS: $(DESCS)
24         grep SYNOPSIS: $(DESCS) | sed -e 's@^machine/m_@@' -e 's@.desc:.[^:]*: *@:@' >SYNOPSIS