# # $Id: Makefile,v 1.2 1999/01/14 05:33:20 gdr-ftp Exp $ # # 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 LDLIBS = -l/usr/lib/libtermcap.204 .INCLUDE: /src/gno/prog.mk RELTMAC = $(RELEASE_DIR)$(TMACDIR) release:: tmac.an tmac.s man.7 ms.7 $(INSTALL) -d $(RELTMAC) $(RELMAN)/man7 $(INSTALL) -m644 tmac.an tmac.s $(RELTMAC) $(INSTALL) -m644 man.7 ms.7 $(RELMAN)/man7 install:: tmac.an tmac.s man.7 ms.7 $(INSTALL) -d $(TMACDIR) $(MANDIR)/man7 $(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