1997-10-30 04:04:35 +00:00
|
|
|
#
|
1999-01-14 05:33:20 +00:00
|
|
|
# $Id: Makefile,v 1.2 1999/01/14 05:33:20 gdr-ftp Exp $
|
1997-10-30 04:04:35 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
# Program name
|
|
|
|
PROG = nroff
|
|
|
|
SRCS = nroff.c command.c escape.c io.c low.c macros.c strings.c text.c
|
|
|
|
|
|
|
|
# Add -D__STACK_CHECK__ to print, on exit, the amount of stack used
|
|
|
|
CFLAGS +=
|
|
|
|
STACK = 6144
|
|
|
|
# We need stack checking for now; recursion is involved.
|
|
|
|
DEBUG = 1
|
|
|
|
BINDIR = /usr/bin
|
|
|
|
TMACDIR = /usr/lib/tmac
|
1999-01-14 05:33:20 +00:00
|
|
|
LDLIBS = -l/usr/lib/libtermcap.204
|
1997-10-30 04:04:35 +00:00
|
|
|
|
|
|
|
.INCLUDE: /src/gno/prog.mk
|
|
|
|
|
|
|
|
RELTMAC = $(RELEASE_DIR)$(TMACDIR)
|
|
|
|
|
1999-01-14 05:33:20 +00:00
|
|
|
release:: tmac.an tmac.s man.7 ms.7
|
|
|
|
$(INSTALL) -d $(RELTMAC) $(RELMAN)/man7
|
1997-10-30 04:04:35 +00:00
|
|
|
$(INSTALL) -m644 tmac.an tmac.s $(RELTMAC)
|
|
|
|
$(INSTALL) -m644 man.7 ms.7 $(RELMAN)/man7
|
|
|
|
|
1999-01-14 05:33:20 +00:00
|
|
|
install:: tmac.an tmac.s man.7 ms.7
|
|
|
|
$(INSTALL) -d $(TMACDIR) $(MANDIR)/man7
|
1997-10-30 04:04:35 +00:00
|
|
|
$(INSTALL) -m644 tmac.an tmac.s $(TMACDIR)
|
|
|
|
$(INSTALL) -m644 man.7 ms.7 $(MANDIR)/man7
|
|
|
|
|
|
|
|
#
|
|
|
|
# additional dependancies
|
|
|
|
#
|
|
|
|
command.o:: $(SUNOS_H) nroff.h config.h
|
|
|
|
escape.o:: $(SUNOS_H) nroff.h config.h
|
|
|
|
io.o:: $(SUNOS_H) nroff.h config.h macros.h io.h
|
|
|
|
low.o:: $(SUNOS_H) nroff.h config.h
|
|
|
|
macros.o:: $(SUNOS_H) nroff.h config.h macros.h
|
|
|
|
main.o:: $(SUNOS_H) nroff.h config.h macros.h
|
|
|
|
strings.o:: $(SUNOS_H) nroff.h config.h
|
|
|
|
text.o:: $(SUNOS_H) nroff.h config.h io.h
|
|
|
|
|