Added makefile, describe(1) source, resource source.

This commit is contained in:
gdr 1997-08-08 04:45:41 +00:00
parent b0cfaf1892
commit 5c4edbc8bf
3 changed files with 82 additions and 0 deletions

56
usr.bin/false/Makefile Normal file
View File

@ -0,0 +1,56 @@
#
# gno/usr.bin/false/Makefile
#
# Devin Reade, 1997.
#
# $Id: Makefile,v 1.1 1997/08/08 04:45:41 gdr Exp $
#
.INCLUDE: ../../paths.mk
# The name of the program.
PROG = false
# The list of source files. The first one must contain main(). This
# is optional if and only if there is one source file that has a name
# matching $(PROG).c
# SRCS = false.c
# The name of the describe entry. Defaults to $(PROG).desc
# DESC = false.desc
.INCLUDE: ../../binconst.mk
# Add to some of the constants:
DEFINES +=
CFLAGS += $(DEFINES)
LDFLAGS +=
LDLIBS +=
# Import the standard rules for making targets.
.INCLUDE: ../../binrules.mk
#
# The rest of this file is component-specific.
#
BINDIR = /bin
MANDIR = /usr/man
RELBIN = $(RELEASE_DIR)$(BINDIR)
RELMAN = $(RELEASE_DIR)$(MANDIR)
# Place files where they will subsequently be archived in a binary
# distribution.
release:
$(INSTALL) -d $(RELBIN) $(RELMAN)/man1
$(INSTALL) $(PROG) $(RELBIN)
$(INSTALL) $(PROG).1 $(RELMAN)/man1
$(DESCU) $(DESC_SRC) $(DESC) > /tmp/describe.src
$(MV) /tmp/describe.src $(DESC_SRC)
#
# Additional dependancies
#
# false.o:: another_included_header.h

9
usr.bin/false/false.desc Normal file
View File

@ -0,0 +1,9 @@
Name: false
Version: 1.0 (7 Aug 97)
Shell: GNO, ORCA/Shell
Author: Devin Reade.
Contact: gdr@eddore.myrias.com
Where: /bin/false
FTP: ground.isca.uiowa.edu apple2.caltech.edu trenco.myrias.com
Returns a 'false' status to the shell. Intended for use in shell scripts.

17
usr.bin/false/false.rez Normal file
View File

@ -0,0 +1,17 @@
/*
* $Id: false.rez,v 1.1 1997/08/08 04:45:41 gdr Exp $
*/
#include "Types.Rez"
resource rVersion (0x1, purgeable3, nocrossbank) {
{ 1, 0, 0, /* version 1.0.0 */
release, /* development|alpha|beta|final|release */
0 /* non-final release number */
},
verBritain, /* close enough */
"false",
"Return a 'false' value to the shell\n"
"Author: Devin Reade <gdr@myrias.com>"
};