mirror of
https://github.com/GnoConsortium/gno.git
synced 2024-12-22 14:30:29 +00:00
2f6263d18a
the gno/verbatim hierarchy. In this directory, the file is called "gtab" so that we don't confuse dmake.
35 lines
974 B
Makefile
35 lines
974 B
Makefile
#
|
|
# $Id: Makefile,v 1.3 1998/04/22 05:29:01 gdr-ftp Exp $
|
|
#
|
|
|
|
PROG = getty
|
|
MAIN = main
|
|
SRCS = main.c gettytab.c init.c subr.c ttydeflts.c
|
|
LDADD = -lutil
|
|
CFLAGS += -DNO_STRFTIME
|
|
STACK = 1024 # 712 observed
|
|
BINDIR = /usr/sbin
|
|
|
|
CUSTOM_RELEASE = true
|
|
|
|
.INCLUDE: /src/gno/prog.mk
|
|
|
|
ETCDIR = /etc
|
|
RELETC = $(RELEASE_DIR)$(ETCDIR)
|
|
|
|
release: $(OBJ_DIR)$(PROG) gettytab.5G getty.8G gtab $(DESC)
|
|
$(INSTALL) -d $(RELBIN) $(RELMAN)/man5 $(RELMAN)/man8 $(DESC_DIR) $(RELETC)
|
|
$(INSTALL) $(OBJ_DIR)$(PROG) $(RELBIN)
|
|
$(INSTALL) gettytab.5G $(RELMAN)/man5/gettytab.5
|
|
$(INSTALL) getty.8G $(RELMAN)/man8/getty.8
|
|
$(INSTALL) gtab $(RELETC)/gettytab
|
|
$(DESCU) -o $(DESC_SRC) $(DESC_SRC) $(DESC)
|
|
|
|
install: $(OBJ_DIR)$(PROG) gettytab.5G getty.8G
|
|
$(INSTALL) -d $(BINDIR) $(MANDIR)/man5 $(MANDIR)/man8 $(DESC_DIR) $(ETCDIR)
|
|
$(INSTALL) $(OBJ_DIR)$(PROG) $(BINDIR)
|
|
$(INSTALL) gettytab.5G $(MANDIR)/man5/gettytab.5
|
|
$(INSTALL) getty.8G $(MANDIR)/man8/getty.8
|
|
$(INSTALL) gtab $(ETCDIR)/gettytab
|
|
|