mirror of
https://github.com/GnoConsortium/gno.git
synced 2024-12-22 14:30:29 +00:00
7d184b3391
they are: - changed the makefile - prototyped functions - eliminated pathnames.h since all it does is #include <paths.h> - used gettytab.h for various function declarations - verified stack usage at 712 bytes - eliminated dummy gethostname() function. Instead, get it from libc. This exposes a problem with gethostname. See PR#59 for details. - eliminated a dependancy on strftime for the moment by calling ctime() instead. - Added GNO-formatted versions of the man pages.
29 lines
828 B
Makefile
29 lines
828 B
Makefile
#
|
|
# $Id: Makefile,v 1.2 1998/04/10 16:17:33 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
|
|
|
|
release: $(OBJ_DIR)$(PROG) gettytab.5G getty.8G $(DESC)
|
|
$(INSTALL) -d $(RELBIN) $(RELMAN)/man5 $(RELMAN)/man8 $(DESC_DIR)
|
|
$(INSTALL) $(OBJ_DIR)$(PROG) $(RELBIN)
|
|
$(INSTALL) gettytab.5G $(RELMAN)/man5/gettytab.5
|
|
$(INSTALL) getty.8G $(RELMAN)/man8/getty.8
|
|
$(DESCU) -o $(DESC_SRC) $(DESC_SRC) $(DESC)
|
|
|
|
install: $(OBJ_DIR)$(PROG) gettytab.5G getty.8G
|
|
$(INSTALL) -d $(BINDIR) $(MANDIR)/man5 $(MANDIR)/man8 $(DESC_DIR)
|
|
$(INSTALL) $(OBJ_DIR)$(PROG) $(BINDIR)
|
|
$(INSTALL) gettytab.5G $(MANDIR)/man5/gettytab.5
|
|
$(INSTALL) getty.8G $(MANDIR)/man8/getty.8
|